Prevent an implicit int promotion in malloc/tst-alloc_buffer.c
[glibc.git] / ChangeLog
blob9e19f62d9d79aa61a844203c46cd84c5ba74daa5
1 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
4         before comparing with another char.
6 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
8         * manual/math.texi: Fix a grammatical error.
10 2017-06-24  Florian Weimer  <fweimer@redhat.com>
12         [BZ #21295]
13         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
15 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
17         [BZ #21295]
18         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
19         Append addresses at the end of the list.
21 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23         [BZ #21666]
24         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
25         (loc2): Likewise.
26         (locs): Likewise.
28 2017-06-23  Florian Weimer  <fweimer@redhat.com>
30         [BZ #16637]
31         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
32         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
33         digits between colons.
34         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
36 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
39         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
40         (__sched_get_prioriry_min): Likewise.
41         * include/sys/mman.h (__mmap): Likewise.
42         (__mmap64): Likewise.
43         (__munmap): Likewise.
44         (__mprotect): Likewise.
45         * include/termios.h (__tcsetattr): Likewise.
46         * include/time.h (__nanosleep): Use hidden_proto instead of
47         libc_hidden_proto.
48         * posix/nanosleep.c (__nanosleep): Likewise.
49         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
50         __sched_get_priority_min, and __sched_get_priority_max under
51         GLIBC_PRIVATE.
52         * nptl/allocatestack.c (__free_stacks): Use internal definition for
53         libc symbols.
54         (change_stack_perm): Likewise.
55         (change_stack_perm): Likewise.
56         (allocate_stack): Likewise.
57         * sysdeps/posix/gethostname.c: Likewise.
58         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
59         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
60         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
61         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
62         (__pthread_key_delete): Likewise.
63         (__pthread_detach): Likewise.
64         (__pthread_cancel): Likewise.
65         (__pthread_mutex_trylock): Likewise.
66         (__pthread_mutexattr_init): Likewise.
67         (__pthread_mutexattr_settype): Likewise.
68         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
69         create alias for exported one.
70         * nptl/pthread_join.c (pthread_join): Likewise.
71         * nptl/pthread_detach.c (pthread_detach): Likewise.
72         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
73         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
74         * nptl/pthread_create.c: Change static requirements for pthread
75         symbols.
76         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
77         for internal definition.
78         * nptl/pthread_exit.c (__pthread_exit): Likewise.
79         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
80         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
81         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
82         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
83         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
84         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
85         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
86         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
87         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
88         Likewise.
89         * nptl/pthread_self.c (__pthread_self): Likewise.
90         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
91         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
92         * misc/mmap.c (__mmap): Add internal symbol definition.
93         * misc/mmap.c (__mmap64): Likewise.
94         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
95         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
96         (__mmap64): Likewise.
97         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
98         Add __uname.
100 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
102         * sysdeps/i386/fpu/libm-test-ulps: Update.
103         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
105         * libm-test-support.c (check_float_internal): Clear exceptions at
106         end of function.
107         (check_int): Likewise.
108         (check_long): Likewise.
109         (check_bool): Likewise.
110         (check_longlong): Likewise.
111         (check_intmax_t): Likewise.
112         (check_uintmax_t): Likewise.
114         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
115         Do not declare.
116         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
117         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
118         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
120 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
122         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
123         Replace movzbl and orl with movb.
125 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
127         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
128         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
129         and HUGE_VAL_FNx.
130         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
131         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
132         are in math.h, to avoid having to list the _FloatN and _FloatNx
133         variants as well.  Likewise for the cabs functions.
134         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
135         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
136         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
137         come from TS 18661-3, since this section explicitly states that
138         these functions come from BSD.
139         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
140         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
141         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
142         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
143         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
144         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
145         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
146         remainderfNx.
147         (Setting and modifying single bits of FP values): Document
148         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
149         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
150         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
151         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
152         (Floating-Point Comparison Functions): Document totalorderfN,
153         totalorderfNx, totalordermagfN, totalordermagfNx.
154         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
155         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
156         fdimfN, fdimfNx, fmafN, fmafNx.
157         (Complex Numbers): Document the complex types: _FloatN complex and
158         _FloatNx complex.
159         (rojections, Conjugates, and Decomposing of Complex Numbers):
160         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
161         cargfN, cargfNx, cprojfN, cprojfNx.
162         * manual/math.texi (Mathematics): Mention that the _FloatN and
163         _FloatNx variants of the math functions come from TS 18661-3,
164         unless otherwise stated.
165         (Predefined Mathematical Constants): Document the _FloatN and
166         _FloatNx variants of the macros prefixed with M_.
167         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
168         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
169         ccosfNx, ctanfN, ctanfNx.
170         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
171         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
172         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
173         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
174         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
175         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
176         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
177         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
178         cpowfNx.
179         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
180         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
181         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
182         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
183         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
184         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
185         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
186         ynfN, ynfNx.
188 2017-06-23  Florian Weimer  <fweimer@redhat.com>
190         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
192 2017-06-23  Florian Weimer  <fweimer@redhat.com>
194         * resolv/res_libc.c: Reformat to GNU style.
196 2017-06-23  Florian Weimer  <fweimer@redhat.com>
198         * resolv/resolv-internal.h (__res_initstamp): Declare.
199         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
200         It is implied by the declaration.
201         * resolv/res_libc.c (__res_initstamp): Remove declaration.
203 2017-06-23  Florian Weimer  <fweimer@redhat.com>
205         [BZ #21662]
206         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
207         Use only 24 bits of the register before the subtraction.
208         * string/test-memcmp.c (check1): Check with different lengths.
210 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
212         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
213         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
215 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
217         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
218         Enable generation of float128 entries on the error table.
220 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
222         * include/float.h: Include libc-header-start.h to get the
223         definition of __GLIBC_USE.
225 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
227         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
228         rearranged code and doubles float types.
230 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
233         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
235 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
237         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
238         to errno, and simplify remaining related code.
240 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
242         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
243         PPC_FEATURE2_SCV.
244         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
245         and darn.
247 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
249         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
250         the implementation-specific function name and remove unneeded macros
251         definition.
252         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
253         function name if not defined and pass as parameter to macros
254         accordingly.
256 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
259         (libm-sysdep_routines): Add s_llroundf-ppc64.
260         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
261         (__llroundf): Define as strong alias of __llround.
262         (llroundf):  Define as weak alias of __llround.
263         (__lroundf): Define as strong alias of __llround.
264         (lroundf):  Define as weak alias of __llround.
265         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
266         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
269         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
270         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
271         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
273 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
275         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
276         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
278         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
279         (MATH_TESTS_TG): New macro.
280         (SNAN_TESTS_float128): Likewise.
281         (ROUNDING_TESTS_float128): Likewise.
282         (EXCEPTION_TESTS_float128): Likewise.
283         (SNAN_TESTS): Define using MATH_TESTS_TG.
284         (ROUNDING_TESTS): Likewise.
285         (EXCEPTION_TESTS): Likewise.
287         * sysdeps/ieee754/float128/float128_private.h
288         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
289         pass it to SET_RESTORE_ROUNDF128.
291         * sysdeps/ieee754/float128/float128_private.h: Include
292         <ieee754.h>.
294         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
295         typeof to argument passed to __builtin_types_compatible_p.
296         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
298         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
299         <errno.h>.
300         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
301         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
302         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
303         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
304         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
305         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
306         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
307         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
308         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
309         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
310         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
311         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
312         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
313         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
314         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
315         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
316         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
317         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
318         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
319         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
320         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
321         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
323         * sysdeps/ieee754/float128/strtof128_l.c: Include
324         <bits/types/locale_t.h> instead of <xlocale.h>.
325         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
326         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
328 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
330         * benchtests/scripts/benchout_strings.schema.json: New file.
331         * benchtests/scripts/compare_strings.py: New file.
333         * benchtests/bench-memcpy-large.c: Include json-lib.h.
334         (do_one_test): Print json.
335         (do_test): Likewise.
336         (test_main): Likewise.
337         * benchtests/bench-memcpy-random.c: Include json-lib.h.
338         (do_one_test): Print json.
339         (do_test): Likewise.
340         (test_main): Likewise.
341         * benchtests/bench-memcpy.c: Include json-lib.h.
342         (do_one_test): Print json.
343         (do_test): Likewise.
344         (test_main): Likewise.
346         * benchtests/json-lib.h: Include inttypes.h.
347         (json_attr_int, json_attr_int, json_element_string,
348         json_element_int, json_element_uint): New functions.
349         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
350         json_element_string, json_element_int, json_element_uint): New
351         functions.
353 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
355         * manual/arith.texi (Remainder Functions): Describe remainder as
356         primary and drem as an alternative name.  Change the comment on
357         remainder to ISO, since it is defined in ISO C99.
359 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
361         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
362         macro expansion.
363         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
365 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
367         [BZ #21533]
368         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
369         201706L for Unicode 10.0.
371 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
373         [BZ #21657]
374         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
375         on node-local addresses.
376         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
378 2017-06-21  Florian Weimer  <fweimer@redhat.com>
380         * intl/loadmsgcat.c: Remove alloca support.
381         (_nl_load_domain): Use calloc instead of alloca.
383 2017-04-21  Florian Weimer  <fweimer@redhat.com>
385         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
386         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
387         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
388         alloc_buffer_create_failure.
389         * malloc/Versions (__libc_alloc_buffer_alloc_array)
390         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
391         (__libc_alloc_buffer_copy_string)
392         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
393         * malloc/alloc_buffer_alloc_array.c: New file.
394         * malloc/alloc_buffer_allocate.c: Likewise.
395         * malloc/alloc_buffer_copy_bytes.c: Likewise.
396         * malloc/alloc_buffer_copy_string.c: Likewise.
397         * malloc/alloc_buffer_create_failure.c: Likewise.
398         * malloc/tst-alloc_buffer.c: Likewise.
400 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
403         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
404         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
405         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
406         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
407         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
408         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
409         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
410         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
411         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
412         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
413         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
414         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
415         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
416         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
417         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
418         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
419         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
420         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
421         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
422         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
423         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
424         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
425         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
426         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
427         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
428         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
429         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
430         "locale-defines.h".
431         (UPDATE_STRNCMP_COUNTER): New.
432         (SECTION): Likewise.
433         (GLABEL): Likewise.
434         (LABEL): Likewise.
435         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
436         for libc.a.
438 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
440         [BZ #21622]
441         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
442         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
443         __USE_MISC].
444         (SA_NODEFER): Likewise.
445         (SA_RESETHAND): Likewise.
447 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
449         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
450         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
451         Remove security_level on all fields.
452         * manual/tunables.texi: Replace ifunc with hwcaps.
453         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
454         Renamed to ..
455         (TUNABLE_CALLBACK (set_hwcaps)): This.
456         (init_cpu_features): Updated.
457         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
458         data_cache_size, data_cache_size and non_temporal_threshold to
459         unsigned long int.
460         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
461         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
462         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
463         use DEFAULT_STRLEN.
465 2017-06-21  Florian Weimer  <fweimer@redhat.com>
467         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
468         asprintf to construct an absolute pathname.
470 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
472         * misc/tst-preadvwritev2-common.c: New file.
473         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
474         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
476 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
478         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
479         annotation.
480         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
482 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
484         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
485         hidden __GI__dl_argv symbol.
487 2017-06-21  Florian Weimer  <fweimer@redhat.com>
489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
490         to parse addresses with IPv6 scope IDs.
492 2017-06-21  Florian Weimer  <fweimer@redhat.com>
494         Add the __inet_pton_length helper function.
495         * resolv/resolv-internal.h (__inet_pton_length): Declare.
496         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
497         Add length argument.
498         (__inet_pton): New function.
499         (inet_pton4): Add length argument.
500         (hex_digit_value): New function.
501         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
502         memmove and memset to fill :: gap.
503         * resolv/Makefile (tests, tsts-static, tests-internal): Add
504         tst-inet_pton.
505         * resolv/tst-inet_pton.c: New file.
506         * support/Makefile (libsupport-routines): Add xmprotect.
507         * support/xunistd.h (xmprotect): Declare.
508         * support/xmprotect.c: New file.
510 2017-06-21  Florian Weimer  <fweimer@redhat.com>
512         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
513         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
514         (call_gai, check_ai): New functions.
515         (expect_failure, expect_success): Use them.  Add logging.
517 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
519         * sysdeps/powerpc/powerpc64/multiarch/Makefile
520         (sysdep_routines): Add memchr_power8.
521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
522         (memchr): Add __memchr_power8 to list of memchr functions.
523         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
524         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
525         (memchr): Add __memchr_power8 to ifunc list.
526         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
528 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
530         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
531         (__llrintf): Define as strong alias of __llrint.
532         (llrintf):  Define as weak alias of __llrint.
533         (__lrintf): Define as strong alias of __llrint.
534         (lrintf):  Define as weak alias of __llrint.
535         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
536         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
537         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
540 2017-06-20  Zack Weinberg  <zackw@panix.com>
542         * bits/signum-generic.h: Renamed from bits/signum.h.
543         Add proper multiple include guard and misuse check.
544         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
545         Move definition of SIGIO to "archaic names for compatibility" section.
546         * bits/signum.h: New file which just includes bits/signum-generic.h.
547         * sysdeps/unix/bsd/bits/signum.h
548         * sysdeps/unix/sysv/linux/bits/signum.h
549         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
550         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
551         * sysdeps/unix/sysv/linux/mips/bits/signum.h
552         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
553         Just include <bits/signum-generic.h> and then add or adjust
554         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
556         * signal/Makefile: Install bits/signum-generic.h.
557         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
559         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
560         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
562         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
563         * sysdeps/unix/sysv/linux/Makefile: Run it.
565 2017-06-20  Zack Weinberg  <zackw@panix.com>
567         * locale/xlocale.h: Rename to...
568         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
569         Only define struct __locale_struct and __locale_t, not locale_t.
570         * locale/bits/types/locale_t.h: New file; define locale_t here.
571         * locale/Makefile (headers): Update to match.
573         * include/xlocale.h: Delete wrapper.
574         * include/bits/types/__locale_t.h: New wrapper.
575         * include/bits/types/locale_t.h: New wrapper.
577         * ctype/ctype.h, include/printf.h, include/time.h
578         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
579         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
580         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
581         Correct outdated comments regarding the standardization status of
582         the functions that take locale_t arguments.
584         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
585         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
586         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
587         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
588         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
589         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
590         Don't include xlocale.h. If necessary, include locale.h instead.
592         * stdlib/strtold_l.c: Unconditionally include wchar.h.
594         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
595         * include/monetary.h, include/stdlib.h, include/time.h
596         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
597         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
598         * locale/localeinfo.h, locale/newlocale.c
599         * locale/nl_langinfo_l.c, locale/uselocale.c
600         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
601         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
602         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
603         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
604         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
605         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
606         * string/strings.h, string/strncase.c, string/strxfrm_l.c
607         * sysdeps/ieee754/float128/strtof128_l.c
608         * sysdeps/ieee754/float128/wcstof128.c
609         * sysdeps/ieee754/float128/wcstof128_l.c
610         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
611         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
612         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
613         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
614         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
615         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
616         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
617         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
618         * sysdeps/x86_64/strcasecmp_l-nonascii.c
619         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
620         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
621         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
622         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
623         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
624         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
625         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
626         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
627         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
628         Change all uses of __locale_t to locale_t.
630 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
632         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
633         for !__OFF_T_MATCHES_OFF64_T.
634         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
635         implementation based on open64.
636         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
637         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
639 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
641         * elf/dl-tunables.list: Move x86 specific tunables to ...
642         * sysdeps/x86/dl-tunables.list: Here.  New file.
644 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
646         [BZ #21635]
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
648         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
649         * conform/data/signal.h-data (uc_mcontext): XFAIL for
650         powerpc32-linux.
651         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
653         [BZ #21634]
654         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
655         (conformtest-xfail-conds): New variable.
656         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
657         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
659 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
661         * benchtests/powf-inputs: Add reduced trace from wrf.
663 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
664             Erich Elsen  <eriche@google.com>
666         * elf/dl-tunables.list (tune): Add ifunc,
667         x86_non_temporal_threshold,
668         x86_data_cache_size and x86_shared_cache_size.
669         * manual/tunables.texi: Document glibc.tune.ifunc,
670         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
671         and glibc.tune.x86_non_temporal_threshold.
672         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
673         * sysdeps/x86/cpu-tunables.c: Likewise.
674         * sysdeps/x86/cacheinfo.c
675         (init_cacheinfo): Check and get data cache size, shared cache
676         size and non temporal threshold from cpu_features.
677         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
678         New.
679         [HAVE_TUNABLES] Include <unistd.h>.
680         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
681         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
682         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
683         IFUNC selection, data cache size, shared cache size and non
684         temporal threshold.
685         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
686         shared_cache_size and non_temporal_threshold.
688 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
690         * benchtests/README: Describe workload feature.
691         * benchtests/bench-skeleton.c (main): Add support for
692         benchmarking traces from workloads.
694 2017-06-20  Zack Weinberg  <zackw@panix.com>
696         * string/string.h (__mempcpy_inline): Delete.
697         * sysdeps/x86_64/multiarch/mempcpy.c
698         * sysdeps/x86_64/multiarch/stpcpy.c:
699         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
700         before including string.h.
702 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
704         * benchtests/Makefile (bench-math): Add powf.
705         * benchtests/powf-inputs: New file.
707 2017-06-20  Zack Weinberg  <zackw@panix.com>
709         * bits/string.h, string/bits/string.h
710         * sysdeps/aarch64/bits/string.h
711         * sysdeps/m68k/m680x0/m68020/bits/string.h
712         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
713         * sysdeps/x86/bits/string.h: Delete file.
715         * string/string.h: Don't include bits/string.h.
716         * string/bits/string3.h: Rename to bits/string_fortified.h.
717         No need to undef various symbols that the removed headers
718         might have defined as macros.
719         * string/Makefile (headers): Remove bits/string.h, change
720         bits/string3.h to bits/string_fortified.h.
721         * string/string-inlines.c: Update commentary.  Remove definitions
722         of various macros that nothing looks at anymore.  Don't directly
723         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
724         compiler-predefined macros.
725         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
726         _is_ defined, provide internal hidden alias __strncat.
727         * include/string.h: Declare internal hidden alias __strncat.
728         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
729         not defined.
730         * include/bits/string3.h: Rename to bits/string_fortified.h,
731         update to match above.
733         * sysdeps/i386/string-inlines.c: Define compat symbols for
734         everything formerly defined by sysdeps/x86/bits/string.h.
735         Make existing definitions into compat symbols as well.
736         Remove some no-longer-necessary messing around with macros.
738         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
739         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
740         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
741         * sysdeps/s390/multiarch/mempcpy.c
742         No need to define _HAVE_STRING_ARCH_mempcpy.
743         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
745         * sysdeps/i386/i686/multiarch/strncat-c.c
746         * sysdeps/s390/multiarch/strncat-c.c
747         * sysdeps/x86_64/multiarch/strncat-c.c
748         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
750 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
752         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
753         (LDBL_DIG): Likewise.
754         (LDBL_MIN_EXP): Likewise.
755         (LDBL_MIN_10_EXP): Likewise.
756         (LDBL_MAX_EXP): Likewise.
757         (LDBL_MAX_10_EXP): Likewise.
758         (LDBL_MAX): Likewise.
759         (LDBL_MIN): Likewise.
760         (LDBL_EPSILON): Likewise.
761         (FLT_ROUNDS): Change standard from ISO to C90.
762         (FLT_RADIX): Likewise.
763         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
764         (FLT_DIG, DBL_DIG): Likewise.
765         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
766         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
767         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
768         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
769         (FLT_MAX, DBL_MAX): Likewise.
770         (FLT_MIN, DBL_MIN): Likewise.
771         (FLT_EPSILON, DBL_EPSILON): Likewise.
773 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
775         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
776         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
777         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
778         * sysdeps/mips/math-tests.h
779         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
780         conditional code.
782 2017-06-19  Florian Weimer  <fweimer@redhat.com>
784         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
785         It cannot change while __libc_setlocale_lock is acquired.
787 2017-06-19  Florian Weimer  <fweimer@redhat.com>
789         * elf/rtld.c (audit_list_string): New variable.
790         (audit_list): Update comment.
791         (struct audit_list_iter): Define.
792         (audit_list_iter_init, audit_list_iter_next): New function.
793         (dl_main): Use struct audit_list_iter to process audit modules.
794         (process_dl_audit): Call dso_name_valid_for_suid.
795         (process_envvars): Set audit_list_string instead of calling
796         process_dl_audit.
798 2017-06-19  Florian Weimer  <fweimer@redhat.com>
800         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
801         (dso_name_valid_for_suid): New function.
802         (handle_ld_preload): Likewise.
803         (dl_main): Call it.  Remove alloca.
805 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #21625]
808         * posix/sys/wait.h (strust rusage forward declaration): Change
809         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
810         !__USE_XOPEN2K].
811         (wait3): Likewise.
813         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
814         * configure: Regenerated.
815         * manual/install.texi (Tools for Compilation): Document
816         requirement for GCC 4.9 or later.
817         * INSTALL: Regenerated.
819 2017-06-19  Florian Weimer  <fweimer@redhat.com>
821         [BZ #21624]
822         CVE-2017-1000366
823         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
824         __libc_enable_secure.
826 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
828         [BZ #21539]
829         * NEWS: Mention s390 ptrace request changes.
830         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
831         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
832         PTRACE_SETFPREGS): Remove enum constant.
833         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
834         Remove defines.
835         (PTRACE_SINGLEBLOCK): New enum constant.
836         (PT_STEPBLOCK): New define.
837         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
838         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
839         PTRACE_TE_ABORT_RAND): New enum constant and define.
840         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
841         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
842         New file.
843         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
845 2017-06-16  Florian Weimer  <fweimer@redhat.com>
847         * resolv/res_init.c (res_vinit_1): Use getline to read from the
848         configuration file.
849         (__res_vinit): Adjust.
851 2017-06-19  Florian Weimer  <fweimer@redhat.com>
853         * resolv/res_init.c (res_vinit_1): New function.
854         (__res_vinit): Call it.  Handle file open and memory allocation
855         failures.
856         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
857         erno from __res_maybe_init failure.
858         (_nss_dns_gethostbyname4_r): Likewise.
859         (_nss_dns_gethostbyaddr2_r): Likewise.
860         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
861         (_nss_dns_getnetbyaddr_r): Likewise.
863 2017-06-19  Florian Weimer  <fweimer@redhat.com>
865         * resolv/res_init.c: Reformat to GNU style.
867 2017-06-19  Florian Weimer  <fweimer@redhat.com>
869         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
870         (is_sort_mask): New function.
871         (__res_vinit): Use it.
873 2017-06-19  Florian Weimer  <fweimer@redhat.com>
875         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
876         conditionals.
878 2017-06-19  Florian Weimer  <fweimer@redhat.com>
880         * resolv/res-close.c: New file.
881         * resolv/res_init.c (__res_iclose, res_nclose)
882         (res_thread_freeres): Remove definitions.
883         * resolv/Makefile (routines): Add res-close.
885 2017-06-19  Florian Weimer  <fweimer@redhat.com>
887         * resolv/res_randomid.c: New file.
888         * resolv/res_init.c (res_randomid): Remove definition.
889         * resolv/Makefile (routines): Add res_randomid.
891 2017-06-19  Florian Weimer  <fweimer@redhat.com>
893         * include/resolv.h (__res_vinit): Declare as hidden.
894         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
895         * resolv/res_libc.c (res_init): Likewise.
897 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
899         [BZ #21457]
900         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
901         _libc_xmmreg): Use __ctx in defining field.
903         [BZ #21597]
904         * signal/signal.h (siginterrupt): Make declaration conditional on
905         [__USE_XOPEN_EXTENDED || __USE_MISC].
907         [BZ #21584]
908         * signal/signal.h: Make includes of <bits/sigstack.h> and
909         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
910         __USE_MISC].
911         (sigaltstack): Make declaration conditional on
912         [__USE_XOPEN_EXTENDED || __USE_MISC].
914         [BZ #21575]
915         * resource/bits/types/struct_rusage.h: New file.
916         * include/bits/types/struct_rusage.h: Likewise.
917         * bits/resource.h (struct rusage): Include
918         <bits/types/struct_rusage.h> instead of defining here.
919         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
920         Likewise.
921         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
922         Likewise.
923         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
924         Likewise.
925         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
926         Likewise.
927         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
928         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
929         Include <bits/types/struct_rusage.h>
931 2017-06-19  Florian Weimer  <fweimer@redhat.com>
933         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
935 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
937         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
939 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
941         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
943 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
945         [BZ #21537]
946         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
947         Check SHARED instead of PIC.
948         (SYSCALL_PIC_SETUP): Add missing semicolons.
949         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
950         Check SHARED instead of PIC.
951         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
952         (__makecontext_ret): Adjust code to jump to exit.
954 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
956         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
957         Simplify code by always using SVC 0 instead of EX.
958         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
960 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
962         * elf/Versions (ld): Remove _dl_out_of_memory.
964 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
966         * timezone/private.h: Update from tzcode 2017b.
967         * timezone/tzfile.h: Likewise.
968         * timezone/tzselect.ksh: Likewise.
969         * timezone/zdump.c: Likewise.
970         * timezone/zic.c: Likewise.
971         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
972         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
973         * time/tzset.c (SECSPERDAY): New macro.
975 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
977         * manual/string.texi (strdup): Complete header and standards
978         annotation.
979         (strncpy): Likewise.
981 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
983         * manual/arith.texi (FP_NAN): Add or complete header and standard
984         annotations.
985         (FP_INFINITE): Likewise.
986         (FP_ZERO): Likewise.
987         (FP_SUBNORMAL): Likewise.
988         (FP_NORMAL): Likewise.
989         (SNAN): Likewise.
990         (SNANL): Likewise.
991         (totalorderf): Likewise.
992         (totalorderl): Likewise.
993         (totalordermagf): Likewise.
994         (totalordermagl): Likewise.
995         (_Complex_I): Likewise.
996         (I): Likewise.
998 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1000         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
1001         standard annotation.
1002         (ARGP_HELP_SHORT_USAGE): Likewise.
1003         (ARGP_HELP_SEE): Likewise.
1004         (ARGP_HELP_LONG): Likewise.
1005         (ARGP_HELP_PRE_DOC): Likewise.
1006         (ARGP_HELP_POST_DOC): Likewise.
1007         (ARGP_HELP_DOC): Likewise.
1008         (ARGP_HELP_BUG_ADDR): Likewise.
1009         (ARGP_HELP_LONG_ONLY): Likewise.
1010         (ARGP_HELP_EXIT_ERR): Likewise.
1011         (ARGP_HELP_EXIT_OK): Likewise.
1012         (ARGP_HELP_STD_ERR): Likewise.
1013         (ARGP_HELP_STD_USAGE): Likewise.
1014         (ARGP_HELP_STD_HELP): Likewise.
1016 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1018         * manual/Makefile: Generate summary.texi with summary.pl.  Force
1019         use of the C locale.  Update Perl dependency comment.
1020         * manual/header.texi: Update reference to summary.awk.
1021         * manual/macros.texi: Refer authors to `summary.pl --help'.
1022         * manual/summary.awk: Remove file.
1023         * manual/summary.pl: New file.  Generate summary.texi, and check
1024         for @standards-related syntax errors.
1025         * manual/argp.texi: Convert header and standards @comments to
1026         @standards.
1027         * manual/arith.texi: Likewise.
1028         * manual/charset.texi: Likewise.
1029         * manual/conf.texi: Likewise.
1030         * manual/creature.texi: Likewise.
1031         * manual/crypt.texi: Likewise.
1032         * manual/ctype.texi: Likewise.
1033         * manual/debug.texi: Likewise.
1034         * manual/errno.texi: Likewise.
1035         * manual/filesys.texi: Likewise.
1036         * manual/getopt.texi: Likewise.
1037         * manual/job.texi: Likewise.
1038         * manual/lang.texi: Likewise.
1039         * manual/llio.texi: Likewise.
1040         * manual/locale.texi: Likewise.
1041         * manual/math.texi: Likewise.
1042         * manual/memory.texi: Likewise.
1043         * manual/message.texi: Likewise.
1044         * manual/pattern.texi: Likewise.
1045         * manual/pipe.texi: Likewise.
1046         * manual/process.texi: Likewise.
1047         * manual/resource.texi: Likewise.
1048         * manual/search.texi: Likewise.
1049         * manual/setjmp.texi: Likewise.
1050         * manual/signal.texi: Likewise.
1051         * manual/socket.texi: Likewise.
1052         * manual/startup.texi: Likewise.
1053         * manual/stdio.texi: Likewise.
1054         * manual/string.texi: Likewise.
1055         * manual/sysinfo.texi: Likewise.
1056         * manual/syslog.texi: Likewise.
1057         * manual/terminal.texi: Likewise.
1058         * manual/threads.texi: Likewise.
1059         * manual/time.texi: Likewise.
1060         * manual/users.texi: Likewise.
1062 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1064         * manual/macros.texi (@standards): New macro.  Provide placeholder
1065         for header and standards annotations.
1066         (@standardsx): New macro.  Likewise, for lists of @*x elements.
1068 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1070         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
1071         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
1072         rule.
1073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
1074         sync_file_range.
1076          * support/support_test_main.c (support_test_main):  Use optstring
1077          member for option string in getopt_long.
1078          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
1079          (CMDLINE_OPTSTRING): New define.
1080          * support/test-driver.h (test_config): Add optstring member.
1082 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1085         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
1086         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
1087         Check USE_AS_STRPBRK instead of STRPBRK_P.
1088         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
1089         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
1090         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
1091         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
1092         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
1093         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
1094         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
1095         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
1096         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
1097         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1098         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1099         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
1100         and "#endif".
1102 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1104         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1105         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1107 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1110         strcat-sse2.
1111         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1112         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1113         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1114         * sysdeps/x86_64/multiarch/strcat.S: Removed.
1115         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1117 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1118             Erich Elsen  <eriche@google.com>
1120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1121         memcmp-sse2.
1122         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1123         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1124         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1125         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1126         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1127         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1129 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1130             Erich Elsen  <eriche@google.com>
1132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1133         memset-sse2-unaligned-erms, and memset_chk-nonshared.
1134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1135         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1136         Update comments.
1137         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1138         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1139         * sysdeps/x86_64/multiarch/memset.c: Likewise.
1140         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1141         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1142         * sysdeps/x86_64/multiarch/memset.S: Removed.
1143         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1144         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1145         (__memset_chk_erms): New function.
1147 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1149         * configure.ac(--enable-tunables): Enable by default.
1150         * configure: Regenerate.
1151         * NEWS: Mention change.
1152         * manual/install.texi (enable-tunables): Adjust documentation.
1153         * INSTALL: Regenerate.
1155 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1157         [BZ #18988]
1158         * benchtests/thread_create-inputs: New file.
1159         * benchtests/thread_create-source.c: Likewise.
1160         * support/xpthread_attr_setguardsize.c: Likewise.
1161         * support/Makefile (libsupport-routines): Add
1162         xpthread_attr_setguardsize object.
1163         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1164         * benchtests/Makefile (bench-pthread): Add thread_create.
1165         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1166         then mprotect the required area.
1167         (guard_position): New function.
1168         (setup_stack_prot): Likewise.
1170 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1171             Erich Elsen  <eriche@google.com>
1172             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1175         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1176         mempcpy_chk-nonshared and memmove_chk-nonshared.
1177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1178         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1179         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
1180         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1181         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1182         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1183         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1184         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1185         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1186         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1187         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1188         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1189         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1190         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1191         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1192         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1193         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1194         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1195         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1197         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1198         (__mempcpy_chk_erms): New function.
1199         (__memmove_chk_erms): Likewise.
1200         (__memcpy_chk_erms): New alias.
1202 2017-06-14  Florian Weimer  <fweimer@redhat.com>
1204         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1205         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1207 2017-06-14  Zack Weinberg  <zackw@panix.com>
1209         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1210         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
1211         defined, don't declare anything other than the E-constants.
1213         * include/errno.h: Change conditional for exposing internal
1214         declarations to (not _ISOMAC and not __ASSEMBLER__).
1215         * bits/errno.h: Remove logic for __need_Emath.  Document
1216         requirements for a port-specific bits/errno.h.
1218         * sysdeps/unix/sysv/linux/bits/errno.h
1219         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1220         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1221         * sysdeps/unix/sysv/linux/mips/bits/errno.h
1222         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1223         Add multiple-include guard and check against improper inclusion.
1224         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
1225         constants are defined as simple integer literals.  Consistent
1226         formatting.
1227         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
1228         enum __error_t_codes if __ASSEMBLER__ is not defined.
1229         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1231         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1232         including errno.h.
1233         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1234         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1235         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1236         * sysdeps/x86_64/fpu/s_cosf.S
1237         * sysdeps/x86_64/fpu/s_sincosf.S
1238         * sysdeps/x86_64/fpu/s_sinf.S:
1239         Just include errno.h; don't define __need_Emath or include
1240         bits/errno.h directly.
1242 2017-06-14  Zack Weinberg  <zackw@panix.com>
1244         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1245         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1246         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1248         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1249         for IOV_MAX.
1250         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1251         Don't install bits/uio.h.
1252         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1253         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1254         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1256         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1257         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1258         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1261         Include bits/types/struct_iovec.h, not bits/uio.h.
1262         Use __ssize_t, not ssize_t, in function prototypes.
1263         Don't use hard TAB for double space after period in comments.
1265 2017-06-14  Alan Modra  <amodra@gmail.com>
1267         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1268         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1269         refsym and sym parameters.  Adjust callers.
1270         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1271         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1272         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1273         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1274         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1275         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1276         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1277         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1278         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1279         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1280         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1281         Likewise.
1282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1283         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1284         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1285         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1286         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1287         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1288         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1289         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1290         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1291         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1292         Delete reloc param, add refsym and sym.  Check optimized plt
1293         call stubs for localentry:0 functions.  Adjust callers.
1294         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1295         and sym parameters.  Adjust callers.
1296         (_dl_reloc_overflow): Move attribute.
1297         (_dl_error_localentry): Declare.
1298         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1299         refsym and sym to elf_machine_fixup_plt.
1300         * elf/testobj6.c (preload): Call printf.
1302 2017-06-14  Alan Modra  <amodra@gmail.com>
1304         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1305         (NOPS, ENTRY_3): New macros.
1306         (ENTRY): Rewrite.
1307         (ENTRY_TOCLESS): Define.
1308         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1309         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1310         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1311         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1312         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1313         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1314         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1315         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1316         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1317         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1318         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1319         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1320         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1321         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1322         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1323         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1324         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1325         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1326         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1327         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1328         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1329         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1330         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1331         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1332         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1333         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1334         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1335         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1336         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1337         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1338         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1339         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1340         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1341         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1342         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1343         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1344         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1345         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1346         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1347         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1348         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1349         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1350         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1351         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1352         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1353         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1354         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1355         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1356         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1357         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1358         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1359         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1360         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1361         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1362         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1363         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1364         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1365         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1367         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1368         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1369         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1370         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1372         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1373         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1374         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1375         Likewise.
1376         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1377         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1378         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1379         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1381         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1382         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1383         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1384         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1387         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1388         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1389         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1392         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1393         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1394         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1395         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1396         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1397         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1398         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1399         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1400         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1401         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1402         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1403         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1404         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1405         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1406         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1407         add nop when SHARED.
1408         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1409         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1410         define.
1411         (ENTRY_TOCLESS): Define.
1412         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1413         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1414         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1416 2017-06-14  Alan Modra  <amodra@gmail.com>
1418         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1419         MEMSET_is_local.
1420         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1421         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1422         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1423         Define MEMSET.
1424         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1425         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1426         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1427         nop after local calls.
1428         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1429         Don't add nop after local call.
1430         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1431         CALL_MCOUNT.
1433 2017-06-14  Alan Modra  <amodra@gmail.com>
1435         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1436         (FUNC_LABEL): Rename from DOT_LABEL.
1437         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1438         Use .p2align rather than .align.
1439         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1440         (ABORT_TRANSACTION): Likewise.
1441         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1442         particularly at end.  Add semicolon at invocation as necessary.
1443         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1444         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1445         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1446         END): Adjust to suit.
1448 2017-06-14  Alan Modra  <amodra@gmail.com>
1450         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1451         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1452         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1453         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1454         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1456         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1458 2017-06-14  Alan Modra  <amodra@gmail.com>
1460         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1461         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1463 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1465         [BZ #21548]
1466         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1467         8 and use it when copying general purpose registers.
1468         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1469         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1470         mips o32.
1471         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1472         new test for mips o32.
1473         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1474         8 and use it when copying general purpose registers.
1475         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1477 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1479         * configure.ac (find_cxx_header): Suppress compiler error message.
1481 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1483         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1484         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1485         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1486         begin/end.
1487         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1488         dynarray_int_end.
1489         (test_str): Test dynarray_str_begin, dynarray_str_end.
1491 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1493         [BZ #21573]
1494         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1495         $(common-objpfx)bits/std_abs.h.
1496         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1497         New target.
1498         * config.make.in (c++-bits-std_abs-h): New.
1499         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1500         (CXX_BITS_STD_ABS_H): New.
1501         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1502         * configure: Regenerated.
1504 2017-06-13  Zack Weinberg  <zackw@panix.com>
1506         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1507         directives.
1509 2017-06-12  Zack Weinberg  <zackw@panix.com>
1511         * bits/sched.h: Remove __need_schedparam logic and replace with a
1512         normal multiple-include guard.  Change field name in struct
1513         sched_param from __sched_priority to sched_priority.  Delete
1514         everything under #ifndef __cpu_set_t_defined.
1515         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1516         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1518         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1519         For compatibility, #define sched_priority to itself, and #define
1520         __sched_priority as sched_priority.
1521         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1522         that was under #ifndef __cpu_set_t_defined in
1523         sysdeps/unix/sysv/linux/bits/sched.h.
1524         * include/bits/cpu-set.h: New wrapper.
1525         * posix/Makefile: Install bits/cpu-set.h.
1527 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1528             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1529             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1531         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1532         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1533         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1534         * math/libm-test-isfinite.inc (finite_test): Likewise.
1535         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1536         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1537         (nexttoward_test_data}: Likewise.
1538         * math/libm-test-remainder.inc (drem_test): Likewise.
1539         * math/libm-test-scalb.inc (scalb_test): Likewise.
1540         (scalb_test_data): Likewise.
1541         * math/libm-test-significand.inc (significand_test): Likewise.
1542         (significand_test_data): Likewise.
1543         * math/libm-test-support.c (check_complex): Replace __complex__
1544         FLOAT with CFLOAT to get the support for old compiler.
1545         * math/libm-test-support.h (check_complex): Likewise.
1546         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1547         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1548         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1549         * math/test-float128.h: New file.
1550         * math/test-math-floatn.h: New file.
1552 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1554         * include/float.h: Allow the definition of macros prefixed with
1555         FLT128 even if _ISOMAC is defined, but provided that
1556         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1558 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1560         * manual/math.texi (Mathematics): Add description for _FloatN and
1561         _FloatNx types and mentions that they are not support in glibc for
1562         any architecture, so far.
1563         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1564         stdlib.h with wchar.h.
1565         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1566         (Printing of Floats): Add description for strfromfN.
1568 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1569             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1570             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1572         * include/gmp.h (__mpn_construct_float128): New declaration.
1573         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1574         (__strtof128_l): New declaration.
1575         (__strtof128_nan): Likewise.
1576         (__wcstof128_nan): Likewise.
1577         (__strtof128_internal): Likewise.
1578         (____strtof128_l_internal): Likewise.
1579         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1580         (__wcstof128_l): New declaration.
1581         (__wcstof128_internal): Likewise.
1583         * stdlib/Makefile (bug-strtod2): Link libm too.
1585         * stdlib/stdlib.h (strtof128): New declaration.
1586         (strtof128_l): Likewise.
1588         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1589         tst-strtod.h macros to ensure float128 gets tested too.
1591         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1593         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1594         tests.
1595         (IF_FLOAT128): New macro.
1596         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1597         the tests.
1598         (STRTOD_TEST_FOREACH): Likewise.
1600         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1601         wcstof128 functions into libc.
1603         * sysdeps/ieee754/float128/Versions: Add exports for the above
1604         new functions.
1606         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1607         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1608         * sysdeps/ieee754/float128/strtof128.c: New file.
1609         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1610         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1611         * sysdeps/ieee754/float128/wcstof128.c: New file.
1612         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1613         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1614         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1615         (CFLAGS-wcstof128_l): Likewise.
1617         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1618         (wcstof128): New declaration.
1619         (wcstof128_l): Likewise.
1621 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1623         [BZ #21552]
1624         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1625         not [__USE_XOPEN].
1626         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1628         [BZ #21550]
1629         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1631 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1634         strcpy-sse2 and stpcpy-sse2.
1635         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1636         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1637         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1638         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1639         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1640         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1641         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1642         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1643         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1644         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1645         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1646         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1647         (libc_hidden_def): Always defined as empty.
1648         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1649         Always Defined as empty.
1651 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1653         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1655 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1657         [BZ #15105]
1658         [BZ #19463]
1659         * include/string.h: Add internal redirect for __stpcpy.
1660         * string/Makefile: Remove bits/string2.h.
1661         * string/string.h: Update comment.
1662         * string/string-inlines.c: Remove bits/string2.h include and comment.
1663         * string/bits/string2.h: Remove file.
1665 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1667         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1668         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1669         * sunrpc/des_impl.c (_des_crypt): Likewise.
1670         * sunrpc/key_call.c (key_gendes): Likewise.
1671         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1672         * sunrpc/svc_simple.c (universal): Likewise.
1673         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1674         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1675         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1677 2017-06-10  Zack Weinberg  <zackw@panix.com>
1679         * stdlib/errno.h: Correct an outdated comment.
1681 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1683         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1684         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1685         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1686         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1687         New file.  Invoke newly supported sysconf values for powerpc,
1688         and report results.  If none are supported, report so.
1689         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1690         tst-sysconf.
1692 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1694         * include/sys/auxv.h (__getauxval): Add a prototype and its
1695         libc_hidden_proto.
1696         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1698 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1700         [BZ #21561]
1701         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1702         [__USE_XOPEN_EXTENDED].
1703         (id_t): Likewise.
1704         (include of <bits/types/siginfo_t.h): Likewise.
1705         (waitid): Likewise.
1706         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1707         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1708         (WEXITED): Likewise.
1709         (WCONTINUED): Likewise.
1710         (WNOWAIT): Likewise.
1711         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1712         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1713         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1715         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1716         libc.so PLT entry optional.
1717         (__gtsf2): Likewise.
1718         (__unorddf2): Likewise.
1719         (__unordsf2): Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1721         New optional libc.so PLT entry.
1723         [BZ #21554]
1724         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1725         not [__USE_XOPEN].
1727         [BZ #21560]
1728         * posix/sys/wait.h: Condition include of <signal.h> on
1729         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1730         unconditionally.
1731         [!__pid_t_defined] (pid_t): Define typedef.
1733 2017-06-09  Zack Weinberg  <zackw@panix.com>
1735         * include/errno.h (__errno_location): Use __attribute_const__
1736         instead of bare __attribute__.
1738 2017-06-09  Zack Weinberg  <zackw@panix.com>
1740         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1741         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1742         more appropriate location. Also add dl-tunable-list.h and
1743         dl-tunable-list.stmp.
1745 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1749 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1752         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1754         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1755         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1756         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1757         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1758         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1759         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1760         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1761         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1763 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1766         memrchr-sse2 and memrchr-avx2.
1767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1768         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1769         __memrchr_sse2.
1770         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1771         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1772         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1774 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1777         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1778         wcschr-sse2 and wcschr-avx2.
1779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1780         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1781         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1782         __wcschr_sse2.
1783         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1784         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1785         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1786         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1787         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1788         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1789         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1790         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1791         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1792         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1794 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1797         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1798         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1799         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1800         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1801         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1802         __wcslen_sse2 and __wcsnlen_avx2.
1803         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1804         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1805         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1806         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1807         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1808         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1809         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1810         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1811         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1812         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1813         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1814         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1815         vzeroupper is preferred and AVX unaligned load is fast.
1817 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1819         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1820         USE_AS_WMEMCHR is defined.
1821         (PCMPEQ): Likewise.
1822         (memchr): Renamed to ...
1823         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1824         Replace pcmpeqb with PCMPEQ.
1825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1826         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1827         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1828         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1829         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1830         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1831         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1832         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1833         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1834         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1835         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1836         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1837         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1839         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1840         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1841         __wmemchr_sse2.
1843 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1845         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1846         tst-dynarray-fail.
1848 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1850         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1851         * support/support_test_verify_impl.c
1852         (support_test_verify_exit_impl): Split from
1853         support_test_verify_impl.
1854         * support/check.h (TEST_VERIFY): Drop status argument from
1855         support_test_verify_impl call.
1856         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1857         (support_test_verify_impl): Remove status argument.
1858         (support_test_verify_exit_impl): Declare.
1860 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1862         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1863         mention of magic numbers in comments.
1864         (_dl_procinfo): Fix undefined behavior
1866 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1868         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1869         [XPG4].
1870         (WEXITED): Likewise.
1871         (WSTOPPED): Likewise.
1872         (WCONTINUED): Likewise.
1873         (WNOHANG): Likewise.
1874         (WNOWAIT): Likewise.
1875         (idtype_t): Likewise.
1876         (P_ALL): Likewise.
1877         (P_PID): Likewise.
1878         (P_PGID): Likewise.
1879         (id_t): Likewise.
1880         (siginfo_t): Likewise.
1881         (wait3): Likewise.
1882         (waitid): Likewise.
1883         (signal.h): Do not allow header for [XPG4].
1884         (sys/resource.h): Likewise.
1885         (si_*): Do not allow for [XPG4].
1886         (W*): Likewise.
1887         (P_*): Likewise.
1888         (BUS_): Likewise.
1889         (CLD_): Likewise.
1890         (FPE_): Likewise.
1891         (ILL_): Likewise.
1892         (POLL_): Likewise.
1893         (SEGV_): Likewise.
1894         (SI_): Likewise.
1895         (TRAP_): Likewise.
1896         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1897         variable.
1899 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1901         [BZ #21528]
1902         * elf/dl-minimal.c (__strtoul_internal): Removed.
1903         (strtoul): Likewise.
1904         * elf/dl-misc.c (_dl_strtoul): New function.
1905         * elf/dl-tunables.c (tunables_strtoul): Removed.
1906         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1907         * elf/rtld.c (process_envvars): Likewise.
1908         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1909         Likewise.
1910         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1912 2017-06-08  Zack Weinberg  <zackw@panix.com>
1914         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1915         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1916         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1917         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1918         between wctype.h and wchar.h.
1920         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1921         Install them.
1923         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1924         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1925         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1926         New wrappers.
1927         * include/stdio.h, include/wchar.h, include/wctype.h:
1928         No need to handle __need macros.
1930         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1931         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1932         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1933         * wcsmbs/wchar.h, wctype/wctype.h
1934         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1935         Use the new files instead of __need macros.
1937 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1939         * string/test-memrchr.c (test_main): Add tests for len == 0
1940         and tests for positions close to the beginning, which are
1941         equivalent to positions close to the end for memchr.
1943 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1946         comments.
1947         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1948         instead of wmemset.h.
1949         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1950         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1951         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1953 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1955         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1956         spec->info.is_binary128 to zero.
1957         * stdio-common/printf.h (printf_info): Add new member is_binary128
1958         to indicate that the number being converted to string is compatible
1959         with the IEC 60559 binary128 format.
1960         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1961         _Float128 numbers.
1962         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1963         ldbl-128/printf_fphex_macros.h
1964         (__printf_fphex): Add code to deal with _Float128 numbers.
1965         * stdio-common/printf_size.c (__printf_size): Likewise.
1966         * stdio-common/vfprintf.c (process_arg): Initialize member
1967         info.is_binary128 to zero.
1968         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1969         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1970         (strfromf128): New declaration.
1971         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1972         to one.
1973         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1974         * sysdeps/ieee754/float128/Versions: Likewise.
1975         * sysdeps/ieee754/float128/strfromf128.c: New file.
1977 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1979         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1980         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1981         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1982         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1983         (PRINT_FPHEX): New function-like macro that can be used for long
1984         double, as well as for _Float128
1986 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1988         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1989         (__printf_fp_l): Use the new macro to avoid duplicating code.
1990         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1991         (__printf_fphex): Use the new macro to avoid duplicating code.
1992         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1993         (__printf_size): Use the new macro to avoid duplicating code.
1995 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1997         * include/gmp.h: Include bits/floatn.h
1998         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1999         * stdlib/gmp-impl.h: Also check if alloca is not defined before
2000         including stack-alloc.h.  It could have been defined by other header
2001         which not necessarily defines HAVE_ALLOCA.
2002         * sysdeps/ieee754/float128/Makefile: New file.
2003         * sysdeps/ieee754/float128/float1282mpn.c: New file.
2004         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
2005         redefining __mpn_extract_long_double to __mpn_extract_float128, then
2006         redefine __mpn_extract_long_double to __mpn_extract_float128.
2007         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
2008         _Float128 to allow float128_private.h overrides.
2010 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2012         * stdlib/fpioconst.h: Include bits/floatn.h.
2013         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
2014         power of ten table should be.
2015         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
2016         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
2017         to include larger tables when _Float128 support is enabled.
2018         (_fpioconst_pow10): Likewise.
2020 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
2022         * include/bits/types/clock_t.h: Use #include <path> instead of
2023         #include "../../path".
2024         * include/bits/types/clockid_t.h: Likewise.
2025         * include/bits/types/struct_iovec.h: Likewise.
2026         * include/bits/types/struct_itimerspec.h: Likewise.
2027         * include/bits/types/struct_osockaddr.h: Likewise.
2028         * include/bits/types/struct_sigstack.h: Likewise.
2029         * include/bits/types/struct_timespec.h: Likewise.
2030         * include/bits/types/struct_timeval.h: Likewise.
2031         * include/bits/types/struct_tm.h: Likewise.
2032         * include/bits/types/time_t.h: Likewise.
2033         * include/bits/types/timer_t.h: Likewise.
2035         [BZ #14096]
2036         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
2037         America/New_York.
2039 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2041         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
2042         into ...
2043         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
2044         ifunc-sse4_1.h.
2046 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2048         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
2049         Remove check for NULL 'buf'.
2050         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
2052 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2054         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
2055         include test-skeleton.c.
2056         Include support/check.h and support/test-driver.c.
2058 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2060         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2061         (_dl_aarch64_cap_flags): New array.
2062         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2063         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
2064         functions.
2066         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
2067         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
2068         Likewise.
2069         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
2070         up hwcap and hwcap_mask.
2072         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2073         (init_cpu_features): Use glibc.tune.hwcap_mask.
2074         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
2076         * elf/dl-hwcaps.h: New file.
2077         * elf/dl-hwcaps.c: Include it.
2078         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
2079         glibc.tune.hwcap_mask.
2080         * elf/dl-cache.c: Include dl-hwcaps.h.
2081         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
2082         glibc.tune.hwcap_mask.
2083         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2084         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
2085         _dl_hwcap_mask.
2086         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
2087         _dl_hwcap_mask.
2088         (process_envvars)[HAVE_TUNABLES]: Likewise.
2089         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
2090         Likewise.
2091         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
2092         initialize dl_hwcap_mask when tunables are enabled.
2094         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
2095         guard.
2096         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2098         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
2099         * scripts/gen-tunables.awk: Include dl-procinfo.h.
2100         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2102         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2103         * elf/dl-tunables.c: Likewise.
2104         (do_tunable_update_val): New function.
2105         (__tunable_set_val): New function.
2106         (__tunable_get_val): Call CB only if the tunable was externally
2107         initialized.
2108         (tunables_strtoul): Replace strval with initialized.
2109         * elf/dl-tunables.h (strval): Replace with a bool initialized.
2110         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2111         prevent collision.
2112         (__tunable_set_val): New function.
2113         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2114         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2115         (TUNABLE_SET_VAL): Remove.
2116         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2117         * README.tunables: Document the new macros.
2118         * malloc/arena.c (ptmalloc_init): Adjust.
2120 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2123         wcsnlen-sse4_1 and wcsnlen-c.
2124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2125         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2126         __wcsnlen_sse2.
2127         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2128         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2129         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2130         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2131         * sysdeps/x86_64/wcsnlen.S: Removed.
2133 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2135         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2136         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2137         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2138         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2140 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2142         * NEWS: Mention new spinlock implementation.
2143         * include/atomic.h:
2144         (__atomic_val_bysize): Cast type to omit volatile qualifier.
2145         (atomic_exchange_acq): Likewise.
2146         (atomic_load_relaxed): Likewise.
2147         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2148         * nptl/pthread_spin_init.c (pthread_spin_init):
2149         Use atomic_store_relaxed.
2150         * nptl/pthread_spin_lock.c (pthread_spin_lock):
2151         Use C11-like atomic macros.
2152         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2153         Likewise.
2154         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2155         Use atomic_store_release.
2156         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2157         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2158         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2159         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2160         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2161         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2162         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2163         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2164         * sysdeps/alpha/atomic-machine.h: Likewise.
2165         * sysdeps/arm/atomic-machine.h: Likewise.
2166         * sysdeps/i386/atomic-machine.h: Likewise.
2167         * sysdeps/ia64/atomic-machine.h: Likewise.
2168         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2169         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2170         * sysdeps/microblaze/atomic-machine.h: Likewise.
2171         * sysdeps/mips/atomic-machine.h: Likewise.
2172         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2173         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2174         * sysdeps/s390/atomic-machine.h: Likewise.
2175         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2176         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2177         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2178         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2179         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2180         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2181         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2182         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2183         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2184         * sysdeps/x86_64/atomic-machine.h: Likewise.
2186 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2188         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2189         and use it instead of dl_x86_cpu_features.
2190         (handle_intel): Replace maxidx with cpu_features.  Pass
2191         cpu_features to intel_check_word.
2192         (__cache_sysconf): Pass cpu_features to handle_intel.
2193         (init_cacheinfo): Likewise.  Use cpu_features instead of
2194         dl_x86_cpu_features.
2196 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2198         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2200         memcmp-avx2 and wmemcmp-avx2.
2201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2202         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2203         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2204         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2205         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2206         2 machines if AVX unaligned load is fast and vzeroupper is
2207         preferred.
2208         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2209         2 machines if AVX unaligned load is fast and vzeroupper is
2210         preferred.
2212 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2214         * include/wchar.h (__wmemset_chk): New.
2215         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2216         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2217         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2218         (WMEMSET_CHK_SYMBOL): Likewise.
2219         (WMEMSET_SYMBOL): Likewise.
2220         (__wmemset): Add hidden definition.
2221         (wmemset): Add weak hidden definition.
2222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2223         wmemset_chk-nonshared.
2224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2225         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2226         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2227         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2228         and __wmemset_chk_avx512_unaligned.
2229         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2230         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2231         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2232         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2233         (WMEMSET_SYMBOL): Likewise.
2234         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2235         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2236         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2237         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2238         (WMEMSET_SYMBOL): Likewise.
2239         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2240         (WMEMSET_CHK_SYMBOL): New.
2241         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2242         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2243         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2244         (libc_hidden_builtin_def): Also define __GI_wmemset and
2245         __GI___wmemset.
2246         (weak_alias): New.
2247         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2248         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2249         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2250         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2251         * sysdeps/x86_64/wmemset.c: Likewise.
2252         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2254 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2255             H.J. Lu  <hongjiu.lu@intel.com>
2257         * sysdeps/x86/init-arch.h (PASTER1): New.
2258         (EVALUATOR1): Likewise.
2259         (PASTER2): Likewise.
2260         (EVALUATOR2): Likewise.
2261         (REDIRECT_NAME): Likewise.
2262         (OPTIMIZE): Likewise.
2263         (IFUNC_SELECTOR): Likewise.
2265 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2267         * sysdeps/x86_64/strlen.S (PMINU): New.
2268         (PCMPEQ): Likewise.
2269         (SHIFT_RETURN): Likewise.
2270         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2271         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2272         pminub with PCMPEQ and PMINU.
2273         * sysdeps/x86_64/wcsnlen.S: New file.
2275 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2277         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2278         the lower 32 bits.  Remove redundant instructions.
2280 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2283         0 as the high part of offset.
2284         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2286 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2288         [BZ #21538]
2289         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2290         [__USE_UNIX98].
2291         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2292         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2293         Likewise.
2294         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2295         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2296         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2297         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2298         Likewise.
2300         [BZ #21517]
2301         * bits/types/stack_t.h (stack_t): Remove struct tag.
2302         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2303         Likewise.
2304         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2305         Likewise.
2306         * debug/segfault.c (install_handler): Use stack_t instead of
2307         struct sigaltstack.
2308         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2309         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2310         * include/signal.h (__sigaltstack): Likwise.
2311         * signal/sigaltstack.c (__sigaltstack): Likewise.
2312         * signal/signal.h (sigaltstack): Likewise.
2313         * sysdeps/mach/hurd/i386/signal-defines.sym
2314         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2315         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2316         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2317         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2318         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2319         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2320         elf_prstatus): Likewise.
2321         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2322         Likewise.
2323         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2324         Likewise.
2325         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2326         Likewise.
2327         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2328         elf_prstatus): Likewise.
2329         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2330         Likewise.
2331         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2332         Likewise.
2334 2017-06-04  Zack Weinberg  <zackw@panix.com>
2336         * sysdeps/gnu/errlist.c: Regenerate.
2338 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2340         * benchtests/bench-memchr.c (do_test): Print out both length
2341         and position.
2342         (test_main): Also test the position close to the beginning for
2343         memrchr.
2345 2017-06-04  Zack Weinberg  <zackw@panix.com>
2347         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2348         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2349         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2350         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2351         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2352         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2353         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2354         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2355         * nis/nis_print_group_entry.c, nis/nis_remove.c
2356         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2357         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2358         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2359         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2360         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2361         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2362         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2363         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2364         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2365         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2366         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2367         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2368         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2369         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2370         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2371         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2372         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2373         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2374         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2375         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2377         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2378         abi-versions.h as well as shlib-compat.h.
2379         * sunrpc/get_myaddr.c: Remove obsolete comment.
2380         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2381         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2382         * resolv/res_libc.c: Include shlib-compat.h only once.
2384 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2387         of strdup.
2389 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2391         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2392         Set to the 3/4 of the total shared cache size.
2394 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2396         * manual/errno.texi: Remove redundant error strings.
2397         * manual/macros.texi (@errno): Render the error string in every
2398         description.
2400 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2402         [BZ #21543]
2403         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2404         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2405         [__USE_XOPEN_EXTENDED].
2407 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2409         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2410         strdupa.
2411         (getcanonname): Use __strdup instead of strdup.
2413 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2415         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2416         (CFLAGS-preadv64v2.c): Likewise.
2417         (CFLAGS-pwritev2.c): Likewise.
2418         (CFLAGS-pwritev64v2.c): Likewise.
2420 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2422         Test res_init with several configuration files.
2423         * resolv/Makefile [build-shared] (tests-internal): Add
2424         tst-resolv-res_init, tst-resolv-res_init-thread.
2425         (tst-resolv-res_init): Link against libdl, libresolv.
2426         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2427         libpthread.
2428         * resolv/tst-resolv-res_init.c: New file.
2429         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2430         * resolv/tst-resolv-res_init-thread.c: Likewise.
2431         * support/Makefile (libsupport-routines): Add support-xstat,
2432         support_can_chroot, support_capture_subprocess_check,
2433         support_isolate_in_subprocess, support_shared_allocate,
2434         support_write_file_string, xchroot, xmkdir, xopen.
2435         * support/capture_subprocess.h (enum support_capture_allow): Define.
2436         (support_capture_subprocess_check): Declare.
2437         * support/namespace.h (support_can_chroot)
2438         (support_isolate_in_subprocess): Declare.
2439         * support/support-xstat.c: New file.
2440         * support/support.h (support_shared_allocate, support_shared_free)
2441         (support_write_file_string): Declare.
2442         * support/support_can_chroot.c: New file.
2443         * support/support_capture_subprocess_check.c: Likewise.
2444         * support/support_isolate_in_subprocess.c: Likewise.
2445         * support/support_shared_allocate.c: Likewise.
2446         * support/support_write_file_string.c: Likewise.
2447         * support/xchroot.c: Likwise.
2448         * support/xmkdir.c: Likwise.
2449         * support/xopen.c: Likwise.
2450         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2452 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2454         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2455         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2457 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2459         * malloc/Makefile (routines): Add dynarray_at_failure,
2460         dynarray_emplace_enlarge, dynarray_finalize.
2461         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2462         tst-dynarray-at-fail.
2463         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2464         (tests-special): Add tst-dynarray-mem.out,
2465         tst-dynarray-mem-fail.out.
2466         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2467         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2468         mtrace.
2469         * malloc/Versions (__libc_dynarray_at_failure)
2470         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2471         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2472         GLIBC_PRIVATE.
2473         * malloc/dynarray.h: New file.
2474         * malloc/dynarray-skeleton.c: Likewise.
2475         * malloc/dynarray_at_failure.c: Likewise.
2476         * malloc/dynarray_emplace_enlarge.c: Likewise.
2477         * malloc/dynarray_finalize.c: Likewise.
2478         * malloc/dynarray_resize.c: Likewise.
2479         * malloc/dynarray_resize_clear.c: Likewise.
2480         * malloc/tst-dynarray.c: Likewise.
2481         * malloc/tst-dynarray-fail.c: Likewise.
2482         * malloc/tst-dynarray-at-fail.c: Likewise.
2483         * malloc/tst-dynarray-shared.h: Likewise.
2484         * support/Makefile (libsupport-routines): Add
2485         support_capture_subprocess, xdup2, xpipe.
2486         (tests): Add tst-support_capture_subprocess.
2487         * support/capture_subprocess.h: New file.
2488         * support/support_capture_subprocess.c: Likewise.
2489         * support/tst-support_capture_subprocess.c: Likewise.
2490         * support/xdup2.c: Likewise.
2491         * support/xpipe.c: Likewise.
2492         * support/xunistd.h (xdup2, xpipe): Declare.
2494 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2496         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2497         macros MAX and MIN.
2499 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2501         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2502         [XPG4].
2503         (SA_SIGINFO): Likewise.
2504         (SA_ONSTACK): Likewise.
2505         (SA_RESETHAND): Likewise.
2506         (SA_RESTART): Likewise.
2507         (SA_NOCLDWAIT): Likewise.
2508         (SA_NODEFER): Likewise.
2509         (SS_ONSTACK): Likewise.
2510         (SS_DISABLE): Likewise.
2511         (MINSIGSTKSZ): Likewise.
2512         (SIGSTKSZ): Likewise.
2513         (ucontext_t): Likewise.
2514         (stack_t): Likewise.
2515         (struct sigstack): Likewise.
2516         (SI_USER): Do not expect for [XPG4 || XPG42].
2517         (SI_QUEUE): Likewise.
2518         (SI_TIMER): Likewise.
2519         (SI_ASYNCIO): Likewise.
2520         (SI_MESGQ): Likewise.
2521         (bsd_signal): Do not expect for [XPG4].
2522         (killpg): Likewise.
2523         (sigaltstack): Likewise.
2524         (sighold): Likewise.
2525         (sigignore): Likewise.
2526         (siginterrupt): Likewise.
2527         (sigpause): Likewise.
2528         (sigrelse): Likewise.
2529         (sigset): Likewise.
2530         (sigwait): Do not expect for [XPG4 || XPG42].
2532 2017-06-01  Zack Weinberg  <zackw@panix.com>
2534         [BZ #21514]
2535         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2536         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2538 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2540         [BZ #21457]
2541         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2542         NGREG to __NGREG if [__USE_MISC].
2543         (gregset_t): Define using __NGREG.
2544         (__ctx): New macro.
2545         (mcontext_t): Use __ctx in defining fields.
2546         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2547         define NGREG to __NGREG if [__USE_MISC].
2548         (gregset_t): Define using __NGREG.
2549         (__ctx): New macro.
2550         (__ctxt): Likewise.
2551         (fpregset_t): Use __ctx and __ctxt in defining fields.
2552         (mcontext_t): Likewise.
2553         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2554         define NGREG to __NGREG if [__USE_MISC].
2555         (gregset_t): Define using __NGREG.
2556         (__ctx): New macro.
2557         (mcontext_t): Use __ctx in defining fields.
2558         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2559         define NGREG to __NGREG if [__USE_MISC].
2560         (gregset_t): Define using __NGREG.
2561         (__ctx): New macro.
2562         (fpregset_t): Use __ctx in defining fields.
2563         (mcontext_t): Likewise.
2564         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2565         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2566         (gregset_t): Define using __NGREG.
2567         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2568         [__USE_MISC].
2569         (fpregset_t): Define using __NFPREG.
2570         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2571         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2572         (gregset_t): Define using __NGREG.
2573         (__ctx): New macro.
2574         (fpregset_t): Use __ctx in defining fields.
2575         (mcontext_t): Likewise.
2576         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2577         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2578         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2579         [__USE_MISC].
2580         (gregset_t): Define using __NGREG.
2581         (__ctx): New macro.
2582         (fpregset_t): Use __ctx in defining fields.
2583         (mcontext_t): Likewise.
2584         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2585         (mcontext_t): Use __ctx in defining fields.
2586         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2587         macro.
2588         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2589         __NGREG if [__USE_MISC].
2590         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2591         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2592         (mcontext_t): Likewise.
2593         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2594         __NGREG if [__USE_MISC].
2595         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2596         to __NFPREG if [__USE_MISC].
2597         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2598         to __NVRREG if [__USE_MISC].
2599         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2600         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2601         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2602         [__WORDSIZE != 32] (vrregset_t): Likewise.
2603         [__WORDSIZE != 32] (mcontext_t): Likewise.
2604         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2605         (__psw_t): Use __ctx in defining fields.
2606         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2607         [__USE_MISC].
2608         (gregset_t): Define using __NGREG.
2609         (fpreg_t): Use __ctx in defining fields.
2610         (fpregset_t): Likewise.
2611         (mcontext_t): Likewise.
2612         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2613         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2614         (gregset_t): Define using __NGREG.
2615         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2616         [__USE_MISC].
2617         (fpregset_t): Define using __NFPREG.
2618         (__ctx): New macro.
2619         (mcontext_t): Use __ctx in defining fields.
2620         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2621         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2622         __NGREG if [__USE_MISC].
2623         [__x86_64__] (gregset_t): Define using __NGREG.
2624         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2625         [__x86_64__] (struct _libc_fpstate): Likewise.
2626         [__x86_64__] (mcontext_t): Likewise.
2627         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2628         __NGREG if [__USE_MISC].
2629         [!__x86_64__] (gregset_t): Define using __NGREG.
2630         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2631         [!__x86_64__] (struct _libc_fpstate): Likewise.
2632         [!__x86_64__] (mcontext_t): Likewise.
2634 2017-06-01  Zack Weinberg  <zackw@panix.com>
2636         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2637         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2638         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2639         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2640         libpthread.so no longer references __errno_location.
2642 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2644         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2645         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2646         pwritev64v2.
2647         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2648         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2649         pwritev64v2.
2650         * misc/preadv2.c: New file.
2651         * misc/preadv64v2.c: Likewise.
2652         * misc/pwritev2.c: Likewise.
2653         * misc/pwritev64v2.c: Likewise.
2654         * misc/tst-preadvwritev2.c: Likewise.
2655         * misc/tst-preadvwritev64v2.c: Likewise.
2656         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2657         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2658         prototype.
2659         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2660         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2661         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2662         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2663         (PWRITEV): Likewise.
2664         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2665         ENOSYS.
2666         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2667         (tf_preadv2): Likewise.
2668         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2669         * sysdeps/posix/preadv2.c: Likewise.
2670         * sysdeps/posix/preadv64v2.c: Likewise.
2671         * sysdeps/posix/pwritev2.c: Likewise.
2672         * sysdeps/posix/pwritev64v2.c: Likewise.
2673         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2674         support in kernel.
2675         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2676         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2677         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2678         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2679         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2680         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2681         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2682         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2683         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2684         support flags on Linux.
2685         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2686         preadv2, preadv64v2, pwritev2, pwritev64v2.
2687         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2688         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2689         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2690         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2691         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2692         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2693         Likewise.
2694         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2695         Likewise.
2696         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2697         Likewise.
2698         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2699         Likewise.
2700         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2701         Likewise.
2702         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2703         Likewise.
2704         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2705         Likewise.
2706         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2708         (GLIBC_2.26): Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2710         (GLIBC_2.26): Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2712         Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2714         (GLIBC_2.26): Likewise.
2715         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2716         Likewise.
2717         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2718         Likewise.
2719         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2720         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2723         Likewise.
2724         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2725         Likewise.
2726         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2727         Likewise.
2728         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2729         Likewise.
2730         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2731         Likewise.
2732         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2733         Likewise.
2735 2017-05-31  Andreas Schwab  <schwab@suse.de>
2737         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2738         (main): Rename to do_test and make static.
2740 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2742         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2743         ARCH_INIT_CPU_FEATURES.
2744         (LIBC_START_MAIN): Call it.
2745         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2746         (__libc_start_main): Remove.
2747         (ARCH_INIT_CPU_FEATURES): New macro.
2748         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2749         (ARCH_INIT_CPU_FEATURES): New macro.
2751 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2752             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2754         * include/stdlib.h (__libc_reallocarray): New declaration.
2755         * malloc/Makefile (routines): Add reallocarray.
2756         (tests): Add tst-reallocarray.c.
2757         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2758         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2759         function.
2760         * malloc/malloc.h (reallocarray): New declaration.
2761         * stdlib/stdlib.h (reallocarray): Likewise.
2762         * malloc/reallocarray.c: New file.
2763         * malloc/tst-reallocarray.c: New test file.
2764         * manual/memory.texi: Document reallocarray.
2765         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2766         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2769         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2770         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2771         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2772         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2773         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2774         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2775         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2776         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2777         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2778         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2780         Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2782         Likewise.
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2785         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2786         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2787         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2788         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2789         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2792         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2793         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2794         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2796 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2798         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2799         the lower 32 bits.
2801 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2803         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2804         $(build-pie-default) = yes]: Define.
2806 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2808         * string/test-memchr.c (test_main): Add tests for n == 0.
2810 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2812         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2813         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2814         (tests-internal): ... here.
2816 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2817              H.J. Lu  <hongjiu.lu@intel.com>
2819         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2820         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2821         (__tunable_set_val): Likewise.
2823 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2825         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2826         dl-tunables.list in subdirectories.
2828 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2829             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2830             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2832         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2833         (SNANF128): New macro.
2834         * math/e_sqrtf128.c: New file.
2835         * math/s_fmaxmag_template.c: Include math_private.h in order to
2836         make inline expansion of fabs128().
2837         * math/s_fminmag_template.c: Likewise.
2839         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2840         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2841         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2842         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2843         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2844         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2845         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2846         * sysdeps/ieee754/float128/e_expf128.c: New file.
2847         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2848         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2849         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2850         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2851         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2852         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2853         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2854         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2855         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2856         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2857         * sysdeps/ieee754/float128/e_logf128.c: New file.
2858         * sysdeps/ieee754/float128/e_powf128.c: New file.
2859         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2860         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2861         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2862         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2863         * sysdeps/ieee754/float128/float128_private.h: New file.
2864         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2865         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2866         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2867         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2868         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2869         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2870         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2871         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2872         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2873         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2874         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2875         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2876         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2877         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2878         * sysdeps/ieee754/float128/s_erff128.c: New file.
2879         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2880         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2881         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2882         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2883         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2884         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2885         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2886         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2887         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2888         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2889         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2890         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2891         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2892         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2893         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2894         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2895         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2896         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2897         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2898         * sysdeps/ieee754/float128/s_modff128.c: New file.
2899         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2900         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2901         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2902         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2903         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2904         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2905         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2906         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2907         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2908         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2909         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2910         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2911         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2912         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2913         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2914         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2915         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2916         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2917         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2918         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2919         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2920         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2921         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2922         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2923         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2925         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2926         (__iscanonicalf128): Define as a macro.
2928 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2930         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2931         (memmove): Use MEMMOVE for name.
2932         (memcpy): Use MEMCPY for name.  Change internal labels
2933         to external labels.
2934         * sysdeps/aarch64/multiarch/Makefile: New file.
2935         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2936         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2937         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2938         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2939         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2940         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2942 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2944         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2945         (_dl_arm_cap_flags): Fix array subscript.
2946         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2947         Fix count.
2949 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2951         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2953 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2955         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2956         (is_amd): Likewise.
2957         (max_cpuid): Likewise.
2958         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2959         (init_cacheinfo): Likewise.
2961 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2963         [BZ #21511]
2964         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2965         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2966         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2967         !__USE_XOPEN2K) || __USE_MISC].
2968         * conform/data/signal.h-data (struct sigstack): Expect type only
2969         if [!XOPEN2K8 && !POSIX2008].
2970         (sigstack): Expect function only if [XPG42 || UNIX98].
2972         [BZ #21457]
2973         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2974         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2975         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2976         <bits/types/__sigset_t.h>.
2977         (ucontext_t): Use sigset_t instead of __sigset_t.
2978         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2979         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2980         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2981         <bits/types/__sigset_t.h>.
2982         (ucontext_t): Use sigset_t instead of __sigset_t.
2983         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2984         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2985         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2986         <bits/types/__sigset_t.h>.
2987         (ucontext_t): Use sigset_t instead of __sigset_t.
2988         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2989         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2990         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2991         <bits/types/__sigset_t.h>.
2992         (ucontext_t): Use sigset_t instead of __sigset_t.
2993         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2994         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2995         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2996         <bits/types/__sigset_t.h>.
2997         (ucontext_t): Use sigset_t instead of __sigset_t.
2998         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2999         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3000         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3001         <bits/types/__sigset_t.h>.
3002         (ucontext_t): Use sigset_t instead of __sigset_t.
3003         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3004         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3005         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3006         <bits/types/__sigset_t.h>.
3007         (ucontext_t): Use sigset_t instead of __sigset_t.
3008         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3009         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3010         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3011         <bits/types/__sigset_t.h>.
3012         (ucontext_t): Use sigset_t instead of __sigset_t.
3013         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3014         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3015         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3016         <bits/types/__sigset_t.h>.
3017         (ucontext_t): Use sigset_t instead of __sigset_t.
3018         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3019         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3020         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
3021         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3022         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3023         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3024         <bits/types/__sigset_t.h>.
3025         (ucontext_t): Use sigset_t instead of __sigset_t.
3026         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3027         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3028         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3029         <bits/types/__sigset_t.h>.
3030         (ucontext_t): Use sigset_t instead of __sigset_t.
3031         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3032         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3033         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3034         <bits/types/__sigset_t.h>.
3035         (ucontext_t): Use sigset_t instead of __sigset_t.
3036         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3037         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3038         <bits/ss_flags.h>.
3039         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3040         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3041         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3042         <bits/types/__sigset_t.h>.
3043         (ucontext_t): Use sigset_t instead of __sigset_t.
3044         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3045         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3046         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3047         <bits/types/__sigset_t.h>.
3048         (ucontext_t): Use sigset_t instead of __sigset_t.
3049         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3050         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3051         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3052         <bits/types/__sigset_t.h>.
3053         (ucontext_t): Use sigset_t instead of __sigset_t.
3054         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3055         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3056         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3057         <bits/types/__sigset_t.h>.
3058         (ucontext_t): Use sigset_t instead of __sigset_t.
3059         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
3060         <bits/types.h>.
3061         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3062         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3063         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3064         <bits/types/__sigset_t.h>.
3065         (ucontext_t): Use sigset_t instead of __sigset_t.
3067 2017-05-22  Zack Weinberg  <zackw@panix.com>
3069         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3070         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
3071         bits/siginfo-arch.h, only if not already defined.
3072         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3073         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
3074         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
3075         Likewise.
3077         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3078         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3079         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3080         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3081         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3082         Unconditionally define __SI_* macros.
3084 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3086         [BZ #21393]
3087         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
3088         and add a check for dup3 failure.
3089         * libio/freopen64.c (freopen64): Likewise.
3090         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
3091         libsupport.
3092         (do_test_bz21398): New test.
3093         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
3095 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
3098         Remove invalid comment.
3100 2017-05-21  Zack Weinberg  <zackw@panix.com>
3102         * signal/Makefile (headers): Add bits/types/sigval_t.h.
3104 2017-05-20  Zack Weinberg  <zackw@panix.com>
3106         * bits/sigevent-consts.h
3107         * bits/siginfo-consts.h
3108         * bits/types/__sigset_t.h
3109         * bits/types/sigevent_t.h
3110         * bits/types/siginfo_t.h
3111         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3112         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3113         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3114         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3115         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3116         New system-dependent bits headers.
3118         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3119         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3120         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3121         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3122         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3124         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3125         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3126         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3127         New Linux-only system-dependent bits headers.
3129         * signal/bits/types/sig_atomic_t.h
3130         * signal/bits/types/sigset_t.h
3131         * signal/bits/types/sigval_t.h:
3132         New non-system-dependent bits headers.
3134         * sysdeps/generic/sigsetops.h
3135         * sysdeps/unix/sysv/linux/sigsetops.h:
3136         New internal headers.
3138         * include/bits/types/sig_atomic_t.h
3139         * include/bits/types/sigset_t.h
3140         * include/bits/types/sigval_t.h:
3141         New wrappers.
3143         * signal/sigsetops.h
3144         * bits/siginfo.h
3145         * bits/sigset.h
3146         * sysdeps/unix/sysv/linux/bits/siginfo.h
3147         * sysdeps/unix/sysv/linux/bits/sigset.h
3148         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3149         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3150         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3151         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3152         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3153         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3154         Deleted.
3156         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3157         Update lists of installed headers.
3159         * posix/bits/types.h: Define __sig_atomic_t here.
3160         * signal/signal.h: Use the new bits headers; no need to handle
3161         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
3162         to define sigmask.
3163         * include/signal.h: No need to handle __need_sig_atomic_t
3164         nor __need_sigset_t.  Don't define __sigemptyset.
3166         * io/sys/poll.h, setjmp/setjmp.h
3167         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3168         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3169         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3170         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3171         * sysdeps/pthread/bits/sigthread.h
3172         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3173         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3174         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3175         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3176         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3177         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3178         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3179         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3180         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3181         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3182         Use bits/types/__sigset_t.h.
3184         * misc/sys/select.h, posix/spawn.h
3185         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3186         * sysdeps/unix/sysv/linux/sys/epoll.h
3187         * sysdeps/unix/sysv/linux/sys/signalfd.h:
3188         Use bits/types/sigset_t.h.
3190         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3191         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3192         * socket/sys/socket.h: Don't include bits/sigset.h.
3194         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3195         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3196         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3197         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3198         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3199         * sysdeps/unix/sysv/linux/nptl-signals.h:
3200         Include sigsetops.h.
3202         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3203         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3204         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3205         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3206         now return no value.
3208         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3209         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3210         "sigsetops.h".
3212         * signal/sigsetops.c: Explicitly define __sigismember,
3213         __sigaddset, and __sigdelset as compatibility symbols.
3215         * signal/Versions: Correct commentary on __sigpause,
3216         __sigaddset, __sigdelset, __sigismember.
3218         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
3219         __sigblock/__sigsetmask to use __sigprocmask and friends.
3221         * resolv/resolv.h: Remove __need_res_state logic.
3222         Move definition of res_state and related constants to ...
3223         * resolv/bits/types/res_state.h: ...this new file.
3224         * resolv/Makefile: Install bits/types/res_state.h.
3225         * include/bits/types/res_state.h: New wrapper.
3226         * include/list.h: Remove __need_list_t logic.
3227         Move definition of list_t to ...
3228         * include/list_t.h: ...this new file.
3230         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3231         instead of list.h and resolv.h.
3233         * resolv/resolv.h: Remove __need_res_state logic.
3234         Move definition of res_state and related constants to ...
3235         * resolv/bits/types/res_state.h: ...this new file.
3236         * resolv/Makefile: Install bits/types/res_state.h.
3237         * include/bits/types/res_state.h: New wrapper.
3238         * include/list.h: Remove __need_list_t logic.
3239         Move definition of list_t to ...
3240         * include/list_t.h: ...this new file.
3242         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3243         instead of list.h and resolv.h.
3245 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3247         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3249 2017-05-20  Zack Weinberg  <zackw@panix.com>
3251         * sysdeps/arm/sysdep.h
3252         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3254         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3255         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3256         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3257         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3258         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3259         * sysdeps/arm/armv6t2/strlen.S
3260         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3261         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3262         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3263         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3264         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3265         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3267 2017-05-20  Zack Weinberg  <zackw@panix.com>
3269         Remove the NaCl port.
3270         * sysdeps/arm/nacl: Remove directory and contents.
3271         * sysdeps/nacl: Remove directory and contents.
3272         * abi-tags: Remove .*-.*-nacl.* entry.
3274 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3276         * manual/errno.texi: Convert @comment-based errno documentation to
3277         @errno.
3278         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3279         their values, and messages, adding the error string to the Concept
3280         Index.  Provide a warning in the comment about external (to the
3281         manual) dependencies.
3282         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3283         * sysdeps/mach/hurd/errnos.awk: Likewise.
3285 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3287         * bits/ss_flags.h: New file.
3288         * bits/types/stack_t.h: Likewise.
3289         * include/bits/types/struct_sigstack.h: Likewise.
3290         * signal/bits/types/struct_sigstack.h: Likewise.
3291         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3292         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3293         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3294         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3295         bits/types/stack_t.h and bits/ss_flags.h.
3296         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3297         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3298         <bits/ss_flags.h>.
3299         * bits/sigstack.h (struct sigstack): Remove.
3300         (stack_t): Likewise.
3301         (SS_ONSTACK): Likewise.
3302         (SS_DISABLE): Likewise.
3303         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3304         (struct sigstack): Likewise.
3305         (stack_t): Likewise.
3306         (SS_ONSTACK): Likewise.
3307         (SS_DISABLE): Likewise.
3308         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3309         Likewise.
3310         (stack_t): Likewise.
3311         (SS_ONSTACK): Likewise.
3312         (SS_DISABLE): Likewise.
3313         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3314         Likewise.
3315         (stack_t): Likewise.
3316         (SS_ONSTACK): Likewise.
3317         (SS_DISABLE): Likewise.
3318         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3319         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3320         Likewise.
3321         (stack_t): Likewise.
3322         (SS_ONSTACK): Likewise.
3323         (SS_DISABLE): Likewise.
3324         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3325         (struct sigstack): Likewise.
3326         (stack_t): Likewise.
3327         (SS_ONSTACK): Likewise.
3328         (SS_DISABLE): Likewise.
3329         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3330         Likewise.
3331         (stack_t): Likewise.
3332         (SS_ONSTACK): Likewise.
3333         (SS_DISABLE): Likewise.
3334         * sysdeps/arm/sys/ucontext.h: Include
3335         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3336         <bits/ss_flags.h>.
3337         * sysdeps/generic/sys/ucontext.h: Likewise.
3338         * sysdeps/i386/sys/ucontext.h: Likewise.
3339         * sysdeps/m68k/sys/ucontext.h: Likewise.
3340         * sysdeps/mips/sys/ucontext.h: Likewise.
3341         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3342         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3343         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3344         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3345         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3346         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3347         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3348         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3349         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3350         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3351         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3352         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3353         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3354         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3355         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3357 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3359         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3360         "edx + ecx - 16" to avoid possible addition overflow.
3361         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3363 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3365         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3366         (CFLAGS-splice.c): Likewise.
3367         (CFLAGS-open_by_handle_at.c): Likewise.
3368         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3369         (CFLAGS-splice.c): Likewise.
3370         (CFLAGS-open_by_handle_at.c): Likewise.
3372 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3374         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3375         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3376         <ldbl-compat-choose.h>.
3377         (maybe_long_double_symbol): New macro.
3378         [!declare_mgen_alias] (declare_mgen_alias): Use
3379         maybe_long_double_symbol.
3380         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3381         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3382         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3383         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3384         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3385         * Makerules [$(build-shared) = yes && !avoid-generated]
3386         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3387         [$(build-shared) = yes && !avoid-generated]
3388         ($(common-objpfx)ldbl-compat-choose.h): New target.
3390         * scripts/versions.awk: Generate first-versions.h.
3391         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3392         <first-versions.h>.
3393         (LDOUBLE_cabsl_libm_version): Remove macro.
3394         (LDOUBLE_cargl_libm_version): Likewise.
3395         (LDOUBLE_cimagl_libm_version): Likewise.
3396         (LDOUBLE_conjl_libm_version): Likewise.
3397         (LDOUBLE_creall_libm_version): Likewise.
3398         (LDOUBLE_cacosl_libm_version): Likewise.
3399         (LDOUBLE_cacoshl_libm_version): Likewise.
3400         (LDOUBLE_ccosl_libm_version): Likewise.
3401         (LDOUBLE_ccoshl_libm_version): Likewise.
3402         (LDOUBLE_casinl_libm_version): Likewise.
3403         (LDOUBLE_csinl_libm_version): Likewise.
3404         (LDOUBLE_casinhl_libm_version): Likewise.
3405         (LDOUBLE_csinhl_libm_version): Likewise.
3406         (LDOUBLE_catanl_libm_version): Likewise.
3407         (LDOUBLE_catanhl_libm_version): Likewise.
3408         (LDOUBLE_ctanl_libm_version): Likewise.
3409         (LDOUBLE_ctanhl_libm_version): Likewise.
3410         (LDOUBLE_cexpl_libm_version): Likewise.
3411         (LDOUBLE_clogl_libm_version): Likewise.
3412         (LDOUBLE_cprojl_libm_version): Likewise.
3413         (LDOUBLE_csqrtl_libm_version): Likewise.
3414         (LDOUBLE_cpowl_libm_version): Likewise.
3415         (LDOUBLE_clog10l_libm_version): Likewise.
3416         (LDOUBLE___clog10l_libm_version): Likewise.
3417         (LDOUBLE_fdiml_libm_version): Likewise.
3418         (LDOUBLE_fmaxl_libm_version): Likewise.
3419         (LDOUBLE_fminl_libm_version): Likewise.
3420         (LDOUBLE_ilogbl_libm_version): Likewise.
3421         (LDOUBLE_nanl_libm_version): Likewise.
3422         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3423         FIRST_VERSION_libm_* macros.
3424         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3425         * Makerules [$(build-shared) = yes && !avoid-generated]
3426         (before-compile): Add $(common-objpfx)first-versions.h.
3427         [$(build-shared) = yes && !avoid-generated]
3428         ($(common-objpfx)first-versions.h): New target.
3429         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3430         building $(common-objpfx)versions.stmp.
3432 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3434         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3435         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3436         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3437         auto-generation list.
3439         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3440         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3441         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3442         from auto-generation list.
3444         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3445         open_by_handle_at.
3446         (CFLAGS-open_by_handle_at.c): New flag.
3447         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3448         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3449         file.
3450         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3452         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3453         (CFLAGS-splice.c): New flag.
3454         * sysdeps/unix/sysv/linux/splice.c: New file.
3455         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3456         auto-generation syscall list.
3457         * misc/Makefile (CFLAGS-splice.c): New rule.
3459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3460         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3461         auto-generation syscall list.
3462         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3463         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3465         * misc/Makefile (CFLAGS-fsync.c): New flag.
3466         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3467         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3468         syscall list.
3469         * sysdeps/unix/sysv/linux/fsync.c: New file.
3470         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3471         (__errno_location): Remove.
3473         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3474         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3475         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3476         list.
3477         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3479         * misc/Makefile (CFLAGS-msync.c): New rule.
3480         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3481         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3482         * sysdeps/unix/sysv/linux/msync.c: New file.
3484         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3485         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3486         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3487         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3488         (CFLAGS-sigsuspend.c): Remove rule.
3490         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3491         (CFLAGS-tee.c): New rule.
3492         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3493         auto-generated list.
3494         * sysdeps/unix/sysv/linux/tee.c: New file.
3496         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3497         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3498         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3499         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3500         auto-generated list.
3502         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3503         auto-generated list.
3504         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3505         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3506         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3507         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3508         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3510         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3511         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3512         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3513         (__NR_pause): Undefine.
3514         * sysdeps/unix/sysv/linux/pause.c: New file.
3515         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3516         auto-generation list.
3517         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3518         Remove rule.
3519         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3521 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3523         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3524         comments.
3526 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3528         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3529         LD_HWCAP_MASK.
3531 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3533         * manual/conf.texi: Convert @tables of annotated @items to
3534         @vtables.
3535         * manual/lang.texi: Likewise.
3536         * manual/pattern.texi: Likewise.
3537         * manual/resource.texi: Likewise.
3538         * manual/socket.texi: Likewise.
3540 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3542         * manual/crypt.texi: Move a comment out of an @*x list.
3543         * manual/filesys.texi: Refactor some comments, one of which looks
3544         like a standard.  Fix incorrectly separated standards.
3545         * manual/locale.texi: Invert an annotation.
3546         * manual/resource.texi: Fix incorrectly separated standards.
3547         * manual/time.texi: Refactor a @vtable that obscures an
3548         annotation.
3549         * manual/users.texi: Refactor multiple headers to occupy a single
3550         @comment.
3552 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3554         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3555         (sysdep_routines): Add memcmp-power8.
3556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3557         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3558         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3559         (memcmp): Add __memcmp_power8 to ifunc list.
3560         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3561         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3563 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3564             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3566         * math/math.h (__MATH_TG): Extend the conditions to add
3567         _Float128 support.
3568         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3570 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3573         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3574         s_cosf-ppc64.
3575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3578         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3580 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3582         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3583         (gen-libm-calls): Add e_exp2F to use the template.
3584         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3585         * math/e_exp2_template.c: New file, renamed from
3586         math/e_exp2l.c, and made into a template.
3587         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3589 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3591         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3592         TUNABLE_TYPE_UINT_64.
3593         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3594         Simplify computation of overflow.
3595         (tunable_set_val_if_valid_range_signed,
3596         tunable_set_val_if_valid_range_unsigned): Remove and replace
3597         with this...
3598         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3599         (tunable_initialize): Adjust.  Add uint64_t support.
3600         (__tunable_set_val): Add uint64_t support.
3601         * README.tunables: Document it.
3603         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3604         dl-tunables.list.
3605         * README.tunables: Document it.
3607 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3609         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3610         * sysdeps/posix/preadv64.c: Likewise.
3611         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3612         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3613         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3614         * sysdeps/posix/pwritev64.c: Likewise.
3615         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3616         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3617         * sysdeps/posix/preadv_common.c: New file.
3618         * sysdeps/posix/pwritev_common.c: Likewise.
3620 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3622         * sysdeps/generic/math-type-macros-float128.h
3623         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3624         wrapper templates.
3626 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3627             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3629         * include/complex.h (__kernel_casinhf128): New declaration.
3630         * include/float.h: New file.
3631         * include/math.h (__finitef128): Add a hidden def.
3632         (__isinff128): Likewise.
3633         (__isnanf128): Likewise.
3634         (__fpclassify): Likewise.
3635         (__issignalling): Likewise.
3636         (__expf128): Likewise.
3637         (__expm1f128): Likewise.
3639         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3640         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3641         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3643         * sysdeps/generic/math-type-macros-float128.h: New file.
3645         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3646         math_private_calls.h for _Float128.
3647         (__isinff128): New inline implementation used when GCC < 7.0,
3648         since in this case __builtin_isinf_sign is broken.
3649         (fabsf128): New inline implementation that calls the builtin.
3650         (__EXPR_FLT128): New macro.
3651         (min_of_type): Optionally include _Float128 types too.
3653         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3654         Declare for _Float128.
3655         (__kernel_rem_pio2): Likewise.
3657         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3658         (__DECL_SIMD_sincos_disablef128): New macro.
3660 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3662         * math/math.h: Include bits/math-finite.h for float128.
3663         (__MATH_DECLARING_FLOATN): Define to control declaration of
3664         float128 functions.
3665         * math/bits/math-finite.h (pow10): Do not declare for float128.
3666         (gamma): Likewise.
3667         (scalb): Likewise.
3669 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3670             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3672         * bits/floatn.h: New file.
3673         * bits/huge_val_flt128.h: Likewise.
3675         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3676         (__DECL_SIMD_sinf128): Likewise.
3677         (__DECL_SIMD_sincosf128): Likewise.
3678         (__DECL_SIMD_logf128): Likewise.
3679         (__DECL_SIMD_expf128): Likewise.
3680         (__DECL_SIMD_powf128): Likewise.
3682         * math/Makefile (headers): Install bits/floatn.h and
3683         bits/huge_val_flt128.h.
3685         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3686         defined.
3688         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3689         (isnan, gamma, nexttoward, scalb): Only define if not
3690         __MATH_DECLARING_FLOATN.
3691         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3692         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3693         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3694         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3696         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3697         Include bits/cmathcalls.h to get the declarations of _Float128
3698         versions of complex functions.
3699         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3700         Define macro.
3702         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3703         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3704         get the declarations of _Float128 versions of math functions.
3705         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3706         _FloatN types.
3707         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3708         is type-generic, so use it without __MATH_TG.
3709         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3710         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3711         _Float128 type and GCC < 7.0, otherwise use the builtin.
3712         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3713         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3714         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3715         New _GNU_SOURCE enabled macros.
3717 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3719         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3720         (signbitf): Likewise.
3721         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3722         Likewise.
3723         (signbitl): Likewise.
3724         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3725         Likewise.
3726         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3727         (signbitl): Likewise.
3728         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3730 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3732         [BZ #21386]
3733         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3734         parent PID.  The assertion in the child is incorrect with PID
3735         namespaces.
3737 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3739         * sysdeps/unix/sysv/linux/kernel-features.h
3740         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3741         * sysdeps/unix/sysv/linux/internal_statvfs.c
3742         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3744 2017-05-11  Zack Weinberg  <zackw@panix.com>
3746         * Makerules: New subdir configuration variables 'tests-internal'
3747         and 'test-internal-extras'.  Test files in these categories will
3748         still be compiled with MODULE_NAME=nonlib.  Test files in the
3749         existing categories (tests, xtests, test-srcs, test-extras) are
3750         now compiled with MODULE_NAME=testsuite.
3751         New subdir configuration variable 'modules-names-tests'.  Files
3752         which are in both 'modules-names' and 'modules-names-tests' will
3753         be compiled with MODULE_NAME=testsuite instead of
3754         MODULE_NAME=extramodules.
3755         (gen-as-const-headers): Move to tests-internal.
3756         (do-tests-clean, common-mostlyclean): Support tests-internal.
3757         * Makeconfig (built-modules): Add testsuite.
3758         * Makefile: Change libof-check-installed-headers-c and
3759         libof-check-installed-headers-cxx to 'testsuite'.
3760         * Rules: Likewise.  Support tests-internal.
3761         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3762         Remove extra-modules.mk.
3764         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3765         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3766         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3767         very top of the file and rationalize their order.
3768         If MODULE_NAME is not defined at all, define IS_IN to always be
3769         false, and don't define _ISOMAC.
3770         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3771         true, define _ISOMAC and suppress everything else in this file,
3772         starting with the inclusion of config.h.
3773         Do check for inappropriate definitions of __OPTIMIZE__ and
3774         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3775         Correct some out-of-date commentary.
3777         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3778         and _Mlong_double_ before including math.h.
3779         * include/string.h: If _ISOMAC is defined, don't expose
3780         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3781         location.
3783         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3784         * include/time.h, include/unistd.h, include/wchar.h: No need to
3785         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3787         * misc/sys/cdefs.h (__NTHNL): New macro.
3788         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3789         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3791         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3792         defined, for HAVE_TUNABLES.
3793         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3794         * intl/tst-gettext2.c: Provide own definition of N_.
3795         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3796         * math/test-signgam-main.c: No need to define _ISOMAC.
3797         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3798         * stdlib/tst-strtod1i.c: ...this new file.
3799         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3800         Split tests of __strtod_internal to...
3801         * stdlib/tst-strtod5i.c: ...this new file.
3802         * string/test-string.h: Include stdint.h. Duplicate definition of
3803         inhibit_loop_to_libcall here (from libc-symbols.h).
3804         * string/test-strstr.c: Provide dummy definition of
3805         libc_hidden_builtin_def when including strstr.c.
3806         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3807         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3808         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3809         Don't include init-arch.h.
3810         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3811         Don't include init-arch.h.
3813         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3814         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3815         unload, unload2, circleload1, neededtest, neededtest2,
3816         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3817         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3818         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3819         ifunc tests to tests-internal.
3820         Don't add $(modules-names) to test-extras.
3821         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3822         Add tst-deadline to tests-static-internal.
3823         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3824         tests-internal.
3825         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3826         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3827         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3828         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3829         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3830         Link tests-internal with libpthread also.
3831         Don't add $(modules-names) to test-extras.
3832         * nss/Makefile: Move tst-field to tests-internal.
3833         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3834         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3835         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3836         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3837         tests-internal.
3838         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3839         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3840         test-get_hwcap-static to tests-internal.
3841         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3842         tests-internal.
3843         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3844         modules-names-tests.
3846 2017-05-11  Zack Weinberg  <zackw@panix.com>
3848         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3849         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3850         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3851         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3852         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3853         already defined.
3854         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3855         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3856         appropriately.
3857         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3858         Define _IO_lock_t_defined after defining _IO_lock_t.
3860 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3862         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3863         void* for argument type and use VDSO_SYMBOL macro.
3864         (is_sigtramp_address_rt): Likewise.
3865         (__backtrace): Setup expected frame pointer address for signal
3866         handling.
3867         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3868         void* for argumetn type and use VSDO_SYMBOL macro.
3869         (__backtrace): Setup expected frame pointer address for signal
3870         handling.
3872         * sysdeps/unix/sysv/linux/writev.c: New file.
3874         * sysdeps/unix/sysv/linux/readv.c: New file.
3876         * include/unistd.h (write): Add hidden proto.
3877         * io/Makefile (CFLAGS-write.c): New define.
3878         * nptl/Makefile (CFLAGS-write.c): Likewise.
3879         * sysdeps/unix/sysv/linux/write.c: New file.
3881         [BZ #21428]
3882         * include/unistd.h (read): Add hidden proto.
3883         * io/Makefile (CFLAGS-read.c): New define.
3884         * nptl/Makefile (CFLAGS-read.c): Likewise.
3885         * sysdeps/unix/sysv/linux/read.c: New file.
3887         * io/Makefile (CFLAGS-creat.c): New rule.
3888         (CFLAGS-creat64.c): Likewise.
3889         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3890         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3891         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3892         * sysdeps/unix/sysv/linux/creat.c: New file.
3893         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3894         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3895         auto-generated list.
3896         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3898         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3899         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3900         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3901         * sysdeps/unix/sysv/linux/open.c: New file.
3902         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3903         iff __WORDSIZE != 64 and use __NR_openat when available.
3904         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3905         from auto-generated list.
3907         * nptl/Makefile (CFLAGS-close.c): New flag.
3908         * sysdeps/unix/sysv/linux/close.c: New file.
3910 2017-05-11  DJ Delorie  <dj@redhat.com>
3912         * MAINTAINERS: New.  Points to wiki.
3914 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3916         * scripts/gen-tunables.awk: Add attribute_relro to
3917         tunable_list.
3919 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3921         [BZ #21457]
3922         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3923         (R1): Likewise.
3924         (R2): Likewise.
3925         (R3): Likewise.
3926         (R4): Likewise.
3927         (R5): Likewise.
3928         (R6): Likewise.
3929         (R7): Likewise.
3930         (R8): Likewise.
3931         (R9): Likewise.
3932         (R10): Likewise.
3933         (R11): Likewise.
3934         (R12): Likewise.
3935         (R13): Likewise.
3936         (R14): Likewise.
3937         (R15): Likewise.
3938         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3939         (REG_FS): Likewise.
3940         (REG_ES): Likewise.
3941         (REG_DS): Likewise.
3942         (REG_EDI): Likewise.
3943         (REG_ESI): Likewise.
3944         (REG_EBP): Likewise.
3945         (REG_ESP): Likewise.
3946         (REG_EBX): Likewise.
3947         (REG_EDX): Likewise.
3948         (REG_ECX): Likewise.
3949         (REG_EAX): Likewise.
3950         (REG_TRAPNO): Likewise.
3951         (REG_ERR): Likewise.
3952         (REG_EIP): Likewise.
3953         (REG_CS): Likewise.
3954         (REG_EFL): Likewise.
3955         (REG_UESP): Likewise.
3956         (REG_SS): Likewise.
3957         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3958         (R_D1): Likewise.
3959         (R_D2): Likewise.
3960         (R_D3): Likewise.
3961         (R_D4): Likewise.
3962         (R_D5): Likewise.
3963         (R_D6): Likewise.
3964         (R_D7): Likewise.
3965         (R_A0): Likewise.
3966         (R_A1): Likewise.
3967         (R_A2): Likewise.
3968         (R_A3): Likewise.
3969         (R_A4): Likewise.
3970         (R_A5): Likewise.
3971         (R_A6): Likewise.
3972         (R_A7): Likewise.
3973         (R_SP): Likewise.
3974         (R_PC): Likewise.
3975         (R_PS): Likewise.
3976         (fpregset_t): Likewise.
3977         (MCONTEXT_VERSION): Likewise.
3978         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3979         (CTX_AT): Likewise.
3980         (CTX_V0): Likewise.
3981         (CTX_V1): Likewise.
3982         (CTX_A0): Likewise.
3983         (CTX_A1): Likewise.
3984         (CTX_A2): Likewise.
3985         (CTX_A3): Likewise.
3986         (CTX_T0): Likewise.
3987         (CTX_T1): Likewise.
3988         (CTX_T2): Likewise.
3989         (CTX_T3): Likewise.
3990         (CTX_T4): Likewise.
3991         (CTX_T5): Likewise.
3992         (CTX_T6): Likewise.
3993         (CTX_T7): Likewise.
3994         (CTX_S0): Likewise.
3995         (CTX_S1): Likewise.
3996         (CTX_S2): Likewise.
3997         (CTX_S3): Likewise.
3998         (CTX_S4): Likewise.
3999         (CTX_S5): Likewise.
4000         (CTX_S6): Likewise.
4001         (CTX_S7): Likewise.
4002         (CTX_T8): Likewise.
4003         (CTX_T9): Likewise.
4004         (CTX_K0): Likewise.
4005         (CTX_K1): Likewise.
4006         (CTX_GP): Likewise.
4007         (CTX_SP): Likewise.
4008         (CTX_S8): Likewise.
4009         (CTX_RA): Likewise.
4010         (CTX_MDLO): Likewise.
4011         (CTX_MDHI): Likewise.
4012         (CTX_CAUSE): Likewise.
4013         (CTX_EPC): Likewise.
4014         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
4015         inclusion of <sys/procfs.h> on [__USE_MISC].
4016         (greg_t): Condition on [__USE_MISC].
4017         (gregset_t): Likewise.
4018         (fpregset_t): Likewise.
4019         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
4020         (NGREG): Likewise.
4021         (gregset_t): Likewise.
4022         (REG_R0): Likewise.
4023         (REG_R1): Likewise.
4024         (REG_R2): Likewise.
4025         (REG_R3): Likewise.
4026         (REG_R4): Likewise.
4027         (REG_R5): Likewise.
4028         (REG_R6): Likewise.
4029         (REG_R7): Likewise.
4030         (REG_R8): Likewise.
4031         (REG_R9): Likewise.
4032         (REG_R10): Likewise.
4033         (REG_R11): Likewise.
4034         (REG_R12): Likewise.
4035         (REG_R13): Likewise.
4036         (REG_R14): Likewise.
4037         (REG_R15): Likewise.
4038         (struct _libc_fpstate): Likewise.
4039         (fpregset_t): Likewise.
4040         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
4041         (NFPREG): Likewise.
4042         (gregset_t): Likewise.
4043         (fpregset_t): Likewise.
4044         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
4045         (R_D1): Likewise.
4046         (R_D2): Likewise.
4047         (R_D3): Likewise.
4048         (R_D4): Likewise.
4049         (R_D5): Likewise.
4050         (R_D6): Likewise.
4051         (R_D7): Likewise.
4052         (R_A0): Likewise.
4053         (R_A1): Likewise.
4054         (R_A2): Likewise.
4055         (R_A3): Likewise.
4056         (R_A4): Likewise.
4057         (R_A5): Likewise.
4058         (R_A6): Likewise.
4059         (R_A7): Likewise.
4060         (R_SP): Likewise.
4061         (R_PC): Likewise.
4062         (R_PS): Likewise.
4063         (fpregset_t): Likewise.
4064         (MCONTEXT_VERSION): Likewise.
4065         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
4066         Likewise.
4067         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
4068         (REG_R1): Likewise.
4069         (REG_R2): Likewise.
4070         (REG_R3): Likewise.
4071         (REG_R4): Likewise.
4072         (REG_R5): Likewise.
4073         (REG_R6): Likewise.
4074         (REG_R7): Likewise.
4075         (REG_R8): Likewise.
4076         (REG_R9): Likewise.
4077         (REG_R10): Likewise.
4078         (REG_R11): Likewise.
4079         (REG_R12): Likewise.
4080         (REG_R13): Likewise.
4081         (REG_R14): Likewise.
4082         (REG_R15): Likewise.
4083         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
4084         of <arch/abi.h> on [__USE_MISC].
4085         (greg_t): Condition on [__USE_MISC].
4086         (NGREG): Likewise.
4087         (gregset_t): Likewise.
4089 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4092         (__pthread_rwlock_arch_t): Remove __data definition.
4093         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4094         (__pthread_rwlock_arch_t): Likewise.
4096 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4098         * resolv/inet_pton.c: Reformat in GNU style.  Remove
4099         internal_function on static functions.
4101 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4103         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4104         from format_ai_flags.
4105         (format_ai_flags): New function.  Incorporate flag formatting code
4106         from format_ai_one.
4107         (format_ai_canonname): New function.
4108         (format_ai_one): Remove flags parameter.
4109         (format_ai_family): Likewise.
4110         (support_format_addrinfo): Call format_ai_flags,
4111         format_ai_canonname.
4112         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4113         check_ai.
4114         (check_ai): Call check_ai_hints.
4115         (do_test): Add AI_CANONNAME tests.
4117 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4119         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4120         (gaih_inet): Likewise.
4122 2017-05-10  Andreas Schwab  <schwab@suse.de>
4124         * nptl/tst-fork1.c: Include <support/test-driver.c>.
4125         (main): Rename to do_test and make static.
4127 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
4129         * string/rawmemchr.c: Include <libc-diag.h>.
4130         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4131         with size (size_t)-1.
4133 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4135         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4136         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4137         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4139         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4140         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4141         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4142         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4143         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4144         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4145         * sysdeps/unix/sysv/linux/kernel-features.h
4146         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4147         socket syscalls.
4148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4149         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4150         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4151         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4152         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4154         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4155         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4156         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4157         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4158         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4159         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4160         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4161         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4162         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4164 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4166         * posix/Makefile (headers): Add pthreadtypes-arch.h and
4167         thread-shared-types.h.
4168         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4169         specific thread definition.
4170         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4171         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4172         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4173         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4174         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4175         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4176         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4177         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4178         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4179         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4180         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4181         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4182         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4183         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4184         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4185         thread definition between POSIX and C11.
4186         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4187         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4188         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4189         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4190         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4191         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4192         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4193         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4194         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4195         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4196         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4197         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4198         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4199         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4200         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4201         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4202         definitions shared across all architectures.
4204 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4206         * sysdeps/unix/sysv/linux/kernel-features.h
4207         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4208         (__ASSUME_SENDMMSG): Likewise.
4209         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4210         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4211         sendmmsg syscall if that can be assumed to be present, socketcall
4212         otherwise, with no fallback for runtime failure.
4214         * sysdeps/unix/sysv/linux/kernel-features.h
4215         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4216         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4217         (__ASSUME_RECVMMSG): Likewise.
4218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4219         recvmmsg syscall if it can be assumed to be present, socketcall
4220         otherwise, with no fallback for runtime failure.
4222 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4223             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4225         * bits/libc-header-start.h:
4226         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4227         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4228         * manual/creature.texi: Likewise.
4230 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4231             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4233         * math/Makefile:
4234         (type-float128-suffix): New variable
4235         (type-float128-routines): Likewise
4236         (type-float128-yes): Likewise
4237         (types): Append float128 if supported
4238         (types-basic): New variable to control the use of templates for
4239         float, double, and long double, but not for float128 or newer types.
4240         (type-basic-foreach): Likewise.
4242         * sysdeps/ieee754/float128/Makeconfig: New file.
4243         * sysdeps/ieee754/float128/Versions: New file.
4245 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4247         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4248         Remove macro.
4249         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4250         prlimit64 is always available and does not give an ENOSYS error.
4251         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4252         unconditional.
4253         [!__NR_prlimit64]: Remove conditional code.
4254         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4255         prlimit64 is always available and does not give an ENOSYS error.
4256         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4258 2017-05-09  Zack Weinberg  <zackw@panix.com>
4260         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4262 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4264         [BZ #21474]
4265         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4266         (__res_maybe_init): Likewise.
4268 2017-05-09  Zack Weinberg  <zackw@panix.com>
4270         * extra-modules.mk: Delete file.
4271         * cppflags-iterator.mk: Rename to ...
4272         * libof-iterator.mk: ...this.  Adjust comments.
4274         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4275         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4276         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4277         Use libof-iterator.mk instead of cppflags-iterator.mk or
4278         extra-modules.mk.
4280         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4281         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4283 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4285         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4287 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4289         * stdio-common/vfprintf.c (EXTSIZ): Define.
4290         (vfprintf): Use EXTSIZ.
4291         (printf_positional): Likewise.
4293 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4295         * sysdeps/unix/sysv/linux/kernel-features.h
4296         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4297         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4298         <kernel-features.h>.
4299         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4301         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4302         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4304 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4306         Prevent multiple deletion of temporary files.
4307         * support/temp_file.c (struct temp_name_list): Add owner member.
4308         (add_temp_file): Record owner.
4309         (support_delete_temp_files): Delete file only if owner matches.
4310         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4311         (do_prepare): Use create_temp_file instead of add_temp_file.
4312         Initialize temp_fd1, temp_fd2.
4313         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4314         framework remove the temporary files.
4315         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4316         (do_prepare): Use create_temp_file instead of add_temp_file.
4317         Initialize temp_fd1, temp_fd2, temp_fd3.
4318         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4319         the test framework remove the temporary files.
4320         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4321         deletion.
4322         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4323         temporary directory.  It is removed by the test framework.
4324         * dirent/tst-scandir.c (do_test): Likewise.
4326 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4328         Delete temporary files in LIFO order.
4329         * support/temp_file.c (struct temp_name_list): Replace q member
4330         with next.
4331         (add_temp_file): Add new file to front of linked list.
4332         (support_delete_temp_files): Use next member.
4333         (support_print_temp_files): Likewise.
4335 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4338         sys/ultrasound.h.
4339         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4341 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4343         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4344         Remove.
4345         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4346         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4347         (arch_minimum_kernel): Remove.
4348         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4349         * README: Update statement about Linux kernel requirements.
4351 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4353         * manual/llio.texi: Add preadv and pwritev documentation.
4355 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #21455]
4358         * bits/stdint-intn.h: New file.
4359         * bits/stdint-uintn.h: Likewise.
4360         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4361         bits/stdint-uintn.h.
4362         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4363         <stdint.h>.
4364         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4365         (__int8_t_defined): Do not define here.
4366         (int8_t): Likewise.
4367         (int16_t): Likewise.
4368         (int32_t): Likewise.
4369         (int64_t): Likewise.
4370         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4371         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4372         <stdint.h>.
4373         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4374         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4375         <bits/stdint-uintn.h>.
4376         (int8_t): Do not define here.
4377         (int16_t): Likewise.
4378         (int32_t): Likewise.
4379         (int64_t): Likewise.
4380         (uint8_t): Likewise.
4381         (uint16_t): Likewise.
4382         (uint32_t): Likewise.
4383         (uint64_t): Likewise.
4384         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4385         variable.
4386         (test-xfail-XPG42/netdb.h/conform): Likewise.
4387         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4388         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4389         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4390         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4392 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4394         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4395         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4396         the above.
4397         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4400 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #21445]
4403         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4405         [BZ #21457]
4406         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4407         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4408         __glibc_reserved1.
4409         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4410         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4411         (struct _fpxreg): Likewise.
4412         [!__x86_64__] (struct _fpstate): Rename field reserved to
4413         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4414         [__x86_64__] (struct _fpstate): Rename field padding to
4415         __glibc_reserved1.
4416         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4417         Rename field reserved2 to __glibc_reserved2.
4418         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4419         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4420         __glibc_reserved1.
4421         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4422         __glibc_reserved1.
4424 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4426         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4427         variable name.
4429 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4431         [BZ #21391]
4432         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4433         Only call init_cpu_features.
4434         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4435         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4436         * sysdeps/i386/dl-procinfo.h: Removed.
4437         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4438         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4439         <sysdeps/x86/dl-procinfo.h>.
4440         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4441         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4442         Include <sysdeps/x86/dl-procinfo.h> instead of
4443          <sysdeps/generic/dl-procinfo.h>.
4444         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4445         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4446         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4447         (bit_cpu_MOVBE): Likewise.
4448         (bit_cpu_BMI1): Likewise.
4449         (bit_cpu_BMI2): Likewise.
4450         (index_cpu_BMI1): Likewise.
4451         (index_cpu_BMI2): Likewise.
4452         (index_cpu_LZCNT): Likewise.
4453         (index_cpu_MOVBE): Likewise.
4454         (index_cpu_POPCNT): Likewise.
4455         (reg_BMI1): Likewise.
4456         (reg_BMI2): Likewise.
4457         (reg_LZCNT): Likewise.
4458         (reg_MOVBE): Likewise.
4459         (reg_POPCNT): Likewise.
4460         * sysdeps/x86/dl-hwcap.h: New file.
4461         * sysdeps/x86/dl-procinfo.h: Likewise.
4462         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4463         (_dl_x86_platforms): Likewise.
4465 2017-05-03  DJ Delorie  <dj@redhat.com>
4467         [BZ #21411]
4468         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4470 2017-05-03  Phil Blundell  <pb@pbcl.net>
4472         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4473         comments.
4475 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4477         [BZ #20116]
4478         * nptl/pthread_create.c: Expand comments to describe
4479         semaphore-like and mutex-like uses of PD->lock.
4481 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4483         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4484         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4485         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4486         auto-generation list.
4487         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4488         epoll_wait.
4489         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4490         Remove epoll_wait.
4492         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4493         osf_select.
4494         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4495         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4496         osf_select from auto-generation list.
4497         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4498         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4499         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4500         * sysdeps/unix/sysv/linux/select.c: New file.
4502         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4503         * sysdeps/unix/sysv/linux/poll.c: New file.
4504         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4505         auto-generation list.
4507 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4509         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4510         New macro.
4512 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4514         [BZ #21179]
4515         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4516         R_SPARC_REGISTER relocations.
4518 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4520         * include/unistd.h (__pread): Add libc_hidden_proto.
4521         (__pread64): Likewise.
4522         (__pwrite): Likewise.
4523         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4524         (__pread64): Remove.
4525         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4526         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4527         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4529 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4533 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4535         * nptl/tst-cancel4-common.c: Use libsupport.
4536         * nptl/tst-cancel4-common.h: Likewise.
4537         * nptl/tst-cancel4.c (tf_read): Likewise.
4538         (tf_readv): Likewise.
4539         (tf_write): Likewise.
4540         (tf_writev): Likewise.
4541         (tf_sleep): Likewise.
4542         (tf_usleep): Likewise.
4543         (tf_nanosleep): Likewise.
4544         (tf_select): Likewise.
4545         (tf_pselect): Likewise.
4546         (tf_poll): Likewise.
4547         (tf_ppoll): Likewise.
4548         (tf_wait): Likewise.
4549         (tf_waitpid): Likewise.
4550         (tf_waitid): Likewise.
4551         (tf_sigpause): Likewise.
4552         (tf_sigsuspend): Likewise.
4553         (tf_sigwait): Likewise.
4554         (tf_sigwaitinfo): Likewise.
4555         (tf_sigtimedwait): Likewise.
4556         (tf_pause): Likewise.
4557         (tf_accept): Likewise.
4558         (tf_send): Likewise.
4559         (tf_recv): Likewise.
4560         (tf_recvfrom): Likewise.
4561         (tf_recvmsg): Likewise.
4562         (tf_open): Likewise.
4563         (tf_close): Likewise.
4564         (tf_pread): Likewise.
4565         (tf_pwrite): Likewise.
4566         (tf_preadv): Likewise.
4567         (tf_pwritev): Likewise.
4568         (tf_fsync): Likewise.
4569         (tf_fdatasync): Likewise.
4570         (tf_msync): Likewise.
4571         (tf_sendto): Likewise.
4572         (tf_sendmsg): Likewise.
4573         (tf_creat): Likewise.
4574         (tf_connect): Likewise.
4575         (tf_tcdrain): Likewise.
4576         (tf_msgrcv): Likewise.
4577         (tf_msgsnd): Likewise.
4578         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4579         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4581         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4582         expected arguments.
4583         (do_test): Adapt to use libsupport.
4585 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4587         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4589         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4590         (PF_MAX): Set to 44.
4591         (AF_SMC): New macro.
4593         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4594         kernel version to 4.11.
4596 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4598         [BZ #21280]
4599         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4600         signal of subnormals and adjust the exponent of power of 2 down
4601         when low part has opposite sign.
4603 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4605         * sysdeps/powerpc/powerpc64le/Implies: New file.
4606         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4607         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4608         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4609         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4610         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4611         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4612         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4613         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4614         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4615         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4616         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4617         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4618         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4619         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4620         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4621         * sysdeps/powerpc/preconfigure: New file.
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4623         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4625 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4627         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4628         inclusion.
4629         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4630         Remove.
4632 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4634         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4635         (XPG3): Rename standard to XPG4.
4636         * conform/Makefile: Likewise.
4637         * conform/list-header-symbols.pl: Likewise.
4638         * conform/data/aio.h-data: Likewise.
4639         * conform/data/arpa/inet.h-data: Likewise.
4640         * conform/data/complex.h-data: Likewise.
4641         * conform/data/ctype.h-data: Likewise.
4642         * conform/data/dlfcn.h-data: Likewise.
4643         * conform/data/fcntl.h-data: Likewise.
4644         * conform/data/fenv.h-data: Likewise.
4645         * conform/data/float.h-data: Likewise.
4646         * conform/data/fmtmsg.h-data: Likewise.
4647         * conform/data/ftw.h-data: Likewise.
4648         * conform/data/grp.h-data: Likewise.
4649         * conform/data/inttypes.h-data: Likewise.
4650         * conform/data/iso646.h-data: Likewise.
4651         * conform/data/langinfo.h-data: Likewise.
4652         * conform/data/libgen.h-data: Likewise.
4653         * conform/data/limits.h-data: Likewise.
4654         * conform/data/locale.h-data: Likewise.
4655         * conform/data/math.h-data: Likewise.
4656         * conform/data/mqueue.h-data: Likewise.
4657         * conform/data/ndbm.h-data: Likewise.
4658         * conform/data/net/if.h-data: Likewise.
4659         * conform/data/netdb.h-data: Likewise.
4660         * conform/data/netinet/in.h-data: Likewise.
4661         * conform/data/poll.h-data: Likewise.
4662         * conform/data/pthread.h-data: Likewise.
4663         * conform/data/pwd.h-data: Likewise.
4664         * conform/data/sched.h-data: Likewise.
4665         * conform/data/search.h-data: Likewise.
4666         * conform/data/semaphore.h-data: Likewise.
4667         * conform/data/signal.h-data: Likewise.
4668         * conform/data/spawn.h-data: Likewise.
4669         * conform/data/stdbool.h-data: Likewise.
4670         * conform/data/stdint.h-data: Likewise.
4671         * conform/data/stdio.h-data: Likewise.
4672         * conform/data/stdlib.h-data: Likewise.
4673         * conform/data/string.h-data: Likewise.
4674         * conform/data/strings.h-data: Likewise.
4675         * conform/data/stropts.h-data: Likewise.
4676         * conform/data/sys/mman.h-data: Likewise.
4677         * conform/data/sys/resource.h-data: Likewise.
4678         * conform/data/sys/select.h-data: Likewise.
4679         * conform/data/sys/socket.h-data: Likewise.
4680         * conform/data/sys/stat.h-data: Likewise.
4681         * conform/data/sys/statvfs.h-data: Likewise.
4682         * conform/data/sys/time.h-data: Likewise.
4683         * conform/data/sys/timeb.h-data: Likewise.
4684         * conform/data/sys/types.h-data: Likewise.
4685         * conform/data/sys/uio.h-data: Likewise.
4686         * conform/data/sys/un.h-data: Likewise.
4687         * conform/data/sys/wait.h-data: Likewise.
4688         * conform/data/syslog.h-data: Likewise.
4689         * conform/data/termios.h-data: Likewise.
4690         * conform/data/tgmath.h-data: Likewise.
4691         * conform/data/time.h-data: Likewise.
4692         * conform/data/ucontext.h-data: Likewise.
4693         * conform/data/unistd.h-data: Likewise.
4694         * conform/data/utmpx.h-data: Likewise.
4695         * conform/data/varargs.h-data: Likewise.
4696         * conform/data/wchar.h-data: Likewise.
4697         * conform/data/wctype.h-data: Likewise.
4699 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4701         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4702         version to 7 branch.
4704 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4706         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4707         earlyclobber to output operand of sqrt insn.
4708         (__ieee754_sqrtf): Ditto.
4710 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #21426]
4713         * misc/bits/types/struct_iovec.h: New file.
4714         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4715         * include/bits/types/struct_iovec.h: New file.
4716         * bits/uio.h (struct iovec): Replace by inclusion of
4717         <bits/types/struct_iovec.h>.
4718         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4719         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4720         of <sys/uio.h>.
4721         * nptl/tst-cancel4.c: Include <sys/uio.h>
4722         * posix/test-errno.c: Likewise.
4723         * support/resolv_test.c: Likewise.
4724         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4725         Remove.
4726         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4727         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4728         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4730         * conform/data/sys/socket.h-data (*_t): Allow.
4732 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4734         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4735         assignment.
4737 2017-04-24  Daurnimator  <quae@daurnimator.com>
4738             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4740         [BZ #21340]
4741         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4742         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4743         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4744         valid flags.
4745         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4746         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4747         POSIX_SPAWN_SETSID.
4748         * sysdeps/posix/spawni.c (__spawni): Likewise.
4749         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4750         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4752 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4754         * sysdeps/generic/math_private.h: Move the declaration of many
4755         functions to sysdeps/generic/math_private_calls.h.
4756         * sysdeps/generic/math_private_calls.h: New file with the
4757         declarations of the functions removed from math_private.h
4758         macroized by floating-point type.
4760 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4762         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4763         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4764         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4765         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4766         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4767         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4769 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4771         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4772         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4773         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4774         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4775         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4776         New Define.
4778 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4780         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4781         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4782         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4783         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4784         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4785         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4787 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4789         * sysdeps/s390/multiarch/ifunc-resolve.h
4790         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4791         * sysdeps/s390/multiarch/8bit-generic.c
4792         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4793         define ifunc resolvers.
4795 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4797         [BZ #20424]
4798         * manual/memory.texi (Replacing malloc): New section.
4799         (Allocating Storage For Program Data): Reference it.
4800         (The GNU Allocator): Likewise.
4802 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4804         * stdlib/Versions (__strtod_internal): List explicitly, not as
4805         wildcard.
4806         (__strtof_internal): Likewise.
4807         (__strtold_internal): Likewise.
4808         (__strtol_internal): Likewise.
4809         (__strtoll_internal): Likewise.
4810         (__strtoul_internal): Likewise.
4811         (__strtoull_internal): Likewise.
4812         (__strtoq_internal): Likewise.
4813         (__strtouq_internal): Likewise.
4814         * wcsmbs/Versions (__wcstod_internal): Likewise.
4815         (__wcstof_internal): Likewise.
4816         (__wcstold_internal): Likewise.
4817         (__wcstol_internal): Likewise.
4818         (__wcstoll_internal): Likewise.
4819         (__wcstoul_internal): Likewise.
4820         (__wcstoull_internal): Likewise.
4822 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4824         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4825         struct timespec definition.
4827 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4829         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4831 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4833         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4834         * inet/rexec.c (rexec_af): Likewise.
4836 2017-04-19  Zack Weinberg  <zackw@panix.com>
4838         * posix/tst-mmap-offset.c: Include stdint.h.
4839         * resolv/tst-ns_name_compress.c: Include string.h.
4840         * resolv/tst-resolv-edns.c: Include resolv.h.
4842 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4844         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4845         with __glibc_likely.
4846         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4847         Replace __builtin_expect with __glibc_unlikely.
4848         * resolv/res_init.c (__res_vinit): Likewise.
4849         * resolv/res_query.c (__libc_res_nquery): Likewise.
4850         * resolv/res_send.c (__libc_res_nsend): Likewise.
4852 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4854         [BZ #15722]
4855         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4856         with SOCK_CLOEXEC.
4857         * resolv/res_send.c (send_vc, reopen): Likewise.
4858         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4859         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4860         Likewise.
4861         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4862         * inet/rexec.c (rexec_af): Add comment.
4863         * inet/rcmd.c (rresvport_af): Likewise.
4865 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4867         * nscd/connections.c (have_accept4): Removed definition.
4868         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4869         accept4 works.
4870         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4871         ia64 because that was the first version with accept4 support.
4872         * support/Makefile (libsupport-routines): Add xaccept4.
4873         * support/xsocket.h (xaccept4): Declare.
4874         * support/xaccept4.c: New file.
4875         * socket/tst-accept4.c: New file.
4876         * socket/Makefile (tests): Add tst-accept4.
4877         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4878         definition.
4879         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4880         comment.
4881         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4882         implementation is available.
4883         (accept4): Use the system call if available, otherwise use the
4884         socket call.
4885         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4886         Set to 3.2.18.
4887         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4888         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4889         accept4 is unconditionally available in later 3.2 stable kernels.
4890         (__ASSUME_ACCEPT4_SYSCALL): Define.
4891         * sysdeps/unix/sysv/linux/kernel-features.h
4892         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4893         definitions.
4894         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4895         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4897 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4899         * conform/Makefile (tests-special): Do not make addition of
4900         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4901         (generated): Do not make addition of $(conformtest-header-base)
4902         conditional on [$(cross-compiling) = no].
4904         [BZ #21267]
4905         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4906         if defined by <asm/socket.h> and not previously defined.
4907         (IOCSIZE_SHIFT): Likewise.
4908         (IOC_IN): Likewise.
4909         (IOC_INOUT): Likewise.
4910         (IOC_OUT): Likewise.
4912 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4914         [BZ #21396]
4915         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4916         Prefer_No_AVX512 if AVX512ER isn't available.
4917         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4918         (index_arch_Prefer_No_AVX512): Likewise.
4919         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4920         AVX512 version if Prefer_No_AVX512 is set.
4921         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4922         Likewise.
4923         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4924         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4925         Likewise.
4926         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4927         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4928         Likewise.
4929         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4930         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4931         Likewise.
4933 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4935         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4936         Prefer_No_VZEROUPPER if AVX512ER is available.
4937         * sysdeps/x86/cpu-features.h
4938         (bit_cpu_AVX512PF): New.
4939         (bit_cpu_AVX512ER): Likewise.
4940         (bit_cpu_AVX512CD): Likewise.
4941         (bit_cpu_AVX512BW): Likewise.
4942         (bit_cpu_AVX512VL): Likewise.
4943         (index_cpu_AVX512PF): Likewise.
4944         (index_cpu_AVX512ER): Likewise.
4945         (index_cpu_AVX512CD): Likewise.
4946         (index_cpu_AVX512BW): Likewise.
4947         (index_cpu_AVX512VL): Likewise.
4948         (reg_AVX512PF): Likewise.
4949         (reg_AVX512ER): Likewise.
4950         (reg_AVX512CD): Likewise.
4951         (reg_AVX512BW): Likewise.
4952         (reg_AVX512VL): Likewise.
4954 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4956         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4957         O_CLOEXEC is defined.
4958         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4959         * io/Makefile (aux): Remove.
4960         * io/have_o_cloexec.c: Remove file.
4961         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4962         defined and works.
4963         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4964         defined.
4965         * login/utmp_file.c (O_flags): Remove definition.
4966         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4967         O_CLOEXEC works.
4968         (pututline_file): Likewise.
4969         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4970         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4971         definition.
4972         (internal_setgrent): Assume that O_CLOEXEC works.
4973         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4974         Remove definition.
4975         (internal_setgrent): Assume that O_CLOEXEC works.
4976         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4977         definition.
4978         (internal_setpwent): Assume that O_CLOEXEC works.
4979         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4980         definition.
4981         (internal_setspent): Assume that O_CLOEXEC works.
4982         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4983         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4984         O_CLOEXEC is defined and works.
4985         * nss/Makefile (libnss_files-routines): Remove
4986         files-have_o_cloexec.
4987         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4988         defined.
4989         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4990         O_CLOEXEC is defined and works.
4991         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4992         * nss/nss_files/files-have_o_cloexec.c: Remove.
4993         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4994         defined.
4995         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4996         and works.
4997         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4998         definition.
4999         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
5000         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
5001         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
5002         (__opendirat, __opendir): Adjust opendir_oflags call.
5003         (check_have_o_cloexec): Remove.
5004         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
5005         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
5006         defined.
5007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
5008         Remove definition.
5010 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5012         * include/unistd.h (__have_dup3): Remove declaration.
5013         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
5014         dup3 is available.
5015         * libio/freopen64.c (freopen64): Likewise.
5016         * socket/Makefile (aux): Remove have_sock_cloexec.
5017         * socket/have_sock_cloexec.c: Remove file.
5018         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
5019         definition.
5020         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
5021         Likewise.
5022         * sysdeps/nacl/kernel-features.h: Update comment.
5024 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5026         * include/unistd.h (__have_pipe2): Remove declaration.
5027         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
5028         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
5029         available.
5030         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
5031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
5032         Remove definition.
5034 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5036         * malloc/malloc.c (cfree): Turn into compat symbol.
5037         (__cfree): Remove alias.
5038         * stdlib/stdlib.h (cfree): Remove declaration.
5039         * malloc/malloc.h (cfree): Likewise.
5040         * manual/memory.texi (Freeing after Malloc): Remove cfree.
5041         * malloc/Versions (GLIBC_2.26): Add.
5043 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5045         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5046         (sysdep_routines): Add strrchr-power8.
5047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5048         (strrchr): Add __strrchr_power8 to list of strrchr functions.
5049         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
5050         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
5051         (strrchr): Add __strrchr_power8 to ifunc list.
5052         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
5054 2017-04-17  Rabin Vincent  <rabinv@axis.com>
5056         [BZ #21357]
5057         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
5058         Call free() outside of mutex.
5060 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5062         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
5063         is defined.
5064         * elf/rtld.c (process_envvars): Likewise.
5065         * sysdeps/posix/shm_open.c (shm_open): Likewise.
5066         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
5067         O_NOFOLLOW directly.
5068         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
5070 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5072         [BZ #21369]
5073         Remove EDNS fallback.
5074         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
5075         handling.
5076         * resolv/res_send.c (send_dg): Likewise.
5077         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
5078         "tcp." prefixes.
5079         (do_test): Send a "formerr."-prefixed query in an attempt to
5080         trigger EDNS fallback.
5082 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5084         [BZ #21361]
5085         Limit EDNS buffer size to 1200 bytes.
5086         * include/resolv.h (__res_nopt): Remove declaration.
5087         * resolv/Makefile (tests): tst-resolv-edns.
5088         (tst-resolv-edns): Link with -lresolv, -lpthread.
5089         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
5090         interval [512, 1200].
5091         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
5092         we can resize the buffer.
5093         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
5094         (__res_nopt): Declare.
5095         * resolv/tst-resolv-edns.c: New file.
5096         * resolv/resolv_test.h (struct resolv_edns_info): Define.
5097         (struct resolv_response_context): Add edns member.
5098         * resolv/resolv_test.c (struct query_info): Add edns member.
5099         (parse_query): Extract EDNS information from the query.
5100         (server_thread_udp_process_one): Propagate EDNS data.
5101         (server_thread_tcp_client): Likewise.
5103 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5105         [BZ #21359]
5106         * resolv/ns_name.c (ns_name_pack): Do not require an additional
5107         byte in the destination buffer.  Avoid out-of-bounds pointer
5108         arithmetic.
5109         * resolv/Makefile (tests): Add tst-ns_name_compress.
5110         (tst-ns_name_compress): Link with -lresolv.
5111         * resolv/tst-ns_name_compress.c: New file.
5112         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5113         (response): Recognize LONG_NAME.
5114         (do_test): Add LONG_NAME tests.
5115         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5116         for ns_name_unpack.  Add tests for ns_name_pton and
5117         ns_name_compress.
5119 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5121         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5122         (res_nisourserver): Remove definition.
5123         (p_section, res_npquery, res_nisourserver): Remove declaration.
5124         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5125         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5126         ... here.
5127         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5128         <resolv.h>.
5129         * resolv/res_query.c: Likewise.
5130         * resolv/res_debug.c (p_section): Define as static.
5132 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5134         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5135         strncat-power8.
5136         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5137         __strncat_power8 to ifunc list.
5138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5139         (strncat): Add __strncat_power8 to list of strncat functions.
5140         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5142 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5144         [BZ #21270]
5145         * posix/tst-mmap-offset.c (do_prepare): New function.
5146         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5147         (do_test_bz21270): New function.
5148         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5149         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5150         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5151         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5152         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5153         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5154         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5155         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5156         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5157         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5158         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5160         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5161         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5162         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5163         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5164         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5165         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5166         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5167         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5168         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5169         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5170         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5171         from auto-generation list.
5172         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5174         * sysdeps/unix/sysv/linux/mmap.c: New file.
5175         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5176         offsets and support for mmap2 syscall.
5178         * posix/globtest.sh: Add cleanup routine on trap 0.
5180 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5182         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5183         implementation-specific function name and remove unneeded
5184         macros definition.
5185         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5186         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5187         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5188         name if not defined and pass as parameter to macros accordingly.
5189         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5190         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5193         implementation-specific function name and remove unneeded
5194         macros definition.
5195         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5196         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5197         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5198         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5199         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5200         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5201         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5202         name if not defined and pass as parameter to macros accordingly.
5203         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5204         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5205         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5206         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5207         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5208         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5210         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5211         implementation-specific function name and remove unneeded macros
5212         definition.
5213         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5214         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5215         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5216         function name if not defined and pass as parameter to macros
5217         accordingly.
5218         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5219         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5221         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5222         implementation-specific function name and remove unneeded macros
5223         definition.
5224         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5225         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5226         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5227         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5228         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5229         not defined and pass as parameter to macros accordingly.
5230         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5231         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5232         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5233         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5235         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5236         strcasestr implementation name and remove unneeded macros definition.
5237         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5238         strstr implementation name and remove unneeded macros definition.
5239         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5240         name if not defined and pass as parameter to macros accordingly.
5241         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5243         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5244         implementation-specific function name and remove unneeded macros
5245         definition.
5246         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5247         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5248         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5249         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5250         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5251         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5252         function name if not defined and pass as parameter to macros
5253         accordingly.
5254         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5255         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5256         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5257         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5259         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5260         the strlen implementation name and remove unneeded macros definition.
5261         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5262         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5263         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5264         the strnlen implementation name and remove unneeded macros definition.
5265         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5266         name if not defined and pass as parameter to macros accordingly.
5267         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5268         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5269         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5272         the implementation-specific function name and remove unneeded
5273         macros definition.
5274         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5275         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5276         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5277         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5278         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5279         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5280         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5281         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5282         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5284         name if not defined and pass as parameter to macros accordingly.
5285         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5286         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5287         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5288         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5289         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5290         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5291         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5292         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5294         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5295         implementation-specific function name and remove unneeded macros
5296         definition.
5297         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5299         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5300         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5301         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5302         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5303         function name if not defined.
5304         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5305         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5307 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5309         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5310         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5311         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5312         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5314 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5315             Zack Weinberg  <zackw@panix.com>
5317         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5318         readdir64 as thread-safe.  Update warning about readdir_r.
5320 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5322         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5323         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5324         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5325         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5326         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5327         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5328         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5330 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5332         * sysdeps/i386/dl-procinfo.c: Include
5333         <sysdeps/x86/dl-procinfo.c>.
5334         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5335         * sysdeps/x86/dl-procinfo.c: New file.
5337 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5339         * sysdeps/generic/math_private.h: Remove declarations of
5340         many functions that are already declared in math.h.
5341         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5342         declaration for __frexpl.
5343         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5344         the declarations for __scalbnl and fabsl.
5346 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5348         [BZ #20831]
5349         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5350         of __mprotect to change protection on the excess portion
5351         to disallow all access.
5353 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5355         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5356         HAS_CPU_FEATURE to check for SSE.
5357         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5358         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5359         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5360         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5361         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5362         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5363         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5364         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5365         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5366         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5367         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5368         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5369         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5370         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5371         (index_cpu_SSE): Likewise.
5372         (reg_SSE): Likewise.
5374 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5376         * posix/getopt1.c: Include <config.h>, not "config.h".
5378 2017-04-07  Zack Weinberg  <zackw@panix.com>
5380         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5381         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5382         Mention in top-of-file boilerplate that these files are shared
5383         with gnulib.
5384         * posix/getopt.h, posix/bits/getopt_posix.h:
5385         Mention in top-of-file boilerplate that these files are NOT shared
5386         with gnulib, unlike the rest of the getopt implementation.
5388         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5389         New files, intended to be shared with gnulib.
5390         * posix/bits/getopt_posix.h:
5391         New file, not intended to be shared with gnulib.
5392         * posix/getopt.h: Now just includes features.h,
5393         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5394         no longer be shared with gnulib.
5395         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5396         * include/bits/getopt_posix.h: New wrappers.
5397         * posix/Makefile: Install new headers.
5398         * posix/unistd.h, libio/stdio.h:
5399         Include bits/getopt_posix.h instead of getopt.h.
5401         * include/libc-symbols.h: For gnulib compatibility, define
5402         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5403         _GL_ATTRIBUTE_CONST.
5404         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5405         parameters with _GL_UNUSED.
5407         * posix/getopt.c: When used standalone, define __libc_use_alloca
5408         as always false and alloca to abort if called.
5409         (process_long_option): Rewrite handling of ambiguous long options
5410         to use a single boolean vector, not a linked list; use
5411         __libc_use_alloca to decide whether to allocate this using alloca.
5412         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5414         * posix/getopt.c (process_long_option): New function split out
5415         from _getopt_internal_r.
5416         (_getopt_internal_r): Replace both copies of the long-option
5417         processing code with calls to process_long_option.
5418         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5419         (do_test): Differentiate argv[0] in the two subtests.
5421         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5422         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5423         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5425         * posix/getopt.h: Add backup definition of __nonnull for
5426         consistency with gnulib.  Define __getopt_argv_const to const
5427         if not already defined.
5428         (getopt): Update doc comment from gnulib.  Prototype
5429         unconditionally.  Add __nonnull annotation.
5430         (__posix_getopt): Add __nonnull annotation.
5431         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5432         prototypes for consistency with gnulib.  Add __nonnull
5433         annotations.
5434         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5435         (getopt_internal): Change 'argv' argument to type 'char **'.
5436         Remove now-unnecessary casts.
5437         (getopt, __posix_getopt): Eliminate repetition with a macro.
5438         Cast 'argv' to 'char **' when calling _getopt_internal.
5439         * posix/getopt1.c (getopt_long, getopt_long_only):
5440         Use __getopt_argv_const for consistency with gnulib.
5441         Cast 'argv' to 'char **' when calling _getopt_internal.
5442         (_getopt_long_r, _getopt_long_only_r):
5443         Change 'argv' argument to type 'char **'.
5444         (main): Constify 'long_options'.
5445         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5446         (_getopt_long_r, _getopt_long_only_r):
5447         Change 'argv' argument to type 'char **'.
5449         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5450         (locked_vfxprintf): New helper function. Handle arbitrary
5451         multibyte strings, not just ASCII.
5452         * include/stdio.h: Declare __fxprintf_nocancel.
5453         * posix/getopt.c: When _LIBC is defined, define fprintf to
5454         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5455         to _IO_funlockfile.  When neither _LIBC nor
5456         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5457         funlockfile as no-ops.
5458         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5459         the standalone error-printing code can now be used for libc as
5460         well.  Add an flockfile/funlockfile pair around one case where
5461         the error message is printed in several chunks.  Don't use fputc.
5462         * posix/tst-getopt-cancel.c: New test.
5463         * posix/Makefile: Run it.
5465         * posix/getopt.c (_getopt_internal_r): Don't increment
5466         d->optind a second time when reporting ambiguous -W options.
5468         * posix/getopt_int.h: Include getopt.h.
5469         Use impl-namespace names for all arguments to _getopt_internal and
5470         _getopt_internal_r.
5471         Declare __ordering enum outside the struct.
5472         Harmonize comments with gnulib.
5473         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5474         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5475         #ifdef TEST block and make unconditional.  Do not define NULL.
5476         * posix/getopt.c: Partial merge from gnulib, covering the
5477         initial includes and global declarations, commentary, and
5478         a couple of semantically-neutral code changes.
5480         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5481         Use '...' instead of `...' for quotation marks inside
5482         comments and strings.
5484         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5485         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5486         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5487         * posix/getopt_int.h: Likewise.
5488         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5489         __libc_argc and __libc_argv externs, which were only used by
5490         #ifdef USE_NONOPTION_FLAGS blocks.
5491         * posix/getopt_init.c: Remove file.
5492         * posix/Makefile (routines): Remove getopt_init.
5493         * include/getopt.h: Don't declare __getopt_initialize_environment.
5494         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5495         a comment.
5497 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5499         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5501 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5503         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5504         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5505         to __wrap_.udiv.
5506         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5507         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5509         * sysdeps/i386/symbol-hacks.h: New file.
5510         * sysdeps/m68k/symbol-hacks.h: New file.
5511         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5512         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5513         * sysdeps/unix/sysv/linux/i386/Makefile
5514         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5515         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5516         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5517         * sysdeps/unix/sysv/linux/m68k/Makefile
5518         [$(subdir) = csu] (sysdep_routines): Likewise.
5519         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5520         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5522         [$(subdir) = csu] (sysdep_routines): Likewise.
5523         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5524         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5525         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5526         [$(subdir) = csu] (sysdep_routines): Likewise.
5527         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5528         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5529         * sysdeps/wordsize-32/Makefile: Remove file.
5530         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5531         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5533 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5535         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5536         (TEST_FUNCTION_ARGV): New.
5538 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5540         * elf/next.c: Import support/test-driver.c instead of
5541         test-skeleton.c and delete TEST_FUNCTION macro definition.
5542         * elf/nodelete.c: Likewise.
5543         * elf/order2.c: Likewise.
5544         * elf/tst-_dl_addr_inside_object.c: Likewise.
5545         * elf/tst-addr1.c: Likewise.
5546         * elf/tst-align.c: Likewise.
5547         * elf/tst-align2.c: Likewise.
5548         * elf/tst-audit11.c: Likewise.
5549         * elf/tst-audit12.c: Likewise.
5550         * elf/tst-audit2.c: Likewise.
5551         * elf/tst-audit9.c: Likewise.
5552         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5553         * elf/tst-deep1.c: Likewise.
5554         * elf/tst-dl-iter-static.c: Likewise.
5555         * elf/tst-dlmodcount.c: Likewise.
5556         * elf/tst-dlmopen1.c: Likewise.
5557         * elf/tst-dlmopen2.c: Likewise.
5558         * elf/tst-dlmopen3.c: Likewise.
5559         * elf/tst-dlopen-aout.c: Likewise.
5560         * elf/tst-dlopenrpath.c: Likewise.
5561         * elf/tst-dlsym-error.c: Likewise.
5562         * elf/tst-execstack-needed.c: Likewise.
5563         * elf/tst-execstack-prog.c: Likewise.
5564         * elf/tst-execstack.c: Likewise.
5565         * elf/tst-global1.c: Likewise.
5566         * elf/tst-gnu2-tls1.c: Likewise.
5567         * elf/tst-latepthread.c: Likewise.
5568         * elf/tst-leaks1.c: Likewise.
5569         * elf/tst-linkall-static.c: Likewise.
5570         (do_test): New function.
5571         * elf/tst-nodelete-opened.c: Likewise.
5572         * elf/tst-nodelete.cc: Likewise.
5573         * elf/tst-nodelete2.c: Likewise.
5574         * elf/tst-noload.c: Likewise.
5575         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5576         * elf/tst-order-main.c: Likewise.
5577         * elf/tst-pathopt.c: Likewise.
5578         * elf/tst-pie2.c: Likewise.
5579         * elf/tst-piemod1.c: Likewise.
5580         * elf/tst-prelink.c: Likewise.
5581         * elf/tst-protected1a.c: Likewise.
5582         * elf/tst-protected1b.c: Likewise.
5583         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5584         and define _GNU_SOURCE macro.
5585         (cmdline_process_function): New function.
5586         * elf/tst-relsort1.c: Likewise.
5587         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5588         and define _GNU_SOURCE macro.
5589         (cmdline_process_function): New function.
5590         * elf/tst-thrlock.c: Likewise.
5591         * elf/tst-tls-dlinfo.c: Likewise.
5592         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5593         * elf/tst-tls1.c: Likewise.
5594         * elf/tst-tls10.c: Likewise.
5595         * elf/tst-tls11.c: Likewise.
5596         * elf/tst-tls12.c: Likewise.
5597         * elf/tst-tls13.c: Likewise.
5598         * elf/tst-tls14.c: Likewise.
5599         * elf/tst-tls15.c: Likewise.
5600         * elf/tst-tls16.c: Likewise.
5601         * elf/tst-tls17.c: Likewise.
5602         * elf/tst-tls18.c: Likewise.
5603         * elf/tst-tls19.c: Likewise.
5604         * elf/tst-tls2.c: Likewise.
5605         * elf/tst-tls3.c: Likewise.
5606         * elf/tst-tls4.c: Likewise.
5607         * elf/tst-tls5.c: Likewise.
5608         * elf/tst-tls6.c: Likewise.
5609         * elf/tst-tls7.c: Likewise.
5610         * elf/tst-tls8.c: Likewise.
5611         * elf/tst-tls9.c: Likewise.
5612         * elf/tst-tlsalign-extern.c: Likewise.
5613         * elf/tst-tlsalign.c: Likewise.
5614         * elf/tst-unique1.c: Likewise.
5615         * elf/tst-unique2.c: Likewise.
5616         * elf/vismain.c: Likewise.
5618 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5620         * string/test-strnlen.c (do_page_tests): New function
5621         to check length of strings ending at the page boundary.
5622         (test_main): Added call to the do_page_tests function.
5624 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5625             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5627         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5628         (sysdep_routines): Add strnlen-power8.
5629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5630         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5631         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5632         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5633         (__strnlen): Add __strnlen_power8 to ifunc list.
5634         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5636 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5638         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5639         the TEST_FUNCTION macro definition.
5640         * wcsmbs/tst-mbrtowc2.c: Likewise.
5641         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5642         * wcsmbs/tst-wchar-h.c: Likewise.
5643         * wcsmbs/tst-wcpncpy.c: Likewise.
5644         * wcsmbs/tst-wcrtomb.c: Likewise.
5645         * wcsmbs/tst-wcsnlen.c: Likewise.
5646         * wcsmbs/tst-wcstof.c: Likewise.
5648 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5650         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5651         CALL_THREAD_FCT macro usage.
5652         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5653         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5654         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5656         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5657         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5658         (__ASSUME_REQUEUE_PI): Likewise.
5659         * sysdeps/unix/sysv/linux/kernel-features.h
5660         (__ASSUME_REQUEUE_PI): Likewise.
5661         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5662         (__ASSUME_REQUEUE_PI): Likewise.
5663         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5664         (__ASSUME_REQUEUE_PI): Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5666         (__ASSUME_REQUEUE_PI): Likewise.
5668 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5670         * resolv/tst-resolv-canonname.c: New file.
5671         * resolv/Makefile (tests): Add tst-resolv-canonname.
5672         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5674 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5676         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5677         Declare.
5678         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5679         (NS_MAXCDNAME): Remove definition.
5680         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5681         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5682         (NS_MAXCDNAME): Remove definition.
5683         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5685 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5687         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5688         call whose result is not used.
5690 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5692         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5693         * resolv/Makefile (tests): Add tst-ns_name.
5694         (tst-ns_name): Link with -lresolv.
5695         (tst-ns_name.out): Depend on the input data file.
5697 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5699         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5700         Clobber also r14.
5702 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5704         [BZ #21253]
5705         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5706         slack space by 32KiB.
5708 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5710         [BZ #21338]
5711         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5712         instead of incorrect do_set_arena_test
5714 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5716         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5717         * math/bits/math-finite.h: Likewise.
5719 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5721         [BZ #21289]
5722         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5724 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5726         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5727         non expected inotify_add_watch and quotactl return.
5729 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5731         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5732         to int32_t.
5733         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5734         as returning int32_t.
5736 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5738         * math/math.h: Include bits/math-finite.h once per
5739         floating-point type.
5740         * math/bits/math-finite.h: Macroize all declarations by
5741         floating-point type.
5743 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5745         [BZ #21182]
5746         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5747         near end of a page.
5748         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5749         overflow calculation.
5751 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5753         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5754         (IMPL) Call with 1 instead of 0 as argument.
5756 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5758         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5759         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5760         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5761         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5762         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5763         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5764         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5765         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5766         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5767         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5768         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5769         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5770         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5771         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5772         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5773         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5774         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5775         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5776         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5777         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5778         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5779         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5780         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5781         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5782         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5783         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5784         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5785         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5786         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5787         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5788         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5789         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5790         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5791         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5792         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5793         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5794         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5795         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5796         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5797         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5798         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5799         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5800         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5801         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5802         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5803         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5804         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5805         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5806         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5807         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5808         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5809         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5810         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5811         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5812         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5813         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5814         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5815         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5816         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5817         defined.
5818         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5819         __NR_setgroups32 if defined.
5820         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5821         if defined.
5822         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5823         __NR_setresgid32 is defined.
5824         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5825         __NR_setresuid32 if defined.
5826         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5827         __NR_setreuid32 if defined.
5828         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5829         defined.
5830         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5831         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5832         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5833         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5834         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5835         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5836         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5837         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5838         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5839         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5840         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5841         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5842         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5843         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5844         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5845         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5846         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5847         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5848         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5849         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5850         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5851         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5852         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5853         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5854         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5855         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5856         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5857         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5858         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5859         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5860         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5861         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5862         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5863         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5864         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5865         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5866         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5867         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5868         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5869         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5870         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5871         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5872         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5873         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5874         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5875         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5876         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5877         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5878         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5879         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5880         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5881         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5882         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5883         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5884         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5885         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5886         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5887         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5888         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5889         defined.
5890         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5891         __NR_setgroups32 if defined.
5892         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5893         if defined.
5894         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5895         __NR_setresgid32 is defined.
5896         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5897         __NR_setresuid32 if defined.
5898         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5899         __NR_setreuid32 if defined.
5900         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5901         defined.
5903 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #21277]
5906         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5907         unconditionally.
5908         (IMAXBEL): Likewise.
5909         (IUTF8): Likewise.
5911 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5913         * sysdeps/aarch64/libm-test-ulps: Update.
5915 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5917         * README.tunables: Updated descriptions.
5918         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5919         * scripts/gen-tunables.awk: Updated the code related to the
5920         commit.
5922 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5924         * benchtests/Makefile (string-benchset): Add memcpy-random.
5925         * benchtests/bench-memcpy-random.c: New file.
5927 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5929         * stdio-common/printf.h (register_printf_modifier): Change the
5930         order of __wur and __THROW.
5931         (register_printf_type): Likewise.
5933 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5935         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5936         test_main ().
5937         (CMDLINE_PROCESS): Use function instead of defined macro.
5938         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5939         <suppport/support.h> to use set_fortify_handler().
5940         * string/bug-envz1.c: Import support/test-driver.c instead of
5941         test-skeleton.c.
5942         * string/bug-strcoll2.c: Likewise.
5943         * string/bug-strtok1.c: Likewise.
5944         * string/stratcliff.c: Likewise.
5945         * string/test-ffs.c: Likewise.
5946         * string/test-memccpy.c: Likewise.
5947         * string/test-memchr.c: Likewise.
5948         * string/test-memcmp.c: Likewise.
5949         * string/test-memcpy.c: Likewise.
5950         * string/test-memmem.c: Likewise.
5951         * string/test-memmove.c: Likewise.
5952         * string/test-memrchr.c: Likewise.
5953         * string/test-memset.c: Likewise.
5954         * string/test-rawmemchr.c: Likewise.
5955         * string/test-strcasecmp.c: Likewise.
5956         * string/test-strcasestr.c: Likewise.
5957         * string/test-strcat.c: Likewise.
5958         * string/test-strchr.c: Likewise.
5959         * string/test-strcmp.c: Likewise.
5960         * string/test-strcpy.c: Likewise.
5961         * string/test-string.h: Likewise.
5962         * string/test-strlen.c: Likewise.
5963         * string/test-strncasecmp.c: Likewise.
5964         * string/test-strncat.c: Likewise.
5965         * string/test-strncmp.c: Likewise.
5966         * string/test-strncpy.c: Likewise.
5967         * string/test-strnlen.c: Likewise.
5968         * string/test-strpbrk.c: Likewise.
5969         * string/test-strrchr.c: Likewise.
5970         * string/test-strspn.c: Likewise.
5971         * string/test-strstr.c: Likewise.
5972         * string/tst-bswap.c: Likewise.
5973         * string/tst-cmp.c: Likewise.
5974         * string/tst-endian.c: Likewise.
5975         * string/tst-inlcall.c: Likewise.
5976         * string/tst-strcoll-overflow.c: Likewise.
5977         * string/tst-strfry.c: Likewise.
5978         * string/tst-strlen.c: Likewise.
5979         * string/tst-strtok.c: Likewise.
5980         * string/tst-strtok_r.c: Likewise.
5981         * string/tst-strxfrm.c: Likewise.
5982         * string/tst-strxfrm2.c: Likewise.
5983         * string/tst-svc.c: Likewise.
5984         * string/tst-svc2.c: Likewise.
5986 2017-03-22  Zack Weinberg  <zackw@panix.com>
5988         * stdio-common/bug25.c: Include stdlib.h.
5989         * support/tst-support_format_dns_packet.c: Include stdio.h,
5990         stdlib.h, and string.h.
5991         * support/tst-support_record_failure.c: Include string.h.
5992         * support/tst-support_record_failure-2.sh: Adjust line number
5993         expectations and correct a typo in an error message.
5995 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5997         [BZ #21258]
5998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5999         Define only if _dl_runtime_resolve is defined to
6000         _dl_runtime_resolve_sse_vex.
6001         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
6002         Fallthrough to _dl_runtime_resolve_sse_vex.
6004 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
6006         * INSTALL: Regenerated.
6008 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
6010         * config.h.in: Add LINK_OBSOLETE_NSL.
6011         * config.make.in: Add build-obsolete-nsl.
6012         * configure.ac: Add obsolete-nsl option.
6013         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
6014         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
6015         * include/rpcsvc/nislib.h: Likewise.
6016         * include/rpcsvc/ypclnt.h: Likewise.
6017         * manual/install.texi: Document --enable-obsolete-nsl.
6018         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
6019         * nis/nis_add.c: Replace libnsl_hidden_def with
6020         libnsl_hidden_nolink_def.
6021         * nis/nis_addmember.c: Likewise.
6022         * nis/nis_call.c: Likewise.
6023         * nis/nis_clone_obj.c: Likewise.
6024         * nis/nis_defaults.c: Likeise.
6025         * nis/nis_domain_of_r.c: Likewise.
6026         * nis/nis_error.c: Likewise.
6027         * nis/nis_file.c: Likewise.
6028         * nis/nis_free.c: Likewise.
6029         * nis_local_names.c: Likewise.
6030         * nis/nis_lookup.c: Likewise.
6031         * nis/nis_modify.c: Likewise.
6032         * nis/nis_print.c: Likewise.
6033         * nis/nis_remove.c: Likewise.
6034         * nis/nis_table.c: Likewise.
6035         * nis/nis_util.c: Likewise.
6036         * nis/nis_xdr.c: Likewise.
6037         * nis/yp_xdr.c: Likewise.
6038         * nis/ypclnt.c: Likewise.
6039         * nis/ypupdate_xdr.c: Likewise.
6040         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
6041         * nis/nis_clone_dir.c: Likewise.
6042         * nis/nis_clone_res.c: Likewise.
6043         * nis/nis_creategroup.c: Likewise.
6044         * nis/nis_destroygroup.c: Likewise.
6045         * nis/nis_domain_of.c: Likewise.
6046         * nis/nis_getservlist.c: Likewise.
6047         * nis/nis_ismember.c: Likewise.
6048         * nis/nis_mkdir.c: Likewise.
6049         * nis/nis_ping.c: Likewise.
6050         * nis/nis_print_group_entry.c: Likewise.
6051         * nis/nis_removemember.c: Likewise.
6052         * nis/nis_rmdir.c: Likewise.
6053         * nis/nis_server.c: Likewise.
6054         * nis/nis_subr.c: Likewise.
6055         * nis/nis_verifygroup.c: Likewise.
6057 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6059         * malloc/tst-interpose-aux.c (check_for_allocations):
6060         Move compiler barrier before free.
6062 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
6064         [BZ #21279]
6065         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6066         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6067         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
6068         x86_64-x32-linux.
6069         (mq_attr.mq_maxmsg): Likewise.
6070         (mq_attr.mq_msgsize): Likewise.
6071         (mq_attr.mq_curmsgs): Likewise.
6073         [BZ #21278]
6074         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
6075         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6076         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
6077         mips-o32-linux.
6079         [BZ #21268]
6080         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
6081         if [__USE_MISC]
6082         (NL3): Likewise.
6084 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
6086         [BZ #21275]
6087         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
6088         __stack to __stackbase.
6089         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
6090         checks so we can include defined(__ia64__) first.
6092 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
6094         * sysdeps/unix/sysv/linux/ttyname.h: New file.
6095         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
6096         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
6097         Call is_pty when the link does not exist or does not match, fail
6098         with ENODEV when it returns true.
6099         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
6100         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
6101         Call is_pty when the link does not exist or does not match, fail
6102         with ENODEV when it returns true.
6104 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #16437]
6107         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6108         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6109         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6110         x86_64-x32-linux.
6111         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6112         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6113         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6115         [BZ #21261]
6116         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6117         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6118         names for all fields.
6119         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6120         for jmp_buf field renaming.
6121         (_JMPBUF_UNWINDS_ADJ): Likewise.
6123         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6124         with allow-header.
6126 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
6128         * malloc/malloc.c (unlink): Add consistency check between size and
6129         next->prev->size, to further harden against 1-byte overflows.
6131 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
6133         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6134         CPU_FEATURES_CPU_P.
6136 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
6138         [BZ #21259]
6139         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6140         unconditionally, not just for [__USE_MISC].
6142         [BZ #17786]
6143         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6144         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6145         mips-o32-linux.
6147         [BZ #21260]
6148         * sysdeps/unix/sysv/linux/alpha/Makefile
6149         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6150         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6152         * conform/conformtest.pl ($cross): New variable.
6153         (--cross): New command-line option.
6154         (runtest): Skip test execution when cross-compiling.
6155         * conform/Makefile (conformtest-cross): New variable.
6156         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6157         conformtest.pl.
6159         * conform/conformtest.pl ($xfail_str): New variable.
6160         (--xfail=): New command-line option.
6161         (top level): Handle expectations starting xfail[cond]-.
6162         * conform/Makefile (conformtest-xfail): New variable.
6163         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6164         conformtest.pl.
6166 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6168         * conform/conformtest.pl: Use compilation instead of execution
6169         tests for testing values of constants and usability in #if.
6171 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6173         * math/auto-libm-test-in: Mark some catan and catanh as
6174         xfail-rounding:ibm128-libgcc.
6175         * math/auto-libm-test-out-catan: Regenerate.
6176         * math/auto-libm-test-out-catanh: Likewise.
6178 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6180         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6181         (__END_NAMESPACE_STD): Likewise.
6182         (__USING_NAMESPACE_STD): Likewise.
6183         (__BEGIN_NAMESPACE_C99): Likewise.
6184         (__END_NAMESPACE_C99): Likewise.
6185         (__USING_NAMESPACE_C99): Likewise.
6186         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6187         undefine macro.
6188         (_Mdouble_END_NAMESPACE): Likewise.
6189         * ctype/ctype.h: Do not handle C++ namespaces.
6190         * libio/bits/stdio-ldbl.h: Likewise.
6191         * libio/stdio.h: Likewise.
6192         * locale/locale.h: Likewise.
6193         * math/bits/mathcalls.h: Likewise.
6194         * setjmp/setjmp.h: Likewise.
6195         * signal/signal.h: Likewise.
6196         * stdlib/bits/stdlib-float.h: Likewise.
6197         * stdlib/bits/stdlib-ldbl.h: Likewise.
6198         * stdlib/stdlib.h: Likewise.
6199         * string/string.h: Likewise.
6200         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6201         * time/bits/types/clock_t.h: Likewise.
6202         * time/bits/types/struct_tm.h: Likewise.
6203         * time/bits/types/time_t.h: Likewise.
6204         * time/time.h: Likewise.
6205         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6206         * wcsmbs/uchar.h: Likewise.
6207         * wcsmbs/wchar.h: Likewise.
6208         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6209         * wctype/wctype.h: Do not handle C++ namespaces.
6210         * scripts/begin-end-check.pl: Remove.
6211         * Makefile (installed-headers): Likewise.
6212         (tests-special): Do not add $(objpfx)begin-end-check.out.
6213         ($(objpfx)begin-end-check.out): Remove.
6215 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
6216             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6218         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6219         (DL_PLATFORM_INIT): New define.
6220         (dl_platform_init): New function.
6221         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6222         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6223         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6224         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6225         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6227 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6229         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6230         instead of PIC.
6232 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6234         [BZ #21094]
6235         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6236         24+24+24-bit pi for wider range of values around pi/2.
6237         * math/auto-libm-test-in: Add more tests of cos and tan.
6238         * math/auto-libm-test-out-cos: Regenerated.
6239         * math/auto-libm-test-out-tan: Likewise.
6241 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6243         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6244         (RTLD_START): Don't record stack end address in _dl_start_user.
6246 2017-03-15  Alexey Neyman  <stilor@att.net>
6248         [BZ #21088]
6249         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6250         around definitions match those around use.
6252 2017-03-15  Alexey Neyman  <stilor@att.net>
6254         * configure.ac: Avoid empty subexpression in grep.
6255         * configure: Regenerate.
6257 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6259         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6260         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6261         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6262         (test_wrp_rv): Fix format.
6263         (test_wrp_rv2): New macro.
6264         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6265         binaries.
6267 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6269         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6270         Use a union when storing pointers.
6271         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6272         cast result when passing to INIT_VEC_PTRS_LOOP.
6273         (VECTOR_WRAPPER_fFF_3): Likewise.
6274         (VECTOR_WRAPPER_fFF_4): Likewise.
6276 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6278         * include/bits/mathcalls-helper-functions.h: New file.
6279         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6280         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6281         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6282         math/bits/mathcalls-helper-functions.h.
6283         * math/bits/mathcalls-helper-functions.h: New file.
6284         * math/math.h: Include bits/mathcalls-helper-functions.h for
6285         float, double, and long double.
6287 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6289         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6290         instead of feraiseexcept.
6292 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6294         [BZ #21243]
6295         * support/temp_file.c (support_delete_temp_files): Add comment
6296         about ignored errors.
6298 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6300         [BZ #21244]
6301         * support/xclose.c: New file.
6302         * support/Makefile (libsupport-routines): Add xclose.
6303         * support/xunistd.h (xclose): Declare.
6304         * support/resolv_test.c (server_thread_tcp_client)
6305         (server_thread_tcp, make_server_sockets, resolv_test_start)
6306         (resolv_test_end): Call xclose instead of close.
6307         * support/support_enter_network_namespace.c
6308         (support_enter_network_namespace): Likewise.
6309         * support/support_run_diff.c (write_to_temp_file): Likewise.
6311 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6313         * support/support_format_dns_packet.c (support_format_dns_packet):
6314         Handle CNAME records in the response.  Extract RDATA names from
6315         rdata, not the whole packet.  Check AAAA record length.
6316         * support/tst-support_format_dns_packet.c: New file.
6317         * support/Makefile (tests): Add tst-support_format_dns_packet.
6318         (tst-support_format_dns_packet): Link against libresolv.
6320 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6322         [BZ #21232]
6323         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6324         posix_fadvise64 weak_alias for static build.
6326 2017-03-14  Andreas Schwab  <schwab@suse.de>
6328         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6329         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6330         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6331         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6332         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6333         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6334         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6335         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6337 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6339         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6340         posix error code.
6341         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6343 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6345         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6346         no_isolate usage for SH.
6348 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6350         [BZ #15105]
6351         [BZ #19463]
6352         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6353         * inet/rcmd.c (rcmd_af): Likewise.
6354         * inet/rexec.c   (rexec_af): Likewise.
6355         * intl/dcigettext.c (_LIBC): Likewise.
6356         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6357         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6358         * locale/setlocale.c (setlocale): Likewise.
6359         * posix/spawn_faction_addopen.c
6360         (posix_spawn_file_actions_addopen): Likewise.
6361         * stdlib/putenv.c (putenv): Use __strndup.
6362         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6364         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6365         (__Need_M_And_C) Remove define/undef.
6366         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6367         (__malloc_and_calloc_defined): Remove define.
6368         * string/bits/string2.h (__strdup): Remove define.
6369         (strdup): Likewise.
6370         (__strndup): Likewise.
6371         (strndup): Likewise.
6373 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6375         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6376         macro.
6377         (IPV6_ADDR_PREFERENCES): Likewise.
6378         (IPV6_MINHOPCOUNT): Likewise.
6379         (IPV6_ORIGDSTADDR): Likewise.
6380         (IPV6_RECVORIGDSTADDR): Likewise.
6381         (IPV6_TRANSPARENT): Likewise.
6382         (IPV6_UNICAST_IF): Likewise.
6383         (IPV6_RECVFRAGSIZE): Likewise.
6385 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6387         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6389 2017-03-12  Alexey Neyman <stilor@att.net>
6391         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6392         in R_SH_DIR32 case is always false when inlined from
6393         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6395 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6398         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6399         __ASSUME_SEND_SYSCALL.
6401 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6403         * sunrpc/Makefile: don't build and install rpcsvc header
6404         files, rpcgen and librpcsvc.a by default.
6406 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6408         * math/auto-libm-test-out-catan: Regenerated.
6409         * math/auto-libm-test-out-catanh: Likewise.
6410         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6412 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6414         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6415         for long double with corrected test expectations.
6417 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6419         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6420         Define.
6421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6422         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6423         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6424         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6425         * sysdeps/unix/sysv/linux/tile/sysdep.h
6426         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6427         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6428         (__ASSUME_RECV_SYSCALL): Define.
6429         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6430         (__ASSUME_RECV_SYSCALL): Likewise.
6431         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6432         (__ASSUME_RECV_SYSCALL): Likewise.
6433         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6434         (__ASSUME_RECV_SYSCALL): Likewise.
6435         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6436         (__ASSUME_RECV_SYSCALL): Likewise.
6437         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6438         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6440         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6441         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6442         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6443         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6444         auto-generation list.
6445         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6446         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6447         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6448         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6449         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6450         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6451         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6452         __ASSUME_SENDTO_SYSCALL.
6453         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6454         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6455         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6457         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6458         auto-generation list.
6459         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6460         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6461         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6462         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6463         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6464         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6465         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6466         * sysdeps/unix/sysv/linux/kernel-features.h
6467         (__ASSUME_SENDTO_SYSCALL): Define by default.
6468         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6469         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6470         __NR_sendto.
6471         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6472         (__ASSUME_SENDTO_SYSCALL): Likewise.
6473         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6474         (__ASSUME_SENDTO_SYSCALL): Likewise.
6475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6476         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6477         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6478         (__ASSUME_SENDTO_SYSCALL): Likewise.
6479         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6480         (__ASSUME_SENDTO_SYSCALL): Likewise.
6481         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6483         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6484         auto-generation list.
6485         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6486         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6487         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6488         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6489         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6490         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6491         (__ASSUME_RECV_SYSCALL): New define.
6492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6493         (__ASSUME_RECV_SYSCALL): Likewise.
6494         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6495         (__ASSUME_RECV_SYSCALL): Likewise.
6496         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6497         (__ASSUME_RECV_SYSCALL): Likewise.
6498         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6499         (__ASSUME_RECV_SYSCALL): Likewise.
6500         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6501         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6503         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6504         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6505         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6506         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6507         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6508         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6509         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6510         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6511         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6513         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6514         auto-generation list.
6515         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6516         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6517         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6518         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6519         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6520         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6521         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6522         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6523         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6524         * sysdeps/unix/sysv/linux/kernel-features.h
6525         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6526         __NR_recvfrom.
6527         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6528         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6529         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6530         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6532         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6533         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6534         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6535         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6536         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6538         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6539         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6541         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6542         auto-generation list.
6543         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6544         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6545         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6546         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6547         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6548         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6549         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6550         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6551         * sysdeps/unix/sysv/linux/kernel-features.h
6552         (__ASSUME_CONNECT_SYSCALL): Define.
6553         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6554         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6555         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6556         (__ASSUME_CONNECT_SYSCALL): Likewise.
6557         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6558         (__ASSUME_CONNECT_SYSCALL): Likewise.
6559         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6560         (__ASSUME_CONNECT_SYSCALL): Likewise.
6562         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6563         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6564         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6565         auto-generation list.
6566         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6567         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6568         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6569         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6570         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6571         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6572         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6573         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6574         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6575         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6576         * sysdeps/unix/sysv/linux/kernel-features.h
6577         (__ASSUME_ACCEPT_SYSCALL): New define.
6578         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6579         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6580         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6581         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6582         (__ASSUME_ACCEPT_SYSCALL): Define.
6583         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6584         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6585         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6586         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6587         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6588         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6589         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6590         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6591         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6593 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6594             Zack Weinberg  <zackw@panix.com>
6596         * posix/test-errno.c: New file.
6597         * posix/Makefile (tests): Add test-errno.
6598         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6599         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6601 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6603         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6605 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6607         * time/tzset.c (compute_offset): Open-code min macro.
6608         (min, max, sign): Remove.
6610 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6612         [BZ #15576]
6613         Remove TZNAME_MAX limit from sysconf.
6614         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6615         declaration.
6616         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6617         compute_tzname_max.
6618         (compute_tzname_max): Remove.
6619         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6620         (update_vars): Do not update __tzname_cur_max.
6621         (tzset_internal): Remove argument.
6622         (__tzset): Adjust call to tzset_internal.
6623         (__tz_convert): Likewise.
6625         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6626         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6627         * manual/conf.texi (Sysconf Definition): Update comment.
6629 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6631         [BZ #21209]
6632         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6633         AT_SECURE processes.
6634         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6635         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6636         (test_child): Likewise.
6637         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6639 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6641         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6643 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6645         * sysdeps/s390/atomic-machine.h
6646         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6647         (__arch_compare_and_exchange_val_8_acq,
6648         __arch_compare_and_exchange_val_16_acq,
6649         __arch_compare_and_exchange_val_32_acq,
6650         __arch_compare_and_exchange_val_64_acq):
6651         Delete macro.
6652         (atomic_compare_and_exchange_val_acq,
6653         atomic_compare_and_exchange_val_rel,
6654         atomic_compare_and_exchange_bool_acq,
6655         catomic_compare_and_exchange_bool_acq,
6656         atomic_exchange_acq, atomic_exchange_rel,
6657         atomic_exchange_and_add_acq,
6658         atomic_exchange_and_add_rel,
6659         catomic_exchange_and_add, atomic_or_val,
6660         atomic_or, catomic_or, atomic_bit_test_set,
6661         atomic_and_val, atomic_and, catomic_and):
6662         Define macros with help of C11 atomic builtins.
6664 2017-03-03  Justus Winter <justus@gnupg.org>
6666         * sysdeps/mach/hurd/ftruncate64.c: New file.
6667         * sysdeps/mach/hurd/truncate64.c: Likewise.
6669 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6671         * time/tzfile.c (NOID): Do not define.
6672         * time/tzset.c (NOID): Likewise.
6674 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6676         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6678 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6680         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6682 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6684         [BZ #21015]
6685         * manual/install.texi (Configuring and compiling): Document
6686         --enable-bind-now.
6687         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6688         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6689         (format.lds): Likewise.
6690         [bind-now] (LDFLAGS-c.so): Remove.
6691         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6692         be R_X86_64_GLOB_DAT.
6693         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6694         relocation can be R_386_GLOB_DAT.
6695         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6696         relocaiton can be R_ALPHA_GLOB_DAT.
6697         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6699 2017-03-01  Zack Weinberg  <zackw@panix.com>
6701         * include/libc-pointer-arith.h: New file.  Define
6702         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6703         PTR_ALIGN_DOWN here.
6704         * include/libc-internal.h: Definitions of above macros
6705         moved from here.  Don't include libc-diag.h anymore either.
6706         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6707         Don't include libc-internal.h.
6709         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6710         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6711         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6712         * string/strcoll_l.c, sysdeps/nacl/brk.c
6713         * sysdeps/unix/clock_settime.c
6714         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6715         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6716         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6718         Don't include libc-internal.h.
6720         * elf/get-dynamic-info.h, iconv/loop.c
6721         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6722         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6723         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6724         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6725         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6726         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6727         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6729         * sysdeps/ieee754/ldbl-128/k_tanl.c
6730         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6731         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6732         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6733         Include libc-diag.h instead of libc-internal.h.
6735         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6736         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6737         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6738         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6739         * sysdeps/unix/sysv/linux/spawni.c
6740         * sysdeps/x86_64/nptl/tls.h:
6741         Include libc-pointer-arith.h instead of libc-internal.h.
6743         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6744         * sysdeps/x86_64/atomic-machine.h:
6745         Add multiple include guard.
6747         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6748         * string/strcasestr.c: No need to include config.h.
6749         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6750         sys/auxv.h. Don't include sysdep.h.
6751         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6753         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6754         DL_LOOKUP_ADDRESS.
6755         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6756         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6757         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6758         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6759         of ARTIFICIAL_LIMIT.
6760         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6761         declaration of __clone2.
6763 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6765         * scripts/backport-support.sh (latest_commit): New file.
6767 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6769         [BZ #20257]
6770         * inet/Makefile (routines): Add deadline.
6771         (tests-static): Add tst-deadline.
6772         * inet/net-internal.h (struct deadline_current_time)
6773         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6774         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6775         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6776         * inet/deadline.c: New file.
6777         * inet/tst-deadline.c: Likewise.
6778         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6779         tst-udp-timeout, tst-udp-garbage.
6780         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6781         explicitly.
6782         (tst-udp-garbage): Likewise.  Also link against thread library.
6783         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6784         struct layout is part of the ABI.
6785         (clntudp_call): Rework timeout handling.
6786         * sunrpc/tst-udp-garbage.c: New file.
6787         * sunrpc/tst-udp-nonblocking.c: Likewise.
6788         * sunrpc/tst-udp-timeout.c: Likewise.
6790 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6792         [BZ #5010]
6793         * sunrpc/svc.c (svc_is_mapped): Remove.
6794         (svc_unregister): Obtain mapped status while the service is still
6795         registered.
6796         * sunrpc/Makefile [have-thread-library] (tests): Add
6797         tst-svc_register.
6798         (tst-svc_register): Link against libc.so explicitly and the thread
6799         library.
6800         * sunrpc/tst-svc_register.c: New file.
6802 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6804         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6805         * sysdeps/pthread/bits/sigthread.h: Likewise.
6807 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6809         [BZ #21115]
6810         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6811         * sunrpc/Makefile (tests): Add tst-udp-error.
6812         (tst-udp-error): Link against libc.so explicitly.
6813         * sunrpc/tst-udp-error: New file.
6815 2017-02-25  Zack Weinberg  <zackw@panix.com>
6817         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6818         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6820         * sysdeps/generic/math_ldbl.h
6821         * sysdeps/ia64/fpu/math_ldbl.h
6822         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6824         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6825         * sysdeps/powerpc/fpu/math_ldbl.h
6826         * sysdeps/x86_64/fpu/math_ldbl.h:
6827         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6828         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6829         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6830         Add copyright notices.
6832         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6833         Don't use EXTRACT_WORDS64.
6835         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6836         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6837         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6838         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6839         Include math_ldbl.h, not math_private.h.
6841 2017-02-25  Zack Weinberg  <zackw@panix.com>
6843         * include/libc-diag.h: New file.  Define ignore_value,
6844         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6845         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6847         * include/libc-internal.h: Definitions of above macros moved from
6848         here.  Include libc-diag.h.  Add copyright notice.
6850         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6851         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6852         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6853         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6854         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6855         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6856         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6857         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6858         Include libc-diag.h instead of libc-internal.h.
6860         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6861         call to unsetenv (NULL).
6862         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6863         call to pthread_mutexattr_destroy (NULL).
6865 2017-02-25  Zack Weinberg  <zackw@panix.com>
6867         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6868         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6869         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6870         gets was removed from C++ in C++14.
6871         * include/stdio.h: Remove redundant declaration of gets.
6872         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6873         be declared, since we are testing it.
6874         * stdio-common/Makefile (tst-gets.c): Compile with
6875         -Wno-deprecated-declarations.
6876         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6877         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6878         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6879         Compile with -Wno-deprecated-declarations.
6881 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6883         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6884         numbers.
6886 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6888         * resolv/tst-resolv-qtypes.c (domain):
6889         Change type to const pointer to const char.
6891 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6893         * math/Makefile (libm-tests-generated): Remove variable.
6894         (libm-tests-base-normal): New variable.
6895         (libm-tests-base-finite): Likewise.
6896         (libm-tests-base-inline): Likewise.
6897         (libm-tests-base): Likewise.
6898         (libm-tests-normal): Likewise.
6899         (libm-tests-finite): Likewise.
6900         (libm-tests-inline): Likewise.
6901         (libm-tests-vector): Likewise.
6902         (libm-tests): Define in terms of these new variables.
6903         (libm-tests-for-type): New variable.
6904         (libm-tests.o): Move definition.
6905         (tests): Move addition of $(libm-tests).
6906         (generated): Update for new and removed libm test files.
6907         ($(objpfx)libm-test.c): Remove target.
6908         ($(objpfx)libm-have-vector-test.h): Likewise.
6909         (CFLAGS-test-double-vlen2.c): Remove variable.
6910         (CFLAGS-test-double-vlen4.c): Likewise.
6911         (CFLAGS-test-double-vlen8.c): Likewise.
6912         (CFLAGS-test-float-vlen4.c): Likewise.
6913         (CFLAGS-test-float-vlen8.c): Likewise.
6914         (CFLAGS-test-float-vlen16.c): Likewise.
6915         (CFLAGS-test-float.c): Likewise.
6916         (CFLAGS-test-float-finite.c): Likewise.
6917         (CFLAGS-libm-test-support-float.c): Likewise.
6918         (CFLAGS-test-double.c): Likewise.
6919         (CFLAGS-test-double-finite.c): Likewise.
6920         (CFLAGS-libm-test-support-double.c): Likewise.
6921         (CFLAGS-test-ldouble.c): Likewise.
6922         (CFLAGS-test-ldouble-finite.c): Likewise.
6923         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6924         (libm-test-inline-cflags): New variable.
6925         (CFLAGS-test-ifloat.c): Remove variable.
6926         (CFLAGS-test-idouble.c): Likewise.
6927         (CFLAGS-test-ildouble.c): Likewise.
6928         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6929         dependencies.
6930         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6931         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6932         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6933         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6934         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6935         Likewise.
6936         (dependencies on libm-test-support-*.o): Remove.
6937         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6938         rules using iterators.
6939         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6940         Likewise.
6941         ($(objpfx)libm-test-support-$(o).o): Likewise.
6942         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6943         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6944         instead.
6945         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6946         define rule instead.
6947         * math/README.libm-test: Update.
6948         * math/libm-test-acos.inc: Include libm-test-driver.c.
6949         (do_test): New function.
6950         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6951         (do_test): New function.
6952         * math/libm-test-asin.inc: Include libm-test-driver.c.
6953         (do_test): New function.
6954         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6955         (do_test): New function.
6956         * math/libm-test-atan.inc: Include libm-test-driver.c.
6957         (do_test): New function.
6958         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6959         (do_test): New function.
6960         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6961         (do_test): New function.
6962         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6963         (do_test): New function.
6964         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6965         (do_test): New function.
6966         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6967         (do_test): New function.
6968         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6969         (do_test): New function.
6970         * math/libm-test-carg.inc: Include libm-test-driver.c.
6971         (do_test): New function.
6972         * math/libm-test-casin.inc: Include libm-test-driver.c.
6973         (do_test): New function.
6974         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6975         (do_test): New function.
6976         * math/libm-test-catan.inc: Include libm-test-driver.c.
6977         (do_test): New function.
6978         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6979         (do_test): New function.
6980         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6981         (do_test): New function.
6982         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6983         (do_test): New function.
6984         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6985         (do_test): New function.
6986         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6987         (do_test): New function.
6988         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6989         (do_test): New function.
6990         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6991         (do_test): New function.
6992         * math/libm-test-clog.inc: Include libm-test-driver.c.
6993         (do_test): New function.
6994         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6995         (do_test): New function.
6996         * math/libm-test-conj.inc: Include libm-test-driver.c.
6997         (do_test): New function.
6998         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6999         (do_test): New function.
7000         * math/libm-test-cos.inc: Include libm-test-driver.c.
7001         (do_test): New function.
7002         * math/libm-test-cosh.inc: Include libm-test-driver.c.
7003         (do_test): New function.
7004         * math/libm-test-cpow.inc: Include libm-test-driver.c.
7005         (do_test): New function.
7006         * math/libm-test-cproj.inc: Include libm-test-driver.c.
7007         (do_test): New function.
7008         * math/libm-test-creal.inc: Include libm-test-driver.c.
7009         (do_test): New function.
7010         * math/libm-test-csin.inc: Include libm-test-driver.c.
7011         (do_test): New function.
7012         * math/libm-test-csinh.inc: Include libm-test-driver.c.
7013         (do_test): New function.
7014         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
7015         (do_test): New function.
7016         * math/libm-test-ctan.inc: Include libm-test-driver.c.
7017         (do_test): New function.
7018         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
7019         (do_test): New function.
7020         * math/libm-test-erf.inc: Include libm-test-driver.c.
7021         (do_test): New function.
7022         * math/libm-test-erfc.inc: Include libm-test-driver.c.
7023         (do_test): New function.
7024         * math/libm-test-exp.inc: Include libm-test-driver.c.
7025         (do_test): New function.
7026         * math/libm-test-exp10.inc: Include libm-test-driver.c.
7027         (do_test): New function.
7028         * math/libm-test-exp2.inc: Include libm-test-driver.c.
7029         (do_test): New function.
7030         * math/libm-test-expm1.inc: Include libm-test-driver.c.
7031         (do_test): New function.
7032         * math/libm-test-fabs.inc: Include libm-test-driver.c.
7033         (do_test): New function.
7034         * math/libm-test-fdim.inc: Include libm-test-driver.c.
7035         (do_test): New function.
7036         * math/libm-test-floor.inc: Include libm-test-driver.c.
7037         (do_test): New function.
7038         * math/libm-test-fma.inc: Include libm-test-driver.c.
7039         (do_test): New function.
7040         * math/libm-test-fmax.inc: Include libm-test-driver.c.
7041         (do_test): New function.
7042         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
7043         (do_test): New function.
7044         * math/libm-test-fmin.inc: Include libm-test-driver.c.
7045         (do_test): New function.
7046         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
7047         (do_test): New function.
7048         * math/libm-test-fmod.inc: Include libm-test-driver.c.
7049         (do_test): New function.
7050         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
7051         (do_test): New function.
7052         * math/libm-test-frexp.inc: Include libm-test-driver.c.
7053         (do_test): New function.
7054         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
7055         (do_test): New function.
7056         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
7057         (do_test): New function.
7058         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
7059         (do_test): New function.
7060         * math/libm-test-hypot.inc: Include libm-test-driver.c.
7061         (do_test): New function.
7062         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
7063         (do_test): New function.
7064         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
7065         (do_test): New function.
7066         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
7067         (do_test): New function.
7068         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
7069         (do_test): New function.
7070         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
7071         (do_test): New function.
7072         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
7073         (do_test): New function.
7074         * math/libm-test-isinf.inc: Include libm-test-driver.c.
7075         (do_test): New function.
7076         * math/libm-test-isless.inc: Include libm-test-driver.c.
7077         (do_test): New function.
7078         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
7079         (do_test): New function.
7080         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
7081         (do_test): New function.
7082         * math/libm-test-isnan.inc: Include libm-test-driver.c.
7083         (do_test): New function.
7084         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
7085         (do_test): New function.
7086         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
7087         (do_test): New function.
7088         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
7089         (do_test): New function.
7090         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
7091         (do_test): New function.
7092         * math/libm-test-iszero.inc: Include libm-test-driver.c.
7093         (do_test): New function.
7094         * math/libm-test-j0.inc: Include libm-test-driver.c.
7095         (do_test): New function.
7096         * math/libm-test-j1.inc: Include libm-test-driver.c.
7097         (do_test): New function.
7098         * math/libm-test-jn.inc: Include libm-test-driver.c.
7099         (do_test): New function.
7100         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
7101         (do_test): New function.
7102         * math/libm-test-llogb.inc: Include libm-test-driver.c.
7103         (do_test): New function.
7104         * math/libm-test-llrint.inc: Include libm-test-driver.c.
7105         (do_test): New function.
7106         * math/libm-test-llround.inc: Include libm-test-driver.c.
7107         (do_test): New function.
7108         * math/libm-test-log.inc: Include libm-test-driver.c.
7109         (do_test): New function.
7110         * math/libm-test-log10.inc: Include libm-test-driver.c.
7111         (do_test): New function.
7112         * math/libm-test-log1p.inc: Include libm-test-driver.c.
7113         (do_test): New function.
7114         * math/libm-test-log2.inc: Include libm-test-driver.c.
7115         (do_test): New function.
7116         * math/libm-test-logb.inc: Include libm-test-driver.c.
7117         (do_test): New function.
7118         * math/libm-test-lrint.inc: Include libm-test-driver.c.
7119         (do_test): New function.
7120         * math/libm-test-lround.inc: Include libm-test-driver.c.
7121         (do_test): New function.
7122         * math/libm-test-modf.inc: Include libm-test-driver.c.
7123         (do_test): New function.
7124         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7125         (do_test): New function.
7126         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7127         (do_test): New function.
7128         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7129         (do_test): New function.
7130         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7131         (do_test): New function.
7132         * math/libm-test-nextup.inc: Include libm-test-driver.c.
7133         (do_test): New function.
7134         * math/libm-test-pow.inc: Include libm-test-driver.c.
7135         (do_test): New function.
7136         * math/libm-test-remainder.inc: Include libm-test-driver.c.
7137         (do_test): New function.
7138         * math/libm-test-remquo.inc: Include libm-test-driver.c.
7139         (do_test): New function.
7140         * math/libm-test-rint.inc: Include libm-test-driver.c.
7141         (do_test): New function.
7142         * math/libm-test-round.inc: Include libm-test-driver.c.
7143         (do_test): New function.
7144         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7145         (do_test): New function.
7146         * math/libm-test-scalb.inc: Include libm-test-driver.c.
7147         (do_test): New function.
7148         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7149         (do_test): New function.
7150         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7151         (do_test): New function.
7152         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7153         (do_test): New function.
7154         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7155         (do_test): New function.
7156         * math/libm-test-signbit.inc: Include libm-test-driver.c.
7157         (do_test): New function.
7158         * math/libm-test-significand.inc: Include libm-test-driver.c.
7159         (do_test): New function.
7160         * math/libm-test-sin.inc: Include libm-test-driver.c.
7161         (do_test): New function.
7162         * math/libm-test-sincos.inc: Include libm-test-driver.c.
7163         (do_test): New function.
7164         * math/libm-test-sinh.inc: Include libm-test-driver.c.
7165         (do_test): New function.
7166         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7167         (do_test): New function.
7168         * math/libm-test-tan.inc: Include libm-test-driver.c.
7169         (do_test): New function.
7170         * math/libm-test-tanh.inc: Include libm-test-driver.c.
7171         (do_test): New function.
7172         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7173         (do_test): New function.
7174         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7175         (do_test): New function.
7176         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7177         (do_test): New function.
7178         * math/libm-test-trunc.inc: Include libm-test-driver.c.
7179         (do_test): New function.
7180         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7181         (do_test): New function.
7182         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7183         (do_test): New function.
7184         * math/libm-test-y0.inc: Include libm-test-driver.c.
7185         (do_test): New function.
7186         * math/libm-test-y1.inc: Include libm-test-driver.c.
7187         (do_test): New function.
7188         * math/libm-test-yn.inc: Include libm-test-driver.c.
7189         (do_test): New function.
7190         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7191         (HAVE_VECTOR): Remove macro.
7192         (START): Do not call HAVE_VECTOR.
7193         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7194         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7195         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7196         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7197         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7198         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7199         * math/test-math-vector.h (FUNC_TEST): New macro.
7200         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7201         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7202         (double-vlen4-funcs): Likewise.
7203         (double-vlen4-avx2-funcs): Likewise.
7204         (double-vlen8-funcs): Likewise.
7205         (float-vlen4-funcs): Likewise.
7206         (float-vlen8-funcs): Likewise.
7207         (float-vlen8-avx2-funcs): Likewise.
7208         (float-vlen16-funcs): Likewise.
7209         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7210         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7211         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7212         macro.
7213         (TEST_VECTOR_sin): Likewise.
7214         (TEST_VECTOR_sincos): Likewise.
7215         (TEST_VECTOR_log): Likewise.
7216         (TEST_VECTOR_exp): Likewise.
7217         (TEST_VECTOR_pow): Likewise.
7218         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7219         Likewise.
7220         (TEST_VECTOR_sin): Likewise.
7221         (TEST_VECTOR_sincos): Likewise.
7222         (TEST_VECTOR_log): Likewise.
7223         (TEST_VECTOR_exp): Likewise.
7224         (TEST_VECTOR_pow): Likewise.
7225         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7226         Likewise.
7227         (TEST_VECTOR_sinf): Likewise.
7228         (TEST_VECTOR_sincosf): Likewise.
7229         (TEST_VECTOR_logf): Likewise.
7230         (TEST_VECTOR_expf): Likewise.
7231         (TEST_VECTOR_powf): Likewise.
7232         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7233         Likewise.
7234         (TEST_VECTOR_sinf): Likewise.
7235         (TEST_VECTOR_sincosf): Likewise.
7236         (TEST_VECTOR_logf): Likewise.
7237         (TEST_VECTOR_expf): Likewise.
7238         (TEST_VECTOR_powf): Likewise.
7239         * math/gen-libm-have-vector-test.sh: Remove file.
7240         * math/libm-test.inc: Likewise.
7241         * math/libm-test-support-double.c: Likewise.
7242         * math/libm-test-support-float.c: Likewise.
7243         * math/libm-test-support-ldouble.c: Likewise.
7244         * math/test-double-finite.c: Likewise.: Likewise.
7245         * math/test-double.c: Likewise.
7246         * math/test-float-finite.c: Likewise.
7247         * math/test-float.c: Likewise.
7248         * math/test-idouble.c: Likewise.
7249         * math/test-ifloat.c: Likewise.
7250         * math/test-ildouble.c: Likewise.
7251         * math/test-ldouble-finite.c: Likewise.
7252         * math/test-ldouble.c: Likewise.
7253         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7254         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7256         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7257         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7258         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7259         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7260         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7261         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7262         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7264 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7265            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7267         * math/Makefile: Add wrappers to gen-libm-calls.
7268         * math/w_acos_template.c: New file.
7269         * math/w_acosh_template.c: Likewise.
7270         * math/w_asin_template.c: Likewise.
7271         * math/w_atan2_template.c: Likewise.
7272         * math/w_atanh_template.c: Likewise.
7273         * math/w_cosh_template.c: Likewise.
7274         * math/w_exp10_template.c: Likewise.
7275         * math/w_exp2_template.c: Likewise.
7276         * math/w_exp_template.c: Likewise.
7277         * math/w_fmod_template.c: Likewise.
7278         * math/w_hypot_template.c: Likewise.
7279         * math/w_j0_template.c: Likewise.
7280         * math/w_j1_template.c: Likewise.
7281         * math/w_jn_template.c: Likewise.
7282         * math/w_lgamma_r_template.c: Likewise.
7283         * math/w_lgamma_template.c: Likewise.
7284         * math/w_log10_template.c: Likewise.
7285         * math/w_log2_template.c: Likewise.
7286         * math/w_log_template.c: Likewise.
7287         * math/w_pow_template.c: Likewise.
7288         * math/w_remainder_template.c: Likewise.
7289         * math/w_sinh_template.c: Likewise.
7290         * math/w_sqrt_template.c: Likewise.
7291         * math/w_tgamma_template.c: Likewise.: Likewise.
7292         * sysdeps/generic/math-type-macros-double.h
7293         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7294         the new wrappers.
7295         * sysdeps/generic/math-type-macros-float.h: Likewise.
7296         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7298 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7300         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7301         New enum constant and macro.
7303         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7304         kernel version to 4.10.
7306 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7308         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7310 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7314 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7316         * sysdeps/powerpc/tst-set_ppr.c: New file.
7317         Implement test cases for __ppc_set_ppr_* functions.
7318         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7319         in the list of tests.
7321 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7323         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7324         instead of test-skeleton.c.
7325         (do_test): Replaced pthread_create and pthread_join with
7326         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7327         Removed unneeded status variable.
7328         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7329         instead of test-skeleton.c.
7330         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7332 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7334         [BZ #20313]
7335         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7336         201605L, for Unicode 9.
7338 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7340         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7341         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7342         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7343         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7344         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7345         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7347 2017-02-19  Zack Weinberg  <zackw@panix.com>
7349         * rt/tst-mqueue4.c: Include stdint.h.
7351 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7353         * sysdeps/arm/libm-test-ulps: Update.
7354         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7355         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7356         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7358 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7360         [BZ #21029]
7361         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7362         * sysdeps/unix/sysv/linux/i386/Makefile
7363         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7364         (uses-6-syscall-arguments): Remove.
7365         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7366         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7367         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7368         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7369         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7370         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7371         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7372         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7373         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7374         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7375         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7376         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7377         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7378         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7379         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7380         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7381         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7382         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7383         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7384         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7385         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7386         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7387         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7388         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7389         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7390         Likewise.
7391         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7392         Likewise.
7393         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7394         Likewise.
7395         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7396         Likewise.
7397         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7398         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7399         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7400         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7401         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7402         ebp on inline assembly.
7403         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7404         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7405         Set if CAN_USE_REGISTER_ASM_EBP is set.
7407 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7409         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7410         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7412 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7414         * math/auto-libm-test-in: Add tests of catan and catanh.
7415         * math/auto-libm-test-out-catan: New generated file.
7416         * math/auto-libm-test-out-catanh: Likewise.
7417         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7418         Move tests with finite inputs, except divide-by-zero cases, to
7419         auto-libm-test-in.
7420         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7421         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7422         (libm-test-funcs-noauto): Remove catan and catanh.
7423         * sysdeps/i386/fpu/libm-test-ulps: Update.
7424         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7427         * math/auto-libm-test-in: Add tests of casin and casinh.
7428         * math/auto-libm-test-out-casin: New generated file.
7429         * math/auto-libm-test-out-casinh: Likewise.
7430         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7431         Move tests with finite inputs to auto-libm-test-in.
7432         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7433         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7434         (libm-test-funcs-noauto): Remove casin and casinh.
7435         * sysdeps/i386/fpu/libm-test-ulps: Update.
7436         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7439         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7440         * math/auto-libm-test-out-cacos: New generated file.
7441         * math/auto-libm-test-out-cacosh: Likewise.
7442         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7443         Move tests with finite inputs to auto-libm-test-in.
7444         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7445         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7446         (libm-test-funcs-noauto): Remove cacos and cacosh.
7447         * sysdeps/i386/fpu/libm-test-ulps: Update.
7448         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7451         Revert:
7452         2017-02-16  Zack Weinberg  <zackw@panix.com>
7454         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7455         Don't include init-arch.h.
7456         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7457         Don't include init-arch.h.
7459 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7461         [BZ #21171]
7462         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7463         +Inf and raise divide-by-zero when x is negative.
7464         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7465         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7466         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7467         -Inf and raise divide-by-zero when x = +-0.
7468         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7469         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7470         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7471         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7472         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7473         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7474         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7476 2017-02-16  Zack Weinberg  <zackw@panix.com>
7478         * scripts/build-many-glibcs.py (bot_build_mail): If the
7479         bot_config does not contain all of the necessary email-
7480         related settings, just print a warning and continue.
7482 2017-02-16  Zack Weinberg  <zackw@panix.com>
7484         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7485         * dirent/opendir-tst1.c: Include sys/stat.h.
7486         * dirent/tst-fdopendir.c: Include sys/stat.h.
7487         * dirent/tst-fdopendir2.c: Include stdlib.h.
7488         * dirent/tst-scandir.c: Include stdbool.h.
7489         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7490         * elf/tst-tls15.c: Include stdlib.h.
7491         * elf/tst-tls16.c: Include stdlib.h.
7492         * elf/tst-tls17.c: Include stdlib.h.
7493         * elf/tst-tls18.c: Include stdlib.h.
7494         * iconv/tst-iconv6.c: Include endian.h.
7495         * iconvdata/bug-iconv11.c: Include limits.h.
7496         * io/test-utime.c: Include stdint.h.
7497         * io/tst-faccessat.c: Include sys/stat.h.
7498         * io/tst-fchmodat.c: Include sys/stat.h.
7499         * io/tst-fchownat.c: Include sys/stat.h.
7500         * io/tst-fstatat.c: Include sys/stat.h.
7501         * io/tst-futimesat.c: Include sys/stat.h.
7502         * io/tst-linkat.c: Include sys/stat.h.
7503         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7504         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7505         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7506         * io/tst-openat.c: Include stdbool.h.
7507         * io/tst-readlinkat.c: Include sys/stat.h.
7508         * io/tst-renameat.c: Include sys/stat.h.
7509         * io/tst-symlinkat.c: Include sys/stat.h.
7510         * io/tst-unlinkat.c: Include stdbool.h.
7511         * libio/bug-memstream1.c: Include stdlib.h.
7512         * libio/bug-wmemstream1.c: Include stdlib.h.
7513         * libio/tst-fwrite-error.c: Include stdlib.h.
7514         * libio/tst-memstream1.c: Include stdlib.h.
7515         * libio/tst-memstream2.c: Include stdlib.h.
7516         * libio/tst-memstream3.c: Include stdlib.h.
7517         * malloc/tst-interpose-aux.c: Include stdint.h.
7518         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7519         * nptl/tst-basic7.c: Include limits.h.
7520         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7521         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7522         * nptl/tst-cancel4_1.c: Include stddef.h.
7523         * nptl/tst-cancel4_2.c: Include stddef.h.
7524         * nptl/tst-cond16.c: Include limits.h.
7525         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7526         * nptl/tst-cond18.c: Include limits.h.
7527         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7528         * nptl/tst-cond4.c: Include stdint.h.
7529         * nptl/tst-cond6.c: Include stdint.h.
7530         * nptl/tst-stack2.c: Include limits.h.
7531         * nptl/tst-stackguard1.c: Include stddef.h.
7532         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7533         * nptl/tst-tls4moda.c: Include stddef.h.
7534         Don't include stdio.h, unistd.h, or tls.h.
7535         * nptl/tst-tls4modb.c: Include stddef.h.
7536         Don't include stdio.h, unistd.h, or tls.h.
7537         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7538         * posix/tst-getaddrinfo2.c: Include stdio.h.
7539         * posix/tst-getaddrinfo5.c: Include stdio.h.
7540         * posix/tst-pathconf.c: Include sys/stat.h.
7541         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7542         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7543         * posix/tst-regex.c: Include stdint.h.
7544         Don't include spawn.h or spawn_int.h.
7545         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7546         * posix/tst-vfork3.c: Include sys/stat.h.
7547         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7548         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7549         * resolv/tst-resolv-search.c: Include stdlib.h.
7550         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7551         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7552         * stdlib/test-canon.c: Include sys/stat.h.
7553         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7554         * string/test-memchr.c: Include stdint.h.
7555         * string/tst-cmp.c: Include stdint.h.
7556         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7557         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7558         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7559         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7560         Don't include init-arch.h.
7561         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7562         Don't include init-arch.h.
7563         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7564         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7565         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7566         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7567         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7568         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7569         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7570         * time/clocktest.c: Include stdint.h.
7571         * time/tst-posixtz.c: Include stdint.h.
7572         * timezone/tst-timezone.c: Include stdint.h.
7574 2017-02-16  Zack Weinberg  <zackw@panix.com>
7576         * string/string.h [__USE_MISC]: Include strings.h.
7577         (__bzero, bcmp, bcopy, bzero, index, rindex)
7578         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7579         (ffs, ffsl, ffsll): Don't declare.
7580         * string/strings.h: Do not suppress the file if string.h has
7581         already been included.
7582         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7583         annotations.
7584         (index, rindex): Define inline forwarders even if
7585         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7586         (ffs): Use __attribute_const__.
7587         (ffsl, ffsll): Declare here.
7588         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7589         have now been standardized.
7590         * include/string.h (__bzero): Declare here.
7592         * bits/types.h: Move to posix/bits.
7593         * include/bits/types.h: New wrapper.
7595 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7597         * string/bits/string2.h (strcmp): Remove define.
7598         (__strcmp_cg): Likewise.
7599         (strncmp): Likewise.
7601 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7603         * include/string.h: Add __cplusplus check.
7605 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7607         [BZ #21134]
7608         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7609         "divide by zero" exception when the input is zero.
7610         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7611         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7612         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7613         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7614         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7616 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7618         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7619         and include ...
7620         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7621         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7622         to, and include ...
7623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7624         file.
7625         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7626         and include ...
7627         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7629         and include ...
7630         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7631         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7632         and include ...
7633         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7634         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7635         and include ...
7636         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7638         to, and include ...
7639         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7640         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7641         and include ...
7642         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7644 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7646         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7647         here.
7648         * math/libm-test-support.c (libm_test_init): Do not call
7649         INIT_ARCH_EXT here.
7650         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7651         (main): Call INIT_ARCH_EXT.
7653 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7655         [BZ #21130]
7656         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7657         with the "invalid" exception raised when x is -Inf.
7658         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7660 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7662         * string/bits/string2.h (strchr): Remove define.
7664 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7666         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7667         tst-avx512.
7668         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7669         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7670         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7671         ($(objpfx)tst-sse): New rule.
7672         ($(objpfx)tst-avx): Likewise.
7673         ($(objpfx)tst-avx512): Likewise.
7674         (CFLAGS-tst-avx-aux.c): New.
7675         (CFLAGS-tst-avxmod.c): Likewise.
7676         (CFLAGS-tst-avx512-aux.c): Likewise.
7677         (CFLAGS-tst-avx512mod.c): Likewise.
7678         * sysdeps/x86_64/tst-avx-aux.c: New file.
7679         * sysdeps/x86_64/tst-avx.c: Likewise.
7680         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7681         * sysdeps/x86_64/tst-avx512.c: Likewise.
7682         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7683         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7684         * sysdeps/x86_64/tst-sse.c: Likewise.
7685         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7687 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7689         * math/auto-libm-test-in: Add more tests of csin and csinh.
7690         * math/auto-libm-test-out-csin: Regenerated.
7691         * math/auto-libm-test-out-csinh: Likewise.
7692         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7693         auto-libm-test-in.
7694         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7696 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7698         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7699         libm-compat-calls-auto.
7700         (libm-compat-calls): Likewise.
7701         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7702         w_lgamma_compatF and k_standardF (merged from the items above).
7703         (libm-routines): Use libm-compat-calls, instead of
7704         libm-compat-calls-auto, with type-foreach.
7706 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7708         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7709         macro.
7710         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7711         (CFLAGS-test-ifloat.c): ... this.  Remove
7712         -U__LIBC_INTERNAL_MATH_INLINES.
7713         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7714         (CFLAGS-test-idouble.c): ... this.  Remove
7715         -U__LIBC_INTERNAL_MATH_INLINES.
7716         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7717         (CFLAGS-test-ildouble.c): ... this.  Remove
7718         -U__LIBC_INTERNAL_MATH_INLINES.
7720 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7722         * math/libm-test-support.c: New file.  Content from
7723         math/libm-test-driver.c.
7724         * math/libm-test-support.h: Likewise.
7725         * math/libm-test-support-double.c: New file.
7726         * math/libm-test-support-float.c: Likewise.
7727         * math/libm-test-support-ldouble.c: Likewise.
7728         * math/libm-test-driver.c: Remove main comment and header
7729         includes.  Include libm-test-support.h.
7730         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7731         (flag_test_errno): Remove static.
7732         (flag_test_exceptions): Likewise.
7733         (flag_test_finite): Likewise.
7734         (flag_test_inline): Likewise.
7735         (flag_test_mathvec): Likewise.
7736         (test_msg): Likewise.
7737         (NO_EXCEPTION): Remove.
7738         (INVALID_EXCEPTION): Likewise.
7739         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7740         (OVERFLOW_EXCEPTION): Likewise.
7741         (UNDERFLOW_EXCEPTION): Likewise.
7742         (INEXACT_EXCEPTION): Likewise.
7743         (INVALID_EXCEPTION_OK): Likewise.
7744         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7745         (OVERFLOW_EXCEPTION_OK): Likewise.
7746         (UNDERFLOW_EXCEPTION_OK): Likewise.
7747         (NO_INEXACT_EXCEPTION): Likewise.
7748         (EXCEPTIONS_OK): Likewise.
7749         (IGNORE_ZERO_INF_SIGN): Likewise.
7750         (TEST_NAN_SIGN): Likewise.
7751         (TEST_NAN_PAYLOAD): Likewise.
7752         (NO_TEST_INLINE): Likewise.
7753         (XFAIL_TEST): Likewise.
7754         (ERRNO_UNCHANGED): Likewise.
7755         (ERRNO_EDOM): Likewise.
7756         (ERRNO_ERANGE): Likewise.
7757         (IGNORE_RESULT): Likewise.
7758         (NON_FINITE): Likewise.
7759         (TEST_SNAN): Likewise.
7760         (NO_TEST_MATHVEC): Likewise.
7761         (__CONCATX): Likewise.
7762         (TYPE_MIN): Likewise.
7763         (TYPE_TRUE_MIN): Likewise.
7764         (TYPE_MAX): Likewise.
7765         (MIN_EXP): Likewise.
7766         (MAX_EXP): Likewise.
7767         (MANT_DIG): Likewise.
7768         (FSTR_MAX): Likewise.
7769         (ulp_idx): Likewise.
7770         (qtype_str): Remove static.
7771         (TEST_COND_binary32): Remove.
7772         (TEST_COND_binary64): Likewise.
7773         (TEST_COND_binary128): Likewise.
7774         (TEST_COND_ibm128): Likewise.
7775         (TEST_COND_intel96): Likewise.
7776         (TEST_COND_m68k96): Likewise.
7777         (TEST_COND_ibm128_libgcc): Likewise.
7778         (XFAIL_IBM128_LIBGCC): Likewise.
7779         (PAYLOAD_DIG): Likewise.
7780         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7781         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7782         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7783         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7784         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7785         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7786         (TEST_COND_long32): Likewise.
7787         (TEST_COND_long64): Likewise.
7788         (TEST_COND_before_rounding): Likewise.
7789         (TEST_COND_after_rounding): Likewise.
7790         (ulps_file_name): Likewise.
7791         (ulps_file): Likewise.
7792         (output_ulps): Likewise.
7793         (output_dir): Likewise.
7794         (noErrors): Likewise.
7795         (noTests): Likewise.
7796         (noExcTests): Likewise.
7797         (noErrnoTests): Likewise.
7798         (verbose): Likewise.
7799         (output_max_error): Likewise.
7800         (output_points): Likewise.
7801         (ignore_max_ulp): Likewise.
7802         (max_error): Likewise.
7803         (real_max_error): Likewise.
7804         (imag_max_error): Likewise.
7805         (prev_max_error): Likewise.
7806         (prev_real_max_error): Likewise.
7807         (prev_imag_max_error): Likewise.
7808         (max_valid_error): Likewise.
7809         (TYPE_DECIMAL_DIG): Likewise.
7810         (TYPE_HEX_DIG): Likewise.
7811         (fmt_ftostr): Likewise.
7812         (compare_ulp_data): Likewise.
7813         (find_ulps): Likewise.
7814         (init_max_error): Likewise.
7815         (set_max_error): Likewise.
7816         (print_float): Likewise.
7817         (print_screen): Likewise.
7818         (print_screen_max_error): Likewise.
7819         (update_stats): Likewise.
7820         (print_function_ulps): Likewise.
7821         (print_complex_function_ulps): Likewise.
7822         (fpstack_test): Likewise.
7823         (print_max_error): Likewise.
7824         (print_complex_max_error): Likewise.
7825         (test_single_exception): Likewise.
7826         (test_exceptions): Likewise.
7827         (test_single_errno): Likewise.
7828         (test_errno): Likewise.
7829         (ULPDIFF): Likewise.
7830         (ulp): Likewise.
7831         (check_float_internal): Likewise.
7832         (check_float): Likewise.
7833         (check_complex): Likewise.
7834         (check_int): Likewise.
7835         (check_long): Likewise.
7836         (check_bool): Likewise.
7837         (check_longlong): Likewise.
7838         (check_intmax_t): Likewise.
7839         (check_uintmax_t): Likewise.
7840         (enable_test): Likewise.
7841         (matherr): Likewise.
7842         (initialize): Likewise.
7843         (options): Likewise.
7844         (doc): Remove static.
7845         (argp): Likewise.
7846         (parse_opt): Remove.
7847         (check_ulp): Likewise.
7848         (libm_test_init): Likewise.
7849         (libm_test_finish): Likewise.
7850         * math/Makefile (libm-test-support): New variable.
7851         (test-extras): Add libm-test-support files.
7852         (extra-test-objs): Likewise.
7853         (CFLAGS-libm-test-support-float.c): New variable.
7854         (CFLAGS-libm-test-support-double.c): Likewise.
7855         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7856         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7857         libm-test-support objects.
7859 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7861         * math/Makefile (libm-calls): Move w_exp...
7862         (libm-compat-calls-auto): Here.
7864         * math/w_expl.c: Add suffix "_compat" to filename.
7865         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7866         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7867         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7868         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7869         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7871         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7874         * math/w_expl_compat.c: New file, copied from above.
7875         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7876         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7877         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7878         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7879         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7882         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7884         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7885         to filename.
7886         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7888         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7889         copied from above and adjusted for the new filenames.
7890         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7892 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7894         * math/Makefile (libm-calls): Move w_lgammaF...
7895         (libm-compat-calls-auto): Here.
7897         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7898         * math/w_lgammaf.c: Likewise.
7899         * math/w_lgammal.c: Likewise.
7901         * math/w_lgamma_compat2.c: New file, copied from above.
7902         * math/w_lgammaf_compat2.c: Likewise.
7903         * math/w_lgammal_compat2.c: Likewise.
7905 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7907         * math/Makefile (libm-calls): Move w_lgammaF_r...
7908         (libm-compat-calls-auto): Here.
7910         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7911         * math/w_lgammaf_r.c: Likewise.
7912         * math/w_lgammal_r.c: Likewise.
7913         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7914         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7915         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7917         * math/w_lgamma_r_compat.c: New file, copied from above.
7918         * math/w_lgammaf_r_compat.c: Likewise.
7919         * math/w_lgammal_r_compat.c: Likewise.
7920         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7921         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7922         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7924         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7925         to filename.
7926         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7928         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7929         copied from above and adjusted for the new filenames.
7930         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7932 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7935         calculation in SYSCALL_ERROR_HANDLER().
7937 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7939         * manual/contrib.texi: Fix typo.
7941 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7943         [BZ #21109]
7944         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7945         tunable_val_t as argument.
7946         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7947         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7948         argument.
7949         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7951 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7953         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7954         Add PTRACE_EVENT_STOP.
7955         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7956         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7957         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7958         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7959         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7960         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7962 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7964         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7965         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7966         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7967         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7968         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7969         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7970         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7971         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7972         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7973         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7975         [BZ #21112]
7976         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7977         12 bits zero.
7978         (cp_l): Update for new value of cp_h.
7979         * math/auto-libm-test-in: Add another test of pow.
7980         * math/auto-libm-test-out-pow: Regenerated.
7982 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7984         * manual/contrib.texi: Fix typo.
7986 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7988         [BZ #15998]
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7990         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7993 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7995         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7996         STRCHR as __strchr_power8.
7997         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7998         strlen as __strlen_power8.
8000 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8002         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
8003         unaligned load for shorter strings.
8004         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
8006 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8008         * math/libm-test-driver.c (flag_test_errno): New variable.
8009         (flag_test_exceptions): Likewise.
8010         (flag_test_finite): Likewise.
8011         (flag_test_inline): Likewise.
8012         (flag_test_mathvec): Likewise.
8013         (test_msg): Likewise.
8014         (ulp_idx): Likewise.
8015         (qtype_str): Likewise.
8016         (ULP_IDX): Remove macro.
8017         (QTYPE_STR): Likewise.
8018         (find_ulps): Use ulp_idx not ULP_IDX.
8019         (print_function_ulps): Use qtype_str, printed with %s, not
8020         QTYPE_STR, printed with concatentation to format string.
8021         (print_complex_function_ulps): Likewise.
8022         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
8023         (test_errno): Use flag_test_errno not TEST_ERRNO.
8024         (enable_test): Use flag_test_inline, flag_test_finite and
8025         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
8026         TEST_MATHVEC.
8027         (libm_test_init): New function.  Factored out of main.
8028         (libm_test_finish): Likewise.
8029         (main): Call libm_test_init and libm_test_finish and move most
8030         code to those functions.
8032         * math/libm-test-driver.c (STRX): New macro.
8033         (STR): Likewise.
8034         (STR_FLOAT): Likewise.
8035         (STR_VEC_LEN): Likewise.
8036         (TEST_MSG): Likewise.  Define here instead of expecting to be
8037         defined by including file.
8038         * math/test-double-finite.c (TEST_MSG): Remove macro.
8039         * math/test-double-vlen2.h (TEST_MSG): Likewise.
8040         * math/test-double-vlen4.h (TEST_MSG): Likewise.
8041         * math/test-double-vlen8.h (TEST_MSG): Likewise.
8042         * math/test-double.c (TEST_MSG): Likewise.
8043         * math/test-float-finite.c (TEST_MSG): Likewise.
8044         * math/test-float-vlen16.h (TEST_MSG): Likewise.
8045         * math/test-float-vlen4.h (TEST_MSG): Likewise.
8046         * math/test-float-vlen8.h (TEST_MSG): Likewise.
8047         * math/test-float.c (TEST_MSG): Likewise.
8048         * math/test-idouble.c (TEST_MSG): Likewise.
8049         * math/test-ifloat.c (TEST_MSG): Likewise.
8050         * math/test-ildouble.c (TEST_MSG): Likewise.
8051         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
8052         * math/test-ldouble.c (TEST_MSG): Likewise.
8054         * math/libm-test.inc: Move all tests of individual functions to
8055         libm-test-*.inc and #include libm-test-*.c files.
8056         (acos_test_data): Remove.
8057         (acos_test): Likewise.
8058         (acosh_test_data): Likewise.
8059         (acosh_test): Likewise.
8060         (asin_test_data): Likewise.
8061         (asin_test): Likewise.
8062         (asinh_test_data): Likewise.
8063         (asinh_test): Likewise.
8064         (atan_test_data): Likewise.
8065         (atan_test): Likewise.
8066         (atanh_test_data): Likewise.
8067         (atanh_test): Likewise.
8068         (atan2_test_data): Likewise.
8069         (atan2_test): Likewise.
8070         (cabs_test_data): Likewise.
8071         (cabs_test): Likewise.
8072         (cacos_test_data): Likewise.
8073         (cacos_test): Likewise.
8074         (cacosh_test_data): Likewise.
8075         (cacosh_test): Likewise.
8076         (canonicalize_test_data): Likewise.
8077         (canonicalize_test): Likewise.
8078         (carg_test_data): Likewise.
8079         (carg_test): Likewise.
8080         (casin_test_data): Likewise.
8081         (casin_test): Likewise.
8082         (casinh_test_data): Likewise.
8083         (casinh_test): Likewise.
8084         (catan_test_data): Likewise.
8085         (catan_test): Likewise.
8086         (catanh_test_data): Likewise.
8087         (catanh_test): Likewise.
8088         (cbrt_test_data): Likewise.
8089         (cbrt_test): Likewise.
8090         (ccos_test_data): Likewise.
8091         (ccos_test): Likewise.
8092         (ccosh_test_data): Likewise.
8093         (ccosh_test): Likewise.
8094         (ceil_test_data): Likewise.
8095         (ceil_test): Likewise.
8096         (cexp_test_data): Likewise.
8097         (cexp_test): Likewise.
8098         (cimag_test_data): Likewise.
8099         (cimag_test): Likewise.
8100         (clog_test_data): Likewise.
8101         (clog_test): Likewise.
8102         (clog10_test_data): Likewise.
8103         (clog10_test): Likewise.
8104         (conj_test_data): Likewise.
8105         (conj_test): Likewise.
8106         (copysign_test_data): Likewise.
8107         (copysign_test): Likewise.
8108         (cos_test_data): Likewise.
8109         (cos_test): Likewise.
8110         (cosh_test_data): Likewise.
8111         (cosh_test): Likewise.
8112         (cpow_test_data): Likewise.
8113         (cpow_test): Likewise.
8114         (cproj_test_data): Likewise.
8115         (cproj_test): Likewise.
8116         (creal_test_data): Likewise.
8117         (creal_test): Likewise.
8118         (csin_test_data): Likewise.
8119         (csin_test): Likewise.
8120         (csinh_test_data): Likewise.
8121         (csinh_test): Likewise.
8122         (csqrt_test_data): Likewise.
8123         (csqrt_test): Likewise.
8124         (ctan_test_data): Likewise.
8125         (ctan_test): Likewise.
8126         (ctanh_test_data): Likewise.
8127         (ctanh_test): Likewise.
8128         (erf_test_data): Likewise.
8129         (erf_test): Likewise.
8130         (erfc_test_data): Likewise.
8131         (erfc_test): Likewise.
8132         (exp_test_data): Likewise.
8133         (exp_test): Likewise.
8134         (exp10_test_data): Likewise.
8135         (exp10_test): Likewise.
8136         (pow10_test): Likewise.
8137         (exp2_test_data): Likewise.
8138         (exp2_test): Likewise.
8139         (expm1_test_data): Likewise.
8140         (expm1_test): Likewise.
8141         (fabs_test_data): Likewise.
8142         (fabs_test): Likewise.
8143         (fdim_test_data): Likewise.
8144         (fdim_test): Likewise.
8145         (floor_test_data): Likewise.
8146         (floor_test): Likewise.
8147         (fma_test_data): Likewise.
8148         (fma_test): Likewise.
8149         (fmax_test_data): Likewise.
8150         (fmax_test): Likewise.
8151         (fmaxmag_test_data): Likewise.
8152         (fmaxmag_test): Likewise.
8153         (fmin_test_data): Likewise.
8154         (fmin_test): Likewise.
8155         (fminmag_test_data): Likewise.
8156         (fminmag_test): Likewise.
8157         (fmod_test_data): Likewise.
8158         (fmod_test): Likewise.
8159         (fpclassify_test_data): Likewise.
8160         (fpclassify_test): Likewise.
8161         (frexp_test_data): Likewise.
8162         (frexp_test): Likewise.
8163         (fromfp_test_data): Likewise.
8164         (fromfp_test): Likewise.
8165         (fromfpx_test_data): Likewise.
8166         (fromfpx_test): Likewise.
8167         (getpayload_test_data): Likewise.
8168         (getpayload_test): Likewise.
8169         (hypot_test_data): Likewise.
8170         (hypot_test): Likewise.
8171         (ilogb_test_data): Likewise.
8172         (ilogb_test): Likewise.
8173         (iscanonical_test_data): Likewise.
8174         (iscanonical_test): Likewise.
8175         (iseqsig_test_data): Likewise.
8176         (iseqsig_test): Likewise.
8177         (isfinite_test_data): Likewise.
8178         (isfinite_test): Likewise.
8179         (finite_test): Likewise.
8180         (isgreater_test_data): Likewise.
8181         (isgreater_test): Likewise.
8182         (isgreaterequal_test_data): Likewise.
8183         (isgreaterequal_test): Likewise.
8184         (isinf_test_data): Likewise.
8185         (isinf_test): Likewise.
8186         (isless_test_data): Likewise.
8187         (isless_test): Likewise.
8188         (islessequal_test_data): Likewise.
8189         (islessequal_test): Likewise.
8190         (islessgreater_test_data): Likewise.
8191         (islessgreater_test): Likewise.
8192         (isnan_test_data): Likewise.
8193         (isnan_test): Likewise.
8194         (isnormal_test_data): Likewise.
8195         (isnormal_test): Likewise.
8196         (issignaling_test_data): Likewise.
8197         (issignaling_test): Likewise.
8198         (issubnormal_test_data): Likewise.
8199         (issubnormal_test): Likewise.
8200         (isunordered_test_data): Likewise.
8201         (isunordered_test): Likewise.
8202         (iszero_test_data): Likewise.
8203         (iszero_test): Likewise.
8204         (j0_test_data): Likewise.
8205         (j0_test): Likewise.
8206         (j1_test_data): Likewise.
8207         (j1_test): Likewise.
8208         (jn_test_data): Likewise.
8209         (jn_test): Likewise.
8210         (lgamma_test_data): Likewise.
8211         (lgamma_test): Likewise.
8212         (gamma_test): Likewise.
8213         (llogb_test_data): Likewise.
8214         (llogb_test): Likewise.
8215         (lrint_test_data): Likewise.
8216         (lrint_test): Likewise.
8217         (llrint_test_data): Likewise.
8218         (llrint_test): Likewise.
8219         (log_test_data): Likewise.
8220         (log_test): Likewise.
8221         (log10_test_data): Likewise.
8222         (log10_test): Likewise.
8223         (log1p_test_data): Likewise.
8224         (log1p_test): Likewise.
8225         (log2_test_data): Likewise.
8226         (log2_test): Likewise.
8227         (logb_test_data): Likewise.
8228         (logb_test): Likewise.
8229         (lround_test_data): Likewise.
8230         (lround_test): Likewise.
8231         (llround_test_data): Likewise.
8232         (llround_test): Likewise.
8233         (modf_test_data): Likewise.
8234         (modf_test): Likewise.
8235         (nearbyint_test_data): Likewise.
8236         (nearbyint_test): Likewise.
8237         (nextafter_test_data): Likewise.
8238         (nextafter_test): Likewise.
8239         (nextup_test_data): Likewise.
8240         (nextup_test): Likewise.
8241         (nextdown_test_data): Likewise.
8242         (nextdown_test): Likewise.
8243         (nexttoward_test_data): Likewise.
8244         (nexttoward_test): Likewise.
8245         (pow_test_data): Likewise.
8246         (pow_test): Likewise.
8247         (remainder_test_data): Likewise.
8248         (remainder_test): Likewise.
8249         (drem_test): Likewise.
8250         (remquo_test_data): Likewise.
8251         (remquo_test): Likewise.
8252         (rint_test_data): Likewise.
8253         (rint_test): Likewise.
8254         (round_test_data): Likewise.
8255         (round_test): Likewise.
8256         (roundeven_test_data): Likewise.
8257         (roundeven_test): Likewise.
8258         (scalb_test_data): Likewise.
8259         (scalb_test): Likewise.
8260         (scalbn_test_data): Likewise.
8261         (scalbn_test): Likewise.
8262         (ldexp_test): Likewise.
8263         (scalbln_test_data): Likewise.
8264         (scalbln_test): Likewise.
8265         (setpayload_test_data): Likewise.
8266         (setpayload_test): Likewise.
8267         (setpayloadsig_test_data): Likewise.
8268         (setpayloadsig_test): Likewise.
8269         (signbit_test_data): Likewise.
8270         (signbit_test): Likewise.
8271         (sin_test_data): Likewise.
8272         (sin_test): Likewise.
8273         (sincos_test_data): Likewise.
8274         (sincos_test): Likewise.
8275         (sinh_test_data): Likewise.
8276         (sinh_test): Likewise.
8277         (sqrt_test_data): Likewise.
8278         (sqrt_test): Likewise.
8279         (tan_test_data): Likewise.
8280         (tan_test): Likewise.
8281         (tanh_test_data): Likewise.
8282         (tanh_test): Likewise.
8283         (tgamma_test_data): Likewise.
8284         (tgamma_test): Likewise.
8285         (totalorder_test_data): Likewise.
8286         (totalorder_test): Likewise.
8287         (totalordermag_test_data): Likewise.
8288         (totalordermag_test): Likewise.
8289         (trunc_test_data): Likewise.
8290         (trunc_test): Likewise.
8291         (ufromfp_test_data): Likewise.
8292         (ufromfp_test): Likewise.
8293         (ufromfpx_test_data): Likewise.
8294         (ufromfpx_test): Likewise.
8295         (y0_test_data): Likewise.
8296         (y0_test): Likewise.
8297         (y1_test_data): Likewise.
8298         (y1_test): Likewise.
8299         (yn_test_data): Likewise.
8300         (yn_test): Likewise.
8301         (significand_test_data): Likewise.
8302         (significand_test): Likewise.
8303         * math/Makefile (auto-libm-test-out-files): Remove variable.
8304         (libm-test-funcs-noauto): New variable.
8305         (libm-test-funcs-all): Likewise.
8306         (libm-test-c-auto): Likewise.
8307         (libm-test-c-noauto): Likewise.
8308         (libm-tests-generated): Add $(libm-test-c-auto) and
8309         $(libm-test-c-noauto).
8310         (generated): Do not add auto-libm-test-out.
8311         (libm-test-c-auto-obj): New variable.
8312         (libm-test-c-noauto-obj): Likewise.
8313         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8314         ($(libm-test-c-noauto-obj)): New static pattern rule.
8315         ($(libm-test-c-auto-obj)): Likewise.
8316         (libm-test-incs): New variable.
8317         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8318         and pass it to gen-libm-have-vector-test.sh.
8319         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8320         be passed on command line.
8321         * math/libm-test-acos.inc: New file.  Content from
8322         math/libm-test.inc.
8323         * math/libm-test-acosh.inc: Likewise.
8324         * math/libm-test-asin.inc: Likewise.
8325         * math/libm-test-asinh.inc: Likewise.
8326         * math/libm-test-atan.inc: Likewise.
8327         * math/libm-test-atan2.inc: Likewise.
8328         * math/libm-test-atanh.inc: Likewise.
8329         * math/libm-test-cabs.inc: Likewise.
8330         * math/libm-test-cacos.inc: Likewise.
8331         * math/libm-test-cacosh.inc: Likewise.
8332         * math/libm-test-canonicalize.inc: Likewise.
8333         * math/libm-test-carg.inc: Likewise.
8334         * math/libm-test-casin.inc: Likewise.
8335         * math/libm-test-casinh.inc: Likewise.
8336         * math/libm-test-catan.inc: Likewise.
8337         * math/libm-test-catanh.inc: Likewise.
8338         * math/libm-test-cbrt.inc: Likewise.
8339         * math/libm-test-ccos.inc: Likewise.
8340         * math/libm-test-ccosh.inc: Likewise.
8341         * math/libm-test-ceil.inc: Likewise.
8342         * math/libm-test-cexp.inc: Likewise.
8343         * math/libm-test-cimag.inc: Likewise.
8344         * math/libm-test-clog.inc: Likewise.
8345         * math/libm-test-clog10.inc: Likewise.
8346         * math/libm-test-conj.inc: Likewise.
8347         * math/libm-test-copysign.inc: Likewise.
8348         * math/libm-test-cos.inc: Likewise.
8349         * math/libm-test-cosh.inc: Likewise.
8350         * math/libm-test-cpow.inc: Likewise.
8351         * math/libm-test-cproj.inc: Likewise.
8352         * math/libm-test-creal.inc: Likewise.
8353         * math/libm-test-csin.inc: Likewise.
8354         * math/libm-test-csinh.inc: Likewise.
8355         * math/libm-test-csqrt.inc: Likewise.
8356         * math/libm-test-ctan.inc: Likewise.
8357         * math/libm-test-ctanh.inc: Likewise.
8358         * math/libm-test-erf.inc: Likewise.
8359         * math/libm-test-erfc.inc: Likewise.
8360         * math/libm-test-exp.inc: Likewise.
8361         * math/libm-test-exp10.inc: Likewise.
8362         * math/libm-test-exp2.inc: Likewise.
8363         * math/libm-test-expm1.inc: Likewise.
8364         * math/libm-test-fabs.inc: Likewise.
8365         * math/libm-test-fdim.inc: Likewise.
8366         * math/libm-test-floor.inc: Likewise.
8367         * math/libm-test-fma.inc: Likewise.
8368         * math/libm-test-fmax.inc: Likewise.
8369         * math/libm-test-fmaxmag.inc: Likewise.
8370         * math/libm-test-fmin.inc: Likewise.
8371         * math/libm-test-fminmag.inc: Likewise.
8372         * math/libm-test-fmod.inc: Likewise.
8373         * math/libm-test-fpclassify.inc: Likewise.
8374         * math/libm-test-frexp.inc: Likewise.
8375         * math/libm-test-fromfp.inc: Likewise.
8376         * math/libm-test-fromfpx.inc: Likewise.
8377         * math/libm-test-getpayload.inc: Likewise.
8378         * math/libm-test-hypot.inc: Likewise.
8379         * math/libm-test-ilogb.inc: Likewise.
8380         * math/libm-test-iscanonical.inc: Likewise.
8381         * math/libm-test-iseqsig.inc: Likewise.
8382         * math/libm-test-isfinite.inc: Likewise.
8383         * math/libm-test-isgreater.inc: Likewise.
8384         * math/libm-test-isgreaterequal.inc: Likewise.
8385         * math/libm-test-isinf.inc: Likewise.
8386         * math/libm-test-isless.inc: Likewise.
8387         * math/libm-test-islessequal.inc: Likewise.
8388         * math/libm-test-islessgreater.inc: Likewise.
8389         * math/libm-test-isnan.inc: Likewise.
8390         * math/libm-test-isnormal.inc: Likewise.
8391         * math/libm-test-issignaling.inc: Likewise.
8392         * math/libm-test-issubnormal.inc: Likewise.
8393         * math/libm-test-isunordered.inc: Likewise.
8394         * math/libm-test-iszero.inc: Likewise.
8395         * math/libm-test-j0.inc: Likewise.
8396         * math/libm-test-j1.inc: Likewise.
8397         * math/libm-test-jn.inc: Likewise.
8398         * math/libm-test-lgamma.inc: Likewise.
8399         * math/libm-test-llogb.inc: Likewise.
8400         * math/libm-test-llrint.inc: Likewise.
8401         * math/libm-test-llround.inc: Likewise.
8402         * math/libm-test-log.inc: Likewise.
8403         * math/libm-test-log10.inc: Likewise.
8404         * math/libm-test-log1p.inc: Likewise.
8405         * math/libm-test-log2.inc: Likewise.
8406         * math/libm-test-logb.inc: Likewise.
8407         * math/libm-test-lrint.inc: Likewise.
8408         * math/libm-test-lround.inc: Likewise.
8409         * math/libm-test-modf.inc: Likewise.
8410         * math/libm-test-nearbyint.inc: Likewise.
8411         * math/libm-test-nextafter.inc: Likewise.
8412         * math/libm-test-nextdown.inc: Likewise.
8413         * math/libm-test-nexttoward.inc: Likewise.
8414         * math/libm-test-nextup.inc: Likewise.
8415         * math/libm-test-pow.inc: Likewise.
8416         * math/libm-test-remainder.inc: Likewise.
8417         * math/libm-test-remquo.inc: Likewise.
8418         * math/libm-test-rint.inc: Likewise.
8419         * math/libm-test-round.inc: Likewise.
8420         * math/libm-test-roundeven.inc: Likewise.
8421         * math/libm-test-scalb.inc: Likewise.
8422         * math/libm-test-scalbln.inc: Likewise.
8423         * math/libm-test-scalbn.inc: Likewise.
8424         * math/libm-test-setpayload.inc: Likewise.
8425         * math/libm-test-setpayloadsig.inc: Likewise.
8426         * math/libm-test-signbit.inc: Likewise.
8427         * math/libm-test-significand.inc: Likewise.
8428         * math/libm-test-sin.inc: Likewise.
8429         * math/libm-test-sincos.inc: Likewise.
8430         * math/libm-test-sinh.inc: Likewise.
8431         * math/libm-test-sqrt.inc: Likewise.
8432         * math/libm-test-tan.inc: Likewise.
8433         * math/libm-test-tanh.inc: Likewise.
8434         * math/libm-test-tgamma.inc: Likewise.
8435         * math/libm-test-totalorder.inc: Likewise.
8436         * math/libm-test-totalordermag.inc: Likewise.
8437         * math/libm-test-trunc.inc: Likewise.
8438         * math/libm-test-ufromfp.inc: Likewise.
8439         * math/libm-test-ufromfpx.inc: Likewise.
8440         * math/libm-test-y0.inc: Likewise.
8441         * math/libm-test-y1.inc: Likewise.
8442         * math/libm-test-yn.inc: Likewise.
8443         * math/README.libm-test: Update.
8445         * math/gen-auto-libm-tests.c: Update comment about use of program.
8446         (generate_output): Add argument FUNCTION.
8447         (main): Require extra argument.  Pass function name to
8448         generate_output.
8449         * math/Makefile (generated): Add auto-libm-test-out.
8450         (libm-test-funcs-auto): New variable.
8451         (auto-libm-test-out-files): New variable.
8452         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8453         Concatenate those files to form $(objpfx)auto-libm-test-out and
8454         use it as input to gen-libm-test.pl.
8455         * math/README.libm-test: Update.
8456         * math/auto-libm-test-out: Remove.
8457         * math/auto-libm-test-out-acos: New generated file.
8458         * math/auto-libm-test-out-acosh: Likewise.
8459         * math/auto-libm-test-out-asin: Likewise.
8460         * math/auto-libm-test-out-asinh: Likewise.
8461         * math/auto-libm-test-out-atan: Likewise.
8462         * math/auto-libm-test-out-atan2: Likewise.
8463         * math/auto-libm-test-out-atanh: Likewise.
8464         * math/auto-libm-test-out-cabs: Likewise.
8465         * math/auto-libm-test-out-carg: Likewise.
8466         * math/auto-libm-test-out-cbrt: Likewise.
8467         * math/auto-libm-test-out-ccos: Likewise.
8468         * math/auto-libm-test-out-ccosh: Likewise.
8469         * math/auto-libm-test-out-cexp: Likewise.
8470         * math/auto-libm-test-out-clog: Likewise.
8471         * math/auto-libm-test-out-clog10: Likewise.
8472         * math/auto-libm-test-out-cos: Likewise.
8473         * math/auto-libm-test-out-cosh: Likewise.
8474         * math/auto-libm-test-out-cpow: Likewise.
8475         * math/auto-libm-test-out-csin: Likewise.
8476         * math/auto-libm-test-out-csinh: Likewise.
8477         * math/auto-libm-test-out-csqrt: Likewise.
8478         * math/auto-libm-test-out-ctan: Likewise.
8479         * math/auto-libm-test-out-ctanh: Likewise.
8480         * math/auto-libm-test-out-erf: Likewise.
8481         * math/auto-libm-test-out-erfc: Likewise.
8482         * math/auto-libm-test-out-exp: Likewise.
8483         * math/auto-libm-test-out-exp10: Likewise.
8484         * math/auto-libm-test-out-exp2: Likewise.
8485         * math/auto-libm-test-out-expm1: Likewise.
8486         * math/auto-libm-test-out-fma: Likewise.
8487         * math/auto-libm-test-out-hypot: Likewise.
8488         * math/auto-libm-test-out-j0: Likewise.
8489         * math/auto-libm-test-out-j1: Likewise.
8490         * math/auto-libm-test-out-jn: Likewise.
8491         * math/auto-libm-test-out-lgamma: Likewise.
8492         * math/auto-libm-test-out-log: Likewise.
8493         * math/auto-libm-test-out-log10: Likewise.
8494         * math/auto-libm-test-out-log1p: Likewise.
8495         * math/auto-libm-test-out-log2: Likewise.
8496         * math/auto-libm-test-out-pow: Likewise.
8497         * math/auto-libm-test-out-sin: Likewise.
8498         * math/auto-libm-test-out-sincos: Likewise.
8499         * math/auto-libm-test-out-sinh: Likewise.
8500         * math/auto-libm-test-out-sqrt: Likewise.
8501         * math/auto-libm-test-out-tan: Likewise.
8502         * math/auto-libm-test-out-tanh: Likewise.
8503         * math/auto-libm-test-out-tgamma: Likewise.
8504         * math/auto-libm-test-out-y0: Likewise.
8505         * math/auto-libm-test-out-y1: Likewise.
8506         * math/auto-libm-test-out-yn: Likewise.
8508         * math/Makefile (generated): Do not include libm-test.stmp.
8509         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8510         on $(objpfx)libm-test.stmp.
8511         ($(objpfx)libm-test.stmp): Remove rule.
8512         ($(objpfx)libm-test-ulps.h): New rule.
8513         ($(objpfx)libm-test.c): Likewise.
8514         ($(objpfx)libm-have-vector-test.h): Likewise.
8515         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8516         individual generated files, not libm-test.stmp.
8518         * math/gen-libm-test.pl ($output_dir): Remove variable.
8519         ($srcdir): Likewise.
8520         ($opt_a): New variable.
8521         ($opt_c): Likewise.
8522         ($opt_C): Likewise.
8523         ($opt_H): Likewise.
8524         (-n): Make option take argument and use it as NewUlps output.
8525         (-a): New option.  Use its argument for auto-libm-test-out input.
8526         (-c): New option.  Use its argument for libm-test.inc input.
8527         (-C): New option.  Use its argument for libm-test.c output.
8528         (-H): New option.  Use its argument for libm-test-ulps.h output.
8529         (top level): Only process inputs needed to generate outputs
8530         specified by command-line options.  Only generate outputs
8531         specified by command-line options.
8532         * math/README.libm-test: Update example gen-libm-test.pl command.
8533         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8534         commands.
8535         (regen-ulps): Likewise.
8537 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8539         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8540         * include/string.h (index): Remove define.
8541         (rindex): Likewise.
8542         * misc/getttyent.c (__getttyent): Rename index to strchr.
8543         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8544         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8546 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8548         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8549         * math/libm-test.inc: Move all contents, other than tests of
8550         individual functions, to libm-test-driver.c.
8551         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8552         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8553         [!FE_UPWARD] (FE_UPWARD): Likewise.
8554         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8555         (NO_EXCEPTION): Likewise.
8556         (INVALID_EXCEPTION): Likewise.
8557         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8558         (OVERFLOW_EXCEPTION): Likewise.
8559         (UNDERFLOW_EXCEPTION): Likewise.
8560         (INEXACT_EXCEPTION): Likewise.
8561         (INVALID_EXCEPTION_OK): Likewise.
8562         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8563         (OVERFLOW_EXCEPTION_OK): Likewise.
8564         (UNDERFLOW_EXCEPTION_OK): Likewise.
8565         (NO_INEXACT_EXCEPTION): Likewise.
8566         (EXCEPTIONS_OK): Likewise.
8567         (IGNORE_ZERO_INF_SIGN): Likewise.
8568         (TEST_NAN_SIGN): Likewise.
8569         (TEST_NAN_PAYLOAD): Likewise.
8570         (NO_TEST_INLINE): Likewise.
8571         (XFAIL_TEST): Likewise.
8572         (ERRNO_UNCHANGED): Likewise.
8573         (ERRNO_EDOM): Likewise.
8574         (ERRNO_ERANGE): Likewise.
8575         (IGNORE_RESULT): Likewise.
8576         (NON_FINITE): Likewise.
8577         (TEST_SNAN): Likewise.
8578         (NO_TEST_MATHVEC): Likewise.
8579         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8580         (__CONCATX): Likewise.
8581         (TYPE_MIN): Likewise.
8582         (TYPE_TRUE_MIN): Likewise.
8583         (TYPE_MAX): Likewise.
8584         (MIN_EXP): Likewise.
8585         (MAX_EXP): Likewise.
8586         (MANT_DIG): Likewise.
8587         (FSTR_MAX): Likewise.
8588         (ULP_IDX): Likewise.
8589         (QTYPE_STR): Likewise.
8590         (TEST_COND_binary32): Likewise.
8591         (TEST_COND_binary64): Likewise.
8592         (TEST_COND_binary128): Likewise.
8593         (TEST_COND_ibm128): Likewise.
8594         (TEST_COND_intel96): Likewise.
8595         (TEST_COND_m68k96): Likewise.
8596         (TEST_COND_ibm128_libgcc): Likewise.
8597         (XFAIL_IBM128_LIBGCC): Likewise.
8598         (PAYLOAD_DIG): Likewise.
8599         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8600         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8601         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8602         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8603         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8604         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8605         (TEST_COND_long32): Likewise.
8606         (TEST_COND_long64): Likewise.
8607         (TEST_COND_before_rounding): Likewise.
8608         (TEST_COND_after_rounding): Likewise.
8609         (lit_pi_3_m_4_d): Likewise.
8610         (lit_pi_3_m_4_ln10_m_d): Likewise.
8611         (lit_pi_2_ln10_m_d): Likewise.
8612         (lit_pi_4_ln10_m_d): Likewise.
8613         (lit_pi_ln10_d): Likewise.
8614         (lit_pi_2_d): Likewise.
8615         (lit_pi_4_d): Likewise.
8616         (lit_pi): Likewise.
8617         (lit_e): Likewise.
8618         (ulps_file_name): Likewise.
8619         (ulps_file): Likewise.
8620         (output_ulps): Likewise.
8621         (output_dir): Likewise.
8622         (noErrors): Likewise.
8623         (noTests): Likewise.
8624         (noExcTests): Likewise.
8625         (noErrnoTests): Likewise.
8626         (verbose): Likewise.
8627         (output_max_error): Likewise.
8628         (output_points): Likewise.
8629         (ignore_max_ulp): Likewise.
8630         (plus_zero): Likewise.
8631         (minus_zero): Likewise.
8632         (plus_infty): Likewise.
8633         (minus_infty): Likewise.
8634         (qnan_value_pl): Likewise.
8635         (qnan_value): Likewise.
8636         (snan_value_pl): Likewise.
8637         (snan_value): Likewise.
8638         (max_value): Likewise.
8639         (min_value): Likewise.
8640         (min_subnorm_value): Likewise.
8641         (snan_value_ld): Likewise.
8642         (max_error): Likewise.
8643         (real_max_error): Likewise.
8644         (imag_max_error): Likewise.
8645         (prev_max_error): Likewise.
8646         (prev_real_max_error): Likewise.
8647         (prev_imag_max_error): Likewise.
8648         (max_valid_error): Likewise.
8649         (TYPE_DECIMAL_DIG): Likewise.
8650         (TYPE_HEX_DIG): Likewise.
8651         (fmt_ftostr): Likewise.
8652         (compare_ulp_data): Likewise.
8653         (find_ulps): Likewise.
8654         (init_max_error): Likewise.
8655         (set_max_error): Likewise.
8656         (print_float): Likewise.
8657         (print_screen): Likewise.
8658         (print_screen_max_error): Likewise.
8659         (update_stats): Likewise.
8660         (print_function_ulps): Likewise.
8661         (print_complex_function_ulps): Likewise.
8662         (fpstack_test): Likewise.
8663         (print_max_error): Likewise.
8664         (print_complex_max_error): Likewise.
8665         (test_single_exception): Likewise.
8666         (test_exceptions): Likewise.
8667         (test_single_errno): Likewise.
8668         (test_errno): Likewise.
8669         (ULPDIFF): Likewise.
8670         (ulp): Likewise.
8671         (check_float_internal): Likewise.
8672         (check_float): Likewise.
8673         (check_complex): Likewise.
8674         (check_int): Likewise.
8675         (check_long): Likewise.
8676         (check_bool): Likewise.
8677         (check_longlong): Likewise.
8678         (check_intmax_t): Likewise.
8679         (check_uintmax_t): Likewise.
8680         (enable_test): Likewise.
8681         (struct test_f_f_data): Likewise.
8682         (struct test_ff_f_data): Likewise.
8683         (struct test_fj_f_data): Likewise.
8684         (struct test_fi_f_data): Likewise.
8685         (struct test_fl_f_data): Likewise.
8686         (struct test_if_f_data): Likewise.
8687         (struct test_fff_f_data): Likewise.
8688         (struct test_fiu_M_data): Likewise.
8689         (struct test_fiu_U_data): Likewise.
8690         (struct test_c_f_data): Likewise.
8691         (struct test_f_f1_data): Likewise.
8692         (struct test_fF_f1_data): Likewise.
8693         (struct test_ffI_f1_data): Likewise.
8694         (struct test_c_c_data): Likewise.
8695         (struct test_cc_c_data): Likewise.
8696         (struct test_f_i_data): Likewise.
8697         (struct test_ff_i_data): Likewise.
8698         (struct test_f_l_data): Likewise.
8699         (struct test_f_L_data): Likewise.
8700         (struct test_fFF_11_data): Likewise.
8701         (struct test_Ff_b1_data): Likewise.
8702         (IF_ROUND_INIT_): Likewise.
8703         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8704         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8705         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8706         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8707         (ROUND_RESTORE_): Likewise.
8708         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8709         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8710         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8711         (ROUND_RESTORE_FE_UPWARD): Likewise.
8712         (RM_): Likewise.
8713         (RM_FE_DOWNWARD): Likewise.
8714         (RM_FE_TONEAREST): Likewise.
8715         (RM_FE_TOWARDZERO): Likewise.
8716         (RM_FE_UPWARD): Likewise.
8717         (COMMON_TEST_SETUP): Likewise.
8718         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8719         (COMMON_TEST_CLEANUP): Likewise.
8720         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8721         (RUN_TEST_f_f): Likewise.
8722         (RUN_TEST_LOOP_f_f): Likewise.
8723         (RUN_TEST_fp_f): Likewise.
8724         (RUN_TEST_LOOP_fp_f): Likewise.
8725         (RUN_TEST_2_f): Likewise.
8726         (RUN_TEST_LOOP_2_f): Likewise.
8727         (RUN_TEST_ff_f): Likewise.
8728         (RUN_TEST_LOOP_ff_f): Likewise.
8729         (RUN_TEST_LOOP_fj_f): Likewise.
8730         (RUN_TEST_fi_f): Likewise.
8731         (RUN_TEST_LOOP_fi_f): Likewise.
8732         (RUN_TEST_fl_f): Likewise.
8733         (RUN_TEST_LOOP_fl_f): Likewise.
8734         (RUN_TEST_if_f): Likewise.
8735         (RUN_TEST_LOOP_if_f): Likewise.
8736         (RUN_TEST_fff_f): Likewise.
8737         (RUN_TEST_LOOP_fff_f): Likewise.
8738         (RUN_TEST_fiu_M): Likewise.
8739         (RUN_TEST_LOOP_fiu_M): Likewise.
8740         (RUN_TEST_fiu_U): Likewise.
8741         (RUN_TEST_LOOP_fiu_U): Likewise.
8742         (RUN_TEST_c_f): Likewise.
8743         (RUN_TEST_LOOP_c_f): Likewise.
8744         (RUN_TEST_f_f1): Likewise.
8745         (RUN_TEST_LOOP_f_f1): Likewise.
8746         (RUN_TEST_fF_f1): Likewise.
8747         (RUN_TEST_LOOP_fF_f1): Likewise.
8748         (RUN_TEST_fI_f1): Likewise.
8749         (RUN_TEST_LOOP_fI_f1): Likewise.
8750         (RUN_TEST_ffI_f1_mod8): Likewise.
8751         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8752         (RUN_TEST_Ff_b1): Likewise.
8753         (RUN_TEST_LOOP_Ff_b1): Likewise.
8754         (RUN_TEST_Ffp_b1): Likewise.
8755         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8756         (RUN_TEST_c_c): Likewise.
8757         (RUN_TEST_LOOP_c_c): Likewise.
8758         (RUN_TEST_cc_c): Likewise.
8759         (RUN_TEST_LOOP_cc_c): Likewise.
8760         (RUN_TEST_f_i): Likewise.
8761         (RUN_TEST_LOOP_f_i): Likewise.
8762         (RUN_TEST_f_i_tg): Likewise.
8763         (RUN_TEST_LOOP_f_i_tg): Likewise.
8764         (RUN_TEST_ff_b): Likewise.
8765         (RUN_TEST_LOOP_ff_b): Likewise.
8766         (RUN_TEST_ff_i_tg): Likewise.
8767         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8768         (RUN_TEST_f_b): Likewise.
8769         (RUN_TEST_LOOP_f_b): Likewise.
8770         (RUN_TEST_f_b_tg): Likewise.
8771         (RUN_TEST_LOOP_f_b_tg): Likewise.
8772         (RUN_TEST_f_l): Likewise.
8773         (RUN_TEST_LOOP_f_l): Likewise.
8774         (RUN_TEST_f_L): Likewise.
8775         (RUN_TEST_LOOP_f_L): Likewise.
8776         (RUN_TEST_fFF_11): Likewise.
8777         (RUN_TEST_LOOP_fFF_11): Likewise.
8778         (VEC_SUFF): Likewise.
8779         (STR_CONCAT): Likewise.
8780         (STR_CON3): Likewise.
8781         (HAVE_VECTOR): Likewise.
8782         (START): Likewise.
8783         (END): Likewise.
8784         (END_COMPLEX): Likewise.
8785         (ALL_RM_TEST): Likewise.
8786         (matherr): Likewise.
8787         (initialize): Likewise.
8788         (options): Likewise.
8789         (doc): Likewise.
8790         (parse_opt): Likewise.
8791         (argp): Likewise.
8792         (check_ulp): Likewise.
8793         (main): Likewise.
8794         (do_test): New function.  Call tests of individual functions
8795         previously called from main.
8797         * math/libm-test.inc: Remove comment listing functions tested and
8798         not tested.
8800 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8802         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8803         (allocate_stack): Remove COLORING_INCREMENT usage.
8804         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8805         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8807 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8809         * manual/libm-err-tab.pl (@all_functions): Change to
8810         %all_functions.  Initialize as empty.
8811         (parse_ulps): Add to %all_functions based on functions found in
8812         ulps files.  Ignore results for non-default rounding modes and
8813         vector functions.
8814         (print_platforms): Use %all_platforms.
8815         * manual/math.texi (Errors in Math Functions): Document omissions
8816         from the table.
8818         * math/Makefile (before-compile): Remove.
8820 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8822         [BZ #21075]
8823         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8824         unused assignment.
8825         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8827 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8829         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8830         Add __glibc_unlikely hint.
8832 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8834         [BZ #16640]
8835         * sysdeps/i386/i686/strtok.S: Remove file.
8836         * sysdeps/i386/i686/strtok_r.S: Likewise.
8837         * sysdeps/i386/strtok.S: Likewise.
8838         * sysdeps/i386/strtok_r.S: Likewise.
8839         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8840         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8841         * sysdeps/x86_64/strtok.S: Likewise.
8842         * sysdeps/x86_64/strtok_r.S: Likewise.
8844         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8845         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8846         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8847         (__ASSUME_FADVISE64_AS_64_64): Define.
8848         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8849         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8850         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8851         __ALIGNMENT_ARG usage.
8852         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8853         __NR_fadvise64_64 if it is not defined.
8855 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8857         * version.h (RELEASE): Set to "development"
8858         (VERSION): Set to 2.25.90.
8859         * NEWS: Add 2.26 section.
8861         * version.h (RELEASE): Set to "stable"
8862         (VERSION): Set to 2.25.
8863         * include/features.h (__GLIBC_MINOR__): Set to 25.
8865         * manual/contrib.texi: Add more contributors from this release
8866         and past releases.
8868         * NEWS (2.25): Add list of bugs fixed.
8870         * NEWS: Add missing news items.
8872 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8874         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8875         parent if child exited in that manner.  Print WEXITSTATUS
8876         instead of the raw status.
8877         (do_test_prep): Rename to do_test.
8878         (do_test): Return the result of run_executable_sgid.
8879         (TEST_FUNCTION_ARGV): Adjust.
8881 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8882             Florian Weimer  <fweimer@redhat.com>
8883             Carlos O'Donell  <carlos@redhat.com>
8885         [BZ #20915]
8886         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8887         Do not initialize DTV.
8888         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8890 2017-02-03  David S. Miller  <davem@davemloft.net>
8892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8901         (libm-sysdep_routines): Update.
8902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8907         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8908         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8909         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8910         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8912         Likewise.
8913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8915         Likewise.
8916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8918         Likewise.
8919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8921         Likewise.
8922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8924         (libm-sysdep_routines): Update.
8926 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8928         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8929         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8930         against unrelocated shared library.
8931         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8933 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8935         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8936         * elf/tst-env-setuid-tunables.c
8937         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8938         GLIBC_TUNABLES is removed in a setgid process.
8940         [BZ #21073]
8941         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8942         * elf/dl-tunables.c (tunables_strdup): Remove.
8943         (get_next_env): Also return the previous envp.
8944         (parse_tunables): Erase tunables of category
8945         TUNABLES_SECLEVEL_SXID_ERASE.
8946         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8947         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8948         (__tunables_init)[TUNABLES_FRONTEND ==
8949         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8950         after parsing.
8951         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8952         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8953         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8954         to security_level.
8955         * elf/dl-tunables.list: Add security_level annotations for all
8956         tunables.
8957         * scripts/gen-tunables.awk: Recognize and generate enum values
8958         for security_level.
8959         * elf/tst-env-setuid.c: New test case.
8960         * elf/tst-env-setuid-tunables: new test case.
8961         * elf/Makefile (tests-static): Add them.
8963 2017-02-01  Richard Henderson  <rth@twiddle.net>
8965         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8966         adjusting the byte count.
8968 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8970         * conform/Makefile (linknamespace-libs): Define.
8972         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8973         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8974         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8975         operands.
8977 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8979         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8981 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8983         [BZ #21081]
8984         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8985         (L(stosb)): Add VZEROUPPER before ret.
8987 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8988             Alexey Makhalov <amakhalov@vmware.com>
8989             Florian Weimer <fweimer@redhat.com>
8991         [BZ #20116]
8992         * nptl/pthread_create.c: Document concurrency notes.
8993         Enhance thread creation notes.
8994         (create_thread): Use bool *stopped_start.
8995         (START_THREAD_DEFN): Comment ownership of PD.
8996         (__pthread_create_2_1): Add local bool stopped_start and use
8997         that instead of pd->stopped_start where appropriate.
8998         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8999         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
9000         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9001         * nptl/tst-create-detached.c: New file.
9002         * nptl/Makefile (tests): Add tst-create-detached.
9003         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9004         Reference the enhanced thread creation notes.
9005         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
9006         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9007         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
9008         (__pthread_current_priority): Likewise.
9009         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
9010         xpthread_attr_init, xpthread_attr_setdetachstate, and
9011         xpthread_attr_setstacksize.
9012         * support/xpthread_attr_destroy.c: New file.
9013         * support/xpthread_attr_init.c: New file.
9014         * support/xpthread_attr_setdetachstate.c: New file.
9015         * support/xpthread_attr_setstacksize.c: New file.
9016         * support/xthread.h: Define prototypes for xpthread_attr_destroy
9017         xpthread_attr_init, xpthread_attr_setdetachstate, and
9018         xpthread_attr_setstacksize.
9020 2017-01-27  Florian Weimer  <fweimer@redhat.com>
9022         * nptl/Makefile (tests): Add tst-robust-fork.
9023         * nptl/tst-robust-fork.c: New file.
9024         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
9025         xpthread_mutex_consistent, xpthread_mutex_destroy,
9026         xpthread_mutex_init, xpthread_mutexattr_destroy,
9027         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
9028         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
9029         xpthread_mutexattr_settype.
9030         * support/xmmap.c: New file.
9031         * support/xmunmap.c: Likewise.
9032         * support/xpthread_mutex_consistent.c: Likewise.
9033         * support/xpthread_mutex_destroy.c: Likewise.
9034         * support/xpthread_mutex_init.c: Likewise.
9035         * support/xpthread_mutexattr_destroy.c: Likewise.
9036         * support/xpthread_mutexattr_init.c: Likewise.
9037         * support/xpthread_mutexattr_setprotocol.c: Likewise.
9038         * support/xpthread_mutexattr_setpshared.c: Likewise.
9039         * support/xpthread_mutexattr_setrobust.c: Likewise.
9040         * support/xpthread_mutexattr_settype.c: Likewise.
9041         * support/xthread.h (xpthread_mutexattr_destroy)
9042         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
9043         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
9044         (xpthread_mutexattr_settype, xpthread_mutex_init)
9045         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
9046         * support/xunistd.h (xmmap, xmunmap): Likewise.
9048 2017-01-25  Florian Weimer  <fweimer@redhat.com>
9050         * string/Makefile (xtests): Add comment.
9051         (LOCALES): Add en_GB.UTF-8.
9052         (tst-strcoll-overflow.out): Depend on generated locales.
9053         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
9054         (SIZE, TIMEOUT): Update comments.
9055         (do_test): Define as static.  Fail test if setlocale fails.
9056         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
9057         messages.
9058         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
9059         TIMEOUT at 300 seconds should be enough to run this test
9060         successfully.
9062 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
9064         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
9065         /* FALLTHRU */ comments.
9067 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
9069         [BZ #21053]
9070         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
9071         constants instead of the old R* ones.
9072         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
9073         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
9074         (NGREG): ... to this, to fit in with other architectures.
9075         (gpregset_t): Use new NGREG macro.
9076         [__USE_GNU]: Remove condition; all architectures other than tile
9077         are unconditional.
9078         (R*): Rename to REG_R*.
9080 2017-01-20  DJ Delorie  <dj@redhat.com>
9082         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
9083         (tunable_set_val_if_valid_range_signed) ... this, and ...
9084         (tunable_set_val_if_valid_range_unsigned) ... this.
9085         (tunable_initialize): Call the correct one of the above based on type.
9087 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
9089         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
9090         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9091         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9092         * sysdeps/microblaze/libm-test-ulps: Likewise.
9093         * sysdeps/sh/libm-test-ulps: Likewise.
9095         * math/README.libm-test: Update list of characters for input and
9096         output types.
9098 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9100         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9101         (__lll_unlock_elision): Fix adapt_count decrement.
9103 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
9105         * README.pretty-printers (Known issues): Warn about printers not
9106         always covering everything.
9107         * nptl/nptl-printers.py (MutexPrinter): Change output.
9108         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9110 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9112         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9113         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9114         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9115         (__lll_lock_elision): Do not test futex before starting a
9116         transaction.  Use __glibc_likely instead of __builtin_expect.
9117         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9118         (__lll_trylock_elision): Do not test futex before starting a
9119         transaction.  Use __glibc_likely instead of __builtin_expect.
9121 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9123         * po/Makefile (update-translations): New target.
9125 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9127         [BZ #21061]
9128         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9130 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9132         * elf/dl-tunables (get_next_env): Always advance envp.
9133         * stdlib/tst-empty-env.c: New test case.
9134         * stdlib/Makefile (tests): Use it.
9136 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9138         [BZ #21047]
9139         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9140         name for instruction.
9141         [!__SOFTFP__] (_FPU_SETCW): Likewise.
9143 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9145         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9146         for make install.
9148 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9150         * po/bg.po: Merge from Translation Project.
9151         * po/fr.po: Likewise.
9152         * po/ko.po: Likewise.
9153         * po/nl.po: Likewise.
9154         * po/sv.po: Likewise.
9156 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9158         * manual/install.texi (Tools for Compilation): Update GCC version
9159         known to work to build glibc.
9160         * INSTALL: Regenerated.
9162 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9164         [BZ #21006]
9165         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9167 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
9169         [BZ #21045]
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9171         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9172         to __sigprocmask.
9174 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
9176         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9177         wrap-around.
9178         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9180         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9182 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9184         * NEWS: Fix typo.
9186 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9188         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9189         barriers and comments.
9190         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9191         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9192         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9194 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9196         [BZ #19402]
9197         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9198         mutexes.
9200 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9202         [BZ #20985]
9203         * nptl/Makefile: Adapt.
9204         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9205         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9206         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9207         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9208         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9209         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9210         lll_robust* functions and adapt.
9211         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9212         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9213         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9214         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9216         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9217         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9218         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9219         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9220         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9221         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9222         * nptl/lowlevelrobustlock.c: Remove file.
9223         * nptl/lowlevelrobustlock.sym: Likewise.
9224         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9225         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9227 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9229         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9231 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9233         * po/cs.po: Merge translations from the Translation Project.
9234         * po/de.po: Likewise.
9235         * po/pl.po: Likewise.
9236         * po/ru.po: Likewise.
9237         * po/tr.po: Likewise.
9238         * po/uk.po: Likewise.
9239         * po/vi.po: Likewise.
9240         * po/zh_CN.po: Likewise.
9242 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9244         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9246         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9247         object.
9249 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9251         [BZ #16458]
9252         * bits/uintn-identity.h: New file.
9253         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9254         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9255         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9256         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9257         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9258         * string/endian.h: Include <bits/uintn-identity.h>.
9259         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9260         __uint16_identity.
9261         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9262         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9263         __uint32_identity.
9264         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9265         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9266         __uint64_identity.
9267         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9268         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9269         __uint16_identity.
9270         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9271         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9272         __uint32_identity.
9273         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9274         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9275         __uint64_identity.
9276         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9277         * string/Makefile (headers): Add bits/uintn-identity.h.
9278         (tests): Add test-endian-types.
9279         * string/test-endian-types.c: New file.
9280         * inet/Makefile (tests): Add test-hnto-types.
9281         * inet/test-hnto-types.c: New file.
9283 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9285         * po/be.po: Update from Translation Project.
9286         * po/bg.po: Likewise.
9287         * po/ca.po: Likewise.
9288         * po/cs.po: Likewise.
9289         * po/da.po: Likewise.
9290         * po/de.po: Likewise.
9291         * po/el.po: Likewise.
9292         * po/eo.po: Likewise.
9293         * po/es.po: Likewise.
9294         * po/fi.po: Likewise.
9295         * po/fr.po: Likewise.
9296         * po/gl.po: Likewise.
9297         * po/hr.po: Likewise.
9298         * po/hu.po: Likewise.
9299         * po/ia.po: Likewise.
9300         * po/id.po: Likewise.
9301         * po/it.po: Likewise.
9302         * po/ja.po: Likewise.
9303         * po/ko.po: Likewise.
9304         * po/lt.po: Likewise.
9305         * po/nb.po: Likewise.
9306         * po/nl.po: Likewise.
9307         * po/pl.po: Likewise.
9308         * po/pt_BR.po: Likewise.
9309         * po/ru.po: Likewise.
9310         * po/rw.po: Likewise.
9311         * po/sk.po: Likewise.
9312         * po/sl.po: Likewise.
9313         * po/sv.po: Likewise.
9314         * po/tr.po: Likewise.
9315         * po/uk.po: Likewise.
9316         * po/vi.po: Likewise.
9317         * po/zh_CN.po: Likewise.
9318         * po/zh_TW.po: Likewise.
9320 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9322         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9323         -Wformat-truncation instead of -Wformat-length.
9324         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9325         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9326         GCC 7.
9327         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9328         (do_test): Ignore -Wformat-truncation for GCC 7.
9330         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9331         buffer used to print long int value.
9333         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9334         one byte.  Print it with %ld, cast to long int.
9336 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9338         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9339         (re.fullmatch, subprocess.run): Likewise.
9341 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9343         * po/libc.pot: Regenerate.
9345 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9347         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9348         (min_strlen): Likewise.
9349         (disable_tunable): Likewise.
9350         (maybe_disable_malloc_check): Rename to
9351         maybe_enable_malloc_check.
9352         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9353         if /etc/suid-debug file exists.
9354         (__tunables_init): Update caller.
9355         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9356         secure.
9358 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9360         * nptl/DESIGN-rwlock.txt: Remove.
9361         * nptl/lowlevelrwlock.sym: Remove.
9362         * nptl/Makefile: Add new tests.
9363         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9364         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9365         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9366         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9367         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9368         PTHREAD_RWLOCK_FUTEX_USED): New.
9369         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9370         implementation.
9371         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9372         (__pthread_rwlock_rdlock): Adapt.
9373         * nptl/pthread_rwlock_timedrdlock.c
9374         (pthread_rwlock_timedrdlock): Adapt.
9375         * nptl/pthread_rwlock_timedwrlock.c
9376         (pthread_rwlock_timedwrlock): Adapt.
9377         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9378         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9379         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9380         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9381         (__pthread_rwlock_wrlock): Adapt.
9382         * nptl/tst-rwlock10.c: Adapt.
9383         * nptl/tst-rwlock11.c: Adapt.
9384         * nptl/tst-rwlock17.c: New file.
9385         * nptl/tst-rwlock18.c: New file.
9386         * nptl/tst-rwlock19.c: New file.
9387         * nptl/tst-rwlock2b.c: New file.
9388         * nptl/tst-rwlock8.c: Adapt.
9389         * nptl/tst-rwlock9.c: Adapt.
9390         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9391         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9392         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9393         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9394         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9395         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9396         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9397         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9398         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9399         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9400         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9401         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9402         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9403         (pthread_rwlock_t): Adapt.
9404         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9405         (pthread_rwlock_t): Adapt.
9406         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9407         * nptl/nptl-printers.py (): Adapt.
9408         * nptl/nptl_lock_constants.pysym: Adapt.
9409         * nptl/test-rwlock-printers.py: Adapt.
9410         * nptl/test-rwlockattr-printers.c: Adapt.
9411         * nptl/test-rwlockattr-printers.py: Adapt.
9413 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9415         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9416         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9417         (fma_test_data): Likewise.
9418         (hypot_test_data): Likewise.
9419         (log1p_test_data): Likewise.
9420         (modf_test_data): Likewise.
9421         (pow_test_data): Likewise.
9422         (remainder_test_data): Likewise.
9423         (remquo_test_data): Likewise.
9424         (scalb_test_data): Likewise.
9425         (scalbn_test_data): Likewise.
9426         (scalbln_test_data): Likewise.
9427         * math/gen-libm-test.pl (parse_args): Transform
9428         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9429         on the rounding mode.
9431 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9433         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9434         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9435         and those that can underflow to zero.
9436         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9437         add others.
9438         * math/auto-libm-test-out: Regenerated.
9440         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9441         supported.
9442         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9443         modes support if not supported.
9445         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9446         Add libc.so PLT entry.
9447         (__tls_get_addr): Make ld.so PLT entry optional.
9449 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9451         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9452         * string/bits/string3.h: ... here.
9454 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9456         [BZ #21028]
9457         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9458         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9459         if EXCEPTION_TESTS returns false.
9461 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9463         [BZ #20558]
9464         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9465         strings_fortified.h.
9466         [__USE_MISC] (bzero): Likewise.
9467         [__USE_MISC] (explicit_bzero): Likewise.
9468         * string/strings.h: Include strings_fortified.h.
9469         * string/Makefile (headers): Add strings_fortified.h.
9470         * string/bits/strings_fortified.h: New file.
9471         * include/bits/strings_fortified.h: Likewise.
9473 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9475         * elf/tst-tls13.c (TIMEOUT): Remove.
9476         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9477         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9478         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9479         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9480         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9482         [BZ #21026]
9483         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9484         (readahead): New syscall entry.
9486 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9488         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9489         around tests of strncat with large sizes.
9491         * malloc/tst-malloc.c: Include <libc-internal.h>.
9492         (do_test): Disable -Walloc-size-larger-than= around tests of
9493         malloc with negative sizes.
9494         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9495         (do_test): Disable -Walloc-size-larger-than= around tests of
9496         malloc and realloc with negative sizes.
9497         * malloc/tst-realloc.c: Include <libc-internal.h>.
9498         (do_test): Disable -Walloc-size-larger-than= around tests of
9499         realloc with negative sizes.
9501         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9502         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9503         allowed to 16 ulps.
9504         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9505         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9506         * math/auto-libm-test-out: Regenerated.
9508 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9510         * math/Makefile (libm-calls): Move wrappers...
9511         (libm-compat-call-auto): Here.
9512         (libm-routines): Add items in libm-compat-calls-auto.
9513         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9514         the filenames of the wrappers that have been renamed.
9515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9518         * math/w_acos.c: Add _compat suffix to filename.
9519         * math/w_acosf.c: Likewise.
9520         * math/w_acosh.c: Likewise.
9521         * math/w_acoshf.c: Likewise.
9522         * math/w_acoshl.c: Likewise.
9523         * math/w_acosl.c: Likewise.
9524         * math/w_asin.c: Likewise.
9525         * math/w_asinf.c: Likewise.
9526         * math/w_asinl.c: Likewise.
9527         * math/w_atan2.c: Likewise.
9528         * math/w_atan2f.c: Likewise.
9529         * math/w_atan2l.c: Likewise.
9530         * math/w_atanh.c: Likewise.
9531         * math/w_atanhf.c: Likewise.
9532         * math/w_atanhl.c: Likewise.
9533         * math/w_cosh.c: Likewise.
9534         * math/w_coshf.c: Likewise.
9535         * math/w_coshl.c: Likewise.
9536         * math/w_exp10.c: Likewise.
9537         * math/w_exp10f.c: Likewise.
9538         * math/w_exp10l.c: Likewise.
9539         * math/w_exp2.c: Likewise.
9540         * math/w_exp2f.c: Likewise.
9541         * math/w_exp2l.c: Likewise.
9542         * math/w_fmod.c: Likewise.
9543         * math/w_fmodf.c: Likewise.
9544         * math/w_fmodl.c: Likewise.
9545         * math/w_hypot.c: Likewise.
9546         * math/w_hypotf.c: Likewise.
9547         * math/w_hypotl.c: Likewise.
9548         * math/w_j0.c: Likewise.
9549         * math/w_j0f.c: Likewise.
9550         * math/w_j0l.c: Likewise.
9551         * math/w_j1.c: Likewise.
9552         * math/w_j1f.c: Likewise.
9553         * math/w_j1l.c: Likewise.
9554         * math/w_jn.c: Likewise.
9555         * math/w_jnf.c: Likewise.
9556         * math/w_jnl.c: Likewise.
9557         * math/w_log10.c: Likewise.
9558         * math/w_log10f.c: Likewise.
9559         * math/w_log10l.c: Likewise.
9560         * math/w_log2.c: Likewise.
9561         * math/w_log2f.c: Likewise.
9562         * math/w_log2l.c: Likewise.
9563         * math/w_log.c: Likewise.
9564         * math/w_logf.c: Likewise.
9565         * math/w_logl.c: Likewise.
9566         * math/w_pow.c: Likewise.
9567         * math/w_powf.c: Likewise.
9568         * math/w_powl.c: Likewise.
9569         * math/w_remainder.c: Likewise.
9570         * math/w_remainderf.c: Likewise.
9571         * math/w_remainderl.c: Likewise.
9572         * math/w_scalb.c: Likewise.
9573         * math/w_scalbf.c: Likewise.
9574         * math/w_scalbl.c: Likewise.
9575         * math/w_sinh.c: Likewise.
9576         * math/w_sinhf.c: Likewise.
9577         * math/w_sinhl.c: Likewise.
9578         * math/w_sqrt.c: Likewise.
9579         * math/w_sqrtf.c: Likewise.
9580         * math/w_sqrtl.c: Likewise.
9581         * math/w_tgamma.c: Likewise.
9582         * math/w_tgammaf.c: Likewise.
9583         * math/w_tgammal.c: Likewise.
9585         * math/w_acos_compat.c: New file copied from above and
9586         adjusted for new #includes path
9587         * math/w_acosf_compat.c: Likewise.
9588         * math/w_acosh_compat.c: Likewise.
9589         * math/w_acoshf_compat.c: Likewise.
9590         * math/w_acoshl_compat.c: Likewise.
9591         * math/w_acosl_compat.c: Likewise.
9592         * math/w_asin_compat.c: Likewise.
9593         * math/w_asinf_compat.c: Likewise.
9594         * math/w_asinl_compat.c: Likewise.
9595         * math/w_atan2_compat.c: Likewise.
9596         * math/w_atan2f_compat.c: Likewise.
9597         * math/w_atan2l_compat.c: Likewise.
9598         * math/w_atanh_compat.c: Likewise.
9599         * math/w_atanhf_compat.c: Likewise.
9600         * math/w_atanhl_compat.c: Likewise.
9601         * math/w_cosh_compat.c: Likewise.
9602         * math/w_coshf_compat.c: Likewise.
9603         * math/w_coshl_compat.c: Likewise.
9604         * math/w_exp10_compat.c: Likewise.
9605         * math/w_exp10f_compat.c: Likewise.
9606         * math/w_exp10l_compat.c: Likewise.
9607         * math/w_exp2_compat.c: Likewise.
9608         * math/w_exp2f_compat.c: Likewise.
9609         * math/w_exp2l_compat.c: Likewise.
9610         * math/w_fmod_compat.c: Likewise.
9611         * math/w_fmodf_compat.c: Likewise.
9612         * math/w_fmodl_compat.c: Likewise.
9613         * math/w_hypot_compat.c: Likewise.
9614         * math/w_hypotf_compat.c: Likewise.
9615         * math/w_hypotl_compat.c: Likewise.
9616         * math/w_j0_compat.c: Likewise.
9617         * math/w_j0f_compat.c: Likewise.
9618         * math/w_j0l_compat.c: Likewise.
9619         * math/w_j1_compat.c: Likewise.
9620         * math/w_j1f_compat.c: Likewise.
9621         * math/w_j1l_compat.c: Likewise.
9622         * math/w_jn_compat.c: Likewise.
9623         * math/w_jnf_compat.c: Likewise.
9624         * math/w_jnl_compat.c: Likewise.
9625         * math/w_log10_compat.c: Likewise.
9626         * math/w_log10f_compat.c: Likewise.
9627         * math/w_log10l_compat.c: Likewise.
9628         * math/w_log2_compat.c: Likewise.
9629         * math/w_log2f_compat.c: Likewise.
9630         * math/w_log2l_compat.c: Likewise.
9631         * math/w_log_compat.c: Likewise.
9632         * math/w_logf_compat.c: Likewise.
9633         * math/w_logl_compat.c: Likewise.
9634         * math/w_pow_compat.c: Likewise.
9635         * math/w_powf_compat.c: Likewise.
9636         * math/w_powl_compat.c: Likewise.
9637         * math/w_remainder_compat.c: Likewise.
9638         * math/w_remainderf_compat.c: Likewise.
9639         * math/w_remainderl_compat.c: Likewise.
9640         * math/w_scalb_compat.c: Likewise.
9641         * math/w_scalbf_compat.c: Likewise.
9642         * math/w_scalbl_compat.c: Likewise.
9643         * math/w_sinh_compat.c: Likewise.
9644         * math/w_sinhf_compat.c: Likewise.
9645         * math/w_sinhl_compat.c: Likewise.
9646         * math/w_sqrt_compat.c: Likewise.
9647         * math/w_sqrtf_compat.c: Likewise.
9648         * math/w_sqrtl_compat.c: Likewise.
9649         * math/w_tgamma_compat.c: Likewise.
9650         * math/w_tgammaf_compat.c: Likewise.
9651         * math/w_tgammal_compat.c: Likewise.
9653         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9654         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9655         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9656         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9657         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9658         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9659         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9660         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9661         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9662         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9663         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9664         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9665         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9666         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9667         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9668         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9669         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9670         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9671         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9672         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9673         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9674         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9675         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9676         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9677         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9678         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9679         * sysdeps/ia64/fpu/w_log.c: Likewise.
9680         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9681         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9682         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9683         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9684         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9685         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9686         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9687         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9688         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9689         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9690         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9691         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9692         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9693         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9694         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9695         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9696         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9697         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9698         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9699         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9700         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9701         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9702         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9703         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9704         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9705         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9706         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9707         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9708         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9709         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9710         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9711         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9712         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9713         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9715         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9716         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9718         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9719         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9720         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9722         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9724         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9725         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9726         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9728         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9729         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9730         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9731         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9732         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9733         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9734         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9736         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9737         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9738         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9739         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9740         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9741         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9742         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9743         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9744         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9745         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9746         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9747         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9748         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9749         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9750         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9751         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9752         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9754         Likewise.
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9756         Likewise.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9759         Likewise.
9760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9761         Likewise.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9763         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9765         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9766         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9767         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9768         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9773         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9775         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9776         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9778         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9779         and adjusted for new #includes path
9780         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9781         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9782         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9783         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9784         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9785         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9786         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9787         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9788         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9789         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9790         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9791         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9792         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9793         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9794         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9795         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9796         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9797         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9798         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9799         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9800         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9801         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9802         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9803         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9804         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9805         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9806         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9807         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9808         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9809         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9810         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9811         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9812         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9813         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9814         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9815         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9816         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9817         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9818         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9819         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9820         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9821         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9822         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9823         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9824         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9825         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9826         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9827         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9828         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9829         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9830         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9831         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9832         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9833         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9834         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9835         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9836         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9837         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9838         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9839         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9840         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9841         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9842         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9843         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9844         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9845         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9846         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9847         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9848         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9849         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9850         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9851         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9852         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9853         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9854         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9855         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9856         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9857         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9858         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9859         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9860         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9861         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9862         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9863         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9864         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9865         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9866         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9867         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9868         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9869         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9870         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9871         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9872         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9873         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9874         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9875         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9876         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9877         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9878         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9880         Likewise.
9881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9882         Likewise.
9883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9884         Likewise.
9885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9886         Likewise.
9887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9888         Likewise.
9889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9890         Likewise.
9891         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9893         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9895         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9896         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9898         Likewise.
9899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9900         Likewise.
9901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9902         Likewise.
9903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9904         Likewise.
9905         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9906         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9907         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9908         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9910 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9912         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9913         __jmp_buf_internal_tag.
9915         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9916         preserve NaN payload if [__mips_nan2008].
9917         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9919         [BZ #21022]
9920         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9922 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9924         * sysdeps/i386/fpu/libm-test-ulps: Update.
9926 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9928         * sysdeps/ia64/strcat.c: Remove file.
9929         * sysdeps/powerpc/strcat.c: Likewise.
9930         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9931         C implementation.
9932         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9933         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9935 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9936             Steven Munroe  <sjmunroe@us.ibm.com>
9937             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9939         [BZ #20822]
9940         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9941         (__lll_lock_elision): Access adapt_count via C11 atomics.
9942         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9943         (__lll_trylock_elision): Likewise.
9944         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9945         (__lll_unlock_elision):  Update adapt_count variable inside the
9946         critical section using C11 atomics.
9948 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9950         * math/test-fenvinline.c (do_test): Disable tests of raised
9951         exceptions if !EXCEPTION_TESTS (FLOAT).
9953 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9955         [BZ #19390]
9956         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9957         maximum string size.
9958         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9959         in pointer addition.
9960         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9961         Likewise.
9963 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9965         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9966         passed to tst-ldconfig-X.sh.
9968 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9970         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9972 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9974         [BZ #21019]
9975         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9976         New syscall entry.
9977         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9978         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9979         lseek.
9981         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9982         power4 glibc for powerpc-linux-gnu.
9984 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9986         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9987         semctl.
9989 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9991         * math/test-nearbyint-except.c: Include <stdbool.h>.
9992         (any_supported): New variable.
9993         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9994         set any_supported.
9995         (do_test): Return 77 if no floating-point type supported
9996         exceptions.
9998         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9999         condition on [__mips_hard_float].
10001 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10003         [BZ #21014]
10004         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
10005         in pointer addition.
10006         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
10008 2017-01-02  Torvald Riegel  <triegel@redhat.com>
10010         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
10011         new condvar.
10013 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10015         * scripts/build-many-glibcs.py (Context.checkout): Default
10016         binutils version to 2.28 branch.
10018 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10020         * support/support_format_netent.c (support_format_netent): Work
10021         around alpha struct netent definition difference.
10023 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10025         * support/xwrite.c (xwrite): Use %td for pointer difference.
10027 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10029         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
10030         have-tunables only.
10031         (tests-static): Add tst-malloc-usable-static-tunables for
10032         have-tunables only.
10034 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
10036         * scripts/config.guess: Update to version 2017-01-01.
10037         * scripts/config.sub: Update to version 2017-01-01.
10039         * NEWS: Update copyright dates.
10040         * catgets/gencat.c (print_version): Likewise.
10041         * csu/version.c (banner): Likewise.
10042         * debug/catchsegv.sh: Likewise.
10043         * debug/pcprofiledump.c (print_version): Likewise.
10044         * debug/xtrace.sh (do_version): Likewise.
10045         * elf/ldconfig.c (print_version): Likewise.
10046         * elf/ldd.bash.in: Likewise.
10047         * elf/pldd.c (print_version): Likewise.
10048         * elf/sotruss.sh: Likewise.
10049         * elf/sprof.c (print_version): Likewise.
10050         * iconv/iconv_prog.c (print_version): Likewise.
10051         * iconv/iconvconfig.c (print_version): Likewise.
10052         * locale/programs/locale.c (print_version): Likewise.
10053         * locale/programs/localedef.c (print_version): Likewise.
10054         * login/programs/pt_chown.c (print_version): Likewise.
10055         * malloc/memusage.sh (do_version): Likewise.
10056         * malloc/memusagestat.c (print_version): Likewise.
10057         * malloc/mtrace.pl: Likewise.
10058         * manual/libc.texinfo: Likewise.
10059         * nptl/version.c (banner): Likewise.
10060         * nscd/nscd.c (print_version): Likewise.
10061         * nss/getent.c (print_version): Likewise.
10062         * nss/makedb.c (print_version): Likewise.
10063         * posix/getconf.c (main): Likewise.
10064         * scripts/test-installation.pl: Likewise.
10065         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10067         * All files with FSF copyright notices: Update copyright dates
10068         using scripts/update-copyrights.
10069         * intl/plural.c: Regenerated.
10070         * locale/programs/charmap-kw.h: Likewise.
10071         * locale/programs/locfile-kw.h: Likewise.
10073 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10075         [BZ #20593]
10076         Update DNS RR type definitions.
10077         * scripts/gen-rrtypes.py: New file.
10078         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
10079         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
10080         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
10081         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
10082         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
10083         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
10084         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
10085         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
10086         ns_t_ta, ns_t_dlv.
10087         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
10088         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
10089         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
10090         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
10091         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
10092         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
10093         Define.
10094         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
10095         entry for ns_t_zxfr.
10097 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10099         [BZ #18784]
10100         CVE-2015-5180
10101         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10102         T_UNSPEC.  Adjust value.
10103         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10104         * resolv/res_query.c (__libc_res_nquery): Likewise.
10105         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10106         QTYPEs.
10107         * resolv/tst-resolv-qtypes.c: New file.
10108         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10109         (tst-resolv-qtypes): Link against libresolv and libpthread.
10111 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10113         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10115 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10117         * manual/tunables.texi: New chapter.
10118         * manual/Makefile (chapters): Add it.
10119         * manual/probes.texi (@node): Point to the Tunables chapter.
10121         * Makeconfig (have-tunables): Check for non-negative instead
10122         of positive.
10123         * configure.ac: Add 'valstring' as a valid value for
10124         --enable-tunables.
10125         * configure: Regenerate.
10126         * elf/Makefile (have-tunables): Check for non-negative instead
10127         of positive.
10128         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10129         dl-tunables.c.
10130         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10131         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10132         (tunables_strdup): Likewise.
10133         (disable_tunables): Likewise.
10134         (parse_tunables): Likewise.
10135         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10136         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10137         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10138         (TUNABLES_FRONTEND_yes): New macro, define as
10139         TUNABLES_FRONTEND_valstring by default.
10140         * manual/install.texi: Document new acceptable values for
10141         --enable-tunables.
10142         * INSTALL: Regenerate.
10144         * config.make.in (have-loop-to-function): Define.
10145         * elf/Makefile (CFLAGS-dl-tunables.c): Add
10146         -fno-tree-loop-distribute-patterns.
10147         * elf/dl-tunables.c: Include libc-internals.h.
10148         (GLIBC_TUNABLES): New macro.
10149         (tunables_strdup): New function.
10150         (parse_tunables): New function.
10151         (min_strlen): New function.
10152         (__tunables_init): Use the new functions and macro.
10153         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10154         * malloc/tst-malloc-usable-tunables.c: New test case.
10155         * malloc/tst-malloc-usable-static-tunables.c: New test case.
10156         * malloc/Makefile (tests, tests-static): Add tests.
10158         * manual/install.texi: Add --enable-tunables option.
10159         * INSTALL: Regenerate.
10160         * README.tunables: New file.
10161         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10162         (before-compile): Generate dl-tunable-list.h early.
10163         * config.h.in: Add HAVE_TUNABLES.
10164         * config.make.in: Add have-tunables.
10165         * configure.ac: Add --enable-tunables option.
10166         * configure: Regenerate.
10167         * csu/init-first.c (__libc_init_first): Move
10168         __libc_init_secure earlier...
10169         * csu/init-first.c (LIBC_START_MAIN):... to here.
10170         Include dl-tunables.h, libc-internal.h.
10171         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10172         binaries.
10173         * elf/Makefile (dl-routines): Add dl-tunables.
10174         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10175         namespace.
10176         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10177         only when !HAVE_TUNABLES.
10178         * elf/rtld.c (process_envvars): Likewise.
10179         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10180         (_dl_sysdep_start): Call __tunables_init.
10181         * elf/dl-tunable-types.h: New file.
10182         * elf/dl-tunables.c: New file.
10183         * elf/dl-tunables.h: New file.
10184         * elf/dl-tunables.list: New file.
10185         * malloc/tst-malloc-usable-static.c: New test case.
10186         * malloc/Makefile (tests-static): Add it.
10187         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10188         Define TUNABLE_NAMESPACE.
10189         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10190         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
10191         callback functions.
10192         (ptmalloc_init): Set tunable values.
10193         * scripts/gen-tunables.awk: New file.
10194         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10195         (_dl_sysdep_start): Call __tunables_init.
10197 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10199         * resolv/resolv.h (RES_BLAST): Deprecate.
10200         * resolv/res_debug.c (p_option): Remove RES_BLAST.
10201         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10202         to RES_BLAST.
10204 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10206         [BZ #19582]
10207         Deprecate RES_USE_INET6.
10208         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10209         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10210         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10211         RES_USE_INET6.
10212         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10213         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10214         (_nss_nisplus_gethostbyaddr_r): Likewise.
10215         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10216         of res_use_inet6.
10217         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10218         instead of RES_USE_INET6.
10219         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10220         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10221         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10222         Likewise.
10223         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10224         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10225         Likewise.
10226         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10227         (_nss_dns_gethostbyname_r): Likewise.
10228         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10229         alternate RES_USE_INET6 handling.
10230         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10231         instead of RES_USE_INET6.
10232         * resolv/res_init.c (res_setoptions): Likewise.
10233         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10234         * resolv/resolv-internal.h: New file.
10235         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10236         make the deprecation warning non-fatal.
10237         * resolv/README (Using the resolver in multi-threaded code): Drop
10238         reference to RES_USE_INET6.
10239         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10240         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10242 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10244         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10245         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10246         tst-resolv-search.
10247         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10248         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10249         with libresolv and libpthread.
10250         * resolv/tst-bug18665.c: New file.
10251         * resolv/tst-bug18665-tcp: Likewise.
10252         * resolv/tst-res_use_inet6: Likewise.
10253         * resolv/tst-resolv-basic: Likewise.
10254         * resolv/tst-resolv-network: Likewise.
10255         * resolv/tst-resolv-search: Likewise.
10256         * support/Makefile (libsupport-routines): Add check_addrinfo,
10257         check_dns_packet, check_hostent, check_netent, resolv_test,
10258         support_format_address_family, support_format_addrinfo,
10259         support_format_dns_packet, support_format_herrno,
10260         support_format_hostent, support_format_netent, support_run_diff,
10261         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10262         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10263         xstrdup, xwrite.
10264         * support/check_addrinfo.c: New file.
10265         * support/check_dns_packet.c: Likewise.
10266         * support/check_hostent.c: Likewise.
10267         * support/check_netent.c: Likewise.
10268         * support/check_nss.h: Likewise.
10269         * support/format_nss.h: Likewise.
10270         * support/resolv_test.c: Likewise.
10271         * support/resolv_test.h: Likewise.
10272         * support/run_diff.h: Likewise.
10273         * support/support_format_address_family.c: Likewise.
10274         * support/support_format_addrinfo.c: Likewise.
10275         * support/support_format_dns_packet.c: Likewise.
10276         * support/support_format_herrno.c: Likewise.
10277         * support/support_format_hostent.c: Likewise.
10278         * support/support_format_netent.c: Likewise.
10279         * support/support_run_diff.c: Likewise.
10280         * support/xaccept.c: Likewise.
10281         * support/xbind.c: Likewise.
10282         * support/xconnect.c: Likewise.
10283         * support/xfclose.c: Likewise.
10284         * support/xfopen.c: Likewise.
10285         * support/xgetsockname.c: Likewise.
10286         * support/xlisten.c: Likewise.
10287         * support/xmemstream.c: Likewise.
10288         * support/xmemstream.h: Likewise.
10289         * support/xpoll.c: Likewise.
10290         * support/xpthread_once.c: Likewise.
10291         * support/xrecvfrom.c: Likewise.
10292         * support/xsendto.c: Likewise.
10293         * support/xsetsockopt.c: Likewise.
10294         * support/xstdio.h: Likewise.
10295         * support/xstrdup.c: Likewise.
10296         * support/support.h (xstrdup): Declare.
10297         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10298         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10299         * support/xthread.h (xpthread_once): Likwise.
10300         * support/xunistd.h (xwrite): Declare.
10302 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10304         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10305         (test_verbose): Declare.
10306         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10307         * support/support_test_main.c (default_options): Likewise.
10308         (usage, support_test_main): Handle 'v'.
10309         (test_verbose): Define.
10310         * support/tst-support_record_failure.c (do_test): Use
10311         test_verbose.
10312         * support/tst-support_record_failure-2.sh (different_status): Add
10313         --verbose test.
10315 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10317         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10318         test failures are recorded.
10319         * support/check.c (support_print_failure_impl): Call
10320         support_record_failure.
10321         (support_exit_failure_impl): Call support_record_failure if status
10322         indicates failure.
10323         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10324         * support/xasprintf.c (xasprintf): Likewise.
10325         * support/xfork.c (xfork): Likewise.
10326         * support/xpthread_check_return.c (xpthread_check_return):
10327         Likewise.
10328         * support/xsocket.c (xsocket): Likeweise.
10329         * support/xwaitpid.c (xwaitpid): Likewise.
10330         * support/support_record_failure.c (struct test_failures): Adjust
10331         to coding style.
10332         * support/support_test_verify_impl.c (support_test_verify_impl):
10333         Adjust error messages.
10334         * support/tst-support_record_failure-2.sh (different_status):
10335         Adjust error messages.
10337 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10339         * support/namespace.h: New file.
10340         * support/support_become_root.c: Likewise.
10341         * support/support_enter_network_namespace.c: Likewise.
10342         * support/tst-support-namespace.c: Likewise.
10343         * support/xsocket.c: Likewise.
10344         * support/xsocket.h: Likewise.
10345         * support/Makefile (libsupport-routines): Add support_become_root,
10346         support_enter_network_namespace, xsocket.
10347         (tests): Add tst-support-namespace.
10349 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10351         [BZ #17252]
10352         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10353         __USE_GNU.
10355 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10357         [BZ #13165]
10358         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10359         use new algorithm.
10360         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10361         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10362         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10363         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10364         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10365         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10366         __condvar_cleanup_waiting, __condvar_dec_grefs,
10367         __pthread_cond_wait_common): New.
10368         (__condvar_cleanup): Remove.
10369         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10370         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10371         Likewise.
10372         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10373         Likewise.
10374         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10375         * nptl/tst-cond1.c: Add comment.
10376         * nptl/tst-cond20.c (do_test): Adapt.
10377         * nptl/tst-cond22.c (do_test): Likewise.
10378         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10379         structure.
10380         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10381         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10382         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10383         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10384         Likewise.
10385         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10386         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10387         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10388         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10389         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10390         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10391         Likewise.
10392         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10393         Likewise.
10394         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10395         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10396         (COND_CLOCK_BITS): Adapt.
10397         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10398         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10399         __PTHREAD_COND_SHARED_MASK): New.
10400         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10401         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10402         * nptl/nptl_lock_constants.pysym: Adapt.
10403         * nptl/test-cond-printers.py: Adapt.
10404         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10405         cond_compat_check_and_clear): Adapt.
10406         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10407         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10408         (__pthread_cond_timedwait): ... and move here.
10409         * nptl/DESIGN-condvar.txt: Remove file.
10410         * nptl/lowlevelcond.sym: Likewise.
10411         * nptl/pthread_cond_timedwait.c: Likewise.
10412         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10413         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10414         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10415         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10416         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10417         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10418         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10420         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10421         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10422         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10423         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10424         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10425         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10426         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10429 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10431         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10432         (fromfp): New declaration.
10433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10436         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10441         * math/math.h: Include <bits/types.h>.
10442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10443         constant and macro.
10444         (FP_INT_DOWNWARD): Likewise.
10445         (FP_INT_TOWARDZERO): Likewise.
10446         (FP_INT_TONEARESTFROMZERO): Likewise.
10447         (FP_INT_TONEAREST): Likewise.
10448         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10449         (fromfpf): Likewise.
10450         (fromfpl): Likewise.
10451         (ufromfp): Likewise.
10452         (ufromfpf): Likewise.
10453         (ufromfpl): Likewise.
10454         (fromfpx): Likewise.
10455         (fromfpxf): Likewise.
10456         (fromfpxl): Likewise.
10457         (ufromfpx): Likewise.
10458         (ufromfpxf): Likewise.
10459         (ufromfpxl): Likewise.
10460         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10461         s_fromfpxF and s_ufromfpxF.
10462         * math/gen-fromfp-tests.py: New file.
10463         * math/gen-fromfp-tests-inputs: Likewise.
10464         * math/libm-test.inc: Include <stdint.h>
10465         (check_intmax_t): New function.
10466         (check_uintmax_t): Likewise.
10467         (struct test_fiu_M_data): New type.
10468         (struct test_fiu_U_data): Likewise.
10469         (RUN_TEST_fiu_M): New macro.
10470         (RUN_TEST_LOOP_fiu_M): Likewise.
10471         (RUN_TEST_fiu_U): Likewise.
10472         (RUN_TEST_LOOP_fiu_U): Likewise.
10473         (fromfp_test_data): New array.
10474         (fromfp_test): New function.
10475         (fromfpx_test_data): New array.
10476         (fromfpx_test): New function.
10477         (ufromfp_test_data): New array.
10478         (ufromfp_test): New function.
10479         (ufromfpx_test_data): New array.
10480         (ufromfpx_test): New function.
10481         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10482         ufromfpx_test.
10483         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10484         characters.
10485         * math/test-tgmath-ret.c: Include <stdint.h>.
10486         (rm): New variable.
10487         (width): Likewise.
10488         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10489         called function.
10490         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10491         CHECK_RET_CONST_TYPE.
10492         (CHECK_RET_CONST_DOUBLE): Likewise.
10493         (CHECK_RET_CONST_LDOUBLE): Likewise.
10494         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10495         macros.
10496         (fromfp): New CHECK_RET_CONST call.
10497         (ufromfp): Likewise.
10498         (fromfpx): Likewise.
10499         (ufromfpx): Likewise.
10500         (do_test): Call check_return_fromfp, check_return_ufromfp,
10501         check_return_fromfpx and check_return_ufromfpx.
10502         * math/test-tgmath.c: Include <stdint.h>
10503         (NCALLS): Increase to 138.
10504         (F(compile_test)): Initialize i.  Call fromfp functions.
10505         (F(fromfp)): New function.
10506         (F(fromfpx)): Likewise.
10507         (F(ufromfp)): Likewise.
10508         (F(ufromfpx)): Likewise.
10509         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10510         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10511         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10512         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10513         ufromfpxl.
10514         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10515         ufromfp and ufromfpx.
10516         * math/fromfp.h: New file.
10517         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10518         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10519         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10520         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10521         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10522         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10523         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10524         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10525         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10526         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10527         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10528         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10529         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10530         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10531         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10532         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10533         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10534         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10535         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10536         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10537         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10538         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10539         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10540         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10541         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10542         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10543         ufromfp, fromfpx and ufromfpx.
10544         (CFLAGS-nldbl-fromfp.c): New variable.
10545         (CFLAGS-nldbl-fromfpx.c): Likewise.
10546         (CFLAGS-nldbl-ufromfp.c): Likewise.
10547         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10548         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10549         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10550         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10551         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10552         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10553         * sysdeps/nacl/libm.abilist: Update.
10554         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10556         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10558         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10559         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10560         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10564         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10565         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10567         Likewise.
10568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10569         Likewise.
10570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10571         Likewise.
10572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10573         Likewise.
10574         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10576         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10577         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10584         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10585         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10587 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10589         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10590         compat-gethnamaddr.
10591         (CPPFLAGS): Remove.
10592         * resolv/gethnamaddr.c: Rename ...
10593         * resolv/compat-gethnamaddr.c: ... to this file.
10594         (_endhtent): Make static.
10595         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10596         symbol.
10597         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10598         compat symbol.
10599         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10600         symbol.
10601         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10602         Turn into compat symbol.
10603         * include/resolv.h (_endhtent): Remove declaration.
10605 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10607         * bits/types.h (__intmax_t): New typedef.
10608         (__uintmax_t): Likewise.
10609         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10610         (intmax_t): Define using __intmax_t.
10611         (uintmax_t): Define using __uintmax_t.
10613         * support/Makefile (tests-special): Make definition conditional on
10614         [$(run-built-tests) = yes].
10615         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10616         on [$(run-built-tests) = yes].
10618 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10620         * Rules (tests): Add tests-printers-programs to tests to be
10621         built.
10623 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10625         * sysvipc/Makefile (tests): Add test-sysvshm.
10626         * sysvipc/test-sysvshm.c: New file.
10628         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10629         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10630         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10631         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10632         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10633         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10634         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10635         Likewise.
10636         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10639         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10640         is defined.
10642         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10643         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10644         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10645         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10646         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10647         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10648         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10649         Likewise.
10650         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10651         Likewise.
10652         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10653         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10654         defined.
10656         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10657         oldshmctl.
10658         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10659         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10660         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10661         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10662         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10663         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10664         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10665         Likewise.
10666         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10669         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10670         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10671         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10672         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10673         implementation.
10674         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10675         if it is defined.
10677         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10678         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10679         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10680         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10681         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10682         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10683         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10686         Likewise.
10687         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10688         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10689         Define to __NR_osf_shmat.
10690         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10691         defined.
10693         * sysvipc/Makefile (tests): Add test-sysvsem.
10694         * sysvipc/test-sysvsem.c: New file.
10696         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10697         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10698         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10699         Likewise.
10700         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10701         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10702         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10703         Likewise.
10704         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10705         Likewise.
10706         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10707         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10708         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10709         add a comment about s390 syscall difference from default one.
10710         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10711         syscall if it is defined.
10713         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10714         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10715         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10716         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10717         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10718         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10719         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10720         Likewise.
10721         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10724         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10725         defined.
10727         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10728         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10729         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10730         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10731         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10732         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10733         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10734         Likewise.
10735         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10736         Likewise.
10737         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10738         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10739         if it is defined.
10741         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10742         oldsemctl.
10743         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10744         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10745         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10746         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10747         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10748         implementation.
10749         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10750         syscall if it is defined.
10751         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10752         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10753         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10754         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10755         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10756         Likewise.
10757         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10759         * sysvipc/Makefile (tests): Add test-sysvmsg.
10760         * sysvipc/test-sysvmsg.c: New file.
10761         * support/check.h (FAIL_UNSUPPORTED): New define.
10763         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10764         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10765         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10766         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10767         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10768         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10769         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10770         Likewise.
10771         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10772         Likewise.
10773         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10774         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10775         define.
10777         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10778         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10779         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10780         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10781         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10782         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10783         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10784         Likewise.
10785         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10786         Likewise.
10787         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10788         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10789         if defined.
10791         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10792         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10793         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10794         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10795         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10796         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10797         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10798         Likewise.
10799         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10800         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10801         Likewise.
10802         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10803         if defined.
10804         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10806         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10807         oldmsgctl.
10808         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10809         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10810         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10811         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10812         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10813         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10814         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10815         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10816         Likewise.
10817         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10818         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10819         implementation.
10820         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10821         if defined.
10823         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10824         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10825         definition and define its own.
10826         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10827         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10828         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10829         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10830         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10831         definitions to common header.
10832         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10833         operation from ipc_ops.h.
10835         * sysdeps/unix/sysv/linux/kernel-features.h
10836         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10837         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10838         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10840         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10841         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10842         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10843         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10844         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10845         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10846         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10847         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10848         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10849         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10850         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10852 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10854         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10855         overflow in pointer addition.
10857 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10859         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10860         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10862         (strchr): Add __strchr_power8 to list of strchr functions.
10863         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10864         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10865         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10866         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10867         (strchr): Add __strchr_power8 to ifunc list.
10868         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10869         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10870         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10871         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10873 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10875         * support/Makefile (libsupport-routines): Add
10876         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10877         (tests): Add tst-support_record_failure.
10878         (tests-special): tst-support_record_failure-2.
10879         (tst-support_record_failure-2.out): Depend on
10880         tst-support_record_failure-2.sh and tst-support_record_failure.
10881         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10882         (support_test_verify_impl, support_record_failure)
10883         (support_report_failure, support_report_failure_reset): Declare.
10884         * support/support_test_main.c (adjust_exit_status): New function.
10885         (support_test_main): Call it to incorporate record test failures.
10886         * support/support_test_verify_impl.c: New file.
10887         * support/support_record_failure.c: Likewise.
10888         * support/tst-support_record_failure.c: Likewise.
10889         * support/tst-support_record_failure-2.sh: Likewise.
10890         * support/xunistd.h: Likewise.
10891         * support/xfork.c: Likewise.
10892         * support/xwaitpid.c: Likewise.
10894 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10896         * scripts/check-c++-types.sh: Add comments.
10898 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10900         [BZ #19514]
10901         * resolv/res_send.c: Fix typo in comment.
10902         * sysdeps/i386/i386-mcount.S: Likewise.
10903         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10904         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10905         * sysdeps/sparc/sparc-mcount.S: Likewise.
10907 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10909         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10910         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10911         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10912         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10913         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10914         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10915         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10916         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10918 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10920         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10922 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10924         [BZ #17252]
10925         * posix/unistd.h (getentropy): Declare.
10927 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10929         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10930         Remove.
10931         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10932         (cmd): Remove spoof, nospoof, spoofalert.
10933         (parse_line): Ignore spoof-related lines.
10934         (do_init): Do not process RESOLV_SPOOF_CHECK.
10936 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10938         [BZ #20964]
10939         sunrpc: Always obtain AF_INET addresses from NSS.
10940         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10941         * sunrpc/rpc_gethostbyname.c: New file.
10942         * sunrpc/Makefile (routines): Add it.
10943         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10944         * sunrpc/clnt_simp.c (callrpc): Likewise.
10945         * sunrpc/getrpcport.c (getrpcport): Likewise.
10947 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10949         * sunrpc/rpcinfo.c: Remove.
10950         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10952 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10954         [BZ #19387]
10955         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10956         addition.
10957         * string/test-memchr.c (do_test): Remove alignment limitation.
10958         (test_main): Add test that trigger BZ #19387.
10960 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10962         [BZ #7065]
10963         Enable stack protectore if requested by ./configure.
10964         * Makeconfig (+stack-protector): New variable.
10965         (+cflags): Use it.
10967 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10969         [BZ #7065]
10970         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10972         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10974         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10976 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10978         [BZ #7065]
10979         * login/Makefile (pt_chown-cflags): Remove.
10980         * nscd/Makefile (CFLAGS-nscd): Likewise.
10981         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10983 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10985         [BZ #7065]
10986         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10987         non-libc-linking testcase.
10989 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10990             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10991             Florian Weimer  <fweimer@redhat.com>
10993         [BZ #7065]
10994         PLT avoidance for __stack_chk_fail*.
10995         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10996         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10997         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10998         __stack_chk_fail_local alias.
10999         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
11000         (__stack_chk_fail): Turn into hidden reference to
11001         __stack_chk_fail_local.
11003 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11005         [BZ #7065]
11006         * configure.ac: Add check for unsupported stack-protection level.
11007         (libc_cv_predef_stack_protector): Remove.
11008         (no_ssp): New variable.
11009         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
11010         (stack_protector): Set to -fno-stack-protector similarly.
11011         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
11012         (libc_cv_asm_set_directive): Likewise.
11013         (libc_cv_protected_data): Likewise.
11014         (libc_cv_z_combreloc): Likewise.
11015         (libc_cv_hashstyle): Likewise.
11016         (libc_cv_has_glob_dat): Likewise.
11017         (libc_cv_output_format): Likewise.
11018         (libc_cv_output_format): Likewise.
11019         (libc_cv_ehdr_start): Likewise.
11020         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
11021         (LIBC_LINKER_FEATURE): Likewise.
11022         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
11024 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11026         [BZ #7065]
11027         * elf/Makefile (dummy-stack-chk-fail): New.
11028         (librtld.map): Use it.
11030 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11032         [BZ #7065]
11033         Compile the dynamic linker without stack protection.
11034         * elf/Makefile (elide-stack-protector): New.
11035         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
11036         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
11037         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
11038         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
11040 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11042         [BZ #7065]
11043         * config.make.in (have-ssp, no-stack-protector): New.
11044         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
11045         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
11046         (CFLAGS-sbrk.op): Likewise.
11047         (CFLAGS-brk.o): Likewise.
11048         (CFLAGS-brk.op): Likewise.
11049         * string/Makefile (CFLAGS-memcpy.c): Likewise.
11050         (CFLAGS-wordcopy.c): Likewise.
11052 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11054         [BZ #7065]
11055         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
11056         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
11057         * include/libc-symbols.h (inhibit_stack_protector): New macro.
11058         (__ifunc_resolver): Use it.
11059         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
11060         inhibit_stack_protector.
11061         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
11062         * elf/ifuncmain7.c (foo_ifunc): Likewise.
11063         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
11064         (foo_protected_ifunc): Likewise.
11065         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
11066         (foo_protected_ifunc): Likewise.
11067         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11068         * sysdeps/nacl/nacl_interface_query.c
11069         (nacl_interface_query_ifunc): Likewise.
11070         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11071         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
11072         Likewise.
11073         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
11074         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
11075         the generated vDSO syscall resolver.
11077 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11078             Florian Weimer  <fweimer@redhat.com>
11080         [BZ #7065]
11081         Initialize the stack guard earlier when linking statically.
11082         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
11083         (__pthread_initialize_minimal): Declare.
11084         * csu/libc-start.c (__pthread_initialize_minimal): Remove
11085         declaration.
11086         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
11087         stack canary and apply_irel initialization up.  Call
11088         __pthread_initialize_minimal only if linked in.
11089         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
11090         constant values.
11091         (__pthread_initialize_minimal): Remove.
11092         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
11093         (__pthread_initialize_minimal_internal): Do not call
11094         __libc_setup_tls.
11096 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11098         [BZ #7065]
11099         * configure.ac (libc_cv_ssp): Move up.
11100         (libc_cv_ssp_strong): Likewise.
11101         (libc_cv_ssp_all): New.
11102         (stack_protector): Augment, adding -fstack-protector-all.
11103         (no_stack_protector): New.
11104         (STACK_PROTECTOR_LEVEL): New.
11105         (AC_ARG_ENABLE(stack-protector)): New configure flag.
11106         * manual/install.texi (--enable-stack-protector): Document it.
11107         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11109 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
11111         * README.pretty-printers: Must specify CPPFLAGS-* also.
11112         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11113         (CPPFLAGS-test-mutex-printers.c): Define.
11114         (CPPFLAGS-test-condattr-printers.c): Define.
11115         (CPPFLAGS-test-cond-printers.c): Define.
11116         (CPPFLAGS-test-rwlockattr-printers.c): Define.
11117         (CPPFLAGS-test-rwlock-printers.c): Define.
11119         * nss/Makefile [ifeq (yes,$(have-thread-library))]
11120         (tests): Add tst-cancel-getpwuid_r.
11121         * nss/tst-cancel-getpwuid_r.c: New file.
11123         [BZ #11941]
11124         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11125         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11126         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11127         tst-nodelete-dlclose.
11128         (modules-names): Add tst-nodelete-dlclose-dso and
11129         tst-nodelete-dlclose-plugin.
11130         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11131         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11132         ($(objpfx)tst-nodelete-dlclose): Define.
11133         ($(objpfx)tst-nodelete-dlclose.out): Define.
11135 2016-12-23  Florian Weimer  <fweimer@redhat.com>
11137         * scripts/test_printers_common.py: Log GDB output in case of
11138         Python detection failure.
11140 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11142         * configure.ac: Check for python3 or python.
11143         * configure: Regenerated.
11144         * config.make.in (PYTHON): New variable.
11145         * benchtests/Makefile: Don't define PYTHON.
11146         (bench): Define target only if PYTHON was defined.
11147         * Rules: Don't define PYTHON.
11148         Define pretty printer targets only if PYTHON was defined.
11149         (tests-printers): Add to tests-unsupported if PYTHON is not
11150         found.
11151         (python-flags, python-invoke): Remove.
11152         (tests-printers-out): Use PYTHON instead of python-invoke.
11154 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11156         [BZ #20978]
11157         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11158         Compare name == NULL, not name != NULL.
11160         * manual/texinfo.tex: Update to version 2016-09-18.18 with
11161         trailing whitespace removed.
11162         * scripts/config.guess: Update to version 2016-10-02.
11163         * scripts/config.sub: Update to version 2016-11-19.
11164         * scripts/install-sh: Update to version 2016-01-11.22.
11165         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11166         * scripts/move-if-change: Update to version 2016-01-11 22:04.
11168 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
11170         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11171         (do_one_test) Restore original string so iteration works.
11172         * string/string-inlines.c (do_test): Create better input strings.
11173         (test_main) Reduce number of testruns.
11174         * string/string-inlines.c (__old_strsep_1c): New function.
11175         (__old_strsep_2c): Likewise.
11176         (__old_strsep_3c): Likewise.
11177         * string/strsep.c (__strsep): Remove case of small delim string.
11178         Call strcspn directly rather than strpbrk.
11179         * string/bits/string2.h (__strsep): Remove define.
11180         (__strsep_1c): Remove.
11181         (__strsep_2c): Remove.
11182         (__strsep_3c): Remove.
11183         (strsep): Remove.
11184         * sysdeps/unix/sysv/linux/internal_statvfs.c
11185         (__statvfs_getflags): Rename to __strsep.
11187 2016-12-21  Florian Weimer  <fweimer@redhat.com>
11189         * csu/libc-tls.c (_dl_tls_setup): Remove.
11190         * elf/dl-tls.c (_dl_tls_setup): Likewise.
11191         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11192         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11194 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11196         [BZ #7065]
11197         * sysdeps/x86_64/Makefile [$(subdir) = elf]
11198         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11200 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11201             Florian Weimer  <fweimer@redhat.com>
11203         [BZ #7065]
11204         * csu/Makefile (tests): Empty assignment and document it.
11205         (tests-static): Remove.
11206         * csu/tst-empty.c: Move to...
11207         * misc/tst-empty.c: ... here.  Switch to new test driver.
11208         * csu/tst-atomic.c: Move to...
11209         * misc/tst-atomic.c: ... here.  Switch to new test driver.
11210         * csu/tst-atomic-long.c: Move to...
11211         * misc/tst-atomic-long.c: ... here.
11212         * misc/Makefile (tests): Add tst-empty, tst-atomic,
11213         tst-atomic-long.
11214         (tests-static): Add tst-empty.
11216 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
11218         * manual/nss.texi: Change incorrect @vtable to @table.
11219         * manual/arith.texi: Convert @tables of variables to @vtables
11220         and remove unnecessary indexing.
11221         * manual/filesys.texi: Likewise.
11222         * manual/llio.texi: Likewise.
11223         * manual/memory.texi: Likewise.
11224         * manual/process.texi: Likewise.
11225         * manual/resource.texi: Likewise.
11226         * manual/search.texi: Likewise.
11227         * manual/signal.texi: Likewise.
11228         * manual/socket.texi: Likewise.
11229         * manual/stdio.texi: Likewise.
11230         * manual/sysinfo.texi: Likewise.
11231         * manual/syslog.texi: Likewise.
11232         * manual/terminal.texi: Likewise.
11233         * manual/time.texi: Likewise.
11234         * manual/users.texi: Likewise.
11236 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11238         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11239         (roundeven): New declaration.
11240         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11241         macro.
11242         * math/Versions (roundeven): New libm symbol at version
11243         GLIBC_2.25.
11244         (roundevenf): Likewise.
11245         (roundevenl): Likewise.
11246         * math/Makefile (libm-calls): Add s_roundevenF.
11247         * math/libm-test.inc (roundeven_test_data): New array.
11248         (roundeven_test): New function.
11249         (main): Call roundeven_test.
11250         * math/test-tgmath.c (NCALLS): Increase to 134.
11251         (F(compile_test)): Call roundeven.
11252         (F(roundeven)): New function.
11253         * manual/arith.texi (Rounding Functions): Document roundeven,
11254         roundevenf and roundevenl.
11255         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11256         * include/math.h (roundeven): Use libm_hidden_proto.
11257         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11258         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11259         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11260         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11261         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11262         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11264         roundeven.
11265         (CFLAGS-nldbl-roundeven.c): New variable.
11266         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11267         * sysdeps/nacl/libm.abilist: Update.
11268         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11271         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11272         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11277         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11278         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11279         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11281         Likewise.
11282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11283         Likewise.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11285         Likewise.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11287         Likewise.
11288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11289         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11292         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11294         Likewise.
11295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11296         Likewise.
11297         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11301 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11303         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11304         preprocessor indentation inside #if.
11306 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11308         * math/libm-test.inc (fmt_ftostr): New function.
11309         (print_float, check_float_internal): Replace some uses of
11310         FTOSTR with uses of fmt_ftostr.
11311         (print_max_error, print_complex_max_error, print_function_ulps)
11312         (print_complex_function_ulps): Remove uses of the macros
11313         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11314         * math/test-double.h (FTOSTR): Define to strfromd.
11315         (PRINTF_EXPR): Delete.
11316         (PRINTF_XEXPR): Likewise.
11317         (PRINTF_NEXPR): Likewise.
11318         * math/test-float.h (FTOSTR): Define to strfromf.
11319         (PRINTF_EXPR): Delete.
11320         (PRINTF_XEXPR): Likewise.
11321         (PRINTF_NEXPR): Likewise.
11322         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11323         (PRINTF_EXPR): Delete.
11324         (PRINTF_XEXPR): Likewise.
11325         (PRINTF_NEXPR): Likewise.
11327 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11329         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11330         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11331         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11332         (__lll_lock_elision): Decrement adapt_count while unlocking
11333         instead of before locking.
11334         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11335         (__lll_trylock_elision): Likewise.
11336         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11337         (__lll_unlock_elision): Likewise.
11339 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11341         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11342         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11343         Use __libc_tbegin_retry macro.
11345 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11347         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11348         Add -msoft-float.
11349         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11350         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11351         Use __libc_t* transaction macros instead of __builtin_t*.
11352         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11353         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11355 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11357         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11358         (__lll_lock_elision): Use atomics to load / store adapt_count.
11359         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11360         (__lll_trylock_elision): Likewise.
11362 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11364         Do not require memset elimination in explicit_bzero test.
11365         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11366         (enum test_expectation): Add NO_EXPECTATIONS.
11367         (subtests): NO_EXPECTATIONS for ordinary clear.
11368         (check_test_buffer): Handle NO_EXPECTATIONS.
11369         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11371 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11373         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11374         (fmaxmag): New declaration.
11375         (fminmag): Likewise.
11376         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11377         macro.
11378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11379         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11380         (fmaxmagf): Likewise.
11381         (fmaxmagl): Likewise.
11382         (fminmag): Likewise.
11383         (fminmagf): Likewise.
11384         (fminmagl): Likewise.
11385         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11386         * math/s_fmaxmag_template.c: New file.
11387         * math/s_fminmag_template.c: Likewise.
11388         * math/libm-test.inc (fmaxmag_test_data): New array.
11389         (fmaxmag_test): New function.
11390         (fminmag_test_data): New array.
11391         (fminmag_test): New function.
11392         (main): Call fmaxmag_test and fminmag_test.
11393         * math/test-tgmath.c (NCALLS): Increase to 132.
11394         (F(compile_test)): Call fmaxmag and fminmag.
11395         (F(fminmag)): New function.
11396         (F(fmaxmag)): Likewise.
11397         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11398         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11399         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11400         fminmag.
11401         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11402         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11403         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11404         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11405         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11406         and fminmag.
11407         (CFLAGS-nldbl-fmaxmag.c): New variable.
11408         (CFLAGS-nldbl-fminmag.c): Likewise.
11409         * sysdeps/nacl/libm.abilist: Update.
11410         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11411         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11412         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11413         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11414         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11415         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11416         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11417         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11418         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11419         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11420         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11421         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11423         Likewise.
11424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11425         Likewise.
11426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11427         Likewise.
11428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11429         Likewise.
11430         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11431         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11432         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11434         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11436         Likewise.
11437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11438         Likewise.
11439         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11440         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11441         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11443 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11445         [BZ #20973]
11446         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11447         wake-up in robust mutexes.
11448         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11450 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11452         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11453         (CFLAGS-bench-fmaxf.c): New rule.
11454         (CFLAGS-bench-fminf.c): Likewise.
11455         * benchtests/fmaxf-inputs: New file.
11456         * benchtests/fminf-inputs: Likewise.
11458         * benchtests/Makefile (bench-math): Add fmin and fmax.
11459         (CFLAGS-bench-fmax.c): New rule.
11460         (CFLAGS-bench-fmin.c): Likewise.
11461         * benchtests/fmax-inputs: New file.
11462         * benchtests/fmin-inputs: Likewise.
11464         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11465         parenthesis.
11466         (CMDLINE_PROCESS): Define using function instead of macro.
11467         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11468         of test-skeleton.
11469         * benchtests/bench-memchr.c: Likewise.
11470         * benchtests/bench-memcmp.c: Likewise.
11471         * benchtests/bench-memcpy-large.c: Likewise.
11472         * benchtests/bench-memcpy.c: Likewise.
11473         * benchtests/bench-memmem.c: Likewise.
11474         * benchtests/bench-memmove-large.c: Likewise.
11475         * benchtests/bench-memmove.c: Likewise.
11476         * benchtests/bench-memset-large.c: Likewise.
11477         * benchtests/bench-memset.c: Likewise.
11478         * benchtests/bench-rawmemchr.c: Likewise.
11479         * benchtests/bench-strcasecmp.c: Likewise.
11480         * benchtests/bench-strcasestr.c: Likewise.
11481         * benchtests/bench-strcat.c: Likewise.
11482         * benchtests/bench-strchr.c: Likewise.
11483         * benchtests/bench-strcmp.c: Likewise.
11484         * benchtests/bench-strcpy.c: Likewise.
11485         * benchtests/bench-strcpy_chk.c: Likewise.
11486         * benchtests/bench-strlen.c: Likewise.
11487         * benchtests/bench-strncasecmp.c: Likewise.
11488         * benchtests/bench-strncmp.c: Likewise.
11489         * benchtests/bench-strncpy.c: Likewise.
11490         * benchtests/bench-strnlen.c: Likewise.
11491         * benchtests/bench-strpbrk.c: Likewise.
11492         * benchtests/bench-strrchr.c: Likewise.
11493         * benchtests/bench-strsep.c: Likewise.
11494         * benchtests/bench-strspn.c: Likewise.
11495         * benchtests/bench-strstr.c: Likewise.
11496         * benchtests/bench-strtok.c: Likewise.
11498 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11500         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11501         stepping identification.
11502         (init_cpu_features): Add handle of Haswell.
11504 2016-11-25  Jim Meyering  <meyering@fb.com>
11506         [BZ #20386]
11507         Let gcc detect assert(a = 1) errors.
11508         * assert/assert.h (assert): Rewrite, retaining the old definintion
11509         when required, but otherwise putting the expression as-is in an "if"
11510         expression (hence, with no added parentheses) within a statement
11511         expression.
11513 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11515         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11516         DSO.
11518 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11520         * Rules (python-flags, python-invoke): New.
11521         ($(test-printers-out)): Use $(python-flags).
11523 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11525         * manual/arith.texi (Math Error Reporting): Document that sNaN
11526         arguments are not considered domain errors.
11528 2016-12-16  Zack Weinberg <zackw@panix.com>
11529             Florian Weimer <fweimer@redhat.com>
11530             Nick Mathewson <nickm@torproject.org>
11532         * string/explicit_bzero.c: New routine.
11533         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11534         * string/Makefile (routines, strop-tests, tests): Add them.
11535         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11536         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11538         * debug/explicit_bzero_chk.c: New routine.
11539         * debug/Makefile (routines): Add it.
11540         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11541         * string/bits/string3.h: Fortify explicit_bzero.
11543         * manual/string.texi: Document explicit_bzero.
11544         * NEWS: Mention addition of explicit_bzero.
11546         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11547         data before returning, using explicit_bzero.
11548         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11549         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11550         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11552         * include/string.h: Redirect internal uses of explicit_bzero
11553         to __explicit_bzero_chk[_internal].
11554         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11555         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11556         * sysdeps/arm/nacl/libc.abilist
11557         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11558         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11559         * sysdeps/unix/sysv/linux/arm/libc.abilist
11560         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11561         * sysdeps/unix/sysv/linux/i386/libc.abilist
11562         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11563         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11564         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11565         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11566         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11567         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11568         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11569         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11570         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11575         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11576         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11577         * sysdeps/unix/sysv/linux/sh/libc.abilist
11578         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11579         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11582         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11583         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11584         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11585         Add entries for explicit_bzero and __explicit_bzero_chk.
11587 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11589         * math/fenv.h
11590         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11591         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11592         * math/test-fe-snans-always-signal.c: New file.
11593         * math/Makefile (tests): Add test-fe-snans-always-signal.
11594         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11595         * manual/arith.texi (Infinity and NaN): Document
11596         FE_SNANS_ALWAYS_SIGNAL.
11598 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11600         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11601         bracket.
11603 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11605         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11606         before calling execv.
11608 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11610         [BZ #20971]
11611         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11612         overflow in pointer addition.
11613         * string/test-memchr.c (do_test): Add an argument to pass as
11614         the size on memchr.
11615         (test_main): Add check for SIZE_MAX.
11617 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11619         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11620         (libm-calls): Add w_scalblnF.
11621         * math/w_scalbln.c: Remove.
11622         * math/w_scalblnf.c: Likewise.
11623         * math/w_scalblnl.c: Likewise.
11624         * math/w_scalbln_template.c: New file with type-generic
11625         implementation based on math/w_scalbln.c.
11626         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11627         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11629 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11631         [BZ #20947]
11632         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11633         either is a signaling NaN.
11634         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11635         follow fmaxl more closely.
11636         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11637         when either is a signaling NaN.
11638         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11639         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11640         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11641         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11642         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11643         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11644         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11645         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11646         (fmin_test_data): Likewise.
11648 2016-12-15  Andreas Schwab  <schwab@suse.de>
11650         * support/support_test_main.c (support_test_main): Don't shadow
11651         file-local variable test_pid.
11653 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11655         [BZ #20947]
11656         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11657         either is a signaling NaN.
11658         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11660 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11662         [BZ #20947]
11663         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11664         when either is a signaling NaN.
11665         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11667         * bits/long-double.h: New file.
11668         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11669         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11670         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11671         * sysdeps/mips/bits/long-double.h: Likewise.
11672         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11673         * math/Makefile (headers): Add bits/long-double.h.
11674         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11675         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11676         <bits/wordsize.h>.
11677         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11678         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11679         * math/math.h: Do not include <bits/mathdef.h>.
11680         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11681         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11682         inclusion.
11683         * sysdeps/ia64/bits/mathdef.h: Remove file.
11684         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11685         * sysdeps/mips/bits/mathdef.h: Likewise.
11686         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11687         * sysdeps/s390/bits/mathdef.h: Likewise.
11688         * sysdeps/sparc/bits/mathdef.h: Likewise.
11689         * sysdeps/x86/bits/mathdef.h: Likewise.
11690         * sysdeps/s390/s390-32/bits/wordsize.h
11691         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11692         conditional code.
11693         * sysdeps/s390/s390-64/bits/wordsize.h
11694         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11695         Likewise.
11696         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11697         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11698         Likewise.
11699         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11700         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11701         Likewise.
11702         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11703         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11704         Likewise.
11706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11707         <linux/falloc.h>.
11708         (FALLOC_FL_KEEP_SIZE): Remove.
11709         (FALLOC_FL_PUNCH_HOLE): Likewise.
11710         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11711         (FALLOC_FL_ZERO_RANGE): Likewise.
11713 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11715         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11717 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11719         * sysdeps/unix/sysv/linux/renameat.c: New file.
11720         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11722         * sysdeps/unix/sysv/linux/rename.c: New file.
11723         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11725 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11727         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11728         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11729         * string/strtok_r.c (__strtok_r): Optimize for performance.
11730         * string/string-inlines.c (__old_strtok_r_1c): New function.
11731         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11733 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11735         * math/Makefile (gen-libm-calls): Add w_log1pF.
11736         (libm-calls): Remove w_log1pF.
11737         * math/w_log1p.c: Remove.
11738         * math/w_log1pf.c: Likewise.
11739         * math/w_log1pl.c: Likewise.
11740         * math/w_log1p_template.c: New file with type-generic
11741         implementation based on math/w_log1p.c.
11742         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11743         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11745 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11747         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11749 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11751         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11752         kernel version to 4.9.
11754 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11756         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11757         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11759 2016-12-13  Andreas Schwab  <schwab@suse.de>
11761         * sysdeps/powerpc/dl-procinfo.c: Don't define
11762         _dl_powerpc_platforms.
11763         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11764         constants instead of referencing _dl_powerpc_platforms.
11765         (_dl_platform_string): Remove.
11767 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11769         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11771 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11773         * Rules (binaries-shared-tests, binaries-pie-tests)
11774         (binaries-static-tests): Link with $(link-extra-libs-tests).
11775         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11776         Remove $(link-extra-libs-tests).
11778 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11780         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11781         (sysdep_routines): Add strncmp_power9.
11782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11783         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11784         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11785         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11786         (strncmp): Add __strncmp_power9 to ifunc list.
11787         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11789 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11791         [BZ #17252]
11792         Add getentropy, getrandom.
11793         * stdlib/sys/random.h: New file.
11794         (headers): Add it.
11795         * stdlib/Makefile (routines): Add getentropy, getrandom.
11796         (tests): Add tst-getrandom.
11797         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11798         * stdlib/getentropy.c: New file.
11799         * stdlib/getrandom.c: Likewise.
11800         * stdlib/tst-getrandom.c: Likewise.
11801         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11802         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11803         * manual/crypt.texi (Unpredictable Bytes): New section.
11804         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11805         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11806         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11807         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11808         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11809         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11810         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11811         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11813         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11814         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11816         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11817         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11818         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11819         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11821         Likewise.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11823         Likewise.
11824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11826         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11827         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11828         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11829         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11835         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11837 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11839         [BZ #20956]
11840         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11841         as additional compiler barriers.
11842         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11843         (fn2, do_test): Declare with external linkage.
11844         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11845         (do_test): Declare with external linkage.
11846         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11847         (do_test): Declare with external linkage.
11848         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11849         (do_test): Declare with external linkage.
11851 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11853         * support/support_test_main.c (support_test_main): Use correct
11854         timeout.
11856 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11857             Florian Weimer  <fweimer@redhat.com>
11859         [BZ #16421]
11860         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11861         and __u6_addr32 members.
11862         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11863         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11864         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11865         Use __u6_addr32.
11866         * inet/tst-checks.c: Use <support/test-driver.c>
11867         * inet/tst-checks-posix.c: New file.
11868         * inet/Makefile (tests): Add it.
11869         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11871 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11873         New subdirectory support for build and test infrastructure.
11874         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11875         setting install-lib.
11876         * Makeconfig (link-extra-libs-tests): Define.
11877         (+link-pie-tests, +link-static-tests, +link-tests): Use
11878         link-extra-libs-tests.
11879         (rpath-dirs, all-subdirs): Add support.
11880         (built-modules): Add libsupport.
11881         (libsupport): Define.
11882         * support: New directory.
11883         * support/Makefile: New file.
11884         * support/check.c: Likewise.
11885         * support/check.h: Likewise.
11886         * support/delayed_exit.c: Likewise.
11887         * support/ignore_stderr.c: Likewise.
11888         * support/oom_error.c: Likewise.
11889         * support/set_fortify_handler.c: Likewise.
11890         * support/support.h: Likewise.
11891         * support/temp_file-internal.h: Likewise.
11892         * support/temp_file.c: Likewise.
11893         * support/test-driver.c: Likewise.
11894         * support/test-driver.h: Likewise.
11895         * support/test_main.c: Likewise.
11896         * support/write_message.c: Likewise.
11897         * support/xasprintf.c: Likewise.
11898         * support/xcalloc.c: Likewise.
11899         * support/xmalloc.c: Likewise.
11900         * support/xpthread_barrier_destroy.c: Likewise.
11901         * support/xpthread_barrier_init.c: Likewise.
11902         * support/xpthread_barrier_wait.c: Likewise.
11903         * support/xpthread_cancel.c: Likewise.
11904         * support/xpthread_check_return.c: Likewise.
11905         * support/xpthread_cond_wait.c: Likewise.
11906         * support/xpthread_create.c: Likewise.
11907         * support/xpthread_detach.c: Likewise.
11908         * support/xpthread_join.c: Likewise.
11909         * support/xpthread_mutex_lock.c: Likewise.
11910         * support/xpthread_mutex_unlock.c: Likewise.
11911         * support/xpthread_sigmask.c: Likewise.
11912         * support/xpthread_spin_lock.c: Likewise.
11913         * support/xpthread_spin_unlock.c: Likewise.
11914         * support/xrealloc.c: Likewise.
11915         * support/xsignal.h: Likewise.
11916         * support/xthread.h: Likewise.
11917         * support_tempfile.h: Likewise.
11918         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11919         (TEST_DATA_LIMIT): Remove unused macro.
11920         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11921         <support/check.h>.
11922         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11923         (ignore_stderr, set_fortify_handler): Remove.  Now in
11924         <support/support.h>.
11925         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11926         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11927         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11928         (xpthread_join): Remove.  Now in <support/xthread.h>.
11929         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11930         Introduce legacy wrappers.
11931         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11932         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11933         (write_message): Remove.
11934         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11935         test-skeleton.c.
11936         * io/test-open-tmpfile: Likewise.
11937         * io/tst-posix_fallocate-common.c: Likewise.
11938         * libio/tst-fseek.c: Likewise.
11939         * malloc/tst-malloc-backtrace.c: Likewise.
11940         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11941         * malloc/tst-malloc-thread-exit.c: Likewise.
11942         * nptl/tst-cancel7.c: Likewise.
11943         * nptl/tst-cleanup0.c: Likewise.
11944         * posix/tst-posix_fadvise-common.c: Likewise.
11945         * rt/tst-shm.c: Likewise.
11946         * time/bug-getdate1.c: Likewise.
11947         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11948         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11949         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11951 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11953         * Rules [$(run-built-tests) != no] (tests-expected): Add
11954         $(tests-printers).
11955         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11957 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11959         [BZ #20539]
11960         * math/Makefile (install-lib-ldscripts): Add libm.a.
11961         (install_subdir): Remove.
11962         (install-others): Add.
11963         ($(inst_libdir)/libm.a): Add rule for installation as
11964         linker script.
11965         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11967 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11969         * INSTALL: Regenerated.
11970         * Makeconfig: Add comments and whitespace to make the control flow
11971         clearer.
11972         (+link-printers-tests, +link-pie-printers-tests,
11973         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11974         built-rtld-LDFLAGS, link-libc-rpath,
11975         link-libc-tests-after-rpath-link,
11976         link-libc-printers-tests): New.
11977         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11978         link-libc-tests): Use the new variables as required.
11979         * Makerules ($(py-const)): New rule.
11980         generated: Add $(py-const).
11981         * README.pretty-printers: New file.
11982         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11983         (others): Depend on $(py-const).
11984         (tests): Depend on $(tests-printers-programs) or
11985         $(tests-printers-out),
11986         as required.  Pass $(tests-printers) to merge-test-results.sh.
11987         * manual/install.texi: Add requirements for testing the pretty
11988         printers.
11989         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11990         tests-printers, CFLAGS-test-mutexattr-printers.c
11991         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11992         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11993         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11994         * nptl/nptl-printers.py: New file.
11995         * nptl/nptl_lock_constants.pysym: Likewise.
11996         * nptl/test-cond-printers.c: Likewise.
11997         * nptl/test-cond-printers.py: Likewise.
11998         * nptl/test-condattr-printers.c: Likewise.
11999         * nptl/test-condattr-printers.py: Likewise.
12000         * nptl/test-mutex-printers.c: Likewise.
12001         * nptl/test-mutex-printers.py: Likewise.
12002         * nptl/test-mutexattr-printers.c: Likewise.
12003         * nptl/test-mutexattr-printers.py: Likewise.
12004         * nptl/test-rwlock-printers.c: Likewise.
12005         * nptl/test-rwlock-printers.py: Likewise.
12006         * nptl/test-rwlockattr-printers.c: Likewise.
12007         * nptl/test-rwlockattr-printers.py: Likewise.
12008         * scripts/gen-py-const.awk: Likewise.
12009         * scripts/test_printers_common.py: Likewise.
12010         * scripts/test_printers_exceptions.py: Likewise.
12012 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12014         * scripts/build-many-glibcs.py (Context.__init__): Take strip
12015         argument.
12016         (Glibc.build_glibc): Strip installed shared libraries if
12017         requested.
12018         (get_parser): Add --strip option.
12019         (main): Update Context call.
12021 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12022             Dominik Vogt  <vogt@linux.vnet.ibm.com>
12024         [BZ #20847]
12025         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12026         array bounds for else branch.
12027         (__execvpe): Style fixes.
12028         * posix/tst-vfork3.c (run_script): New function.
12029         (create_script): Likewise.
12030         (do_test): Use run_script internal function.
12031         (do_prepare): Use create_script internal function.
12033 2016-12-07  Andreas Schwab  <schwab@suse.de>
12035         * sysdeps/unix/sysv/linux/x86/elision-conf.h
12036         (__elision_available): Don't declare.
12037         * sysdeps/unix/sysv/linux/x86/elision-conf.c
12038         (__elision_available): Don't define.
12039         (elision_init): Don't set __elision_available.
12041 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12043         [BZ #20940]
12044         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
12045         return Inf for arguments Inf and sNaN.
12046         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12047         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12048         Likewise.
12049         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12050         Likewise.
12051         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12052         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
12053         for arguments Inf and sNaN.  When returning a NaN, compute it by
12054         arithmetic on the arguments.
12055         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
12056         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
12057         arguments.
12059 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
12061         [BZ #20916]
12062         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
12063         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
12064         to compute result.
12065         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12066         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
12068 2016-12-05  Torvald Riegel  <triegel@redhat.com>
12070         * include/atomic.h (__atomic_check_size_ls): New.
12071         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
12072         atomic_store_release): Use it.
12073         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
12074         (elision_adapt, ELIDE_LOCK): Use atomics.
12075         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
12076         atomics and improve code comments.
12077         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
12078         (__lll_trylock_elision): Likewise.
12080 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12082         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
12083         programs.
12085 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12087         [BZ #20916]
12088         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
12089         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
12090         arguments to compute result.
12091         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
12092         1 for arguments (sNaN, 0) or (1, sNaN).
12093         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12094         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12096         [BZ #20919]
12097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
12098         NaN first argument when raised to power 0.
12099         * math/w_pow.c (__pow): Do not check for NaN or zero results from
12100         raising to power zero.
12101         * math/w_powf.c (__powf): Likewise.
12102         * math/w_powl.c (__powl): Likewise.
12103         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12104         pow (0, 0) or pow (NaN, 0).
12106 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
12108         [BZ #20918]
12109         * configure.ac: Test for static NSS cryptographic libraries and set
12110         libc_cv_static_nss_crypt.
12111         * configure: Regenerate.
12112         * config.make.in (static-nss-crypt): Define.
12113         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12114         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12115         (CFLAGS-tst-linkall-static.c): Define.
12116         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12117         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12118         ($(objpfx)tst-linkall-static): Define.
12119         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12120         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12122 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12124         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12125         (one-hundred, tst-tls-many-dynamic-modules): Define.
12126         (modules-names): Add $(tst-tls-many-dynamic-modules).
12127         (tst-tls-manydynamic%mod.os): Build with special preprocessor
12128         macros.
12129         (tst-tls-manydynamic): Link against libdl, libpthread.
12130         (tst-tls-manydynamic.out): The test needs the test modules at run
12131         time.
12132         * elf/tst-tls-manydynamic.c: New file.
12133         * elf/tst-tls-manydynamic.h: Likewise.
12134         * elf/tst-tls-manydynamicmod.c: Likewise.
12136 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12138         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12139         (TLS_DTV_UNALLOCATED): Add.
12140         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12141         offsets.
12143 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12145         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12147 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12149         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12150         Add -fno-optimize-sibling-calls.
12152 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12154         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12155         New declaration.
12156         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12157         macro.
12158         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12159         New macro.
12160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12162         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12163         (llogbf): Likewise.
12164         (llogbl): Likewise.
12165         * math/Makefile (gen-libm-calls): Add w_llogbF.
12166         (tests): Add test-fp-llogb-constants.
12167         * math/w_llogb_template.c: New file.  Based on
12168         math/w_ilogb_template.c.
12169         * math/libm-test.inc (llogb_test_data): New array.
12170         (llogb_test): New function.
12171         (main): Call llogb_test.
12172         * math/test-fp-llogb-constants.c: New file.  Based on
12173         math/test-fp-ilogb-constants.c.
12174         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12175         (do_test): Call check_return_llogb.
12176         * math/test-tgmath.c (NCALLS): Increase to 126.
12177         (F(compile_test)): Call llogb.
12178         (F(llogb)): New function.
12179         * manual/math.texi (Exponents and Logarithms): Document llogb,
12180         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12181         * manual/libm-err-tab.pl (@all_functions): Add llogb.
12182         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12183         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12184         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12185         (CFLAGS-nldbl-llogb.c): New variable.
12186         * sysdeps/nacl/libm.abilist: Update.
12187         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12188         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12189         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12190         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12191         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12192         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12193         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12194         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12195         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12196         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12197         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12198         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12200         Likewise.
12201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12202         Likewise.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12206         Likewise.
12207         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12208         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12209         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12210         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12211         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12213         Likewise.
12214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12215         Likewise.
12216         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12217         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12218         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12220 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12222         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12223         _Float128 instead of long double.
12224         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12226         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12227         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12228         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12229         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12230         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12231         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12232         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12233         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12234         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12235         Likewise.
12237 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12239         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12240         Remove redirection to __strrchr_ppc.
12242 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12244         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12245         (sysdep_routines): Add strcmp_power9.
12246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12247         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12248         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12249         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12250         (strcmp): Add __strcmp_power9 to ifunc list.
12251         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12253 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12255         * bits/fp-logb.h: New file.
12256         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12257         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12258         * sysdeps/x86/bits/fp-logb.h: Likewise.
12259         * math/Makefile (headers): Add bits/fp-logb.h.
12260         * math/math.h: Include <bits/fp-logb.h>.
12261         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12262         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12263         * bits/mathdef.h (FP_ILOGB0): Remove.
12264         (FP_ILOGBNAN): Likewise.
12265         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12266         (FP_ILOGBNAN): Likewise.
12267         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12268         (FP_ILOGBNAN): Likewise.
12269         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12270         (FP_ILOGBNAN): Likewise.
12271         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12272         (FP_ILOGBNAN): Likewise.
12273         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12274         (FP_ILOGBNAN): Likewise.
12275         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12276         (FP_ILOGBNAN): Likewise.
12277         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12278         (FP_ILOGBNAN): Likewise.
12279         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12280         (FP_ILOGBNAN): Likewise.
12281         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12282         (FP_ILOGBNAN): Likewise.
12284         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12285         time module.
12286         (Context.__init__): Initialize self.logsdir_old.
12287         (Context.run_builds): Handle bot action.
12288         (Context.bot_cycle): Copy logs directory before running builds.
12289         (Context.bot_run_self): Take argument for whether to check
12290         subprocess result.  Flush stdout before running subprocess.
12291         (Context.bot): New function.
12292         (get_parser): Allow bot action.
12294 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12296         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12297         Import email.mime.text, email.utils and smtplib modules.
12298         (Context.__init__): Initialize self.bot_config_json.
12299         (Context.run_builds): Handle bot-cycle action.
12300         (Context.load_bot_config_json): New function.
12301         (Context.part_build_old): Likewise.
12302         (Context.bot_cycle): Likewise.
12303         (Context.bot_build_mail): Likewise.
12304         (Context.bot_run_self): Likewise.
12305         (get_parser): Allow bot-cycle action.
12307 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12310         Remove redirection to __stpcpy_ppc.
12312 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12314         Remove __libc_memalign from ld.so because it is unused.
12315         * elf/dl-minimal.c: Update comment on the malloc implementation.
12316         (malloc): Renamed from __libc_memalign, replacing the original
12317         malloc implementation.  Replace the align parameter with
12318         MALLOC_ALIGNMENT.
12319         * elf/Versions (ld): Update comment and remove __libc_memalign.
12320         * sysdeps/nacl/ld.abilist: Likewise.
12321         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12322         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12323         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12324         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12325         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12326         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12327         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12328         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12329         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12330         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12331         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12332         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12333         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12337         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12338         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12339         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12340         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12341         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12344         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12345         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12346         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12347         * sysdeps/generic/localplt.data (ld.so): Likewise.
12348         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12349         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12350         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12351         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12352         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12353         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12354         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12355         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12356         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12358         (ld.so): Likewise.
12359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12360         (ld.so): Likewise.
12361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12362         Likewise.
12363         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12364         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12365         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12366         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12367         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12369 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12371         [BZ #16628]
12372         Implement _dl_catch_error, _dl_signal_error in libc.so.
12373         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12374         (catch_hook): Define as thread-local or regular variable,
12375         depending on DL_ERROR_BOOTSTRAP.
12376         (CATCH_HOOK): Remove.
12377         (dl_signal_error, _dl_catch_error): Use
12378         catch_hook.  Add hidden definition for libc.
12379         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12380         for DL_ERROR_BOOTSTRAP only.
12381         * elf/dl-error.c: New file.
12382         * elf/dl-error-minimal.c: Likewise.
12383         * elf/tst-latepthread.c: Likewise.
12384         * elf/tst-latepthreadmod.c: Likewise.
12385         * elf/Makefile (routines): Add dl-error.
12386         (dl-routines): Remove dl-error.
12387         (rtld-routines): Add dl-error-minimal.
12388         [build-shared] (tests): Add tst-latepthread.
12389         (module-names): Add tst-latepthreadmod.
12390         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12391         symbol.
12392         (tst-latepthreadmod.so): Link against libpthread.
12393         (tst-latepthread): Link against libdbl.
12394         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12395         _dl_catch_error.
12396         [ld] (GLIBC_PRIVATE): Likewise.
12397         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12398         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12399         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12400         directly.
12401         * elf/dl-tsd.c: Remove file.
12402         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12403         _dl_catch_error, _dl_signal_error.
12404         (_dl_initial_error_catch_tsd): Remove definition.
12405         (do_preload): Remove initialization of dl_error_catch_tsd.
12406         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12407         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12408         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12409         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12410         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12411         set dl_error_catch_tsd.
12412         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12413         _dl_error_catch_tsd member.
12414         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12415         members.
12416         (_dl_initial_error_catch_tsd): Remove declaration.
12417         (_dl_dprintf): Provide definition for use outside of ld.so.
12418         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12419         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12420         prototype for libc.
12421         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12422         _dl_catch_error.
12423         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12424         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12425         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12426         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12427         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12428         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12429         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12430         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12431         Likewise.
12432         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12434         (ld.so): Likewise.
12435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12436         (ld.so): Likewise.
12437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12440         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12441         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12442         Likewise.
12443         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12444         Likewise.
12445         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12447 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12449         [BZ #4099]
12450         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12451         _IO_BUFSIZ (8192).
12453 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12455         * PROJECTS: Remove file.
12457 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12459         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12461 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12462             Steve Ellcey  <sellcey@caviumnetworks.com>
12464         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12465         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12466         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12467         fxstatat.
12468         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12469         lxstat.
12470         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12471         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12472         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12473         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12474         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12475         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12476         __xstat.
12478 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12480         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12481         Define.
12482         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12483         definition.
12485 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12487         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12488         version and turn into strong alias.  Remove compat symbol.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12491         (__longjmp): Remove.
12493 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12495         * bits/fp-fast.h: New file.
12496         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12497         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12498         * math/Makefile (headers): Add bits/fp-fast.h.
12499         * math/math.h: Include <bits/fp-fast.h>.
12500         * bits/mathdef.h (FP_FAST_FMA): Remove.
12501         (FP_FAST_FMAF): Likewise.
12502         (FP_FAST_FMAL): Likewise.
12503         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12504         (FP_FAST_FMAF): Likewise.
12505         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12506         (FP_FAST_FMAF): Likewise.
12507         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12508         (FP_FAST_FMAF): Likewise.
12509         (FP_FAST_FMAL): Likewise.
12510         * sysdeps/arm/bits/mathdef.h: Remove file.
12511         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12512         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12513         * sysdeps/tile/bits/mathdef.h: Likewise.
12515 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12517         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12518         * math/w_ilogb.c: Remove.
12519         * math/w_ilogbf.c: Likewise.
12520         * math/w_ilogbl.c: Likewise.
12521         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12522         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12523         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12524         (libm-calls): Remove w_ilogbF.
12525         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12526         (LDOUBLE_ilogbl_libm_version): New macro.
12528         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12530         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12531         [!__STRICT_ANSI__ && !__cplusplus].
12533 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12535         [BZ #20750]
12536         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12537         of PIC.
12539 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12540             Yury Norov  <ynorov@caviumnetworks.com>
12541             Steve Ellcey  <sellcey@caviumnetworks.com>
12543         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12544         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12545         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12546         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12547         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12548         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12549         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12550         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12551         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12552         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12553         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12554         to get correct reg name for ILP32.
12555         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12556         (RELA_SIZE): New Macro.
12557         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12558         to support ILP32.
12559         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12560         cast for ILP32 mode.
12561         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12562         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12563         * sysdeps/aarch64/memset.S (__memset): Ditto.
12564         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12565         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12566         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12567         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12568         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12569         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12570         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12571         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12572         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12573         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12574         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12575         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12576         change PTR_MANGLE call to use register numbers instead of names.
12577         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12578         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12579         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12580         * sysdeps/aarch64/start.S (_start): Ditto.
12581         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12582         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12583         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12584         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12585         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12586         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12587         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12588         Make defined values dependent on __ILP32__.
12589         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12590         (sem_t): Change __align type.
12591         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12592         PTR_SIZE): New Macros.
12593         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12594         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12595         Set when in ILP32 mode.
12596         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12597         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12598         Set elf flags for ILP32.
12599         (add_system_dir): Set ILP32 library directories.
12600         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12601         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12602         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12603         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12604         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12605         New Macros.
12606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12608 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12610         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12611         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12612         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12614 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12616         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12617         <asm/cachectl.h>.
12619 2016-11-27  Zack Weinberg  <zackw@panix.com>
12621         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12622         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12624 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12626         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12627         error_t to fix usage in C++ programs.
12629 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12631         * scripts/build-many-glibcs.py: Import datetime module.
12632         (Context.__init__): Load JSON build state.  Initialize list of
12633         status logs.
12634         (Context.run_builds): Update saved build state.
12635         (Context.add_makefile_cmdlist): Update list of status logs.
12636         (Context.load_build_state_json): New function.
12637         (Context.store_build_state_json): Likewise.
12638         (Context.clear_last_build_state): Likewise.
12639         (Context.update_build_state): Likewise.
12640         (CommandList.status_logs): Likewise.
12642 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12644         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12645         script being executed.
12646         (Context.get_script_text): New function.
12647         (Context.exec_self): Likewise.
12648         (Context.checkout): Re-exec script if changed by checkout process.
12650 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12652         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12653         (setpayloadsig): New declaration.
12654         * math/Versions (setpayloadsig): New libm symbol at version
12655         GLIBC_2.25.
12656         (setpayloadsigf): Likewise.
12657         (setpayloadsigl): Likewise.
12658         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12659         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12660         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12661         (setpayloadsig_test_data): New array.
12662         (setpayloadsig_test): New function.
12663         (main): Call setpayloadsig_test.
12664         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12665         setpayloadsigf and setpayloadsigl.
12666         * manual/libm-err-tab.pl: Update comment on interfaces without
12667         ulps tabulated.
12668         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12669         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12670         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12671         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12672         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12673         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12674         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12675         setpayloadsig.
12676         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12677         * sysdeps/nacl/libm.abilist: Update.
12678         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12679         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12680         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12681         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12682         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12683         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12684         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12686         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12687         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12688         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12689         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12691         Likewise.
12692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12693         Likewise.
12694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12695         Likewise.
12696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12697         Likewise.
12698         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12699         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12700         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12701         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12702         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12704         Likewise.
12705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12706         Likewise.
12707         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12708         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12711         * scripts/build-many-glibcs.py: Import json module.
12712         (Context.__init__): Take replace_sources argument.  Load
12713         versions.json.
12714         (Context.load_versions_json): New function.
12715         (Context.store_json): Likewise.
12716         (Context.store_versions_json): Likewise.
12717         (Context.set_component_version): Likewise.
12718         (Context.checkout): Update versions.json.  Check for and handle
12719         changes of version.  Prefer previously explicitly specified
12720         version to default version.
12721         (Context.checkout_vcs): Return a revision identifier.
12722         (Context.git_checkout): Likewise.
12723         (Context.gcc_checkout): Likewise.
12724         (get_parser): Add --replace-sources option.
12725         (main): Pass replace_sources argument to Context call.
12727 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12729         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12730         * nptl/allocatestack.c (allocate_stack): Likewise.
12731         (__reclaim_stacks): Likewise.
12732         (setxid_signal_thread): Obtain pid through syscall.
12733         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12734         (sighandle_setxid): Likewise.
12735         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12736         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12737         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12738         Likewise.
12739         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12740         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12741         comment.
12742         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12743         * nptl/descr.h (struct pthread): Change comment about pid value.
12744         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12745         pid assert.
12746         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12747         Do not set pid value.
12748         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12749         pid cache check.
12750         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12751         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12752         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12753         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12754         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12755         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12756         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12757         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12758         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12759         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12760         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12761         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12762         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12763         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12764         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12765         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12766         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12767         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12768         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12769         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12770         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12771         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12772         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12773         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12774         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12777         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12778         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12779         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12780         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12781         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12782         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12783         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12784         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12785         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12786         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12787         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12788         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12789         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12790         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12791         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12792         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12795         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12796         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12797         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12798         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12799         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12800         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12801         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12802         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12803         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12804         struct access.
12805         (clone_test): Remove function.
12806         (do_test): Rewrite to take in consideration pid is not cached anymore.
12808 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12810         * bits/flt-eval-method.h: New file.
12811         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12812         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12813         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12814         * math/Makefile (headers): Add bits/flt-eval-method.h.
12815         * math/math.h: Include <bits/flt-eval-method.h>.
12816         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12817         [__USE_ISOC99] (double_t): Likewise.
12818         * bits/mathdef.h (float_t): Remove.
12819         (double_t): Likewise.
12820         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12821         (double_t): Likewise.
12822         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12823         (double_t): Likewise.
12824         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12825         (double_t): Likewise.
12826         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12827         (double_t): Likewise.
12828         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12829         (double_t): Likewise.
12830         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12831         (double_t): Likewise.
12832         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12833         (double_t): Likewise.
12834         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12835         (double_t): Likewise.
12836         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12837         (double_t): Likewise.
12838         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12839         (double_t): Likewise.
12840         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12841         (double_t): Likewise.
12842         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12843         (double_t): Likewise.
12844         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12845         (double_t): Likewise.
12847 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12849         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12850         instead of PIC.
12852 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12854         [BZ #20859]
12855         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12856         (-0x7fffffff) instead of 0x80000001.
12857         * math/test-fp-ilogb-constants.c: New file.
12858         * math/Makefile (tests): Add test-fp-ilogb-constants.
12860 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12862         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12863         (_init): Use it in place of hardcoded R_MIPS_JALR.
12864         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12865         (_init): Use it in place of hardcoded R_MIPS_JALR.
12866         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12867         (_init): Use it in place of hardcoded R_MIPS_JALR.
12869 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12871         [BZ #20787]
12872         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12873         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12874         (double_t): Do not define to double if [__x86_64__] when
12875         __FLT_EVAL_METHOD__ is nonzero.
12876         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12877         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12878         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12879         test-flt-eval-method-387 and test-flt-eval-method-sse.
12880         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12881         variable.
12882         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12884 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12886         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12887         use of -fno-isolate-erroneous-paths options for tilepro.
12889 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12891         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12892         structure initialization is no longer needed.
12894 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12896         [BZ #20855]
12897         * bits/mathdef.h (float_t): Define to float.
12898         * math/test-flt-eval-method.c: New file.
12899         * math/Makefile (tests): Add test-flt-eval-method.
12900         (CFLAGS-test-flt-eval-method.c): New variable.
12902 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12904         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12905         and __fstatfs.  Make them aliases of __fstatfs64 if
12906         STATFS_IS_STATFS64 is set to non-zero.
12907         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12908         and __statfs64.
12909         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12910         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12911         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12912         for __statfs and statfs.
12913         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12914         to 0.
12915         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12916         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12917         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12918         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12919         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12920         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12923         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12924         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12925         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12926         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12928 2016-11-22  Andreas Schwab  <schwab@suse.de>
12930         * misc/mkstemp.c: Include <fcntl.h>.
12931         * misc/mkstemps.c: Likewise.
12932         * misc/mkostemp.c: Likewise.
12933         * misc/mkostemps.c: Likewise.
12935 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12937         [BZ #20847]
12938         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12939         array bounds.
12940         (__execvpe): Likewise.
12942 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12944         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12945         -fno-isolate-erroneous-paths options for tilepro.
12947 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12949         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12950         to 0 when in 32 bit mode.
12951         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12952         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12953         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12954         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12956         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12957         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12958         XSTAT_IS_XSTAT64 test.
12959         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12960         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12961         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12962         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12963         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12964         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12965         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12966         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12967         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12968         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12969         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12971 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12973         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12974         (setpayload): New declaration.
12975         * math/Versions (setpayload): New libm symbol at version
12976         GLIBC_2.25.
12977         (setpayloadf): Likewise.
12978         (setpayloadl): Likewise.
12979         * math/Makefile (libm-calls): Add s_setpayloadF.
12980         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12981         test_Ff_b1_data.
12982         (RUN_TEST_Ff_b1): New macro.
12983         (RUN_TEST_LOOP_Ff_b1): Likewise.
12984         (canonicalize_test_data): Update type.
12985         (setpayload_test_data): New array.
12986         (setpayload_test): New function.
12987         (main): Call setpayload_test.
12988         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12989         setpayloadf and setpayloadl.
12990         * manual/libm-err-tab.pl: Update comment on interfaces without
12991         ulps tabulated.
12992         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12993         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12994         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12995         Likewise.
12996         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12997         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12998         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12999         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
13000         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
13001         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
13002         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
13003         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
13004         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
13005         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13006         setpayload.
13007         (CFLAGS-nldbl-setpayload.c): New variable.
13008         * sysdeps/nacl/libm.abilist: Update.
13009         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13010         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13011         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13012         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13013         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13014         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13015         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13016         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13017         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13018         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13019         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13020         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13022         Likewise.
13023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13024         Likewise.
13025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13026         Likewise.
13027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13028         Likewise.
13029         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13030         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13031         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13032         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13033         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13035         Likewise.
13036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13037         Likewise.
13038         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13039         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13040         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13042 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13044         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
13045         * include/unistd.h: Extend comment about __access_noerrno return
13046         semantics.
13047         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
13048         (access_common): Correct typo for EACCES.
13050 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
13052         * sysdeps/tile/math-tests.h: New file.
13054         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
13055         (__old_set_dataplane): Rename from set_dataplane and make a
13056         compatibility symbol.
13057         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
13058         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
13059         sys/dataplane.h.
13061 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
13063         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
13064         script quote words in command output to log suitably for input to
13065         the shell.
13067 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
13068             Maciej W. Rozycki  <macro@imgtec.com>
13070         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
13071         `.Lno_weak_fn' label.
13072         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
13073         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
13075 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13076             Yury Norov  <ynorov@caviumnetworks.com>
13078         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
13079         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
13080         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13081         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
13082         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13083         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
13084         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13085         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13086         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13087         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
13088         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13089         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
13090         (sysdep_routines): Remove oldgetrlimit64.
13091         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
13092         (sysdep_routines): Likewise.
13093         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
13094         (sysdep_routines): Likewise.
13095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13096         [$(subdir) = resource] (sysdep_routines): Likewise.
13097         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
13098         [$(subdir) = resource] (sysdep_routines): Likewise.
13099         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
13100         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
13101         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13102         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13103         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13104         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13105         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13106         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13107         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13108         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13109         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13110         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13111         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13112         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13113         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13114         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13115         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13116         setrlimit and getrlimit.
13117         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13118         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13119         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13122         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13123         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13124         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13126         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13127         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13128         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13129         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13130         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13131         (__old_getrlimit64): Add compatibility symbol.
13132         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13134 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
13136         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13137         newly built gmp, mpfr and mpc.
13139         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13141 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13143         * conform/Makefile (linknamespace-libs): Rename to
13144         linknamespace-libs-thr.
13145         (linknamespace-libs-posix): New variable.
13146         (linknamespace-libs-xsi): Likewise.
13147         (linknamespace-libs-XPG3): Include libcrypt.a.
13148         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13149         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13150         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13151         (linknamespace-libs-XOPEN2K): Likewise.
13152         (linknamespace-libs-XOPEN2K8): Likewise.
13153         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13155         [BZ #20829]
13156         * stdio-common/Versions (__snprintf): Add to version
13157         GLIBC_PRIVATE.
13158         * include/stdio.h (__snprintf): Use libc_hidden_proto.
13159         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13160         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13161         of snprintf.
13162         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13164 2016-11-16  Zack Weinberg  <zackw@panix.com>
13166         * string/string.h: Remove obsolete comment stating that
13167         strcoll_l and strxfrm_l have not yet been standardized.
13169 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13171         * hurd/hurd.h (__hurd_fail_noerrno): New function.
13172         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13173         __access_noerrno.
13174         * io/access.c (__access_noerrno): New function.
13175         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13176         (hurd_fail_seterrno): Likewise.
13177         (access_common): Likewise.
13178         (__access_noerrno): Likewise.
13179         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13180         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13181         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13182         macro.
13184 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13186         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13187         Only declare fpregs if [__SH_FPU_ANY__].
13189 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
13191         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13192         Make code unconditional.
13193         [!(__SH4__ || __SH4A__)]: Remove conditional code.
13195 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
13197         * manual/sysinfo.texi (S_APPEND): Delete.
13198         (S_IMMUTABLE): Likewise.
13200 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
13201             Magnus Granberg  <zorry@gentoo.org>
13202             Mike Frysinger  <vapier@gentoo.org>
13204         [BZ #20662]
13205         * configure.ac (libc_cv_predef_stack_protector): Also check for
13206         __stack_chk_fail_local symbols.
13207         * configure: Regenerated.
13209 2016-11-15  Florian Weimer  <fweimer@redhat.com>
13211         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13212         (libc_hidden_def): Remove redefinition.
13213         (__sigsetjmp): Add hidden definition.
13214         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13215         (libc_hidden_def): Remove redefinition.
13216         (__sigsetjmp): Add hidden definition.
13218 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
13220         * scripts/build-many-glibcs.py (os.path): Do not import.
13221         (Context): Inherit explicitly from object.  Remove blank line
13222         between class and docstring.
13223         (Config): Likewise.
13224         (Glibc): Likewise.
13225         (Command): Likewise.
13226         (CommandList): Likewise.
13227         (Context.write_files): Store chmod mode in a variable.
13229         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13230         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13231         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13233 2016-11-14  Zack Weinberg  <zackw@panix.com>
13235         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13236         creating or re-creating it.
13238         * string/bits/string2.h: Fix typo in comment.
13240 2016-11-14  Zack Weinberg  <zackw@panix.com>
13242         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13243         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13244         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13245         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13246         of redirected function names.
13248         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13249         as well.  Document that MESSAGE must be a single string literal.
13251 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13253         * scripts/build-many-glibcs.py: New file.
13255         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13256         (do_test): Disable -Wmaybe-uninitialized around uses of
13257         except_mask.
13259         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13261 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13263         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13264         (atomic_store_release): Provide tilepro-specific implementations.
13266 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13268         * math/math.h (__MATH_TG): New macro.
13269         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13270         [__USE_ISOC99] (signbit): Likewise.
13271         [__USE_ISOC99] (isfinite): Likewise.
13272         [__USE_ISOC99] (isnan): Likewise.
13273         [__USE_ISOC99] (isinf): Likewise.
13274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13277         __MATH_TG and __MATH_EVAL_FMT2.
13278         * sysdeps/generic/math_private.h (fabs_tg): Define using
13279         __MATH_TG.
13280         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13281         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13282         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13283         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13284         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13285         macro.
13286         (__iscanonical): Likewise.
13287         (iscanonical): Define using __MATH_TG.
13289 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13291         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13292         guards.
13294         * sysdeps/unix/sysv/linux/access.c: New file.
13295         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13297 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13299         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13300         and __WORDSIZE32_PTRDIFF_LONG.
13302 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13304         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13306 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13308         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13309         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13310         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13311         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13312         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13314         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13315         * sysdeps/unix/sysv/linux/truncate.c: New file.
13316         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13317         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13318         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13319         Remove.
13320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13321         Likewise.
13323         * posix/tst-truncate-common.c: New file.
13324         * posix/tst-truncate.c: Use tst-truncate-common.c.
13325         * posix/tst-truncate64.c: Likewise and add LFS tests.
13326         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13327         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13328         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13329         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13330         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13332         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13333         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13334         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13335         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13336         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13337         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13338         Remove.
13339         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13340         Likewise.
13342 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13344         [BZ #20790]
13345         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13346         to MAXLINESIZE.
13347         * sunrpc/bug20790.x: New file.
13348         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13349         variable.
13350         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13351         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13353         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13355         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13357         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13358         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13359         calloc, realloc, free, memalign and __libc_memalign rather than
13360         making them optional.
13362         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13363         for libc.so.
13365 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13367         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13368         ptw-lseek64.
13369         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13370         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13371         Likewise.
13372         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13373         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13374         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13375         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13376         * sysdeps/unix/sysv/linux/lseek.c: New file.
13377         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13378         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13379         __libc_lseek64 from auto-generation.
13380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13381         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13383 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13385         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13386         * nptl/tst-cleanup1.c (do_test): Likewise.
13387         * nptl/tst-cleanup3.c (do_test): Likewise.
13388         * nptl/tst-key1.c (do_test): Likewise.
13389         * nptl/tst-key2.c (tf, do_test): Likewise.
13390         * nptl/tst-key3.c (tf, do_test): Likewise.
13391         * nptl/tst-stdio1.c (do_test): Likewise.
13392         * nptl/tst-stdio2.c (do_test): Likewise.
13394         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13395         * nptl/tst-kill6.c (handler): Likewise.
13396         * nptl/tst-tls2.c (CB): Likewise.
13397         * nptl/tst-tls3.c (CB): Likewise.
13399 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13401         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13403 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13404             Steve Ellcey  <sellcey@caviumnetworks.com>
13406         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13407           __ASSUME_ST_INO_64_BIT as 0
13408         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13409         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13410           over the code where __ASSUME_ST_INO_64_BIT is used.
13411         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13412         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13413         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13415 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13417         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13418         Document ABI exposure of the __kind offset.
13419         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13420         Mention reason for the __kind offset exposure in the ABI.
13421         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13422         Likewise.
13423         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13424         Likewise.
13425         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13426         Likewise.
13427         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13428         (struct __pthread_mutex_s): Likewise.
13429         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13430         Likewise.
13431         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13432         Likewise.
13433         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13434         Likewise.
13435         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13436         Likewise.
13437         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13438         Likewise.
13439         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13440         Likewise.
13441         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13442         (struct __pthread_mutex_s): Likewise.
13443         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13444         (struct __pthread_mutex_s): Likewise.
13445         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13446         Likewise.
13448 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13450         * test-skeleton.c: Document do_test usage.
13452 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13454         * iconv/gconv.h (__gconv_info): Define __data element using a
13455         zero-length array.
13457 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13459         * math/test-tgmath2.c: Split up test function.
13461 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13463         * Rules (tests-expected): New variable, depending on
13464         $(run-built-tests).
13465         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13466         $(tests).
13468         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13469         $(tests-unsupported).
13471 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13473         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13474         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13476 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13478         [BZ #20768]
13479         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13480         __fegetenv instead of fegetenv.
13482         [BZ #14139]
13483         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13484         (find_files): Obtain platform name from libm-test-ulps-name and
13485         store in %pplatforms.
13486         (canonicalize_platform): Remove.
13487         (print_platforms): Use $pplatforms directly.
13488         (by_platforms): Do not allow for platforms missing from
13489         %pplatforms.
13490         * sysdeps/aarch64/libm-test-ulps-name: New file.
13491         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13492         * sysdeps/arm/libm-test-ulps-name: Likewise.
13493         * sysdeps/generic/libm-test-ulps-name: Likewise.
13494         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13495         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13496         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13497         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13498         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13499         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13500         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13501         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13502         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13503         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13504         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13505         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13506         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13507         * sysdeps/sh/libm-test-ulps-name: Likewise.
13508         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13509         * sysdeps/tile/libm-test-ulps-name: Likewise.
13510         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13512         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13514         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13515         (test-xfail-check-execstack): New variable.
13517         * sysdeps/mips/localplt.data: New file.
13519 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13520             Steve Ellcey  <sellcey@caviumnetworks.com>
13522         * bits/wordsize.h: Add documentation.
13523         * sysdeps/aarch64/bits/wordsize.h : New file
13524         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13525         definitions.
13526         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13527         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13528         with #if instead of #ifdef.
13529         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13530         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13531         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13532         Add or change defines.
13533         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13534         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13535         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13536         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13537         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13538         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13539         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13540         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13541         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13542         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13543         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13544         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13545         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13546         * sysdeps/x86/bits/wordsize.h: Likewise.
13548 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13549             Kevin Petit  <kevin.petit@arm.com>
13551         * sysdeps/aarch64/memchr.S (__memchr): New file.
13553 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13555         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13557 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13559         [BZ #19398]
13560         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13561         $(linknamespace-symlists-tests).
13563 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13565         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13567 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13568             Carlos O'Donell  <carlos@redhat.com>
13570         [Bug #20729]
13571         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13572         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13573         for -Os related change.
13575 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13577         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13579 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13581         [BZ #19673]
13582         * manual/math.texi (Exponents and Logarithms): Correct description
13583         of clog10.
13585 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13587         [Bz #20729]
13588         * locale/weight.h: Include libc-internal.h.
13589         * locale/weightwc.h: Likewise.
13590         * nptl/nptl_dbP.h: Likewise.
13592 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13594         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13595         when it is MACH_PORT_NULL.
13597 2016-10-31  Andreas Schwab  <schwab@suse.de>
13599         [BZ #20707]
13600         * posix/glob.c (glob): Initialize pglob before checking for
13601         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13602         valid brace expression despite GLOB_BRACE.
13603         * posix/globtest.sh: Test it.
13605 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13607         [BZ #20729]
13608         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13609         Define.
13610         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13611         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13612         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13613         for seq2.back_us and seq1.back_us only for -Os compiles.
13614         * locale/weightwc.h (findix): Likewise.
13615         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13616         DB_GET_FIELD_ADDRESS only for -Os compiles.
13617         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13618         for slen only for -Os compiles.
13619         * string/strcoll_l.c (get_next_seq): Ignore
13620         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13621         for -Os compiles.
13623         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13624         * include/crypt.h: New file.
13626 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13628         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13629         from test-skeleton.c.
13630         (statclass): Replace calls to write with calls to write_message.
13632 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13634         * math/math.h
13635         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13636         New macro.
13637         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13638         Likewise.
13639         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13640         Likewise.
13641         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13642         SNANL.
13643         * math/test-double.h (snan_value_MACRO): New macro.
13644         * math/test-float.h (snan_value_MACRO): Likewise.
13645         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13646         * math/libm-test.inc (issignaling_test_data): Add tests of
13647         snan_value_MACRO.
13649 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13651         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13652         behavior when eliding a lock not held by the current thread.
13653         * sysdeps/powerpc/nptl/elide.h: Likewise.
13655 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13657         [BZ #20728]
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13659         branch to _exit() by a function call.
13661 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13663         * malloc/malloc.c: Update chunk layout comments.
13664         (chunk_main_arena): Update comment.
13666 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13668         * crypt/sha256.c, crypt/sha256-block.c,
13669         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13670         sha256_process_block to __sha256_process_block.
13671         * crypt/sha512.c, crypt/sha512-block.c,
13672         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13673         sha512_process_block to __sha512_process_block.
13675 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13677         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13679         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13681 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13683         [BZ #20019]
13684         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13685         definition in unrelocated shared library.
13686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13688 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13690         [BZ #20729]
13691         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13692         * sysdeps/unix/sysv/linux/i386/Makefile
13693         (uses-6-syscall-arguments): Define.
13694         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13695         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13696         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13697         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13698         Likewise.
13699         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13700         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13701         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13702         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13703         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13704         (CFLAGS-fallocate64.os): Likewise.
13705         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13706         (CFLAGS-pthread_rwlock_timedrdlock.os)
13707         (CFLAGS-pthread_rwlock_timedwrlock.o)
13708         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13709         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13710         (CFLAGS-sem_timedwait.os): Likewise.
13712 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13714         * elf/tst-linkall-static.c: New file.
13715         * elf/Makefile (tests-static): Add tst-linkall-static.
13716         (tst-linkall-static): Link against static libraries.
13718 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13720         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13721         mmaped chunks.
13723 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13725         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13726         members to mchunk_prev_size, mchunk_size.
13727         (chunk_main_arena): Reverse sense and rename from
13728         chunk_non_main_arena.
13729         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13730         mchunk_size instead of size.
13731         (set_non_main_arena): Define.
13732         (chunksize): Use chunksize_nomask instead of direct member access.
13733         (chunksize_nomask): Define.
13734         (next_chunk): Use chunksize instead of direct member access.
13735         (prev_size, set_prev_size): Define.
13736         (prev_chunk): Use prev_size instead of direct member access.
13737         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13738         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13739         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13740         (mchunk_prev_size, mchunk_size): Poison tokens.
13741         (unlink): Use chunksize_nomask, prev_size accessors.
13742         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13743         (do_check_free_chunk): Use prev_size accessor.
13744         (sysmalloc): Use set_prev_size, set_head accessors.
13745         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13746         (__libc_free): Use chunksize_nomask accessor.
13747         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13748         chunk_main_arena accessors.
13749         (_int_free): Use chunksize_nomask, prev_size accessors.
13750         (malloc_consolidate): Use chunksize, prev_size accessors.
13751         (_int_realloc): Use chunksize_nomask accessor.
13752         (_int_memalign): Use set_prev_size accessor.
13753         (__malloc_info): Use chunksize_nomask accessor.
13754         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13755         accessors.
13756         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13757         (heap_trim): Use chunksize_nomask, prev_size accessors.
13759 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13761         [BZ #19380]
13762         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13763         for inexact results.
13764         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13765         of inexact result where mpfr_subnormalize is the only inexact
13766         step.
13767         * stdlib/tst-strtod-round-data.h: Regenerated.
13768         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13769         Define to 0.
13770         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13772 2016-10-27  David S. Miller  <davem@davemloft.net>
13774         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13776 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13778         * malloc/malloc.c (do_set_mallopt_check): New function.
13779         (do_set_mmap_threshold): Likewise.
13780         (do_set_mmaps_max): Likewise.
13781         (do_set_top_pad): Likewise.
13782         (do_set_perturb_byte): Likewise.
13783         (do_set_trim_threshold): Likewise.
13784         (do_set_arena_max): Likewise.
13785         (do_set_arena_test): Likewise.
13786         (__libc_mallopt): Use them.
13788 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13790         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13791         (canonicalize): New declaration.
13792         * math/Versions (canonicalize): New libm symbol at version
13793         GLIBC_2.25.
13794         (canonicalizef): Likewise.
13795         (canonicalizel): Likewise.
13796         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13797         * math/s_canonicalize_template.c: New file.
13798         * math/libm-test.inc: Update comment on functions tested and
13799         testing of NaN payloads.
13800         (TEST_NAN_PAYLOAD): New macro.
13801         (NO_TEST_INLINE): Update value.
13802         (XFAIL_TEST): Likewise.
13803         (ERRNO_UNCHANGED): Likewise.
13804         (ERRNO_EDOM): Likewise.
13805         (ERRNO_ERANGE): Likewise.
13806         (IGNORE_RESULT): Likewise.
13807         (NON_FINITE): Likewise.
13808         (TEST_SNAN): Likewise.
13809         (NO_TEST_MATHVEC): Likewise.
13810         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13811         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13812         (struct test_Ffp_b1_data): New type.
13813         (RUN_TEST_Ffp_b1): New macro.
13814         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13815         (canonicalize_test_data): New array.
13816         (canonicalize_test): New function.
13817         (main): Call canonicalize_test.
13818         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13819         canonicalizef and canonicalizel.
13820         * manual/libm-err-tab.pl: Update comment on interfaces without
13821         ulps tabulated.
13822         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13823         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13824         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13825         canonicalize.
13826         (CFLAGS-nldbl-canonicalize.c): New variable.
13827         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13828         to ...
13829         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13830         ... here.
13831         (do_test): Also test canonicalizel.
13832         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13833         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13834         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13835         file.
13836         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13837         Use libm_hidden_def.
13838         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13839         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13840         (do_test): Also test canonicalizel.
13841         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13842         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13843         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13844         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13845         libm_hidden_def.
13846         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13847         macro.
13848         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13849         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13850         * sysdeps/nacl/libm.abilist: Update.
13851         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13852         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13853         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13854         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13855         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13856         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13857         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13858         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13859         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13860         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13861         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13862         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13864         Likewise.
13865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13866         Likewise.
13867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13868         Likewise.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13870         Likewise.
13871         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13872         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13873         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13874         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13875         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13877         Likewise.
13878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13879         Likewise.
13880         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13881         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13882         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13884         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13885         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13886         getpayload.
13887         (CFLAGS-nldbl-getpayload.c): New variable.
13889 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13891         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13892         integer from the format string.
13894 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13896         [BZ #19473]
13897         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13898         declarations.
13899         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13900         weak aliases.
13901         * malloc/hooks.c (__malloc_get_state): Remove definition.
13902         (malloc_get_state): New stub implementation as
13903         compatibility symbol.
13904         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13905         compat symbol.
13906         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13907         malloc_set_state.
13908         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13910 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13912         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13913         (names): Turn into concatenation of strings.
13914         (gconv_init): Adapt iteration over names.
13916 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13918         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13919         make const.
13920         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13921         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13922         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13923         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13924         character in sbconv.
13925         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13926         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13927         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13929 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13931         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13933         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13934         (M_TRIM_THRESHOLD): Likewise.
13936         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13937         (M_ARENA_MAX): Likewise.
13938         * malloc/malloc.c: Remove obsolete comment.
13940         * manual/memory.texi: Add environment variable alternatives to
13941         setting mallopt parameters.
13943 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13945         * include/atomic.h
13946         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13947         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13949 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13951         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13952         * stdlib/tst-strfrom.h: New file.
13953         * stdlib/tst-strfrom.c: New file.
13954         * stdlib/tst-strfrom-locale.c: New file.
13956         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13957         * stdlib/bug-strtod2.c: Likewise.
13958         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13959         * stdlib/tst-strtod6.c: Likewise.
13960         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13962 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13964         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13965         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13966         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13967         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13968         * stdlib/stdlib.h (strfromd): New declaration.
13969         (strfromf): Likewise.
13970         (strfroml): Likewise.
13971         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13972         strfrom.
13973         * stdlib/strfromd.c: New file.
13974         * stdlib/strfromf.c: Likewise.
13975         * stdlib/strfroml.c: Likewise.
13976         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13977         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13978         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13979         * sysdeps/arm/nacl/libc.abilist: Update.
13980         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13981         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13982         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13983         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13984         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13985         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13986         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13987         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13988         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13989         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13990         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13991         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13992         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13993         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13998         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13999         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14000         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14001         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14002         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14006         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14007         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14009 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
14011         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
14012         instead of cmpli.
14013         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
14014         instead of cmpli.
14016 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
14018         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
14019         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
14020         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
14021         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14022         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14023         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14025 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14027         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
14028         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14029         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
14030         SYSCALL_LL64_PRW.
14031         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14032         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
14033         __ASSUME_PRW_DUMMY_ARG.
14034         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
14035         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14036         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14037         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14038         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
14039         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
14041 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
14043         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
14045 2016-10-22  Florian Weimer  <fweimer@redhat.com>
14047         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
14048         "C++", to override a potential extern "C" directive around the
14049         header file inclusion.
14051 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
14053         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
14055 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14057         * sysdeps/powerpc/fpu/fenv_private.h:
14058         (_FPU_MASK_ALL): Rename to...
14059         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
14060         XE FPSCR bits.
14062         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
14064         (_FPU_MASK_ROUNDING): Rename to...
14065         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
14066         NI bits.
14068         (_FPU_MASK_EXCEPT_ROUND): Rename to...
14069         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
14070         bits and rounding bits.
14072         (__libc_feholdbits_ppc): New inline function to mask, set,
14073         and pontentially clear FSPCR bits, and change MSR[FE] bits.
14074         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
14075         (libc_feholdexcept_setround_ppc): Likewise.
14077         (__libc_femergeenv_ppc): New function to dynamically mask both
14078         old and new FP environments and merge.
14079         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
14080         (libc_feresetround_ppc): Likewise.
14081         (libc_feupdateenv_test_ppc): Likewise.
14082         (libc_feupdateenv_ppc): Likewise.
14084         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
14085         of ISA RN bits, and update macro names.
14086         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
14087         effectively the same as the previously mentioned function.
14089         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
14090         usage with fe_resetround_ppc.
14092         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
14093         to be used.
14094         (libc_feholdexcept_setround_ctxf): Likewise.
14095         (libc_feholdexcept_setround_ctxl): Likewise.
14097 2016-10-21  Florian Weimer  <fweimer@redhat.com>
14099         [BZ #20715]
14100         * math/math.h [__cplusplus] (iszero): Define as function template.
14101         * math/Makefile [CXX] (tests): Add test-math-iszero.
14102         (CFLAGS-test-math-iszero.cc): Set.
14103         * math/test-math-iszero.cc: New file.
14105 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
14107         [BZ #20660]
14108         * sysdeps/arm/e_sqrt.c: New file.
14109         * sysdeps/arm/e_sqrtf.c: Likewise.
14111 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
14113         [BZ #20718]
14114         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14115         not use floating-point comparisons to test sign.
14116         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14117         Likewise.
14119         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14120         (getpayload): New declaration.
14121         * math/Versions (getpayload): New libm symbol at version
14122         GLIBC_2.25.
14123         (getpayloadf): Likewise.
14124         (getpayloadl): Likewise.
14125         * math/Makefile (libm-calls): Add s_getpayloadF.
14126         * math/libm-test.inc: Include <nan-high-order-bit.h>.
14127         (struct test_f_f_data): Add comment.
14128         (RUN_TEST_fp_f): New macro.
14129         (RUN_TEST_LOOP_fp_f): Likewise.
14130         (getpayload_test_data): New array.
14131         (getpayload_test): New function.
14132         (main): Call getpayload_test.
14133         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14134         descriptor.
14135         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14136         getpayloadf and getpayloadl.
14137         * manual/libm-err-tab.pl: Update comment on interfaces without
14138         ulps tabulated.
14139         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14140         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14141         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14142         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14143         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14144         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14145         * sysdeps/nacl/libm.abilist: Update.
14146         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14147         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14148         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14149         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14150         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14151         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14152         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14153         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14154         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14155         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14156         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14157         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14159         Likewise.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14161         Likewise.
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14163         Likewise.
14164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14165         Likewise.
14166         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14167         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14168         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14169         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14170         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14174         Likewise.
14175         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14176         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14177         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14179 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14181         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14182         tst-fallocate{64}.
14183         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14184         on syscall return.
14186 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
14188         [BZ #20689]
14189         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14190         usable.
14192 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
14194         * sysdeps/generic/nan-high-order-bit.h: New file.
14195         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14196         * sysdeps/mips/nan-high-order-bit.h: Likewise.
14197         * sysdeps/hppa/math_private.h: Remove file.
14198         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14199         not define here.
14200         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14201         <nan-high-order-bit.h>.
14202         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14203         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14204         <nan-high-order-bit.h>.
14205         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14206         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14207         <nan-high-order-bit.h>.
14208         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14209         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14210         <nan-high-order-bit.h>.
14211         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14212         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14213         <nan-high-order-bit.h>.
14214         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14215         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14216         <nan-high-order-bit.h>.
14217         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14218         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14219         <nan-high-order-bit.h>.
14220         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14221         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14222         <nan-high-order-bit.h>.
14223         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14224         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14225         <nan-high-order-bit.h>.
14226         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14227         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14228         <nan-high-order-bit.h>.
14229         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14230         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14231         <nan-high-order-bit.h>.
14232         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14233         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14234         <nan-high-order-bit.h>.
14235         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14236         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14237         <nan-high-order-bit.h>.
14238         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14239         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14240         <nan-high-order-bit.h>.
14241         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14242         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14243         <nan-high-order-bit.h>.
14244         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14245         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14246         <nan-high-order-bit.h>.
14247         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14248         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14249         <nan-high-order-bit.h>.
14250         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14251         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14252         <nan-high-order-bit.h>.
14253         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14255 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14257         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14259 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14261         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14262         abort-instr.h.
14263         (EFAULT): Remove conditional define.
14264         (ENOSYS): Likewise.
14265         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14266         instead of conditional branch instructions.
14268 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14270         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14271         (totalordermag): New declaration.
14272         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14273         New macro.
14274         * math/Versions (totalordermag): New libm symbol at version
14275         GLIBC_2.25.
14276         (totalordermagf): Likewise.
14277         (totalordermagl): Likewise.
14278         * math/Makefile (libm-calls): Add s_totalordermagF.
14279         * math/libm-test.inc (totalordermag_test_data): New array.
14280         (totalordermag_test): New function.
14281         (main): Call totalordermag_test.
14282         * math/test-tgmath.c (NCALLS): Increase to 125.
14283         (F(compile_test)): Call totalordermag.
14284         (F(totalordermag)): New function.
14285         * manual/arith.texi (FP Comparison Functions): Document
14286         totalordermag, totalordermagf and totalordermagl.
14287         * manual/libm-err-tab.pl: Update comment on interfaces without
14288         ulps tabulated.
14289         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14290         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14291         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14292         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14293         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14294         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14295         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14296         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14297         totalordermag.
14298         (CFLAGS-nldbl-totalordermag.c): New variable.
14299         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14300         (do_test): Also test totalordermagl.
14301         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14302         Likewise.
14303         * sysdeps/nacl/libm.abilist: Update.
14304         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14305         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14306         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14307         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14308         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14309         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14310         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14311         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14312         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14313         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14314         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14315         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14317         Likewise.
14318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14319         Likewise.
14320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14321         Likewise.
14322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14323         Likewise.
14324         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14325         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14326         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14327         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14328         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14330         Likewise.
14331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14332         Likewise.
14333         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14334         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14337 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14339         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14340         boolean.
14342 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14344         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14345         raising FE_INVALID with feraisexcept in case where part of
14346         argument is infinite, subtract that part of argument from itself.
14347         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14348         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14349         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14351 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14353         * math/libm-test.inc (totalorder_test_data): Add more tests.
14355 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14357         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14358         Undefine weak_alias and add a comment why mips64 require
14359         versioning.
14361 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14363         [BZ #20647]
14364         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14365         maximum CPUID level is less than 2.
14367 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14369         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14370         (totalorder): New declaration.
14371         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14372         New macro.
14373         * math/Versions (totalorder): New libm symbol at version
14374         GLIBC_2.25.
14375         (totalorderf): Likewise.
14376         (totalorderl): Likewise.
14377         * math/Makefile (libm-calls): Add s_totalorderF.
14378         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14379         string.
14380         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14381         (qnan_value_pl): Likewise.
14382         (snan_value_pl): Likewise.
14383         (qnan_value): Define using qnan_value_pl.
14384         (snan_value): Define using snan_value_pl.
14385         (struct test_ff_i_data): Add comment about which tests use this
14386         structure.
14387         (RUN_TEST_ff_b): New macro.
14388         (RUN_TEST_LOOP_ff_b): Likewise.
14389         (totalorder_test_data): New array.
14390         (totalorder_test): New function.
14391         (main): Call totalorder_test.
14392         * math/test-tgmath.c (NCALLS): Increase to 122.
14393         (F(compile_test)): Call totalorder.
14394         (F(totalorder)): New function.
14395         * manual/arith.texi (FP Comparison Functions): Document
14396         totalorder, totalorderf and totalorderl.
14397         * manual/libm-err-tab.pl: Update comment on interfaces without
14398         ulps tabulated.
14399         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14400         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14401         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14402         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14403         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14404         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14405         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14406         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14407         totalorder.
14408         (CFLAGS-nldbl-totalorder.c): New variable.
14409         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14410         file.
14411         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14412         Add test-totalorderl-ldbl-128ibm.
14413         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14414         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14415         test-totalorderl-ldbl-96.
14416         * sysdeps/nacl/libm.abilist: Update.
14417         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14418         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14419         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14420         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14421         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14422         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14423         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14424         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14425         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14426         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14427         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14428         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14430         Likewise.
14431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14432         Likewise.
14433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14434         Likewise.
14435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14436         Likewise.
14437         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14438         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14439         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14440         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14441         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14443         Likewise.
14444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14445         Likewise.
14446         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14447         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14448         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14450 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14452         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14453         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14454         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14455         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14456         remove ENOSYS implementation.
14457         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14458         Consolidate all Linux implementations.
14460 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14462         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14463         * resolv/herror.c (herror): Cast away const-ness.
14464         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14465         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14467 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14469         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14470         instead of M_NAN + M_NAN.
14471         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14473 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14475         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14476         unused variable 'p'.
14478 2016-10-09  Alan Modra  <amodra@gmail.com>
14479             Andreas Schwab  <schwab@linux-m68k.org>
14481         [BZ #20554]
14482         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14483         [PIC && !SHARED]: Set up PIC register for PLT call.
14485 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14487         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14488         conditional on value of [__FLT_EVAL_METHOD__].
14489         * math/test-iseqsig-excess-precision.c: New file.
14490         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14492 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14494         * math/s_iseqsig_template.c: Include math-private.h.
14496         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14497         * posix/tst-posix_fadvise.c: New file.
14498         * posix/tst-posix_fadvise64.c: Likewise.
14499         * posix/tst-posix_fadvise-common.c: Likewise.
14500         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14501         (__ASSUME_FADVISE64_64_6ARG): Define.
14502         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14503         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14505         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14506         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14507         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14508         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14509         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14510         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14511         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14512         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14513         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14516         Likewise.
14517         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14518         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14519         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14520         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14521         Alias to __posix_fadvise64_l32.
14522         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14523         Add compat definition to posix_fadvise64.
14524         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14525         Add versioned definition to posix_fadvise64.
14526         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14527         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14528         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14529         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14530         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14532         * io/Makefile (tests): Add tst-posix_fallocate and
14533         tst-posix_fallocate64.
14534         * io/tst-posix_fallocate-common.c: New file.
14535         * io/tst-posix_fallocate.c: Likewise.
14536         * io/tst-posix_fallocate64.c: Likewise.
14537         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14538         file.
14539         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14540         Likewise.
14541         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14542         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14545         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14546         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14547         SYSCALL_LL to pass both offset and len arguments.
14548         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14549         Likewise.
14550         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14551         __libc_pwrite64 alias used by posix_fallocate64.
14553         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14554         tst-fallocate64.
14555         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14556         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14557         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14558         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14559         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14560         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14561         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14562         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14563         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14564         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14565         macro on offset argument.
14566         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14567         SYSCALL_LL64 on offset argument.
14569         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14570         tst-fallocate64.
14571         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14572         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14573         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14574         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14575         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14576         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14578         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14579         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14580         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14581         macro on offset argument.
14582         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14583         SYSCALL_LL64 on offset argument.
14584         * test-skeleton.c (FAIL_RET): Add macro.
14585         (FAIL_EXIT): Likewise.
14586         (FAIL_EXIT1): Likewise.
14587         (_FAIL): Likewise.
14589 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14591         [BZ #20629]
14592         resolv: Remove RES_USEBSTRING and its implementation.
14593         * resolv/resolv.h (RES_USEBSTRING): Remove.
14594         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14595         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14596         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14597         (labellen): Remove extended label types support.
14598         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14599         * resolv/res_init.c (res_setoptions): Likewise.
14600         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14602 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14604         resolv: Remove RES_NOIP6DOTINT and its implementation.
14605         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14606         (RES_NOIP6DOTINT): Remove.
14607         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14608         handling.
14609         * resolv/res_debug.c (p_option): Likewise.
14610         * resolv/res_init.c (res_setoptions): Likewise.
14611         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14613 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14615         resolv: Deprecate unimplemented flags.
14616         * misc/sys/cdefs.h (__glibc_macro_warning1)
14617         (__glibc_macro_warning): Define.
14618         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14619         (RES_KEEPTSIG): Mark as deprecated.
14620         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14621         RES_NOCHECKNAME, RES_KEEPTSIG.
14622         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14624 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14626         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14627         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14628         Use strong_alias to create symbols for glibc verison 2.19.
14630 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14632         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14634 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14636         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14638 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14640         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14642 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14644         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14645         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14646         in header for using it as type for ifunc function because __GI_* symbols
14647         for ppc32 do not target the ifunc symbols.
14648         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14650 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14652         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14653         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14654         libc_ifunc_hidden_def.
14655         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14656         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14657         Redirect ifunced function in header for using it as type of ifunc'ed
14658         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14659         function for __GI_* symbol.
14660         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14661         * include/libc-symbols.h
14662         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14664 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14666         [BZ #20478]
14667         * sysdeps/s390/multiarch/ifunc-resolve.h
14668         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14669         to create ifunc symbols.
14670         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14671         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14672         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14673         for using it as type for ifunc function.
14674         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14675         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14676         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14677         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14678         * sysdeps/s390/multiarch/strcat.c: Likewise.
14679         * sysdeps/s390/multiarch/strchr.c: Likewise.
14680         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14681         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14682         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14683         * sysdeps/s390/multiarch/strlen.c: Likewise.
14684         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14685         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14686         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14687         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14688         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14689         * sysdeps/s390/multiarch/strspn.c: Likewise.
14690         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14691         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14692         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14693         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14694         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14695         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14696         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14697         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14698         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14699         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14700         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14701         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14703 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14705         * include/libc-symbols.h (__ifunc_resolver):
14706         New macro is used by __ifunc* macros.
14707         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14708         depending on HAVE_GCC_IFUNC.
14709         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14710         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14712         Redirect ifunced function in header for using as type for ifunc function.
14713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14720         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14721         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14722         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14723         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14724         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14725         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14726         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14732         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14733         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14734         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14735         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14736         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14737         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14738         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14739         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14740         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14741         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14742         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14743         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14744         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14745         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14747         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14748         instead of libc_ifunc() macro.
14749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14750         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14752 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14754         * config.h.in (HAVE_GCC_IFUNC): New undef.
14755         * configure.ac: Add check if gcc supports attribute ifunc feature.
14756         * configure: Regenerated.
14757         * manual/install.texi: Add recommendation for gcc with
14758         indirect-function support.
14759         * INSTALL: Regenerated.
14761 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14763         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14764         macro.
14765         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14766         (__iseqsig): New declaration.
14767         * math/s_iseqsig_template.c: New file.
14768         * math/Versions (__iseqsigf): New libm symbol at version
14769         GLIBC_2.25.
14770         (__iseqsig): Likewise.
14771         (__iseqsigl): Likewise.
14772         * math/libm-test.inc (iseqsig_test_data): New array.
14773         (iseqsig_test): New function.
14774         (main): Call iseqsig_test.
14775         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14776         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14777         * manual/libm-err-tab.pl: Update comment on interfaces without
14778         ulps tabulated.
14779         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14780         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14781         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14782         * sysdeps/nacl/libm.abilist: Update.
14783         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14784         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14785         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14786         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14787         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14788         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14789         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14790         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14791         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14792         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14793         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14794         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14796         Likewise.
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14798         Likewise.
14799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14800         Likewise.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14802         Likewise.
14803         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14804         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14805         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14806         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14807         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14809         Likewise.
14810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14811         Likewise.
14812         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14813         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14814         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14816 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14818         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14819         do_sincos_2, sloww, sloww1): Update comments.
14821         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14822         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14824         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14825         K boolean and rename it.
14826         (__sin): Adjust.
14827         (__cos): Adjust.
14829 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14830             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14832         * manual/nss.texi: Fix typos in the manual.
14834 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14836         * manual/contrib.texi: Fix typos in the manual.
14838         * manual/maint.texi: Fix typos in the manual.
14840         * manual/install.texi: Fix typos in the manual.
14841         * INSTALL: Regenerated.
14843         * manual/lang.texi: Fix typos in the manual.
14845         * manual/probes.texi: Fix typos in the manual.
14847         * manual/threads.texi: Fix typos in the manual.
14849         * manual/debug.texi: Fix typos in the manual.
14851         * manual/crypt.texi: Fix typos in the manual.
14853         * manual/conf.texi: Fix typos in the manual.
14855         * manual/sysinfo.texi: Fix typos in the manual.
14857         * manual/users.texi: Fix typos in the manual.
14859         * manual/job.texi: Fix typos in the manual.
14861         * manual/process.texi: Fix typos in the manual.
14863         * manual/argp.texi: Fix typos in the manual.
14864         * manual/getopt.texi: Likewise.
14865         * manual/startup.texi: Likewise.
14867         * manual/signal.texi: Fix typos in the manual.
14869         * manual/setjmp.texi: Fix typos in the manual.
14871         * manual/resource.texi: Fix typos in the manual.
14873         * manual/time.texi: Fix typos in the manual.
14875         * manual/arith.texi: Fix typos in the manual.
14877         * manual/math.texi: Fix typos in the manual.
14879         * manual/syslog.texi: Fix typos in the manual.
14881         * manual/terminal.texi: Fix typos in the manual.
14883         * manual/socket.texi: Fix typos in the manual.
14885         * manual/filesys.texi: Fix typos in the manual.
14887         * manual/llio.texi: Fix typos in the manual.
14889         * manual/stdio.text: Fix typos in the manual.
14891 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14893         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14894         instead of K1.
14896         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14897         SHIFT_QUADRANT and make it bool.
14898         (do_sincos_2): Likewise.
14899         (sloww): Likewise.
14900         (sloww1): Likewise.
14901         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14902         (__cos): Likewise.
14904 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14906         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14908 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14910         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14911         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14912         0x7fffffffL].
14913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14915 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14917         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14918         inline by __inline__.
14919         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14920         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14921         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14922         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14923         sigset_t from signal.h.
14924         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14925         which is already required.
14927 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14929         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14931 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14933         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14934         (struct tcp_repair_window): New type.
14936 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14938         * libio/tst-memstream3.c: Include string.h.
14940 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14942         [BZ #18241]
14943         [BZ #20181]
14944         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14945         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14946         write position is at the end the buffer.
14947         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14948         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14949         (_IO_str_seekoff): Set correct offset from negative displacement and
14950         set EINVAL for invalid ones.
14951         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14952         buffer length.
14953         (_IO_wstr_switch_to_get_mode): New function.
14954         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14955         set EINVAL for invalid ones.
14956         * libio/tst-memstream3.c: New file.
14957         * libio/tst-wmemstream3.c: Likewise.
14958         * manual/examples/memstrm.c: Remove warning when priting size_t.
14960 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14962         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14963         macro to use __builtin_fma.
14964         * sysdeps/x86_64/fpu/dla.h: Remove file.
14966         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14967         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14968         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14970 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14972         [BZ #20292]
14973         * elf/Makefile (routines): Add dl-addr-obj.
14974         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14975         tst-_dl_addr_inside_object.
14976         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14977         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14978         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14979         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14980         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14981         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14982         * elf/dl-open.c: Likewise.
14983         * elf/dl-addr-obj.c: New file.
14984         * elf/tst-_dl_addr_inside_object.c: New file.
14986 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14988         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14989         <bits/iscanonical.h>.
14990         * bits/iscanonical.h: New file.
14991         * math/s_iscanonicall.c: Likewise.
14992         * math/Versions (__iscanonicall): New libm symbol at version
14993         GLIBC_2.25.
14994         * math/libm-test.inc (iscanonical_test_data): New array.
14995         (iscanonical_test): New function.
14996         (main): Call iscanonical_test.
14997         * math/Makefile (headers): Add bits/iscanonical.h.
14998         (type-ldouble-routines): Add s_iscanonicall.
14999         * manual/arith.texi (Floating Point Classes): Document
15000         iscanonical.
15001         * manual/libm-err-tab.pl: Update comment on interfaces without
15002         ulps tabulated.
15003         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
15004         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
15005         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
15006         Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15008         test-iscanonical-ldbl-128ibm.
15009         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
15010         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
15011         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
15012         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
15013         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
15014         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15015         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15017         Likewise.
15018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15019         Likewise.
15020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15021         Likewise.
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15023         Likewise.
15024         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15025         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15027 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15029         * string/bits/string3.h: Remove C++ style comments.
15031 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15033         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
15034         instead of ternary condition.
15035         (do_sincos_2): Likewise.
15036         (__sin): Likewise.
15037         (__cos): Likewise.
15038         (slow): Likewise.
15039         (sloww): Likewise.
15040         (sloww1): Likewise.
15041         (bsloww): Likewise.
15042         (bsloww1): Likewise.
15044         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
15045         instead of ternary condition.
15046         (do_sin_slow): Likewise.
15047         (do_sincos_1): Likewise.
15048         (do_sincos_2): Likewise.
15049         (__cos): Likewise.
15050         (sloww): Likewise.
15051         (sloww1): Likewise.
15052         (sloww2): Likewise.
15053         (bsloww): Likewise.
15054         (bsloww1): Likewise.
15055         (bsloww2): Likewise.
15057         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
15058         check from here...
15059         (slow2): ... and here...
15060         (__sin): ... to here.
15062 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
15064         * math/math.h
15065         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
15066         Cast argument to its own type.
15067         * math/test-iszero-excess-precision.c: New file.
15068         * math/Makefile (tests): Add test-iszero-excess-precision.
15069         (CFLAGS-test-iszero-excess-precision.c): New variable.
15071 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
15073         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
15074         field, add err field.
15075         (__spawni_child): Report error through err member instead of pipe.
15076         (__spawnix): Likewise.
15078 2016-09-28  Zack Weinberg  <zackw@panix.com>
15080         * scripts/check-installed-headers.sh: Generalize treatment of
15081         sys/elf.h to all target architectures.
15083         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
15084         deleted typedef ucontext_t.
15086 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15088         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
15089         (__INTERNAL_SYSCALL1): Likewise.
15090         (__INTERNAL_SYSCALL2): Likewise.
15091         (__INTERNAL_SYSCALL3): Likewise.
15092         (__INTERNAL_SYSCALL4): Likewise.
15093         (__INTERNAL_SYSCALL5): Likewise.
15094         (__INTERNAL_SYSCALL6): Likewise.
15095         (__INTERNAL_SYSCALL7): Likewise.
15096         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
15097         (__INTERNAL_SYSCALL_NARGS): Likewise.
15098         (__INTERNAL_SYSCALL_DISP): Likewise.
15099         (INTERNAL_SYSCALL_CALL): Likewise.
15100         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
15101         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15102         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15103         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15104         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15105         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15106         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15107         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15108         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15109         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15110         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15111         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15112         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15114 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
15116         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15117         macro.
15118         * math/libm-test.inc (iszero_test_data): New array.
15119         (iszero_test): New function.
15120         (main): Call iszero_test.
15121         * manual/arith.texi (Floating Point Classes): Document iszero.
15122         * manual/libm-err-tab.pl: Update comment on interfaces without
15123         ulps tabulated.
15125 2016-09-23  Zack Weinberg  <zackw@panix.com>
15127         * scripts/check-installed-headers.sh: New script.
15128         * Rules: In each directory that defines header files to be installed,
15129         run check-installed-headers.sh on them as a special test.
15130         * Makefile: Likewise for the headers installed at top level.
15132         * include/aliases.h, include/alloca.h, include/argz.h
15133         * include/arpa/nameser.h, include/arpa/nameser_compat.h
15134         * include/elf.h, include/envz.h, include/err.h
15135         * include/execinfo.h, include/fpu_control.h, include/getopt.h
15136         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15137         * include/link.h, include/malloc.h, include/mcheck.h
15138         * include/mntent.h, include/netinet/ether.h
15139         * include/nss.h, include/obstack.h, include/printf.h
15140         * include/pty.h, include/resolv.h, include/rpc/auth.h
15141         * include/rpc/auth_des.h, include/rpc/auth_unix.h
15142         * include/rpc/clnt.h, include/rpc/des_crypt.h
15143         * include/rpc/key_prot.h, include/rpc/netdb.h
15144         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15145         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15146         * include/rpc/rpc_msg.h, include/rpc/svc.h
15147         * include/rpc/svc_auth.h, include/rpc/xdr.h
15148         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15149         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15150         * include/rpcsvc/ypupd.h, include/shadow.h
15151         * include/stdio_ext.h, include/sys/epoll.h
15152         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15153         * include/sys/prctl.h, include/sys/profil.h
15154         * include/sys/statfs.h, include/sys/sysctl.h
15155         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15156         * sysdeps/arm/nacl/include/bits/setjmp.h
15157         * sysdeps/mips/include/sys/asm.h
15158         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15159         * sysdeps/unix/sysv/linux/include/sys/timex.h
15160         * sysdeps/x86/fpu/include/bits/fenv.h:
15161         Add #ifndef _ISOMAC guard around internal declarations.
15162         Add multiple-inclusion guard if not already present.
15164 2016-09-23  Zack Weinberg  <zackw@panix.com>
15166         * sysdeps/generic/sys/ucontext.h
15167         * sysdeps/arm/sys/ucontext.h
15168         * sysdeps/i386/sys/ucontext.h
15169         * sysdeps/m68k/sys/ucontext.h
15170         * sysdeps/mips/sys/ucontext.h
15171         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15172         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15173         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15174         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15175         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15176         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15177         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15178         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15179         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15180         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15181         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15182         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15183         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15184         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15185         Include both bits/sigcontext.h and bits/sigstack.h.
15186         Fix grammar error in comment, if present.
15188         * bits/sigstack.h
15189         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15190         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15191         * sysdeps/unix/sysv/linux/bits/sigstack.h
15192         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15193         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15194         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15195         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15196         * bits/sigcontext.h
15197         * sysdeps/mach/hurd/i386/bits/sigcontext.h
15198         * sysdeps/unix/sysv/linux/bits/sigcontext.h
15199         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15200         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15201         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
15202         as well as signal.h, if this was not already allowed.  Request
15203         definition of size_t if necessary.  Minimize semantically-null
15204         differences across files.
15206 2016-09-23  Zack Weinberg  <zackw@panix.com>
15208         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15209         Remove all logic conditional on __need macros.  Move all the
15210         conditionally defined types to their own headers...
15211         * time/bits/types/clock_t.h: Define clock_t here.
15212         * time/bits/types/clockid_t.h: Define clockid_t here.
15213         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15214         * time/bits/types/struct_timespec.h: Define struct timespec here.
15215         * time/bits/types/struct_timeval.h: Define struct timeval here.
15216         * time/bits/types/struct_tm.h: Define struct tm here.
15217         * time/bits/types/time_t.h: Define time_t here.
15218         * time/bits/types/timer_t.h: Define timer_t here.
15219         * time/Makefile: Install the new headers.
15221         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15222         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15223         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15224         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15225         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15226         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15227         * sysdeps/unix/sysv/linux/bits/resource.h
15228         * sysdeps/unix/sysv/linux/bits/timex.h
15229         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15230         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15231         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15232         * sysdeps/unix/sysv/linux/sys/acct.h
15233         * sysdeps/unix/sysv/linux/sys/timerfd.h
15234         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15235         * time/sys/time.h, time/sys/timeb.h
15236         Use the new bits/types headers.
15238         * include/time.h: Remove __need logic.
15239         * include/bits/time.h
15240         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15241         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15242         * include/bits/types/struct_itimerspec.h
15243         * include/bits/types/struct_timespec.h
15244         * include/bits/types/struct_timeval.h
15245         * include/bits/types/struct_tm.h:
15246         New wrapper headers.
15248 2016-09-23  Zack Weinberg  <zackw@panix.com>
15250         * sysdeps/mach/hurd/net/if_ppp.h
15251         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15252         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15253         if __USE_MISC is defined, to ensure struct ifreq is declared.
15255         * inet/netinet/ether.h: Condition all function prototypes
15256         on __USE_MISC, to ensure struct ether_addr is declared.
15258         * socket/bits/types/struct_osockaddr.h: New header.
15259         * include/bits/types/struct_osockaddr.h: New wrapper.
15260         * socket/Makefile: Install the new header.
15261         * socket/sys/socket.h, inet/protocols/talkd.h:
15262         Refer to bits/types/struct_osockaddr.h for the definition of
15263         struct osockaddr.
15265 2016-09-23  Zack Weinberg  <zackw@panix.com>
15267         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15268         * inet/protocols/routed.h, inet/protocols/talkd.h
15269         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15270         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15271         * sysdeps/generic/netinet/if_ether.h
15272         * sysdeps/generic/netinet/in_systm.h
15273         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15274         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15275         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15276         * sysdeps/mach/hurd/net/if_arp.h
15277         * sysdeps/mach/hurd/net/if_ppp.h
15278         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15279         * sysdeps/unix/sysv/linux/bits/in.h
15280         * sysdeps/unix/sysv/linux/net/ethernet.h
15281         * sysdeps/unix/sysv/linux/net/if_arp.h
15282         * sysdeps/unix/sysv/linux/net/if_ppp.h
15283         * sysdeps/unix/sysv/linux/net/if_shaper.h
15284         * sysdeps/unix/sysv/linux/net/route.h
15285         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15286         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15287         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15288         * sysdeps/unix/sysv/linux/netipx/ipx.h
15289         * sysdeps/unix/sysv/linux/sys/acct.h
15290         * include/arpa/nameser.h, include/resolv.h:
15291         Change all uses of u_char to unsigned char,
15292         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15293         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15294         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15295         and u_int64_t and u_quad_t to uint64_t.
15297         * mach/sys/reboot.h: Remove two casts of integer literals
15298         to the types they already have.
15300         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15301         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15302         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15303         from referring to 'unsigned char' to 'uint8_t' for consistency with
15304         the macro definition below.
15306         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15307         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15308         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15309         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15310         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15311         * sysdeps/unix/sysv/linux/sys/acct.h
15312         * include/arpa/nameser.h, include/resolv.h:
15313         Fix indentation disrupted by mechanical edits.
15315         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15316         * sysdeps/generic/netinet/in_systm.h
15317         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15318         * sysdeps/gnu/netinet/udp.h
15319         * sysdeps/unix/sysv/linux/net/ethernet.h
15320         * sysdeps/unix/sysv/linux/net/if_arp.h
15321         * sysdeps/unix/sysv/linux/net/if_ppp.h
15322         * sysdeps/unix/sysv/linux/net/if_shaper.h
15323         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15324         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15325         * sysdeps/unix/sysv/linux/netipx/ipx.h
15326         * sysdeps/unix/sysv/linux/sys/acct.h
15327         Include stdint.h for uintNN_t definitions.
15328         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15330 2016-09-23  Zack Weinberg  <zackw@panix.com>
15332         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15333         * sysdeps/unix/sysv/linux/netrose/rose.h:
15334         Include sys/socket.h and netax25/ax25.h.
15336         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15337         * resolv/arpa/nameser_compat.h:
15338         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15340         * sysdeps/unix/sysv/linux/sys/quota.h:
15341         Use __caddr_t instead of caddr_t.
15342         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15343         Use __clockid_t instead of clockid_t.
15345         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15347         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15348         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15349         expanding it.
15351         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15352         Define __glibc_c99_flexarr_available to 1 when the compiler
15353         supports C99-compatible flexible array members, 0 otherwise.
15354         * sysdeps/unix/sysv/linux/bits/socket.h
15355         * sysdeps/mach/hurd/bits/socket.h
15356         * bits/socket.h: Use __glibc_c99_flexarr_available in
15357         definitions of struct cmsghdr and CMSG_DATA.
15359 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15361         * manual/nss.texi (NSS Modules Interface): Adjust function return
15362         type to enum nss_status.  Document errnop argument.  Clarify
15363         h_errnop semantics.  Fix cross-reference formatting.
15364         (NSS Module Function Internals): Mention that *errnop needs to be
15365         set on failure, but not to zero.
15367 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15369         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15370         (get_random_name): New functions.
15371         (check_wrapper_flags_mode): Use linkat to give the new file a name
15372         determined by get_random_name.
15373         (do_test): Add calls to test open64 and openat64.
15375 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15377         * test-skeleton.c: Remove #include <stdarg.h>.
15379 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15381         [BZ #19826]
15382         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15383         initialization of static TLS entries.
15384         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15385         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15387 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15389         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15390         _hurd_malloc_fork_prepare.
15391         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15392         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15393         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15394         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15395         (_hurd_fork_child_hook): Drop malloc_fork_child.
15396         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15397         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15398         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15399         after locking locks (notably hurd_dtable_lock). Call
15400         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15401         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15402         __malloc_fork_unlock_child.
15403         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15405 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15407         * soft-fp/extendhftf2.c: New.
15408         * soft-fp/fixhfti.c: Likewise.
15409         * soft-fp/fixunshfti.c: Likewise.
15410         * soft-fp/floattihf.c: Likewise.
15411         * soft-fp/floatuntihf.c: Likewise.
15412         * soft-fp/half.h: Likewise.
15413         * soft-fp/trunctfhf2.c: Likewise.
15415 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15417         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15418         macro.
15419         * math/libm-test.inc (issubnormal_test_data): New array.
15420         (issubnormal_test): New function.
15421         * manual/arith.texi (Floating Point Classes): Document
15422         issubnormal.
15423         * manual/libm-err-tab.pl: Update comment on interfaces without
15424         ulps tabulated.
15426         * sysdeps/generic/stdint.h: Define
15427         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15428         <bits/libc-header-start.h> instead of including <features.h>.
15429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15443         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15462         * manual/arith.texi (Integers): Document these macros for types
15463         specified by width properties.
15464         * manual/lang.texi (Width of Type): Document these macros for
15465         other standard typedefs.
15466         * stdlib/tst-width-stdint.c: New file.
15467         * stdlib/Makefile (tests): Add tst-width-stdint.
15469 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15471         [BZ #20016]
15472         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15473         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15474         Move ...
15475         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15476         ... here, as compatibility symbols in a new file.
15477         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15478         * resolv/res_init.c (__res_vinit): Adjust member names.
15479         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15480         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15481         (res_send_rhook): Remove.
15482         (struct __res_state): Rename qhook, rhook members.
15484 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15486         malloc: Use __libc_lock wrappers.
15487         * malloc/arena.c (list_lock, free_list_lock): Define using
15488         __libc_lock_define_initialized.
15489         (arena_lock): Adjust formatting.
15490         * malloc/malloc.c (struct malloc_state): Define mutex using
15491         __libc_lock_define.
15492         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15493         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15494         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15495         (mutex_unlock, mutex_trylock): Remove.
15496         (__pthread_initialize): Remove unused macro.
15497         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15498         (mutex_unlock, mutex_trylock): Remove.
15500 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15502         [BZ #20592]
15503         Remove RR type classification macros.
15504         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15505         (ns_t_udp_p, ns_t_xfr_p): Remove.
15507 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15509         Remove misleading version information.
15510         * resolv/arpa/nameser.h (__NAMESER): Remove.
15511         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15513 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15515         Remove the always-defined BIND_4_COMPAT macro.
15516         * resolv/arpa/nameser.h: Unconditionally include
15517         <arpa/nameser_compat.h>.
15518         (BIND_4_COMPAT): Remove.
15519         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15521 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15523         [BZ #20591]
15524         Remove obsolete DNSSEC support.
15525         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15526         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15527         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15528         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15529         (ns_cert_types): Add comment.
15530         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15531         separately.
15532         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15533         (dst_s_dns_key_id): Remove.
15534         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15535         variables.
15537 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15539         [BZ #20524]
15540         * manual/string.texi (String/Array Comparison): Clarify the
15541         strverscmp behavior.
15543 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15545         * test-skeleton.c (xasprintf): Add function.
15546         * io/tst-open-tmpfile.c: New test.
15547         * io/Makefile (tests): Add it.
15549 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15551         Avoid running $(CXX) during build to obtain header file paths.
15552         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15553         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15554         * Makerules (cstdlib, cmath): Remove variables.  Use
15555         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15556         * configure: Regenerate.
15558 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15560         * Makeconfig (all-object-suffixes): Include .op only if
15561         $(build-profile).
15563 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15565         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15566         conditionals.  Do not define PATH_MAX.
15568 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15570         * posix/Makefile (tests): Add tst-spawn3.
15571         * posix/tst-spawn3.c: New file.
15572         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15573         if it is already opened for open action.
15575         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15576         all signals when executing the clone vfork child.
15577         (SIGALL_SET): Remove macro.
15579         * nptl/Makefile (tests): Add tst-exec5.
15580         * nptl/tst-exec5.c: New file.
15581         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15582         asynchronous cancellation.
15584 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15586         * hurd/exc2signal.c: #include <hurd/signal.h>
15587         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15588         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15589         accordingly.
15590         * mach/mach_error.c (mach_error): Fix old-style function definition.
15591         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15593 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15595         * math/Makefile (libm-calls): Remove s_nanF.
15596         (gen-libm-calls): Add s_nanF.
15598         * math/s_nan.c: Refactor into ...
15599         * math/s_nan_template.c: New file.
15601         * math/s_nanf.c: Removed.
15602         * math/s_nanl.c: Removed.
15603         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15604         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15606         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15607         (LDOUBLE_nanl_libm_version): New macro.
15609         * sysdeps/generic/math-type-macros-double.h:
15610         (M_STRTO_NAN): New macro.
15611         * sysdeps/generic/math-type-macros-float.h: Likewise.
15612         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15614         * sysdeps/generic/math-type-macros.h: Document
15615         M_STRTO_NAN.
15617 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15619         * math/s_nanf.c: Remove __nanf undef.
15620         * math/s_nan.c: Remove __nan undef.
15621         * math/s_nanl.c: Remove __nanl undef.
15623         * sysdeps/generic/math_private.h (__nan): Remove macro
15624         override.
15625         (__nanf): Likewise.
15626         (__nanl): Likewise.
15628 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15630         * math/Makefile (gen-all-calls): New variable.
15631         (generated): Replace gen-libm-calls with gen-all-calls.
15632         (gen-libm-templates.stmp): Likewise.  Also, ensure
15633         the output directory exists or is created and add
15634         dependency on the Makefile.
15635         (calls): Move s_ldexpF into gen-calls.
15636         (gen-calls): New variable.
15638         * math/s_ldexpf.c: Removed.
15639         * math/s_ldexpl.c: Removed.
15640         * math/s_ldexp.c: Refactored into ...
15641         * math/s_ldexp_template.c: New file.
15643         * sysdeps/generic/math-type-macros-double.h: Remove
15644         redundant fall-through definition of declare_mgen_alias.
15645         (declare_mgen_alias_2): New macro.
15647         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15648         New macro for function aliased to two exported symbols.
15650         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15651         new template file.
15652         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15654 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15656         * Makeconfig (all-object-suffixes): Remove .og.
15657         * Makerules (elide-routines.og): Remove.
15658         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15659         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15660         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15662 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15664         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15665         .os objects.
15667 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15669         [BZ #20615]
15670         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15671         fpu directory by non-fpu.
15672         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15673         on non-fpu directory from a fpu directory.
15675 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15677         * include/limits.h: Define
15678         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15679         <bits/libc-header-start.h> instead of including <features.h>.
15680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15691         * manual/lang.texi (Width of Type): Document these macros.
15692         * stdlib/tst-width.c: New file.
15693         * stdlib/Makefile (tests): Add tst-width.
15695 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15697         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15698         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15700 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15702         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15703         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15704         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15706 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15708         [BZ #18243]
15709         * rt/Makefile (test): Add tst-shm-cancel.
15710         * rt/tst-shm-cancel.c: New file.
15711         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15713         [BZ #18243]
15714         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15715         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15716         definition.
15717         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15718         uncontended case.
15719         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15720         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15721         (tf): Fix check for uncontended case.
15722         (do_test): Likewise.
15723         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15724         (tf): Fix check for uncontended case.
15725         (do_test): Likewise.
15726         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15727         (tf): Fix check for uncontended case.
15728         (do_test): Likewise.
15729         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15730         (tf): Fix check for uncontended case.
15731         (do_test): Likewise.
15733         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15734         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15736         [BZ #15765]
15737         * nptl/Makefile (tests): Add tst-sem16.
15738         * nptl/tst-sem16.c: New file.
15739         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15741         * nptl/sem_open.c (sem_open): Init pad value to 0.
15742         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15743         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15745 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15747         [BZ #20611]
15748         * inet/Makefile (routines): Add inet6_scopeid_pton.
15749         (tests): Add tst-inet6_scopeid_pton.
15750         * inet/inet6_scopeid_pton.c: New file.
15751         * inet/net-internal.h: Likewise.
15752         * inet/tst-inet6_scopeid_pton.c: New test.
15753         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15754         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15757 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15759         Remove support for compiling wrappers with PTW.
15760         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15761         * nptl/Makefile (pthread-compat-wrappers): Define.
15762         (libpthread-routines): Use pthread-compat-wrappers.
15763         * sysdeps/unix/sysv/linux/alpha/Makefile
15764         (libpthread-routines, libpthread-shared-only-routines): Remove
15765         ptw- prefix.
15766         * sysdeps/s390/nptl/Makefile
15767         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15768         * sysdeps/ia64/nptl/Makefile
15769         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15770         * sysdeps/nacl/Makefile (libpthread-routines): Use
15771         pthread-compat-wrappers to filter the routines list instead of the
15772         ptw- prefix.
15774 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15776         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15777         with L() and remove explicit suffix, convert real literals
15778         which can be equivalentally substituted with integers, and
15779         transform -L(x) to L(-x).
15781         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15782         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15783         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15784         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15785         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15786         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15787         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15798         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15799         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15800         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15801         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15802         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15803         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15804         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15806         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15807         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15808         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15809         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15810         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15811         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15812         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15813         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15814         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15815         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15816         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15817         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15818         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15819         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15820         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15821         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15822         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15823         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15824         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15825         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15826         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15827         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15828         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15829         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15830         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15832 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15834         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15836 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15838         * malloc/Makefile (tests): Remove individual static test names
15839         and just add all of tests-static.
15841         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15843 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15845         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15846         file.
15848         * sysdeps/sparc/fpu/fegetmode.c: New file.
15849         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15851         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15852         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15854         * sysdeps/s390/fpu/fegetmode.c: New file.
15855         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15857         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15858         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15859         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15860         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15861         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15862         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15864         * sysdeps/mips/fpu/fegetmode.c: New file.
15865         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15867         * sysdeps/m68k/fpu/fegetmode.c: New file.
15868         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15870         * sysdeps/ia64/fpu/fegetmode.c: New file.
15871         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15873         * sysdeps/hppa/fpu/fegetmode.c: New file.
15874         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15876         * sysdeps/arm/fegetmode.c: New file.
15877         * sysdeps/arm/fesetmode.c: Likewise.
15879         * sysdeps/alpha/fpu/fegetmode.c: New file.
15880         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15882         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15883         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15885         * math/fegetmode.c: New file.
15886         * math/fesetmode.c: Likewise.
15887         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15888         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15889         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15890         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15891         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15892         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15893         declaration.
15894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15895         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15896         typedef.
15897         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15898         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15899         (femode_t): New typedef.
15900         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15901         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15902         (femode_t): New typedef.
15903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15904         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15905         (femode_t): New typedef.
15906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15907         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15908         (femode_t): New typedef.
15909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15910         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15911         (femode_t): New typedef.
15912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15913         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15914         (femode_t): New typedef.
15915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15916         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15917         (femode_t): New typedef.
15918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15919         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15920         (femode_t): New typedef.
15921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15922         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15923         (femode_t): New typedef.
15924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15925         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15926         (femode_t): New typedef.
15927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15928         declaration.
15929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15930         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15931         (femode_t): New typedef.
15932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15933         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15934         (femode_t): New typedef.
15935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15936         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15937         (femode_t): New typedef.
15938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15939         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15940         (femode_t): New typedef.
15941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15942         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15943         (femode_t): New typedef.
15944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15945         * manual/arith.texi (FE_DFL_MODE): Document macro.
15946         (fegetmode): Document function.
15947         (fesetmode): Likewise.
15948         * math/Versions (fegetmode): New libm symbol at version
15949         GLIBC_2.25.
15950         (fesetmode): Likewise.
15951         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15952         (tests): Add test-femode and test-femode-traps.
15953         * math/test-femode-traps.c: New file.
15954         * math/test-femode.c: Likewise.
15955         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15956         alias for __fe_dfl_env.
15957         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15958         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15959         (__fe_dfl_mode): Likewise.
15960         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15961         version GLIBC_2.25.
15962         * sysdeps/nacl/libm.abilist: Update.
15963         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15964         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15965         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15966         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15967         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15968         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15969         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15970         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15971         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15972         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15973         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15974         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15976         Likewise.
15977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15978         Likewise.
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15980         Likewise.
15981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15982         Likewise.
15983         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15984         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15985         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15986         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15987         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15989         Likewise.
15990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15991         Likewise.
15992         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15994         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15996 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15998         [BZ #20495]
15999         [BZ #20508]
16000         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
16001         processors, set Use_dl_runtime_resolve_slow and set
16002         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
16003         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
16004         New.
16005         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
16006         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
16007         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
16008         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
16009         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
16010         if Use_dl_runtime_resolve_opt is set.  Use
16011         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
16012         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
16013         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
16014         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
16015         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
16016         New.
16017         (_dl_runtime_resolve_opt): Likewise.
16018         (_dl_runtime_profile): Define only if _dl_runtime_profile is
16019         defined.
16021 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16023         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
16024         __libc_memalign with "+ RELA R_390_GLOB_DAT".
16026 2016-09-06  Florian Weimer  <fweimer@redhat.com>
16028         Convert malloc to __libc_lock.  Automated part, using this Perl
16029         s/// command:
16030           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
16031             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
16032         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
16033         conversion.
16035 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
16037         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
16038         (linknamespace-symlists-tests): Likewise.
16039         (linknamespace-header-tests): Likewise.
16041 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
16043         [BZ #19810]
16044         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
16045         * elf/tst-noload.c: New test case.
16046         * elf/Makefile (tests): Add tst-noload.
16048 2016-09-02  Roland McGrath  <roland@hack.frob.com>
16050         * sysdeps/nacl/dup.c: Add libc_hidden_def.
16052         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
16053         not any more.
16055         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
16057 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16059         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
16060         (do_cos_slow): Likewise.
16061         (do_sin): Likewise.
16062         (do_sin_slow): Likewise.
16063         (slow): Likewise.
16064         (slow1): Likewise.
16065         (slow2): Likewise.
16066         (sloww): Likewise.
16067         (sloww1): Likewise.
16068         (sloww2): Likewise.
16069         (bsloww): Likewise.
16070         (bsloww1): Likewise.
16071         (bsloww2): Likewise.
16072         (cslow2): Likewise.
16074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
16076         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
16077         arguments.  Consolidate input partitioning from callers here.
16078         (do_cos_slow): Likewise.
16079         (do_sin): Likewise.
16080         (do_sin_slow): Likewise.
16081         (do_sincos_1): Remove the no longer necessary input partitioning.
16082         (do_sincos_2): Likewise.
16083         (__sin): Likewise.
16084         (__cos): Likewise.
16085         (slow1): Likewise.
16086         (slow2): Likewise.
16087         (sloww1): Likewise.
16088         (sloww2): Likewise.
16089         (bsloww1): Likewise.
16090         (bsloww2): Likewise.
16091         (cslow2): Likewise.
16093 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16095         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
16096         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
16097         outside of allocated array.
16099 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16101         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16102         instead of MB_CUR_MAX to avoid variable-length array.
16104 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16106         * math/Makefile (libm-calls): Remove k_rem_pio2F.
16107         (type-double-routines): Add k_rem_pio2.
16108         (type-float-routines): Add k_rem_pio2f.
16110         * sysdeps/generic/math_private.h:
16111         (__kernel_rem_pio2l): Removed.
16113         * math/k_rem_pio2l.c: Removed.
16114         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16115         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16116         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16117         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16119 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16121         * math/Makefile (gen-libm-calls): Add s_fmin
16122         (libm-calls): Remove above.
16124         * math/s_fmin.c: Refactor into ...
16125         * math/s_fmin_template.c: New file.
16127         * math/s_fminf.c: Removed.
16128         * math/s_fminl.c: Removed.
16129         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16130         (LDOUBLE_fmin_libm_version): New macro.
16132         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16133         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16135 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16137         * math/Makefile: (gen-libm-calls): Add s_fmax.
16138         (libm-calls): Remove above.
16140         * math/s_fmax.c: Refactor into ...
16141         * math/s_fmax_template.c: New file.
16142         * math/s_fmaxf.c: Removed.
16143         * math/s_fmaxl.c: Removed.
16145         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16146         (LDOUBLE_fmaxl_libm_version): New macro.
16148         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16149         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16151         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16152         s_fmin.c to pick the aarch64 version of the file.
16153         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16154         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16156 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16158         * math/Makefile: (gen-libm-calls): Add s_nextdown.
16159         (libm-calls): Remove above.
16161         * math/s_nextdown.c: Refactor into ...
16162         * math/s_nextdown_template.c: New file.
16163         * math/s_nextdownf.c: Removed.
16164         * math/s_nextdownl.c: Removed.
16166         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16168 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16170         * math/Makefile (gen-libm-calls): Add s_fdim.
16171         (libm-calls): Move to above.
16173         * math/s_fdim.c: Renamed and refactored into to ...
16174         * math/s_fdim_template.c: New file.
16175         * math/s_fdiml.c: Removed.
16176         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16177         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16179         * sysdeps/generic/math-type-macros-double.h:
16180         (declare_mgen_alias): Don't declare if already declared.
16181         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16182         Likewise.
16184         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16185         (declare_mgen_alias): Don't declare if already declared.
16186         (M_LIBM_NEED_COMPAT): Likewise.
16187         (declare_mgen_libm_compat): Likewise.
16188         (LDOUBLE_fdiml_libm_version): New macro.
16190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16191         Include math/s_fdim.c now that ldbl-opt version is not needed.
16192         (declare_mgen_alias): New macro to disable aliasing.
16194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16195         (declare_mgen_alias): Likewise.
16196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16197         (declare_mgen_alias): Likewise.
16198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16199         (declare_mgen_alias): Likewise.
16200         (M_LIBM_NEED_COMPAT): Likewise.
16202 2016-09-01  Florian Weimer  <fweimer@redhat.com>
16204         [BZ #20525]
16205         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16206         Include <linux/quota.h>.
16207         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16208         and btodb.
16209         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16210         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16211         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16212         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16213         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16214         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16215         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16216         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16217         types.
16218         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16219         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16221 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16223         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16224         (gammal_positive): Fix spacing.
16225         (__ieee754_gammal_r): Likewise.
16227 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16229         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16230         (_Float128): Define as long double, always.
16231         (L): Apply long double type suffix, always.
16233         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16234         _Float128, excepting comments.
16236         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16237         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16238         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16239         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16240         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16241         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16242         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16243         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16244         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16245         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16246         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16247         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16248         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16249         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16250         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16251         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16252         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16253         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16254         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16255         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16256         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16257         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16258         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16259         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16260         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16261         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16262         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16263         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16264         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16265         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16266         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16267         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16268         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16269         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16270         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16271         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16272         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16273         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16274         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16275         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16276         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16277         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16278         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16279         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16280         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16281         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16282         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16283         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16284         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16285         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16286         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16287         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16288         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16289         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16290         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16291         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16292         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16293         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16294         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16295         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16296         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16297         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16298         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16299         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16300         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16301         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16302         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16303         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16305         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16306         _Float128, and include math_private.h.
16307         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16309         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16310         long double semantics.
16311         (_Float128): Likewise.
16312         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16313         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16314         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16315         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16317 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16319         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16320         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16321         * sysdeps/s390/configure: Regenerated.
16322         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16323         instruction for raising over-/underflow if z196 zarch is supported
16324         by default.
16325         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16327 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16329         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16330         it point to a dumb buffer for RPC to fill it.
16332 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16334         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16335         instead of if/else.
16336         (do_sin_slow): Likewise.
16337         (do_sincos_1): Use fabs instead of if/else.
16338         (do_sincos_2): Likewise.
16339         (__sin): Likewise.
16340         (__cos): Likewise.
16341         (slow2): Likewise.
16342         (sloww): Likewise.
16343         (sloww1): Likewise.  Drop argument M.
16344         (sloww2): Use fabs instead of if/else.
16345         (bsloww): Likewise.
16346         (bsloww1): Likewise.
16347         (bsloww2): Likewise.
16349         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16350         fall through comment.
16351         (do_sincos_1): Likewise.
16353         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16354         Consolidate switch cases 0 and 2.
16356 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16358         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16359         (libm-calls): Remove the above.
16361         * math/s_cexp_template.c: Update using type-generic macros.
16362         * math/s_clog10_template.c: Likewise.
16363         * math/s_cpow_template.c: Likewise.
16364         * math/s_clog_template.c: Likewise.
16365         * math/s_cproj_template.c: Likewise.
16366         * math/s_csqrt_template.c: Likewise.
16368         * math/s_cexp.c: Removed.
16369         * math/s_cexpf.c: Removed.
16370         * math/s_cexpl.c: Removed.
16371         * math/s_clog10.c: Removed.
16372         * math/s_clog10f.c: Removed.
16373         * math/s_clog10l.c: Removed.
16374         * math/s_cpow.c: Removed.
16375         * math/s_cpowf.c: Removed.
16376         * math/s_cpowl.c: Removed.
16377         * math/s_clog.c: Removed.
16378         * math/s_clogf.c: Removed.
16379         * math/s_clogl.c: Removed.
16380         * math/s_cproj.c: Removed.
16381         * math/s_cprojf.c: Removed.
16382         * math/s_cprojl.c: Removed.
16383         * math/s_csqrt.c: Removed.
16384         * math/s_csqrtf.c: Removed.
16385         * math/s_csqrtl.c: Removed.
16387         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16388         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16389         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16390         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16391         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16392         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16394         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16395         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16396         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16397         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16398         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16399         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16400         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16401         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16402         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16403         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16404         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16406         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16407         version.
16409         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16410         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16411         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16412         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16414 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16416         * s_cexp_template.c: Copy of s_cexp.c.
16417         * s_clog_template.c: Copy of s_clog.c.
16418         * s_clog10_template.c: Copy of s_clog10.c.
16419         * s_cpow_template.c: Copy of s_cpow.c.
16420         * s_cproj_template.c: Copy of s_cproj.c.
16421         * s_csqrt_template.c: Copy of s_csqrt.c.
16423 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16425         [BZ #20517]
16426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16427         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16428         exported.
16430 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16432         * math/fetestexceptflag.c: New file.
16433         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16434         Stefan Liebler.
16435         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16436         (fetestexceptflag): New function declaration.
16437         * manual/arith.texi (fetestexceptflag): Document function.
16438         * math/Versions (fetestexceptflag): New libm symbol at version
16439         GLIBC_2.25.
16440         * math/Makefile (libm-support): Add fetestexceptflag.
16441         (tests): Add test-fetestexceptflag.
16442         * math/test-fetestexceptflag.c: New file.
16443         * sysdeps/nacl/libm.abilist: Update.
16444         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16445         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16446         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16447         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16448         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16449         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16450         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16451         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16452         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16453         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16454         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16455         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16457         Likewise.
16458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16459         Likewise.
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16461         Likewise.
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16463         Likewise.
16464         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16465         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16466         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16467         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16468         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16470         Likewise.
16471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16472         Likewise.
16473         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16474         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16475         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16477 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16479         [BZ #20432]
16480         Avoid strong references to malloc-internal symbols when linking
16481         statically, to support statically interposed mallocs.
16482         * include/libc-symbols.h (call_function_static_weak): New macro.
16483         * malloc/Makefile (tests): Add tst-interpose-nothread,
16484         tst-interpose-thread, tst-interpose-static-nothread,
16485         tst-interpose-static-thread.
16486         (tests-static): Add tst-interpose-static-nothread,
16487         tst-interpose-static-thread.
16488         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16489         tst-interpose-aux-thread.o.
16490         (test-extras): Add tst-interpose-aux-nothread,
16491         tst-interpose-aux-thread.
16492         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16493         tst-interpose-aux-nothread.o.
16494         (tst-interpose-thread, tst-interpose-static-thread): Link with
16495         tst-interpose-aux-thread.o and libthread.
16496         * malloc/tst-interpose-aux-nothread.c: New file.
16497         * malloc/tst-interpose-aux-thread.c: Likewise.
16498         * malloc/tst-interpose-aux.c: Likewise.
16499         * malloc/tst-interpose-aux.h: Likewise.
16500         * malloc/tst-interpose-nothread.c: Likewise.
16501         * malloc/tst-interpose-skeleton.c: Likewise.
16502         * malloc/tst-interpose-static-nothread.c: Likewise.
16503         * malloc/tst-interpose-static-thread.c: Likewise.
16504         * malloc/tst-interpose-thread.c: Likewise.
16505         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16506         * sysdeps/mach/hurd/fork.c (__fork): Only call
16507         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16508         __malloc_fork_unlock_child if defined.
16509         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16511 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16513         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16514         timespec C99 designated initialization.
16516 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16518         [BZ #19946]
16519         Avoid expected SIGALRM signals.
16520         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16521         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16522         (xpthread_create, xpthread_detach, xpthread_join)
16523         (delayed_exit_thread, delayed_exit): New functions.
16524         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16525         (tf): Use xpthread_cond_wait.
16526         (do_test): Likewise.  Replace alarm with delayed_exit.
16527         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16528         (do_test): Call delayed_exit.  Report failure.
16529         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16530         (do_test): Call delayed_exit.
16531         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16532         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16533         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16534         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16535         error.
16536         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16537         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16538         error.
16539         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16540         (do_test): Call delayed_exit.
16541         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16542         (do_test): Call delayed_exit.
16543         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16544         (do_test): Call delayed_exit instead of alarm.  Use
16545         xpthread_mutex_lock.
16546         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16547         (do_test): Call delayed_exit instead of alarm.  Use
16548         xpthread_mutex_lock.
16549         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16550         (do_test): Call delayed_exit instead of alarm.
16551         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16552         (do_test): Call delayed_exit instead of alarm.  Use
16553         xpthread_spin_lock.
16554         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16555         (do_test): Call delayed_exit instead of alarm.  Use
16556         xpthread_join.
16558 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16560         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16561         adjust CFA when allocating register save area on re-aligned
16562         stack.
16564 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16566         * string/tst-cmp.c: New test.
16567         * string/Makefile (tests): Add it.
16569 2016-08-25  Mark Wielaard  <mark@klomp.org>
16571         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16572         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16573         (check_tree_recurse): Use newly defined accessors.
16574         (check_tree): Likewise.
16575         (maybe_split_for_insert): Likewise.
16576         (__tfind): Likewise.
16577         (__tdelete): Likewise.
16578         (trecurse): Likewise.
16579         (tdestroy_recurse): Likewise.
16580         (__tsearch): Likewise. And add asserts for malloc alignment.
16581         (__twalk): Cast root to node in case CHECK_TREE is defined.
16583 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16585         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16587 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16589         * math/Makefile (libm-gen-calls): Add
16590         catan, catanh, ctan, ctanh.
16591         (libm-calls): Remove the above.
16593         * math/s_catan_template.c: Update using type-generic macros.
16594         * math/s_catanh_template.c: Likewise.
16595         * math/s_ctan_template.c: Likewise.
16596         * math/s_ctanh_template.c: Likewise.
16598         * math/s_catanf.c: Removed.
16599         * math/s_catan.c: Removed.
16600         * math/s_catanl.c: Removed.
16601         * math/s_catanhf.c: Removed.
16602         * math/s_catanh.c: Removed.
16603         * math/s_catanhl.c: Removed.
16604         * math/s_ctanf.c: Removed.
16605         * math/s_ctan.c: Removed.
16606         * math/s_ctanl.c: Removed.
16607         * math/s_ctanhf.c: Removed.
16608         * math/s_ctanh.c: Removed.
16609         * math/s_ctanhl.c: Removed.
16611         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16612         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16613         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16614         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16615         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16616         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16618         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16619         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16620         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16621         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16623 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16625         * s_catan_template.c: Copy of s_catan.c.
16626         * s_catanh_template.c: Copy of s_catanh.c.
16627         * s_ctan_template.c: Copy of s_ctan.c.
16628         * s_ctanh_template.c: Copy of s_ctanh.c.
16630 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16632         * math/Makefile (gen-libm-calls): Move
16633         casin, casinh, csin, csinh here.
16634         (libm-calls): Remove the above.
16636         * math/s_casin_template.c: Update using type-generic macros.
16637         * math/s_casinh_template.c: Likewise.
16638         * math/s_csin_template.c: Likewise.
16639         * math/s_csinh_template.c: Likewise.
16640         * math/k_casinh_template.c: Likewise.
16642         * math/s_casinf.c: Removed.
16643         * math/s_casin.c: Removed.
16644         * math/s_casinl.c: Removed.
16645         * math/s_casinh.c: Removed.
16646         * math/s_casinhf.c: Removed.
16647         * math/s_casinhl.c: Removed.
16648         * math/s_csin.c: Removed.
16649         * math/s_csinf.c: Removed.
16650         * math/s_csinl.c: Removed.
16651         * math/s_csinh.c: Removed.
16652         * math/s_csinhf.c: Removed.
16653         * math/s_csinhl.c: Removed.
16654         * math/k_casinh.c: Removed.
16655         * math/k_casinhf.c: Removed.
16656         * math/k_casinhl.c: Removed.
16658         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16659         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16660         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16661         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16663         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16664         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16665         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16666         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16667         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16668         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16669         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16670         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16672         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16673         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16674         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16675         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16677         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16678         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16679         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16680         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16682 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16684         * s_casin_template.c: Copy of s_casin.c.
16685         * s_casinh_template.c: Copy of s_casinh.c.
16686         * s_csin_template.c: Copy of s_csin.c.
16687         * s_csinh_template.c: Copy of s_csinh.c.
16688         * k_casinh_template.c: Copy of k_casinh.c.
16690 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16692         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16694 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16696         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16697         (mul_split) Remove, rename as mul_splitl, remove
16698         redundant float.h include, and include via mul_splitl.h
16700         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16701         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16702         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16703         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16704         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16706         * math/mul_splitl.h: New file.
16708         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16709         Move into mul_split.h, and remove redundant float.h include.
16711         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16712         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16713         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16714         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16716         * math/mul_split.h: New file.
16718 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16720         * math/Makefile (libm-gen-calls): Move
16721         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16722         (libm-calls): Remove above.
16724         * math/s_cacos_template.c: Update using type-generic macros.
16725         * math/s_cacosh_template.c: Likewise.
16726         * math/s_ccos_template.c: Likewise.
16727         * math/s_ccosh_template.c: Likewise.
16729         * math/s_cacosf.c: Removed.
16730         * math/s_cacos.c: Removed.
16731         * math/s_cacosl.c: Removed.
16732         * math/s_cacoshf.c: Removed.
16733         * math/s_cacosh.c: Removed.
16734         * math/s_cacoshl.c: Removed.
16735         * math/s_ccosf.c: Removed.
16736         * math/s_ccos.c: Removed.
16737         * math/s_ccosl.c: Removed.
16738         * math/s_ccoshf.c: Removed.
16739         * math/s_ccosh.c: Removed.
16740         * math/s_ccoshl.c: Removed.
16742         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16743         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16744         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16745         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16746         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16747         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16749         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16750         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16751         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16752         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16754         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16755         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16756         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16757         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16759 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16761         * s_cacos_template.c: Copy of s_cacos.c.
16762         * s_cacosh_template.c: Copy of s_cacosh.c.
16763         * s_ccos_template.c: Copy of s_ccos.c.
16764         * s_ccosh_template.c: Copy of s_ccosh.c.
16766 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16768         * stdlib/tst-strtod-round-skeleton.c:
16769         Refactored from tst-strtod-round.c.
16771         (L_): New macro to apply literal modifier.
16772         (FNPFX): New macro to select str or wcs prefix.
16773         (CHAR): New macro to choose wchar_t or char.
16774         (STRM): New macro to choose printf for tested character type.
16776         (STRTO): New macro to choose appropriate string -> real function.
16777         (FNPFXS): Stringitized version of FNPFX.
16778         (STR): Support for above macro.
16779         (STRX): Likewise.
16781         (TEST): Update with above macros.
16782         (test): Likewise.
16783         (GEN_ONE_TEST): Likewise.
16784         (test_in_one_mode): Likewise.
16786         * stdlib/tst-strtod-round.c: New file.
16787         * wcsmbs/tst-wcstod-round.c: New file.
16789         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16790         (tst-wcstod-round): Add libm depencency for fesetround.
16792 2016-08-19  Zack Weinberg  <zackw@panix.com>
16794         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16796 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16798         [BZ #20477]
16799         * resolv/res_hconf.c (do_init): Use atomic access.
16800         * resolv/res_hconf.h: Add comments.
16801         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16802         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16805 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16807         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16808         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16809         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16810         Likewise.
16812 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16814         [BZ #16907]
16815         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16816         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16817         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16818         (__attribute__): Remove definition.
16820 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16822         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16823         Remove unused sqrtl declaration.
16825 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16827         * math/Makefile: (gen-libm-templates.stmp): New rule.
16828         (libm-calls): Move carg conj cimag and cabs into ...
16829         (gen-libm-calls): New variable.
16830         (generated): Inform Make objects from gen-libm-calls
16831         may be generated.
16833         * sysdeps/generic/math-type-macros.h: New file.
16834         * sysdeps/generic/math-type-macros-float.h: Likewise.
16835         * sysdeps/generic/math-type-macros-double.h: Likewise.
16836         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16837         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16838         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16840         * math/cabs.c: Refactor into
16841         * math/cabs_template.c: new file.
16842         * math/cabsf.c: Removed.
16843         * math/cabsl.c: Removed.
16844         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16845         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16847         * math/carg.c: Refactor into
16848         * math/carg_template.c: new file.
16849         * math/cargf.c: Removed.
16850         * math/cargl.c: Removed.
16851         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16852         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16854         * math/conj.c: Refactor into
16855         * math/conj_template.c: new file.
16856         * math/conjf.c: Removed.
16857         * math/conjl.c: Removed.
16858         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16859         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16861         * math/cimag.c: Refactor into
16862         * math/cimag_template.c: new file.
16863         * math/cimagf.c: Removed.
16864         * math/cimagl.c: Removed.
16865         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16866         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16868         * math/cimag.c: Refactor into
16869         * math/cimag_template.c: new file.
16870         * math/cimagf.c: Removed.
16871         * math/cimagl.c: Removed.
16872         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16873         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16875 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16877         Reduce time to expected nptl/tst-once5 failure.
16878         * nptl/tst-once5.cc (TIMEOUT): Define.
16880 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16882         [BZ #20452]
16883         Avoid additional copies of objects in libc.a in static libraries.
16884         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16885         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16886         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16887         rt-sysdep.
16888         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16889         Add nptl-sysdep.
16890         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16891         Add ptw-sysdep.
16892         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16893         rt-sysdep.
16894         * sysdeps/unix/sysv/linux/alpha/Makefile
16895         (libpthread-shared-only-routines): Add ptw-sysdep,
16896         ptw-sigprocmask, ptw-rt_sigaction.
16897         * sysdeps/unix/sysv/linux/ia64/Makefile
16898         (librt-shared-only-routines): Add rt-sysdep.
16899         * sysdeps/unix/sysv/linux/i386/Makefile
16900         (libpthread-shared-only-routines): Add libc-do-syscall.
16901         * sysdeps/unix/sysv/linux/microblaze/Makefile
16902         (libpthread-shared-only-routines): Add sysdep.
16903         * sysdeps/unix/sysv/linux/powerpc/Makefile
16904         (librt-shared-only-routines): Add rt-sysdep.
16905         (libpthread-shared-only-routines): Add sysdep.
16906         * sysdeps/unix/sysv/linux/s390/Makefile
16907         (librt-shared-only-routines): Add rt-sysdep.
16908         * sysdeps/unix/sysv/linux/sparc/Makefile
16909         (librt-shared-only-routines): Add rt-sysdep.
16910         (libpthread-shared-only-routines): Add sysdep.
16911         * sysdeps/unix/sysv/linux/tile/Makefile
16912         (libpthread-shared-only-routines): Likewise.
16914 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16916         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16917         Mask implicit bit out of unpacked value.
16918         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16919         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16922         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16924         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16926         * sysdeps/s390/fpu/fesetexcept.c: New file.
16928         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16929         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16930         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16932         * sysdeps/mips/fpu/fesetexcept.c: New file.
16934         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16936         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16938         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16940         * sysdeps/arm/fesetexcept.c: New file.
16942         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16944         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16946         * math/fesetexcept.c: New file.
16947         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16948         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16949         * math/fenv.h: Define
16950         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16951         <bits/libc-header-start.h> instead of including <features.h>.
16952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16953         declaration.
16954         * manual/arith.texi (fesetexcept): Document function.
16955         * math/Versions (fesetexcept): New libm symbol at version
16956         GLIBC_2.25.
16957         * math/Makefile (libm-support): Add fesetexcept.
16958         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16959         * math/test-fesetexcept.c: New file.
16960         * math/test-fesetexcept-traps.c: Likewise.
16961         * sysdeps/nacl/libm.abilist: Update.
16962         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16963         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16964         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16965         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16966         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16967         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16968         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16969         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16970         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16971         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16972         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16973         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16977         Likewise.
16978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16979         Likewise.
16980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16981         Likewise.
16982         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16983         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16984         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16985         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16986         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16988         Likewise.
16989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16990         Likewise.
16991         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16992         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16993         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16995 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16997         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16998         New.
16999         (do_test): Apply default_stack_size_in_mb if not set.
17000         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
17002 2016-08-15  Andreas Schwab  <schwab@suse.de>
17004         [BZ #20435]
17005         CVE-2016-6323
17006         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
17007         as .cantunwind.
17009 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
17011         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
17012         comment from fraiseexcpt.c.
17014         * math/test-fexcept.c (feraiseexcept_exact): New function.
17015         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
17016         (test_except): Likewise.
17018 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
17020         [BZ #20455]
17021         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
17022         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
17023         to be restored.
17025         * math/test-fexcept-traps.c: New file.
17026         * math/test-fexcept.c: Likewise.
17027         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
17028         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
17029         macro.
17030         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
17031         (EXCEPTION_SET_FORCES_TRAP): Likewise.
17033 2016-08-09  Torvald Riegel  <triegel@redhat.com>
17035         * include/atomic.h (atomic_fetch_and_relaxed,
17036         atomic_fetch_and_release, atomic_fetch_or_release,
17037         atomic_fetch_xor_release): New.
17039 2016-08-06  Christian Seiler  <christian@iwakd.de>
17041         [BZ #20444]
17042         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
17043         MACH_PORT_NULL.
17045 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17047         * math/s_fdim.c: Avoid alias renamed.
17048         * math/s_fdimf.c: Likewise.
17049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17050         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17051         Add s_fdimf-vis3, s_fdim-vis3.
17052         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17053         (CFLAGS-s_fdim-vis3.c): Likewise.
17054         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
17055         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17057 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17060         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17061         Remove s_fdimf-vis3, s_fdim-vis3.
17062         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
17063         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
17064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
17065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
17066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
17067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
17068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
17069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
17070         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
17071         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
17073 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17075         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
17076         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
17077         -Wa,-Av9a -mvis.
17079 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17081         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
17082         LIT() to individual constants in simple expressions
17083         after splitting on spaces.
17084         (_apply_lit): Rename replaced version, and use it to
17085         apply to what appears to be a token.
17087         * math/libm-test.inc: Fix many, many issues with
17088         spacing.
17090 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
17092         * math/math.h: Move comment about <bits/mathdef.h> definitions
17093         above inclusion of <bits/mathdef.h>.  Do not mention
17094         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
17096 2016-08-05  Torvald Riegel  <triegel@redhat.com>
17098         * include/atomic.h (atomic_exchange_relaxed): New.
17100 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
17102         * math/e_scalb.c: Do not include <fenv.h>.
17103         (invalid_fn): Do calculation resulting in NaN instead of raising
17104         FE_INVALID and returning a NaN explicitly.
17105         * math/e_scalbf.c: Do not include <fenv.h>.
17106         (invalid_fn): Do calculation resulting in NaN instead of raising
17107         FE_INVALID and returning a NaN explicitly.
17108         * math/e_scalbl.c: Do not include <fenv.h>.
17109         (invalid_fn): Do calculation resulting in NaN instead of raising
17110         FE_INVALID and returning a NaN explicitly.
17112 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
17114         * po/de.po: Updated from Translation Project.
17115         * po/fi.po: Likewise.
17116         * po/sv.po: Likewise.
17118 2016-08-04  Florian Weimer  <fweimer@redhat.com>
17120         [BZ #20452]
17121         Use sysdep.o from libc.a in static libraries.
17122         * sysdeps/unix/sysv/linux/i386/Makefile
17123         (libpthread-shared-only-routines): Add sysdep.
17124         (librt-shared-only-routines): Likewise.
17126 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17128         * math/tgmath.h (nextdown): Define if
17129         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17130         (nextup): Likewise.
17132         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17133         macro.
17134         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17135         Document.
17136         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17137         Document macro.
17138         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17139         (exp10f): Likewise.
17140         (exp10l): Likewise.
17141         * math/bits/mathcalls.h (exp10): Declare if
17142         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17144         * manual/arith.texi (nextup): Fix typo in last change.
17146 2016-08-03  Zack Weinberg  <zackw@panix.com>
17148         [BZ #19239]
17149         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17150         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17151         define major, minor, and makedev to issue deprecation warnings on use.
17152         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17153         previously-activated deprecation warnings for these macros and prevent
17154         subsequent inclusions of this header from having any effect.
17155         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17156         including <sys/sysmacros.h>, and undefine it again afterward.
17158 2016-08-03  Zack Weinberg  <zackw@panix.com>
17160         * sysdeps/generic/sys/sysmacros.h: Delete file.
17161         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17162         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17163         * bits/sysmacros.h: ... here; this encoding is now the generic
17164         encoding.  Now defines only the following macros:
17165         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17166         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17167         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17169         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17170         bits/sysmacros.h and the above new macros to generate the
17171         public implementations of major, minor, and makedev.
17172         * misc/tst-makedev.c: New test.
17173         * include/sys/sysmacros.h: New wrapper.
17175         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17176         (routines): Add makedev.
17177         (tests): Add tst-makedev.
17178         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17179         gnu_dev_makedev.
17180         * posix/Makefile (headers): Remove sys/sysmacros.h.
17181         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17183         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17184         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17185         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17186         * sysdeps/unix/sysv/linux/alpha/libc.abilist
17187         * sysdeps/unix/sysv/linux/arm/libc.abilist
17188         * sysdeps/unix/sysv/linux/hppa/libc.abilist
17189         * sysdeps/unix/sysv/linux/i386/libc.abilist
17190         * sysdeps/unix/sysv/linux/ia64/libc.abilist
17191         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17192         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17193         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17194         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17195         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17196         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17197         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17198         * sysdeps/unix/sysv/linux/nios2/libc.abilist
17199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17203         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17204         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17205         * sysdeps/unix/sysv/linux/sh/libc.abilist
17206         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17207         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17210         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17211         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17212         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17213         Add GLIBC_2.25.
17215         * include/features.h (__glibc_clang_prereq): New macro.
17216         * misc/sys/cdefs.h (__glibc_clang_has_extension)
17217         (__attribute_deprecated_msg__): New macros.
17219 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17221         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17222         macro.
17223         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17224         * manual/arith.texi (issignaling): Document as ISO from TS
17225         18661-1:2014.
17226         (nextup): Likewise.
17227         (nextupf): Likewise.
17228         (nextupl): Likewise.
17229         (nextdown): Likewise.
17230         (nextdownf): Likewise.
17231         (nextdownl): Likewise.
17232         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17233         macro.
17234         * math/math.h: Define
17235         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17236         <bits/libc-header-start.h> instead of including <features.h>.
17237         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17238         [__USE_GNU].
17239         * math/bits/mathcalls.h (nextdown): Declare if
17240         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17241         (nextup): Likewise.
17242         (__issignaling): Likewise.
17244 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17246         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17247         check, and remove __glibc_likely hint
17248         from FP_INFINITE check.
17249         * s_csinhf.c (__csinhf): Likewise.
17251         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17252         hint from FP_INFINITE check.
17253         * s_csinhl.c (__csinhl): Likewise.
17255 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17257         * math/Makefile (libm-calls): Insert F placeholder into
17258         object names.  Move w_lgamma_compat* routines into
17259         (libm-compat-calls): New variable.
17260         (libm-compat-calls-ldouble-yes): New variable.
17261         (calls): Insert F placeholder.
17262         (generated): Redefine using new type-foreach macro call.
17263         (routines): Likewise.
17265         (types): New variable to hold a list of symbolic names
17266         for each type supported by the target machine.
17267         (libm-routines): Redefine using new types variable.
17268         (type-foreach): macro to replace fooF with the
17269         appropriately suffixed foo for each types.
17271         (type-ldouble-suffix): New variable.
17272         (type-ldouble-routines): Likewise.
17273         (type-ldouble-yes): Likewise.
17274         (type-double-suffix): Likewise.
17275         (type-double-routines): Likewise.
17276         (type-float-suffix): Likewise.
17277         (type-float-routines): Likewise.
17279         (dbl-only-routines): Remove.
17280         (long-c-yes): Likewise.
17281         (long-m-routines): Likewise.
17282         (long-m-support): Likewise.
17283         (long-m-yes): Likewise.
17284         (test-longdouble-yes): Likewise.
17286         (test-float.o): Simplify by increasing the scope of the
17287         recipe which adds libm-test.stmp to the vector types.
17288         (test-ifloat.o): Likewise.
17289         (test-float-finite.o): Likewise.
17290         (test-double.o): Likewise
17291         (test-idouble.o): Likewise.
17292         (test-double-finite.o): Likewise.
17293         (test-ldouble.o): Likewise
17294         (test-ildoubl.o): Likewise.
17295         (test-ldouble-finite.o): Likewise.
17297         (libm-tests): Redefine type tests using foreach and the
17298         list of types in types.
17300         (CPPFLAGS-test-ildoubl.c): Rename to
17301         (CPPFLAGS-test-ildouble.c): New variable
17303         * math/test-ildoubl.c: Rename to
17304         * math/test-ildouble.c: New file.
17306 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17308         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17309         Use fabsl instead of fabs.
17310         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17311         Likewise.
17312         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17313         Add long double suffix to constant to ensure proper
17314         promotion to long double.
17316 2016-08-03  Tom Tromey  <tom@tromey.com>
17318         [BZ #20311]
17319         * nptl_db/Makefile (headers): Add proc_service.h.
17320         * nptl_db/proc_service.h: Add include guard.  Use
17321         __BEGIN/__END_DECLS.
17322         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17323         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17324         arguments.
17327 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17329         [BZ #17730]
17330         Avoid using memalign for TCB allocations.
17331         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17332         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17333         Avoid alignment gap in the TLS_DTV_AT_TP case.
17334         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17335         determine the pointer to free.
17336         * nptl/tst-tls3-malloc.c: New test.
17337         * nptl/Makefile (tests): Add it.
17338         (tst-tls3-malloc): Link with libdl, libpthread.
17339         (LDFLAGS-tst-tls3-malloc): Set.
17340         (tst-tls3-malloc.out): Depend on DSO used in test.
17342 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17344         [BZ #17730]
17345         Avoid using memalign for TLS allocations.
17346         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17347         is_static member with to_free member.
17348         (union dtv): Use struct dtv_pointer.
17349         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17350         dtv_pointer instead of is_static.
17351         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17352         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17353         instead of val.
17354         (allocate_dtv_entry): New function.
17355         (allocate_and_init): Return struct dtv_pointer.  Call
17356         allocate_dtv_entry instead of __libc_memalign.
17357         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17358         instead of val.
17359         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17360         instead of is_static.  Adjust call to allocate_and_init.
17361         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17362         struct dtv_pointer instead of val.
17364 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17366         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17367         (MALLOC_ALIGN_MASK): Move ...
17368         * malloc/malloc-internal.h: ... to here.
17369         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17371 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17373         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17374         (UDP_ENCAP_GTP1U): Likewise.
17376         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17377         (PF_MAX): Update value.
17378         (AF_QIPCRTR): New macro.
17380 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17382         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17383         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17384         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17385         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17386         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17387         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17388         s_truncf-vis3, s_trunc-vis3.
17389         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17390         (CFLAGS-s_ceil-vis3.c): Likewise.
17391         (CFLAGS-s_floorf-vis3.c): Likewise.
17392         (CFLAGS-s_floor-vis3.c): Likewise.
17393         (CFLAGS-s_truncf-vis3.c): Likewise.
17394         (CFLAGS-s_trunc-vis3.c): Likewise.
17395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17403         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17404         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17405         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17406         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17408 2016-08-02  David S. Miller  <davem@davemloft.net>
17410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17411         (__nearbyint_vis3): Don't check for sNaN before float register is
17412         loaded with the incoming argument.
17413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17414         (__nearbyintf_vis3): Likewise.
17415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17416         Likewise.
17417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17418         Likewise.
17420         * string/test-strncmp.c (do_test_limit): Make sure the test data
17421         stream is aligned as required for the type "CHAR".
17422         (do_test): Likewise.
17424 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17426         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17427         by beq instructions jumping to the end of the function.
17428         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17429         clobber list. Use "i" constraint instead of "X".
17430         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17431         of "X".
17433 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17435         * bits/libc-header-start.h: New file.
17436         * Makefile (headers): Add bits/libc-header-start.h.
17437         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17438         (__GLIBC_USE): New macro.
17439         * libio/stdio.h: Define
17440         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17441         <bits/libc-header-start.h> instead of including <features.h>.
17442         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17443         (open_memstream): Likewise.
17444         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17445         (__asprintf): Likewise.
17446         (asprintf): Likewise.
17447         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17448         (getdelim): Likewise.
17449         (getline): Likewise.
17450         * string/string.h: Define
17451         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17452         <bits/libc-header-start.h> instead of including <features.h>.
17453         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17454         (strndup): Likewise.
17455         * wcsmbs/wchar.h: Define
17456         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17457         <bits/libc-header-start.h> instead of including <features.h>.
17458         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17459         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17461 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17463         Support linking against compatibility symbols, for use in tests.
17464         * include/libc-symbols.h (symbol_version_reference): New macro.
17465         (symbol_version): Use it.
17466         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17467         (compat_symbol): Use compat_symbol_reference.
17468         (compat_symbol_1, compat_symbol_2): Remove.
17469         (compat_symbol_reference, compat_symbol_reference_1)
17470         (compat_symbol_reference_2): New macro.  Use
17471         symbol_version_reference.
17473 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17475         [BZ #19469]
17476         * malloc/Makefile (CPPFLAGS): Compile tests with
17477         -DTEST_NO_MALLOPT.
17478         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17480 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17482         [BZ #20033]
17483         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17484         finite version.
17485         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17487         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17488         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17489         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17490         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17493         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17495         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17499         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17500         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17501         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17502         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17503         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17504         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17505         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17506         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17507         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17508         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17509         in zero power.
17511 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17513         [BZ #20370]
17514         * malloc/arena.c (get_free_list): Update comment.  Assert that
17515         arenas on the free list have no attached threads.
17516         (remove_from_free_list): New function.
17517         (reused_arena): Call it.
17519 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17521         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17522         when it is a NaN.
17523         [_IEEE_FP_INEXACT] Remove.
17524         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17525         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17526         when it is a NaN.
17527         [_IEEE_FP_INEXACT] Remove.
17528         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17529         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17530         when it is a NaN.
17531         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17532         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17533         when its absolute value is greater than 0x1.0p52.
17534         [_IEEE_FP_INEXACT] Remove.
17535         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17536         when its absolute value is greater than 0x1.0p23.
17537         [_IEEE_FP_INEXACT] Remove.
17539 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17541         * version.h (RELEASE): Set to "development"
17542         (VERSION): Set to 2.24.90.
17543         * NEWS: Add 2.25 section.
17545         * version.h (RELEASE): Set to "stable"
17546         (VERSION): Set to 2.24.
17547         * include/features.h (__GLIBC_MINOR__): Set to 24.
17549         * NEWS: Add 2.24 fixed bugs.
17550         * po/libc.pot: Regenerate.
17552 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17555         [$(subdir) = math] (libm-sysdep_routines): Remove.
17556         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17557         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17558         s_truncf-vis3, s_trunc-vis3.
17559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17561         file.
17562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17595         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17596         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17597         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17598         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17599         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17600         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17601         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17602         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17603         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17604         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17606 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17608         [BZ #20384]
17609         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17610         test-double-libmvec-sincos-avx-main.o,
17611         test-double-libmvec-sincos-avx2-main.o,
17612         test-double-libmvec-sincos-main.o,
17613         test-float-libmvec-sincosf-avx-main.o,
17614         test-float-libmvec-sincosf-avx2-main.o and
17615         test-float-libmvec-sincosf-main.o.
17616         test-float-libmvec-sincosf-avx512-main.o.
17617         ($(objpfx)test-double-libmvec-sincos): Also link with
17618         $(objpfx)test-double-libmvec-sincos-main.o.
17619         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17620         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17621         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17622         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17623         ($(objpfx)test-float-libmvec-sincosf): Also link with
17624         $(objpfx)test-float-libmvec-sincosf-main.o.
17625         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17626         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17627         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17628         test-double-libmvec-sincos-avx512-main.o and
17629         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17630         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17631         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17632         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17633         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17634         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17635         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17636         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17637         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17638         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17639         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17640         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17641         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17642         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17643         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17644         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17645         -DREQUIRE_AVX2.
17646         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17647         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17648         -DREQUIRE_AVX512F.
17649         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17650         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17651         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17652         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17653         file.
17654         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17655         Likewise.
17656         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17657         Likewise.
17658         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17659         Likewise.
17660         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17661         Likewise.
17662         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17663         Likewise.
17664         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17665         Likewise.
17666         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17667         Likewise.
17669 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17671         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17673 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17675         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17676         and typo in a comment about AT_HWCAP entry.
17678 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17680         * sysdeps/aarch64/libm-test-ulps: Updated.
17682 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17684         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17685         of r13 as it is not restored in mvcle case.
17687 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17689         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17690         Rename "ret" to "__ret".
17691         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17692         inline_syscall5, inline_syscall6): Likewise.
17694 2016-07-19   Will Newton  <will.newton@gmail.com>
17696         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17697         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17698         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17699         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17700         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17702 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17704         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17705         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17706         -mfpmath=387 with $(rtld-CFLAGS).
17707         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17708         $(rtld-CFLAGS).
17710 2016-07-18   Ross Burton  <ross.burton@intel.com>
17711              Khem Raj  <raj.khem@gmail.com>
17713         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17714         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17715         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17716         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17717         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17718         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17719         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17720         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17721         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17722         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17723         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17724         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17725         R_METAG_TLS_DTPOFF): New.
17727 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17728             Matt Clay  <mclay@lycos.com>
17730         [BZ #20357]
17731         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17732         to call __mpsin/__mpcos and to negate values.
17733         * math/auto-libm-test-in: Add test.
17734         * math/auto-libm-test-out: Regenerate.
17736 2016-07-18  Zack Weinberg  <zackw@panix.com>
17738         * grp/Makefile: Don't install the internal header grp-merge.h.
17740 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17742         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17744 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17746         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17748 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17750         [BZ #15368]
17751         * sysdeps/unix/sysv/linux/nptl-signals.h
17752         (__nptl_clear_internal_signals): New function.
17753         (__libc_signal_block_all): Likewise.
17754         (__libc_signal_block_app): Likewise.
17755         (__libc_signal_restore_set): Likewise.
17756         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17757         implementation.
17758         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17759         the cached pid/tid value in pthread structure.
17761 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17763         [BZ #20347]
17764         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17766 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17768         [BZ #20348]
17769         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17770         preadv64, pwrite64 and pwritev64.
17772 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17774         [BZ #20350]
17775         * posix/tst-preadwrite.c: Renamed to ...
17776         * posix/tst-preadwrite-common.c: This.
17777         (PREAD): Removed.
17778         (PWRITE): Likewise.
17779         (STRINGIFY): Likewise.
17780         (STRINGIFY2): Likewise.
17781         (do_prepare): Make it static and remove function arguments.
17782         (do_test): Likewise.
17783         (PREPARE): Updated.
17784         (TEST_FUNCTION): New.
17785         (name): Make it static.
17786         (fd): Likewise.
17787         (do_prepare): Use create_temp_file.
17788         (do_test): Renamed to ...
17789         (do_test_with_offset): This.  Make it static and accept offset.
17790         Properly check return value of PWRITE and PREAD.  Return bytes
17791         read.  Don't close fd nor unlink name.
17792         * posix/tst-preadwrite.c: Rewrite.
17793         * posix/tst-preadwrite64.c: Likewise.
17795 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17797         [BZ #20309]
17798         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17799         -mtls-dialect=gnu2 works.
17800         * configure: Regenerated.
17801         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17802         (tests): Add tst-gnu2-tls1.
17803         (modules-names): Add tst-gnu2-tls1mod.
17804         ($(objpfx)tst-gnu2-tls1): New.
17805         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17806         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17807         * elf/tst-gnu2-tls1.c: New file.
17808         * elf/tst-gnu2-tls1mod.c: Likewise.
17809         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17810         bytes for push in the PLT entry to align the stack.
17812 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17814         [BZ #20349]
17815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17817 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17819         [BZ #18707]
17820         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17821         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17823 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17825         * sysdeps/unix/sysv/linux/sysdep.h
17826         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17827         guards.
17828         * misc/tst-preadvwritev-common.c: New file.
17829         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17830         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17831         a check for files larger than 2GB.
17833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17834         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17835         * sysdeps/unix/sysv/linux/pread.c
17836         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17837         __OFF_T_MATCHES_OFF64_T.
17838         * sysdeps/unix/sysv/linux/pread64.c
17839         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17840         * sysdeps/unix/sysv/linux/preadv.c
17841         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17842         * sysdeps/unix/sysv/linux/preadv64.c
17843         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17844         * sysdeps/unix/sysv/linux/pwrite.c
17845         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17846         * sysdeps/unix/sysv/linux/pwrite64.c
17847         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17848         * sysdeps/unix/sysv/linux/pwritev.c
17849         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17850         * sysdeps/unix/sysv/linux/pwritev64.c
17851         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17853 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17855         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17856         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17858 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17860         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17862 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17864         [BZ #20240]
17865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17866         (CFLAGS-s_modf-ppc32.c): New variable.
17867         (CFLAGS-s_modff-ppc32.c): Likewise.
17868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17869         (CFLAGS-s_modf-ppc64.c): Likewise.
17870         (CFLAGS-s_modff-ppc64.c): Likewise.
17872 2016-07-07  Andreas Schwab  <schwab@suse.de>
17874         [BZ #20263]
17875         * nptl/tst-robust10.c: New test.
17876         * nptl/Makefile (tests): Add tst-robust10.
17878 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17880         [BZ #20263]
17881         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17883 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17885         * sysdeps/s390/linkmap.h (struct link_map_machine):
17886         Remove member gotplt and add member jmprel.
17887         * sysdeps/s390/s390-32/dl-machine.h
17888         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17889         instead of gotplt with &got[3].
17890         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17891         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17893 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17895         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17897 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17899         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17900         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17901         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17902         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17903         * libio/vtables.c (_IO_vtable_check)
17904         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17905         * libio/libioP.h (IO_set_accept_foreign_vtables)
17906         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17908 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17910         [BZ #20314]
17911         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17912         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17913         $(common-objpfx)cmath.
17914         ($(common-objpfx)cstdlib): New target.
17915         ($(common-objpfx)cmath): Likewise.
17917 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17919         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17921 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17923         [BZ #20327]
17924         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17925         are not part of the string.
17927 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17929         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17930         * nptl/tst-cancel4-common.h (fifoname): New variable.
17931         (fifofd): Likewise.
17932         (cl_fifo): New function.
17933         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17934         SIGINT.
17935         (tf_open): Add early cancel test.
17937 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17939         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17941 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17943         * sysdeps/generic/ldsodefs.h
17944         (dl_symbol_visibility_binds_local_p): New inline function.
17945         * elf/dl-addr.c (determine_info): Treat hidden and internal
17946         symbols as local.
17947         * elf/dl-lookup.c (do_lookup_x): Likewise.
17948         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17950 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17952         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17953         invalid exception for a sNaN input.
17954         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17955         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17956         (__nearbyint_vis3): Likewise
17957         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17958         (__nearbyintf_vis3): Likewise
17959         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17960         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17961         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17962         Likewise.
17963         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17964         Likewise.
17966 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17968         [BZ #20139]
17969         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17970         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17971         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17972         2.24 or above.
17973         (HAVE_AVX512_ASM_SUPPORT): Removed.
17974         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17975         * sysdeps/x86_64/configure: Regenerated.
17976         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17977         check unconditional.
17978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17979         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17980         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17981         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17982         Likewise.
17983         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17984         Likewise.
17985         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17986         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17987         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17988         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17989         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17990         Likewise.
17991         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17992         Likewise.
17993         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17994         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17995         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17996         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17998         Likewise.
17999         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
18000         Likewise.
18001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
18002         Likewise.
18003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
18004         Likewise.
18005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
18006         Likewise.
18007         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
18008         Likewise.
18009         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
18010         Likewise.
18011         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
18012         Likewise.
18013         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
18014         Likewise.
18015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
18016         Likewise.
18017         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
18018         Likewise.
18020 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
18022         [BZ #20024]
18023         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
18024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
18025         of this implementation of vector function.
18026         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18028         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18029         Likewise.
18030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18032         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
18033         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
18034         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
18035         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
18036         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18037         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
18038         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
18039         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
18040         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
18041         for testing vector sincos with fixed ABI.
18042         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18043         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18044         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18045         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18046         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18048         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18049         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
18050         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
18051         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
18052         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
18053         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
18054         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
18055         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
18056         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18057         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18059 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18061         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
18063 2016-06-30  Anton Blanchard  <anton@samba.org>
18065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18066         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
18067         s_sinf-ppc64.
18068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
18069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
18070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
18071         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
18073 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18077         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
18078         e_expf-ppc64.
18079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18080         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
18081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
18082         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
18084 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
18086         [BZ #20277]
18087         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
18088         when SHARED is defined.
18090 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
18092         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
18093         (index_arch_Prefer_ERMS): Likewise.
18094         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
18095         __memcpy_erms for Prefer_ERMS.
18096         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18097         (__memmove_erms): Enabled for libc.a.
18098         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
18099         __memmove_erms or Prefer_ERMS.
18100         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
18101         __mempcpy_erms for Prefer_ERMS.
18102         * sysdeps/x86_64/multiarch/memset.S (memset): Return
18103         __memset_erms for Prefer_ERMS.
18105 2016-06-30  Andreas Schwab  <schwab@suse.de>
18107         [BZ #20262]
18108         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18109         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
18110         of memory.
18112 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
18114         [BZ #18645]
18115         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18116         (test-extras): Add tst-cleanupx4aux.
18117         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
18118         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18119         tst-cleanupx4aux.o.
18120         * nptl/tst-cleanupx4aux.c: New file.
18122 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18124         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18126 2016-06-29  Andreas Schwab  <schwab@suse.de>
18128         [BZ #20260]
18129         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18130         address before the beginning of the string as an integer to avoid
18131         array-bounds warning.
18133 2016-06-28  Richard Henderson  <rth@redhat.com>
18135         * elf/elf.h (EM_BPF): New.
18136         (EM_NUM): Update.
18137         (R_BPF_NONE, R_BPF_MAP_FD): New.
18139         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18140         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18141         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18142         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18143         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18144         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18145         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18146         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18147         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18148         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18149         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18150         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18151         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18152         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18153         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18154         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18155         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18156         (EM_NUM): Update.
18158 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
18160         [BZ #18960]
18161         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18162         Set _nl_current_LC_CATEGORY_used to two instead of one.
18164 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
18166         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18167         (do_test): ... this.
18168         (TEST_FUNCTION): New macro.
18169          Include test-skeleton.c.
18170         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18171         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18173 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
18175         [BZ #15479]
18176         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18177         floating-point environment rather than just control word.
18178         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18179         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18180         floating-point environment, with "invalid" exceptions merged in,
18181         rather than just control word.
18182         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18183         * math/libm-test.inc (trunc_test_data): Do not allow spurious
18184         "inexact" exceptions.
18186         [BZ #15479]
18187         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18188         floating-point environment rather than just control word.
18189         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18190         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18191         floating-point environment, with "invalid" exceptions merged in,
18192         rather than just control word.
18193         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18194         * math/libm-test.inc (floor_test_data): Do not allow spurious
18195         "inexact" exceptions.
18197         [BZ #15479]
18198         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18199         floating-point environment rather than just control word.
18200         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18201         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18202         floating-point environment, with "invalid" exceptions merged in,
18203         rather than just control word.
18204         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18205         * math/libm-test.inc (ceil_test_data): Do not allow spurious
18206         "inexact" exceptions.
18208 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
18210         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18211         __libc_vfork.
18212         (__vfork) [IS_IN (libc)]: Remove alias.
18213         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18214         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18215         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18217 2016-06-24  Torvald Riegel  <triegel@redhat.com>
18219         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18220         of atomic_compare_and_exchange_bool_rel.
18221         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18222         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18223         catomic_compare_and_exchange_bool_rel): Remove.
18224         * sysdeps/aarch64/atomic-machine.h
18225         (atomic_compare_and_exchange_bool_rel): Likewise.
18226         * sysdeps/alpha/atomic-machine.h
18227         (atomic_compare_and_exchange_bool_rel): Likewise.
18228         * sysdeps/arm/atomic-machine.h
18229         (atomic_compare_and_exchange_bool_rel): Likewise.
18230         * sysdeps/mips/atomic-machine.h
18231         (atomic_compare_and_exchange_bool_rel): Likewise.
18232         * sysdeps/microblaze/atomic-machine.h
18233         ( __arch_compare_and_exchange_bool_8_rel,
18234         __arch_compare_and_exchange_bool_16_rel): Likewise.
18235         * sysdeps/powerpc/atomic-machine.h
18236         ( __arch_compare_and_exchange_bool_8_rel,
18237         __arch_compare_and_exchange_bool_16_rel): Likewise.
18238         * sysdeps/powerpc/powerpc32/atomic-machine.h
18239         ( __arch_compare_and_exchange_bool_32_rel,
18240         __arch_compare_and_exchange_bool_64_rel): Likewise.
18241         * sysdeps/powerpc/powerpc64/atomic-machine.h
18242         ( __arch_compare_and_exchange_bool_32_rel,
18243         __arch_compare_and_exchange_bool_64_rel): Likewise.
18244         * sysdeps/tile/atomic-machine.h
18245         (atomic_compare_and_exchange_bool_rel): Likewise.
18247 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18249         [BZ #20296]
18250         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18251         when either argument is a NaN.
18252         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18253         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18255         * math/libm-test.inc (snan_value_ld): New macro.
18256         (isgreater_test_data): Add sNaN tests.
18257         (isgreaterequal_test_data): Likewise.
18258         (isless_test_data): Likewise.
18259         (islessequal_test_data): Likewise.
18260         (islessgreater_test_data): Likewise.
18261         (isunordered_test_data): Likewise.
18262         (nextafter_test_data): Likewise.
18263         (nexttoward_test_data): Likewise.
18264         (remainder_test_data): Likewise.
18265         (remquo_test_data): Likewise.
18266         (significand_test_data): Likewise.
18267         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18269 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18271         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18272         environment macros are defined.
18273         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18275 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18277         [BZ #20191]
18278         Implement vtable verification in libio.
18279         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18280         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18281         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18282         _IO_new_file_init_internal instead of _IO_file_init.
18283         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18284         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18285         * libio/Makefile (routines): Add vtables.
18286         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18287         (_IO_init): Remove, not for internal use.
18288         (_IO_init_internal): Declare, internal replacement for _IO_init.
18289         (_IO_file_init): Remove, not for internal use.
18290         (_IO_new_file_init): Remove, not for internal use.
18291         (_IO_new_file_init_internal): Declare, internal replacement for
18292         _IO_new_file_init.
18293         (_IO_old_file_init): Remove, not for internal use.
18294         (_IO_old_file_init_internal): Declare, internal replacement for
18295         _IO_old_file_init.
18296         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18297         internal use.
18298         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18299         Declare.
18300         (libio_vtable): New macro.
18301         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18302         functions.
18303         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18304         _IO_new_file_init.
18305         (_IO_new_file_init): New externally visible wrapper which disables
18306         vtable verification.
18307         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18308         Define as vtables.
18309         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18310         (_IO_init): New externally visible wrapper which disables
18311         vtable verification.
18312         * libio/iofdopen.c (_IO_new_fdopen): Call
18313         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18314         comment.
18315         * libio/iofopen.c (__fopen_internal): Call
18316         _IO_new_file_init_internal instead of _IO_file_init.
18317         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18318         Define as vtables.
18319         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18320         _IO_new_file_init_internal instead of _IO_file_init.
18321         * libio/iopopen.c (_IO_new_popen): Likewise.
18322         (_IO_proc_jumps): Define as vtable.
18323         * libio/iovdprintf.c (_IO_vdprintf): Call
18324         _IO_new_file_init_internal instead of _IO_file_init.
18325         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18326         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18327         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18328         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18329         _IO_old_file_init.
18330         (_IO_old_file_init): New externally visible wrapper which disables
18331         vtable verification.
18332         (_IO_old_file_jumps): Define as vtable.
18333         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18334         _IO_old_file_init_internal instead of _IO_old_file_init.
18335         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18336         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18337         (_IO_old_proc_jumps): Define as vtable.
18338         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18339         Define as vtables.
18340         * libio/vtables.c: New file.
18341         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18342         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18343         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18344         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18345         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18346         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18347         instead of _IO_init.
18349 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18351         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18353 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18355         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18356         potentially unused.
18358 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18360         * test-skeleton.c (write_message): New function.
18361         * malloc/tst-mallocfork2.c (write_message): Remove.
18362         * debug/tst-longjmp_chk2.c (write_indented): New function.
18363         (write_message): Remove.
18364         (stackoverflow_handler): Call write_indented.
18366 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18368         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18369         "inexact" exceptions after fnstenv.
18370         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18371         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18372         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18374 2015-06-22  Zack Weinberg  <zackw@panix.com>
18376         * sysdeps/generic/bits/hwcap.h: Moved to ...
18377         * bits/hwcap.h: Here.
18379 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18381         * sysdeps/aarch64/memcpy.S (memcpy):
18382         Further tuning for performance.
18384 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18386         [BZ #20284]
18387         * malloc/arena.c (reused_arena): Do not return NULL if we start
18388         out with a non-corrupted arena.
18390 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18392         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18393         * misc/tst-preadvwritev.c: New file.
18394         * misc/tst-preadvwritev64.c: Likewise.
18395         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18396         usage.
18397         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18398         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18399         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18400         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18402 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18404         [BZ #19654]
18405         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18406         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18407         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18408         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18409         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18410         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18411         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18412         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18413         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18414         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18415         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18416         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18417         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18418         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18419         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18420         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18421         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18422         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18423         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18424         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18425         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18426         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18427         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18428         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18429         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18430         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18432 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18434         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18435         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18437 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18439         * sysdeps/aarch64/memcpy.S (memcpy):
18440         Rewrite of optimized memcpy and memmove.
18441         * sysdeps/aarch64/memmove.S (memmove): Remove
18442         memmove code (merged into memcpy.S).
18444 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18446         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18447         * sysdeps/generic/dl-dtv.h: New file.
18448         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18449         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18450         (dtv_t): Remove.
18451         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18452         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18453         (dtv_t): Remove.
18454         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18455         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18456         (dtv_t): Remove.
18457         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18458         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18459         (dtv_t): Remove.
18460         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18461         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18462         (dtv_t): Remove.
18463         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18464         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18465         (dtv_t): Remove.
18466         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18467         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18468         (dtv_t): Remove.
18469         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18470         (dtv_t): Remove.
18471         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18472         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18473         (dtv_t): Remove.
18474         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18475         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18476         (dtv_t): Remove.
18477         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18478         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18479         (dtv_t): Remove.
18480         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18481         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18482         (dtv_t): Remove.
18483         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18484         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18485         (dtv_t): Remove.
18486         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18487         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18488         (dtv_t): Remove.
18489         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18490         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18491         (dtv_t): Remove.
18492         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18493         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18494         (dtv_t): Remove.
18496 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18498         Revert symbol poisoning of  __malloc_initialize_hook.
18499         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18500         poisoning.
18501         * malloc/Makefile: Remove un-poisoning.
18502         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18503         instead of old__malloc_initialize_hook.
18504         * malloc/malloc-hooks.h: Likewise.
18505         * malloc/malloc.c: Likewise.
18506         * malloc/mcheck-init.c: Likewise.
18508 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18510         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18512 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18514         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18515         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18516         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18517         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18519 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18521         * NEWS: Mention addition of nextup and nextdown.
18522         * manual/arith.texi: Document nextup and nextdown.
18523         * manual/libm-err-tab.pl: Add nextup and nextdown.
18524         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18525         * math/Versions (libm): Add GLIBC_2.24.
18526         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18527         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18528         Add new test.
18529         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18530         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18531         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18532         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18533         (nextup_test_data): Likewise.
18534         (nextdown_test_data): Likewise.
18535         * math/s_nextdown.c: New file.
18536         * math/s_nextdownf.c: Likewise.
18537         * math/s_nextdownl.c: Likewise.
18538         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18539         F(nextup): New function.
18540         F(nextdown): Likewise.
18541         * math/tgmath.h: Add nextup and nextdown.
18542         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18543         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18544         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18545         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18546         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18547         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18548         Add nextup and nextdown.
18549         (CFLAGS-nldbl-nextup.c): New variable.
18550         (CFLAGS-nldbl-nextdown.c): Likewise.
18551         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18552         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18553         * sysdeps/nacl/libm.abilist: Update.
18554         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18556         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18558         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18559         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18560         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18561         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18562         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18563         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18564         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18565         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18568         Likewise.
18569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18571         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18572         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18573         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18574         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18575         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18578         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18579         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18580         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18581         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18583 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18585         * manual/pattern.texi: Fix typos & grammar errors.
18587 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18589         * manual/search.texi: Fix typos & grammar errors.
18591 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18593         * manual/message.texi: Fix typos & grammar errors.
18595 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18597         * manual/contrib.texi: Fix spelling typos.
18598         * manual/crypt.texi: Likewise.
18599         * manual/filesys.texi: Likewise.
18600         * manual/locale.texi: Likewise.
18601         * manual/message.texi: Likewise.
18602         * manual/nss.texi: Likewise.
18603         * manual/string.texi: Likewise.
18605 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18607         * manual/locale.texi: Fix typos & grammar errors.
18609 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18611         * manual/charset.texi: Fix typos & grammar errors.
18613 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18615         * manual/string.texi: Fix typos.
18617 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18619         * manual/ctype.texi: Fix typos.
18621 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18623         * manual/memory.texi: Fix various typos & grammar errors.
18625 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18627         [BZ #20255]
18628         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18629         * math/libm-test.inc (fdim_test_data): Add another test.
18631         [BZ #6796]
18632         [BZ #20255]
18633         [BZ #20256]
18634         * math/s_fdim.c: Include <math_private.h>.
18635         (__fdim): Use math_narrow_eval on result.
18636         * math/s_fdimf.c: Include <math_private.h>.
18637         (__fdimf): Use math_narrow_eval on result.
18638         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18639         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18640         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18641         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18642         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18643         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18644         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18645         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18646         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18647         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18648         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18649         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18650         overflow.  Add sNaN tests.
18652         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18653         fpclassify.
18654         * math/s_fdimf.c (__fdimf): Likewise.
18655         * math/s_fdiml.c (__fdiml): Likewise.
18657 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18659         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18660         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18662         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18663         ifunc'ed strcasecmp/strncasecmp.
18664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18665         [EALIGN]: Removed.
18666         [END]: Likewise.
18667         [__strcasecmp]: Define instead of the above to control symbol name.
18668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18669         for __strcasecmp_power8.
18670         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18671         for __strncasecmp_power8.
18672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18673         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18674         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18675         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18676         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18677         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18679 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18681         [BZ #20252]
18682         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18683         arguments when second argument is a NaN.
18684         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18685         qNaN tests.
18687         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18688         (conj_test_data): Likewise.
18689         (copysign_test_data): Likewise.
18690         (creal_test_data): Likewise.
18691         (fma_test_data): Likewise.
18692         (fmod_test_data): Likewise.
18694         [BZ #20250]
18695         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18696         itself.
18697         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18698         zero input to itself.
18699         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18700         Likewise.
18701         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18702         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18704         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18705         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18707 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18709         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18710         * nptl/tst-cancel4-common.c: New file.
18711         * nptl/tst-cancel4-common.h: Likewise.
18712         * nptl/tst-cancel4.c: Move common definitions to
18713         tst-cancel4-common.{c,h} file.
18714         * nptl/tst-cancel4_1.c: New test.
18715         * nptl/tst-cancel4_2.c: New test.
18717 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18719         [BZ #20248]
18720         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18721         (write_message): New function.
18722         (stackoverflow_handler): Call it instead of printf, to avoid
18723         excessive stack usage by printf.
18724         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18726 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18728         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18729         (prio_inherit_missing): Remove define.
18730         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18731         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18732         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18733         Likewise.
18734         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18735         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18737         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18738         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18739         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18741 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18743         [BZ #19670]
18744         [BZ #19672]
18746         * io/test-lfs.c (do_prepare): Use xmalloc.
18747         * io/tst-fcntl.c (do_prepare): Likewise.
18748         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18749         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18750         * login/tst-utmp.c (do_prepare): Likewise.
18751         * posix/tst-exec.c (do_prepare): Likewise.
18752         * posix/tst-pathconf.c (prepare): Likewise.
18753         * posix/tst-spawn.c (do_prepare): Likewise.
18754         * posix/tst-truncate.c (do_prepare): Likewise.
18755         * rt/tst-aio.c (do_prepare): Likewise.
18756         * rt/tst-aio64.c (do_prepare): Likewise.
18758 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18760         [BZ #20237]
18761         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18762         (get*ent): Set entidx to NULL during initialization.  If entidx is
18763         NULL, start iteration from the beginning.
18765 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18767         * malloc/malloc.c (musable): Return correct size for dumped fake
18768         mmapped chunk.
18770 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18772         [BZ #20222]
18773         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18774         (_IO_cookie_write): Likewise.
18775         (_IO_cookie_seek): Likewise.
18776         (_IO_cookie_close): Likewise.
18777         (_IO_old_cookie_seek): Likewise.
18778         (set_callbacks): New function.
18779         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18781 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18783         * locale/programs/localedef.c (oldstyle_tables): Remove.
18784         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18786 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18788         [BZ #20240]
18789         * math/Makefile (CFLAGS-s_modf.c): New variable.
18790         (CFLAGS-s_modff.c): Likewise.
18791         (CFLAGS-s_modfl.c): Likewise.
18792         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18794 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18796         [BZ #20215]
18797         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18798         [!__GNUC_PREREQ (3,2)]: Likewise.
18800 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18802         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18803         (msghdr.msg_controllen): Likewise.
18804         (cmsghdr.cmsg_len): Likewise.
18805         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18806         ptw-oldsendmsg.
18807         (CFLAGS-oldrecvmsg.c): Remove rule.
18808         (CFLAGS-oldsendmsg.c): Likewise.
18809         (CFLAGS-recvmsg.c): Add rule.
18810         (CFLAGS-sendmsg.c): Likewise.
18811         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18812         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18813         (CFLAGS-recvmsg.c): Remove rule.
18814         (CFLAGS-sendmsg.c): Likewise.
18815         (CFLAGS-oldrecvmsg.c): Likewise.
18816         (CFLAGS-oldsendmsg.c): Likewise.
18817         (CFLAGS-recvmmsg.c): Likewise.
18818         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18819         to kernel defined interfaces.
18820         (msghdr.msg_controllen): Likewise.
18821         (cmsghdr.cmsg_len): Likewise.
18822         (msghdr.__glibc_reserved1): Remove member.
18823         (msghdr.__glibc_reserved2): Likewise.
18824         (cmsghdr.__glibc_reserved1): Likewise.
18825         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18826         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18827         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18828         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18829         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18830         version.
18831         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18832         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18833         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18834         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18835         Remove recvmsg and sendmsg.
18836         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18837         Likewise.
18838         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18839         Likewise.
18840         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18841         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18842         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18843         Likewise.
18844         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18845         Likewise.
18846         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18847         [libc] (GLIBC_2.24): Likewise.
18848         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18853         [libc] (GLIBC_2.24): Likewise.
18854         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18855         Likewise.
18856         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18857         Likewise.
18858         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18859         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18860         Likewise.
18861         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18862         Likewise.
18863         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18864         Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18868         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18869         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18870         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18871         version for {recv,send,recm,sendm}msg.
18872         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18873         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18874         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18875         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18876         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18877         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18878         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18879         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18880         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18881         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18882         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18883         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18885         Likewise.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18887         Likewise.
18888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18890         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18891         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18892         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18893         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18894         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18895         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18898         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18899         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18900         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18902 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18904         [BZ #19564]
18905         Remove __malloc_initialize_hook from the API.
18906         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18907         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18908         #pragma GCC poison.
18909         * malloc/malloc-hooks.h: New file.
18910         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18911         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18912         (old__malloc_initialize_hook): Rename from
18913         __malloc_initialize_hook to evade poisoning.  Turn into compat
18914         symbol.
18915         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18916         __malloc_initialize_hook.
18917         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18918         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18919         * manual/memory.texi (Hooks for Malloc): Remove
18920         __malloc_initialize_hook.  Adjust hook example.
18922 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18924         [BZ #20235]
18925         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18926         itself.
18927         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18928         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18930         [BZ #20234]
18931         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18932         infinity or NaN input to itself.
18934         [BZ #20233]
18935         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18936         to itself.
18938         [BZ #20232]
18939         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18940         itself.
18942 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18944         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18945         __libc_start_main via GOT.
18947 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18949         * sysdeps/x86_64/memcopy.h: New file.
18950         * sysdeps/x86_64/wordcopy.c: Likewise.
18952 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18954         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18955         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18956         <cstdlib>.
18957         (optimization_barrier): New.
18958         (do_test): Use it.  Call quick_exit in the global namespace.
18959         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18960         instead of <cstdlib>, <thread>.
18961         (optimization_barrier): New.
18962         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18963         Call quick_exit in the global namespace.
18964         (do_test): Call optimization_barrier.  Use pthread_create,
18965         pthread_join instead of std::thread.
18967 2016-06-09  Andreas Schwab  <schwab@suse.de>
18969         [BZ #19755]
18970         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18971         new entries in auto-propagate mode.
18972         * nscd/grpcache.c (cache_addgr): Likewise.
18974 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18976         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18977         New functions.
18978         (add_temp_file): Use them.
18980 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18982         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18984 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18986         [BZ #20229]
18987         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18988         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18989         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18991         [BZ #20228]
18992         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18993         itself.
18994         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18995         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18997         [BZ #20227]
18998         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18999         itself.
19000         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19001         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19002         * math/libm-test.inc (log_test_data): Add sNaN tests.
19004         [BZ #20226]
19005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
19006         itself.
19007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19008         * math/libm-test.inc (exp_test_data): Add sNaN tests.
19009         (exp10_test_data): Likewise.
19010         (expm1_test_data): Likewise.
19012         [BZ #20225]
19013         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
19014         itself.
19015         * math/s_ldexpf.c (__ldexpf): Likewise.
19016         * math/s_ldexpl.c (__ldexpl): Likewise.
19017         * math/w_scalbln.c (__w_scalbln): Likewise.
19018         * math/w_scalblnf.c (__w_scalblnf): Likewise.
19019         * math/w_scalblnl.c (__w_scalblnl): Likewise.
19020         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
19021         (scalbln_test_data): Likewise.
19023         [BZ #20224]
19024         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
19025         argument to itself.
19026         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
19028 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19030         [BZ #19776]
19031         * sysdeps/x86_64/memcpy.S: Make it dummy.
19032         * sysdeps/x86_64/mempcpy.S: Likewise.
19033         * sysdeps/x86_64/memmove.S: New file.
19034         * sysdeps/x86_64/memmove_chk.S: Likewise.
19035         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19036         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19037         * sysdeps/x86_64/memmove.c: Removed.
19038         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19039         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19040         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
19041         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19042         Likewise.
19043         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19044         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19046         memcpy-sse2-unaligned, memmove-avx-unaligned,
19047         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
19048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19049         (__libc_ifunc_impl_list): Replace
19050         __memmove_chk_avx512_unaligned_2 with
19051         __memmove_chk_avx512_unaligned.  Remove
19052         __memmove_chk_avx_unaligned_2.  Replace
19053         __memmove_chk_sse2_unaligned_2 with
19054         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
19055         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
19056         with __memmove_avx512_unaligned.  Replace
19057         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
19058         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
19059         with __memcpy_chk_avx512_unaligned.  Remove
19060         __memcpy_chk_avx_unaligned_2.  Replace
19061         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
19062         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
19063         Replace __memcpy_avx512_unaligned_2 with
19064         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
19065         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
19066         with __mempcpy_chk_avx512_unaligned.  Remove
19067         __mempcpy_chk_avx_unaligned_2.  Replace
19068         __mempcpy_chk_sse2_unaligned_2 with
19069         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
19070         Replace __mempcpy_avx512_unaligned_2 with
19071         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
19072         Replace __mempcpy_sse2_unaligned_2 with
19073         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
19074         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
19075         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
19076         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
19077         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
19078         (ENTRY): Removed.
19079         (END): Likewise.
19080         (ENTRY_CHK): Likewise.
19081         (libc_hidden_builtin_def): Likewise.
19082         Don't include ../memcpy.S.
19083         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
19084         __memcpy_chk_avx512_unaligned_erms and
19085         __memcpy_chk_avx512_unaligned.  Use
19086         __memcpy_chk_avx_unaligned_erms and
19087         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19088         Default to __memcpy_chk_sse2_unaligned.
19089         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19090         Change function suffix from unaligned_2 to unaligned.
19091         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
19092         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
19093         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
19094         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
19095         (ENTRY): Removed.
19096         (END): Likewise.
19097         (ENTRY_CHK): Likewise.
19098         (libc_hidden_builtin_def): Likewise.
19099         Don't include ../mempcpy.S.
19100         (mempcpy): New.  Add a weak alias.
19101         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19102         __mempcpy_chk_avx512_unaligned_erms and
19103         __mempcpy_chk_avx512_unaligned.  Use
19104         __mempcpy_chk_avx_unaligned_erms and
19105         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19106         Default to __mempcpy_chk_sse2_unaligned.
19108 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19110         [BZ #19881]
19111         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19112         into ...
19113         * sysdeps/x86_64/memset.S: This.
19114         (__bzero): Removed.
19115         (__memset_tail): Likewise.
19116         (__memset_chk): Likewise.
19117         (memset): Likewise.
19118         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19119         defined.
19120         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19121         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19122         (__memset_zero_constant_len_parameter): Check SHARED instead of
19123         PIC.
19124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19125         memset-avx2 and memset-sse2-unaligned-erms.
19126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19127         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19128         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19129         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19130         (__bzero): Enabled.
19131         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19132         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19133         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
19134         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
19135         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19136         (memset): Removed.
19137         (__memset_chk): Likewise.
19138         (MEMSET_SYMBOL): New.
19139         (libc_hidden_builtin_def): Replace __memset_sse2 with
19140         __memset_sse2_unaligned.
19141         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19142         __memset_chk_sse2 and __memset_chk_avx2 with
19143         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19144         Use __memset_chk_sse2_unaligned_erms or
19145         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
19146         __memset_chk_avx512_unaligned_erms and
19147         __memset_chk_avx512_unaligned.
19149 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19151         * math/gen-auto-libm-test.c (fp_format_desc): remove
19152         suffix member.
19153         (output_generic_value): Remove usage of suffix member,
19154         and the resulting unuse of the fp_format argument.
19155         (output_for_one_input_case): Remove unused fp_format
19156         parameter.
19158         * math/auto-libm-test-out: Regenerate.
19160         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19161         usage with TEST_COND_ibm128.
19162         (TEST_COND_flt_32): Remove.
19163         (TEST_COND_dbl_64): Remove.
19164         (TEST_COND_ldbl_96_intel): Remove.
19165         (TEST_COND_ldbl_96_m68k): Remove.
19166         (TEST_COND_ldbl_128): Remove.
19168 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19170         * auto-libm-test-in:
19171         Replace flt-32 usage with binary32.
19172         Replace dbl-64 usage with binary64.
19173         Replace ldbl-intel-96 usage with intel96.
19174         Replace ldbl-m68k-96 usage with m68k96.
19175         Replace ldbl-128ibm usage with ibm128.
19176         Replace ldbl-128 usage with binary128.
19178         * auto-libm-test-out: Regenerate.
19180 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19182         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19183         (parse_ulps): Dynamically generate type name matching
19184         string from all_floats.
19185         (get_ulps): Generate the ulps as an array instead.
19186         (output_ulps): Dynamically compose the type based
19187         on the number of supported formats, and print
19188         the indices as type specific helper macros.
19190         * math/libm-test.inc: Remove comment about CHOOSE.
19191         (ulp_data): Generate the type in libm-test-ulps.h.
19192         (ULP_IDX): New macro.
19193         (find_ulps): Update usage of max_ulp.
19195         * math/test-double-vlen2.h (CHOOSE): Remove.
19196         * math/test-double-vlen4.h (CHOOSE): Likewise.
19197         * math/test-double-vlen8.h (CHOOSE): Likewise.
19198         * math/test-float.c (CHOOSE): Likewise.
19199         * math/test-float-finite.c (CHOOSE): Likewise.
19200         * math/test-double.c (CHOOSE): Likewise.
19201         * math/test-double-finite.c (CHOOSE): Likewise.
19202         * math/test-idouble.c (CHOOSE): Likewise.
19203         * math/test-ifloat.c (CHOOSE): Likewise.
19204         * math/test-ildoubl.c (CHOOSE): Likewise.
19205         * math/test-ldouble-finite.c (CHOOSE): Likewise.
19206         * math/test-ldouble.c (CHOOSE): Likewise.
19208         * math/test-float.h (TEST_FLOAT): Remove.
19209         * math/test-double.h (TEST_DOUBLE): Likewise.
19210         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19212 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19214         * math/gen-libm-test.pl: (apply_lit): New subroutine.
19215         (parse_args): Strip C suffix from floating point literals
19216         typed with 'f' and wrap them with LIT().
19218         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19219         (test_ff_f_data_nexttoward): Rename to
19220         (test_fj_f_data): New struct.
19221         (nexttoward_test_data): Relabel tests as
19222         TEST_fj_f instead of TEST_ff_f.
19224 2016-06-08  Florian Weimer  <fweimer@redhat.com>
19226         Emacs bug 23726.
19227         * malloc/malloc.c (dumped_main_arena_start): Update comment.
19228         (__libc_realloc): Correct size computation for dumped fake mmapped
19229         chunks.
19231 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19233         [BZ #20219]
19234         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19235         to itself.
19236         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19238         [BZ #20218]
19239         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19240         to itself.
19241         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19243 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19245         [BZ #20195]
19246         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19247         check to ...
19248         (init_cpu_features): Here.
19250 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19252         [BZ #20214]
19253         * sysdeps/unix/sysv/linux/bits/in.h
19254         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19255          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19256         Define to 1.
19257         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19258          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19259         Define to 0.
19260         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19261         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19263 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19265         [BZ #20198]
19266         * stdlib/Makefile (tests): Add tst-quick_exit, and
19267         tst-thread-quick_exit.
19268         [ifeq ($(have-cxx-thread_local),yes)]
19269         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19270         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19271         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19272         (LDLIBS-tst-thread-quick_exit): Likewise.
19273         [ifneq ($(have-cxx-thread_local),yes)]
19274         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19275         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19276         If run_dtors is true call __call_tls_dtors.
19277         (exit): Call __run_exit_handlers with run_dtors set to true.
19278         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19279         definition.
19280         * stdlib/quick_exit.c (quick_exit): Remove function.
19281         (__new_quick_exit): New function.
19282         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19283         function.
19284         * stdlib/tst-quick_exit.cc: New file.
19285         * stdlib/tst-thread-quick_exit.cc: New file.
19286         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19287         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19288         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19289         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19290         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19291         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19292         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19293         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19294         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19295         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19296         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19297         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19298         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19299         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19300         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19301         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19306         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19307         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19308         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19309         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19310         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19313         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19314         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19315         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19317 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19319         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19320         a typo in comments.
19322 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19324         [BZ #20213]
19325         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19326         argument to itself.
19327         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19329 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19331         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19332         required flags.
19333         (CFLAGS-pwritev64.c): Likewise.
19334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19336         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19337         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19338         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19339         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19340         syscall from auto-generation.
19341         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19342         [WORDSIZE == 64] (pwritev64): Remove macro.
19343         [!PWRITEV] (PWRITEV): Likewise.
19344         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19345         [!PWRITEV] (PWRITE): Likewise.
19346         [!PWRITEV] (OFF_T): Likewise.
19347         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19348         (LO_HI_LONG): Remove macro.
19349         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19350         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19351         (PWRITEV): Remove macro.
19352         (PWRITEV_REPLACEMENTE): Likewise.
19353         (PWRITE): Likewise.
19354         (OFF_T): Likewise.
19355         (pwritev64): New function.
19356         * nptl/tst-cancel4.c (tf_writev): Add test.
19358         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19359         required flags.
19360         (CFLAGS-preadv64.c): Likewise.
19361         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19362         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19363         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19364         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19365         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19366         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19367         syscall from auto-generation.
19368         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19369         [WORDSIZE == 64] (preadv64): Remove macro.
19370         [!PREADV] (PREADV): Likewise.
19371         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19372         [!PREADV] (PREAD): Likewise.
19373         [!PREADV] (OFF_T): Likewise.
19374         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19375         (LO_HI_LONG): Remove macro.
19376         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19377         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19378         (PREADV): Remove macro.
19379         (PREADV_REPLACEMENTE): Likewise.
19380         (PREAD): Likewise.
19381         (OFF_T): Likewise.
19382         (preadv64): New function.
19383         * nptl/tst-cancel4.c (tf_preadv): Add test.
19385 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19387         [BZ #20212]
19388         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19389         argument to itself.
19390         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19392 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19394         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19395         New symbol defined as libc_hidden_def.
19396         (strcasestr): Became a weak alias to __strcasestr.
19397         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19398         according to multi-arch support.  Move __stpncpy hidden
19399         definition from here to...
19400         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19401         symbol stpncpy.
19402         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19403         libc_hidden_builtin_def.
19404         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19405         memset symbol to use when multi-arch support is available.
19407 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19409         * dlfcn/tst-rec-dlopen.c: Include string.h.
19411 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19413         * manual/install.texi: Remove mention of --without-tls
19414         * INSTALL: Regenerate.
19416 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19418         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19419         Remove.
19420         (call_function, interposed_malloc_called): New variables.
19421         (malloc): New function.
19422         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19423         and clear call_function as needed.
19425 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19427         * include/wchar.h (__wmemset): Use __typeof.
19429 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19431         * include/wchar.h (__wmemset): Declare function without typeof.
19433 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19435         [BZ #20205]
19436         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19437         exponent when incrementing negative subnormal with low mantissa
19438         word zero.
19439         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19440         Add another test.
19442 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19444         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19445         __wmemset instead of wmemset.
19447 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19449         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19450         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19451         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19452         __USE_KERNEL_IPV6_DEFS to 0.
19453         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19454         Update comment.
19456 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19458         [BZ #19861]
19459         Do not use IFUNC resolver with potentially unrelocated symbol.
19460         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19461         (DEFINE_FORK): Remove macro and inline definition.
19462         (fork_alias): Renamed from fork_ifunc.
19463         (__fork_alias): Renamed from __fork_ifunc.
19465 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19467         [BZ 19653]
19468         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19469         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19471 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19473         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19474         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19475         i386-linux-gnu).
19476         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19477         Set to no.
19478         * sysdeps/mach/hurd/configure: Refresh.
19480 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19482         [BZ #20178]
19483         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19484         on failure instead of exit.
19486 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19488         [BZ #3629]
19489         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19490         of POSIX.1-2008.
19492 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19494         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19495           Use PLT entry for calling _hurd_self_sigstate.
19497 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19499         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19500         available logical processors with SMT level type sharing L2
19501         cache for Intel processors.
19503 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19505         [BZ #20160]
19506         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19507         argument to itself before returning the result.
19508         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19509         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19510         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19511         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19512         Likewise.
19513         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19514         Likewise.
19515         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19516         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19517         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19518         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19519         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19520         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19522         [BZ #20160]
19523         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19524         argument to itself before returning the result.
19525         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19526         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19527         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19529         Likewise.
19530         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19531         Likewise.
19532         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19533         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19534         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19535         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19536         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19537         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19539 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19541         * libm-test.inc: Replace usage of M_El with
19542         (lit_e): New macro.
19544 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19546         * libm-test.inc: Replace usage of M_PI_4l with
19547         (lit_pi_4_d): New macro.
19549 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19551         * libm-test.inc: Replace usage of M_PIl with
19552         (lit_pi): New macro.
19554 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19556         * libm-test.inc: Replace usage of M_PI2l with
19557         (lit_pi_2_d): New macro.
19559         * math/test-double.h (LITM): New macro.
19560         * math/test-float.h (LITM): Likewise.
19561         * math/test-ldouble.h (LITM): Likewise.
19563 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19565         * libm-test.inc (M_PI_34l): Rename to
19566         (lit_pi_3_m_4_d): New Macro.
19567         (M_PI_34_LOG10El): Rename to
19568         (lit_pi_3_m_4_ln10_m_d): New Macro.
19569         (M_PI2_LOG10El): Rename to
19570         (lit_pi_2_ln10_m_d):  New Macro.
19571         (M_PI4_LOG10El): Rename to
19572         (lit_pi_4_ln10_m_d):  New Macro.
19573         (M_PI_LOG10El): Rename to
19574         (lit_pi_ln10_d):  New Macro.
19576 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19578         [BZ #20157]
19579         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19580         determine whether to negate low half if [_ARCH_PPCGR], and integer
19581         comparison otherwise.
19582         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19583         determine whether to negate low half.
19585         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19586         (NO_TEST_INLINE_DOUBLE): Likewise.
19587         (TEST_COND_x86_64): Likewise.
19588         (TEST_COND_x86): Likewise.
19589         (M_PI_6l): Likewise.
19591 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19593         * math/libm-test.inc:
19594         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19595         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19596         (TEST_LDOUBLE): Update usage to evaluate as true if
19597         the guarded tests match the property being tested.
19598         (LDBL_MAX_EXP): Change to MAX_EXP.
19599         (LDBL_MIN_EXP): Change to MIN_EXP.
19600         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19601         nexttoward tests.
19603 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19605         * math/libm-test.inc:
19606         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19607         (TYPE_MIN): Likewise.
19608         (TYPE_TRUE_MIN): Likewise.
19609         (TYPE_MAX): Likewise.
19610         (MIN_EXP): Likewise.
19611         (MAX_EXP): Likewise.
19612         (MANT_DIG): Likewise.
19614         (FSTR_MAX): New macro.
19615         (__CONCATX): Likewise.
19616         (QTYPE_STR): Likewise.
19617         (TEST_COND_binary32): Likewise.
19618         (TEST_COND_binary64): Likewise.
19619         (TEST_COND_binary128): Likewise.
19620         (TEST_COND_ibm128): Likewise.
19621         (TEST_COND_intel96): Likewise.
19622         (TEST_COND_m68k96): Likewise.
19624         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19625         (TEST_COND_dbl_64): Likewise.
19626         (TEST_COND_ldbl_96_intel): Likewise.
19627         (TEST_COND_ldbl_96_m68k): Likewise.
19628         (TEST_COND_ldbl_128): Likewise.
19629         (TEST_COND_ldbl_128ibm): Likewise.
19631         (plus_zero): Redefine using LIT macro.
19632         (minus_zero): Likewise.
19633         (plus_infty): Redefine as (INF).
19634         (minux_infty): Redefine as (-INF).
19635         (max_value): Redefine as TYPE_MAX.
19636         (min_value): Redefine as TYPE_MIN.
19637         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19639         (print_float): Refactor to use snprintf to convert FLOAT values
19640         to string. This brings it closer to dropin replacement of strtof
19641         for the TS 18661 defined types.
19642         (update_stats): Likewise.
19643         (print_complex_function_ulps): Likewise.
19644         (print_max_error): Likewise.
19645         (print_complex_max_error): Likewise.
19646         (check_float_internal): Likewise.
19648         * math/test-float.h (PREFIX): New macro.
19649         (LIT): Likewise.
19650         (TYPE_STR): Likewise.
19651         (FTOSTR): Likewise.
19653         * math/test-double.h (PREFIX): New macro.
19654         (LIT): Likewise.
19655         (TYPE_STR): Likewise.
19656         (FTOSTR): Likewise.
19658         * math/test-ldouble.h (PREFIX): New macro.
19659         (LIT): Likewise.
19660         (TYPE_STR): Likewise.
19661         (FTOSTR): Likewise.
19663 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19665         [BZ #20156]
19666         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19667         to itself when zero or not finite.
19668         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19669         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19670         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19671         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19673 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19675         [BZ #20153]
19676         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19677         x * x + x for infinities and NaNs.
19679         [BZ #20151]
19680         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19681         argument to itself before returning result.
19682         (__ieee754_y0l): Likewise.
19683         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19684         (__ieee754_y1l).
19686         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19687         (atan_test_data): Likewise.
19688         (ceil_test_data): Likewise.
19689         (cos_test_data): Likewise.
19690         (cosh_test_data): Likewise.
19691         (erf_test_data): Likewise.
19692         (exp2_test_data): Likewise.
19693         (fabs_test_data): Likewise.
19694         (floor_test_data): Likewise.
19695         (ilogb_test_data): Likewise.
19696         (j0_test_data): Likewise.
19697         (j1_test_data): Likewise.
19698         (jn_test_data): Likewise.
19699         (lgamma_test_data): Likewise.
19700         (lrint_test_data): Likewise.
19701         (llrint_test_data): Likewise.
19702         (logb_test_data): Likewise.
19703         (lround_test_data): Likewise.
19704         (llround_test_data): Likewise.
19705         (nearbyint_test_data): Likewise.
19706         (rint_test_data): Likewise.
19707         (round_test_data): Likewise.
19708         (sin_test_data): Likewise.
19709         (sincos_test_data): Likewise.
19710         (sinh_test_data): Likewise.
19711         (sqrt_test_data): Likewise.
19712         (tan_test_data): Likewise.
19713         (tanh_test_data): Likewise.
19714         (tgamma_test_data): Likewise.
19715         (trunc_test_data): Likewise.
19716         (y0_test_data): Likewise.
19717         (y1_test_data): Likewise.
19718         (yn_test_data): Likewise.
19720         * math/libm-test.inc: Update comment about NaN testing.
19721         (TEST_SNAN): New macro.
19722         (snan_value): Likewise.
19723         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19724         (fpclassify_test_data): Add sNaN tests.
19725         (isfinite_test_data): Likewise.
19726         (isinf_test_data): Likewise.
19727         (isnan_test_data): Likewise.
19728         (isnormal_test_data): Likewise.
19729         (issignaling_test_data): Likewise.
19730         (signbit_test_data): Likewise.
19731         * math/gen-libm-test.pl (%beautify): Add snan_value.
19732         (show_exceptions): Add argument $test_snan.
19733         (parse_args): Handle snan_value as non-finite.  Update call to
19734         show_exceptions.
19735         * math/Makefile (libm-test-no-inline-cflags): Add
19736         -fsignaling-nans.
19738 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19740         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19741         (CFLAGS-oldsendmsg.c): Add rule.
19742         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19743         Correct recvmsg symbol name.
19744         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19745         Likewise.
19747 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19749         * sysdeps/unix/sysv/linux/Makefile
19750         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19751         oldsendmmsg.
19752         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19753         sendmmsg.
19754         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19755         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19756         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19757         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19759         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19760         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19762         Likewise.
19763         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19764         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19765         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19766         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19767         iovlen and controllen fields to adjust to POSIX specification.
19768         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19770         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19771         and change to correct expected type.
19772         (msghdr.msg_controllen): Likewise.
19773         (cmsghdr.cmsg_len): Likewise.
19774         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19775         expected POSIX assumption about the size.
19776         (msghdr.msg_controllen): Likewise.
19777         (msghdr.__glibc_reserved1): Likewise.
19778         (msghdr.__glibc_reserved2): Likewise.
19779         (cmsghdr.cmsg_len): Likewise.
19780         (cmsghdr.__glibc_reserved1): Likewise.
19781         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19782         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19783         (CFLAGS-sendmsg.c): Remove rule.
19784         (CFLAGS-recvmsg.c): Likewise.
19785         (CFLAGS-oldsendmsg.c): Add rule.
19786         (CFLAGS-oldrecvmsg.c): Likewise.
19787         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19788         recvmsg and sendmsg.
19789         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19790         Likewise.
19791         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19792         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19793         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19794         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19795         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19796         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19797         Likewise.
19798         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19801         Likewise.
19802         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19803         Likewise.
19804         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19805         Likewise.
19806         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19807         Likewise.
19808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19809         (GLIBC_2.24): Likewise.
19810         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19811         Likewise.
19812         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19813         Likewise.
19814         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19815         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19816         Likewise.
19817         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19818         Likewise.
19819         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19820         Likewise.
19821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19822         (GLIBC_2.24): Likewise.
19823         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19824         Likewise.
19825         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19826         Likewise.
19827         * sysdeps/unix/sysv/linux/Makefile
19828         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19829         (CFLAGS-sendmsg.c): Add rule.
19830         (CFLAGS-recvmsg.c): Likewise.
19831         (CFLAGS-oldsendmsg.c): Likewise.
19832         (CFLAGS-oldrecvmsg.c): Likewise.
19833         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19834         initialization.
19835         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19836         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19837         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19838         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19839         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19840         iovlen and controllen fields to adjust to POSIX specification.
19841         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19842         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19843         added recvmsg and sendmsg.
19844         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19845         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19846         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19847         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19848         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19849         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19850         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19851         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19852         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19853         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19854         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19855         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19857         Likewise.
19858         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19860         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19861         Likewise.
19862         Likewise.
19863         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19864         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19865         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19866         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19867         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19868         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19870         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19872         Likewise.
19873         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19874         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19876         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19877         from auto-generation.
19878         (sendmsg): Likewise.
19879         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19880         (sendmsg): Likewise.
19881         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19882         (sendmsg): Likewise.
19883         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19884         (sendmsg): Likewise.
19885         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19886         (sendmsg): Likewise.
19887         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19888         (sendmsg): Likewise.
19889         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19890         Likewise.
19891         (sendmsg): Likewise.
19892         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19893         (sendmsg): Likewise.
19894         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19895         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19896         Remove.
19897         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19898         Likewise.
19899         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19900         Undefine.
19901         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19902         Likewise.
19903         * sysdeps/unix/sysv/linux/kernel-features.h
19904         (__ASSUME_SENDMSG_SYSCALL): Define.
19905         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19906         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19907         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19908         Remove.
19909         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19910         Likewise.
19911         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19912         Undefine.
19913         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19914         Likewise.
19915         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19916         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19917         Remove.
19918         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19919         Likewise.
19920         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19921         Undefine.
19922         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19923         Likewise.
19924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19925         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19926         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19927         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19928         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19929         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19930         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19931         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19932         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19934 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19936         * stdlib/gen-tst-strtod-round.c: Add backslash to
19937         compile command in comment.
19938         (printfp): Remove the literal suffix, and define an infinite
19939         value as INF to avoid expansion clash with INFINITY.
19940         (round_str): Remove the literal suffix.
19941         (round_for_all): Likewise, remove the now duplicate ldbl-64
19942         entry, and remove some magic constants.
19944         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19945         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19946         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19947         (_CONCAT): New macro.
19948         (CONCAT): Likewise.
19949         (CHOOSE_ld): Likewise.
19950         (CHOOSE_f): Likewise.
19951         (CHOOSE_d): Likewise.
19952         (FTYPE_MEMBER): Likewise.
19953         (BOOL_MEMBER): Likewise.
19954         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19955         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19956         (_XNTRY): Likewise.
19957         (XNTRY): Likewise.
19958         (_ENTRY): Likewise.
19959         (ENTRY): Likewise.
19960         (test_exactness): Generate members via macro.
19961         (test_results): Likewise.
19962         (test): Update members.
19963         (TEST): Redefine using new macros.
19964         (INF): New macro.
19965         (fetestmodes): New structure.
19966         (do_test): Refactor to be type generic.
19967         (test_in_one_mode): Refactor duplicate code into
19968         (GEN_ONE_TEST): New macro.
19970         * stdlib/tst-strtod-round-data.h: Regenerate.
19972         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19973         Extend to pass additional arbitrary parameters to
19974         generators.
19976 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19978         [BZ #15479]
19979         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19980         floating-point state after first floating-point operation on
19981         input.  Restore full floating-point state instead of just rounding
19982         mode.
19983         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19984         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19985         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19986         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19987         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19989         [BZ #15479]
19990         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19991         floating-point state after first floating-point operation on
19992         input.  Restore full floating-point state instead of just rounding
19993         mode.
19994         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19995         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19996         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19997         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19998         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20000 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20002         [BZ #19727]
20003         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
20004         valid high surrogate.
20005         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
20006         of an utf16 surrogate.
20007         * iconv/gconv_simple.c (BODY): Likewise.
20008         * iconvdata/bug-iconv12.c: New file.
20009         * iconvdata/Makefile (tests): Add bug-iconv12.
20011 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20013         [BZ #19726]
20014         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
20015         outptrp in case of an illegal input.
20016         * iconv/tst-iconv6.c: New file.
20017         * iconv/Makefile (tests): Add tst-iconv6.
20019 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20021         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
20022         an error in case of a value in range of an utf16 low surrogate.
20024 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20026         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
20027         an error in case of a value in range of an utf16 low surrogate.
20029 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20031         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
20032         Move to ...
20033         * sysdeps/s390/Makefile: ... here.
20034         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
20035         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
20036         (BRANCH_ON_COUNT): New define.
20037         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
20038         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
20039         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
20040         run on s390-32, too.
20041         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
20042         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
20043         run on s390-32, too.
20044         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
20045         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
20046         run on s390-32, too.
20048 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20050         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
20051         etf3eh or new vector loop-variant.
20053 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20055         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
20056         etf3eh or new vector loop-variant.
20058 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20060         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
20061         or new vector loop-variant.
20063 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20065         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
20066         Rename to TR_LOOP and usage of tr instead of troo instruction.
20068 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20070         * sysdeps/s390/multiarch/gconv_simple.c: New File.
20071         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
20073 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20075         * sysdeps/s390/multiarch/8bit-generic.c: New File.
20076         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
20077         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
20078         New override define.
20079         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
20081 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20083         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
20084         * sysdeps/s390/configure.ac: Add test for S390 vector register
20085         support in gcc.
20086         * sysdeps/s390/configure: Regenerated.
20088 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20090         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
20091         Install file from $(objpfx)gconv-modules.
20092         ($(objpfx)gconv-modules): Concatenate architecture specific file
20093         in variable sysdeps-gconv-modules and gconv-modules in src dir.
20094         * sysdeps/s390/gconv-modules: New file.
20095         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
20096         Deleted.
20097         ($(objpfx)gconv-modules-s390): Deleted.
20098         (sysdeps-gconv-modules): New variable.
20100 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20102         [BZ #15479]
20103         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20104         of immediate operand to rounding instruction.
20105         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20106         Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20108         Likewise.
20109         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20110         Likewise.
20112 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20114         * math/libm-test.inc (MIN_EXP): Directly define as
20115         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20117 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20119         * math/libm-test.inc (MANT_DIG): Directly define as
20120         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20122 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20124         * stdlib/gen-tst-strtod-round.c (main):
20125           Change usage to more closely match the generated
20126           output.  Add usage and compilation instructions.
20127           (string_to_fp): Add and use FILE* parameter as
20128           output target.
20129           (print_fp): Likewise.
20130           (round_str): Likewise.
20131           (round_for_all): Likewise.
20132         * stdlib/tst-strtod-round.c (tests): Move into
20133         * stdlib/tst-strtod-round-data.h: New file.
20135 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20137         [BZ #15479]
20138         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20139         (__round): Do not force "inexact" exception.
20140         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20141         variable.
20142         (__round): Do not force "inexact" exception.
20143         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20144         (__roundf): Do not force "inexact" exception.
20145         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20146         (__roundl): Do not force "inexact" exception.
20147         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20148         (__roundl): Do not force "inexact" exception.
20149         * math/libm-test.inc (round_test_data): Do not allow spurious
20150         "inexact" exceptions.
20152         [BZ #15479]
20153         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20154         exception in comment.
20155         (huge): Remove variable.
20156         (__floor): Do not force "inexact" exception.
20157         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20158         "inexact" exception in comment.
20159         (huge): Remove variable.
20160         (__floor): Do not force "inexact" exception.
20161         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20162         exception in comment.
20163         (huge): Remove variable.
20164         (__floorf): Do not force "inexact" exception.
20165         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20166         exception in comment.
20167         (huge): Remove variable.
20168         (__floorl): Do not force "inexact" exception.
20170         [BZ #15479]
20171         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20172         exception in comment.
20173         (huge): Remove variable.
20174         (__ceil): Do not force "inexact" exception.
20175         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20176         "inexact" exception in comment.
20177         (huge): Remove variable.
20178         (__ceil): Do not force "inexact" exception.
20179         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20180         (__ceilf): Do not force "inexact" exception.
20181         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20182         exception in comment.
20183         (huge): Remove variable.
20184         (__ceill): Do not force "inexact" exception.
20186 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20188         * config.h.in (BIND_NOW): New.
20189         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
20190         * configure: Regenerated.
20191         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20192         indirect branch via the GOT slot.
20194 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20196         [BZ #19765]
20197         * sysdeps/s390/mempcpy.S: New File.
20198         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20200         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20201         Add mempcpy variants.
20202         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20203         (memcpy): Adjust to be usable from mempcpy entry point.
20204         (__memcpy_mvcle): Likewise.
20205         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20206         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20207         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20208         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20209         (__memcpy_z10): Likewise.
20210         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20212 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20214         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20215         Remove __GI_ symbol.
20216         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20217         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20218         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20219         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20220         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20221         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20223 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20225         * sysdeps/s390/s390-64/memcpy.S (memcpy):
20226         Use cghi instead of chi to compare 64bit value.
20228 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20230         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20231         Jump to 1MB check before executing mvc-loop.
20233 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20235         [BZ #6527]
20236         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20237         unconditionally.
20238         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20240 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20242         * stdlib/tst-strtod6.c (do_test): Use new type generic
20243         invocation of the test function.
20244         (test): Refactor into ...
20245         (TEST_STRTOD): New macro base function.
20247 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20249         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20250         (TEST_STRTOD): New macro.
20251         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20253 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20255         * stdlib/tst-strtod6.c (do_test): Use new type generic
20256         invocation of the test function.
20257         (test): Refactor into ...
20258         (TEST_STRTOD): New macro base function.
20260 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20262         CVE-2016-4429
20263         [BZ #20112]
20264         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20265         payload.
20267 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20269         [BZ #20111]
20270         * bits/sockaddr.h (_SS_SIZE): Define.
20271         * bits/socket.h (_SS_SIZE): Remove.
20272         (_SS_PADSIZE): Adjust to account for all padding.
20273         (struct sockaddr_storage): Update comment.  Avoid implicit
20274         padding.
20275         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20276         (_SS_PADSIZE): Adjust to account for all padding.
20277         (struct sockaddr_storage): Update comment.  Avoid implicit
20278         padding.
20279         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20280         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20281         (_SS_PADSIZE): Adjust to account for all padding.
20282         (struct sockaddr_storage): Update comment.  Avoid implicit
20283         padding.
20284         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20285         __SS_SIZE is 126 in this version.
20286         * inet/tst-sockaddr.c: New file.
20287         * inet/Makefile (tests): Add tst-sockaddr.c
20288         (tst-sockaddr.c): Compile with non-strict aliasing.
20290 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20292         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20293         [XPG3 || XPG4].
20294         (NL_ARGMAX): Also expect for [XPG3].
20295         (NL_LANGMAX): Likewise.
20296         (NL_MSGMAX): Likewise.
20297         (NL_NMAX): Likewise.
20298         (NL_SETMAX): Likewise.
20299         (NL_TEXTMAX): Likewise.
20300         (NZERO): Likewise.
20301         (TMP_MAX): Likewise.
20302         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20303         variable.
20305         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20306         (PF_MAX): Update value.
20307         (AF_KCM): New macro.
20308         (SOL_NETBEUI): Likewise.
20309         (SOL_LLC): Likewise.
20310         (SOL_DCCP): Likewise.
20311         (SOL_NETLINK): Likewise.
20312         (SOL_TIPC): Likewise.
20313         (SOL_RXRPC): Likewise.
20314         (SOL_PPPOL2TP): Likewise.
20315         (SOL_BLUETOOTH): Likewise.
20316         (SOL_PNPIPE): Likewise.
20317         (SOL_RDS): Likewise.
20318         (SOL_IUCV): Likewise.
20319         (SOL_CAIF): Likewise.
20320         (SOL_ALG): Likewise.
20321         (SOL_NFC): Likewise.
20322         (SOL_KCM): Likewise.
20323         (MSG_BATCH): New enum value and macro.
20325 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20327         [BZ #18185]
20328         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20329         sharing L2 cache to 2 for Knights Landing.
20331 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20333         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20334         (FTW_DP): Do not expect for [XPG3 || XPG4].
20335         (FTW_SL): Do not expect for [XPG3].
20336         (FTW_SLN): Likewise.
20337         (FTW_PHYS): Likewise.
20338         (FTW_MOUNT): Likewise.
20339         (FTW_DEPTH): Likewise.
20340         (FTW_CHDIR): Likewise.
20341         (nftw): Likewise.
20342         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20343         variable.
20345 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20347         * manual/errno.texi: Fix various typos & grammar errors.
20349 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20351         * manual/intro.texi: Fix duplicated typo.
20353 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20355         [BZ #13304]
20356         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20357         <float.h>, <math_private.h> and <stdlib.h>.
20358         (add_split): New function.
20359         (mul_split): Likewise.
20360         (ext_val): New typedef.
20361         (store_ext_val): New function.
20362         (mul_ext_val): New function.
20363         (compare): New function.
20364         (add_split_ext): New function.
20365         (__fmal): After checking for Inf, NaN and zero, compute result as
20366         an exact sum of scaled double values in round-to-nearest before
20367         adding those up and adjusting for other rounding modes.
20368         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20369         tests of fma.
20370         * math/auto-libm-test-out: Regenerated.
20372 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20374         [BZ #20119]
20375         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20376         processor level type mask for CPUID with EAX == 11.
20378 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20380         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20381         logical threads if the HTT bit is 0.
20382         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20383         (index_cpu_HTT): Likewise.
20384         (reg_HTT): Likewise.
20386 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20388         [BZ #20115]
20389         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20390         Remove alignments on jump targets.
20392 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20394         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20395         (getpwent): Likewise.
20396         (setpwent): Likewise.
20397         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20398         variable.
20400         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20401         (remque): Likewise.
20402         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20403         variable.
20405 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20407         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20408         not being tested.
20410 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20412         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20413         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20414         call.
20415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20416         (__condvar_cleanup1): Likewise.
20418 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20420         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20421         New
20422         (__pthread_unwind): Renamed to ...
20423         (PTHREAD_UNWIND): This.
20424         (__pthread_enable_asynccancel): Replace
20425         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20427 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20429         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20430         (CLONE_NEWCGROUP): New macro.
20432         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20433         (Q_GETNEXTQUOTA): New macro.
20435 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20437         [BZ #19907]
20438         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20439         buffer updated by the previous run.
20440         * string/test-memcpy.c (do_one_test): Likewise.
20441         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20442         * string/test-memmove.c (do_one_test): Likewise.
20444 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20446         [BZ #20094]
20447         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20448         not [__USE_XOPEN].
20449         (unlockpt): Likewise.
20450         (ptsname): Likewise.
20451         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20452         variable.
20454         [BZ #20076]
20455         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20456         instead of [__USE_UNIX98].
20457         (S_ISSOCK): Likewise.
20458         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20459         variable.
20461         [BZ #20074]
20462         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20463         [__USE_POSIX].
20464         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20465         variable.
20467         [BZ #20051]
20468         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20469         (ttyslot): Do not declare.
20470         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20471         (ttyslot): New prototype.
20472         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20473         variable.
20474         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20476 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20478         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20480 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20482         Fix race condition in tst-mallocfork2, use fewer resources.
20483         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20484         to current process group.
20485         (signal_sender): Yield in the non-sleeping case.
20487 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20489         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20490         (ecvt): Likewise.
20491         (fcvt): Likewise.
20492         (gcvt): Likewise.
20493         (getsubopt): Likewise.
20494         (grantpt): Likewise.
20495         (initstate): Likewise.
20496         (l64a): Likewise.
20497         (mktemp): Likewise.
20498         (mkstemp): Likewise.
20499         (ptsname): Likewise.
20500         (random): Likewise.
20501         (realpath): Likewise.
20502         (setstate): Likewise.
20503         (srandom): Likewise.
20504         (ttyslot): Likewise.
20505         (unlockpt): Likewise.
20506         (valloc): Likewise.
20508         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20509         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20510         variable.
20512 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20514         [BZ #20072]
20515         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20516         init_cpu_features only if SHARED is defined.
20517         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20519 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20521         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20522         non-inclusive caches on Intel processors.
20524 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20526         * malloc/malloc.c (dumped_main_arena_start)
20527         (dumped_main_arena_end): New variables.
20528         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20529         (do_check_chunk): Skip dumped fake mmapped chunks.
20530         (munmap_chunk): Likewise.
20531         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20532         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20533         mmapped chunks.
20534         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20535         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20536         and dumped_main_arena_end to cover the dumped heap.
20538 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20540         * conform/data/time.h-data (getdate_err): Do not expect for
20541         [XPG3].
20542         (getdate): Likewise.
20543         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20544         variable.
20546         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20547         (F_ULOCK): Likewise.
20548         (F_TEST): Likewise.
20549         (F_TLOCK): Likewise.
20550         (useconds_t): Likewise.
20551         (intptr_t): Do not expect for [XPG3] or [XPG4].
20552         (brk): Do not expect for [XPG3]
20553         (fchown): Likewise.
20554         (fchdir): Likewise.
20555         (ftruncate): Likewise.
20556         (getdtablesize): Likewise.
20557         (gethostid): Likewise.
20558         (getpagesize): Likewise.
20559         (getpgid): Likewise.
20560         (getsid): Likewise.
20561         (getwd): Likewise.
20562         (lchown): Likewise.
20563         (lockf): Likewise.
20564         (readlink): Likewise.
20565         (sbrk): Likewise.
20566         (setpgrp): Likewise.
20567         (setregid): Likewise.
20568         (setreuid): Likewise.
20569         (symlink): Likewise.
20570         (sync): Likewise.
20571         (truncate): Likewise.
20572         (ualarm): Likewise.
20573         (usleep): Likewise.
20574         (vfork): Likewise.
20575         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20576         variable.
20578         [BZ #20054]
20579         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20580         not [__USE_UNIX98].
20581         * conform/data/unistd.h-data (gethostname): Do not expect for
20582         [XPG3].
20584         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20585         [!POSIX] (S_IFBLK): Likewise.
20586         [!POSIX] (S_IFCHR): Likewise.
20587         [!POSIX] (S_IFIFO): Likewise.
20588         [!POSIX] (S_IFREG): Likewise.
20589         [!POSIX] (S_IFDIR): Likewise.
20590         [!POSIX] (S_IFLNK): Likewise.
20591         [!POSIX] (S_IFSOCK): Likewise.
20592         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20593         variable.
20594         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20596 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20598         * sysdeps/aarch64/memset.S (__memset):
20599         Rewrite of optimized memset.
20601 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20603         [BZ #19703]
20604         Partially async-signal-safe fork for single-threaded processes.
20605         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20606         variable.  Do not acquire and reset/release malloc and libio locks
20607         in single-threaded processes.
20608         * malloc/tst-mallocfork2.c: New file.
20609         * malloc/Makefile (tests): Add it.
20611 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20613         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20614         argument.  Use scratch buffer instead of extend_alloca.
20615         (gethosts): Use scratch buffer instead of extend_alloca.
20616         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20617         extend_alloca.
20618         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20620 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20622         [BZ #20055]
20623         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20624         instead of [__USE_UNIX98].
20625         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20626         [__USE_UNIX98].
20627         * conform/data/termios.h-data (tcgetsid): Do not expect for
20628         [XPG3].
20629         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20630         variable.
20631         (test-xfail-XPG4/termios.h/conform): Likewise.
20633 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20635         Do not use mcheck in localedef.
20636         * locale/programs/localedef.c (turn_on_mcheck)
20637         (__malloc_initialize_hook): Remove.
20639 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20641         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20642         * sysdeps/s390/s390-64/Makefile: Likewise.
20644 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20646         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20647         Remove ifunc-defines.sym.
20648         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20649         Likewise.
20650         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20651         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20652         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20653         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20654         rtld-global-offsets.sym.
20655         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20656         * sysdeps/x86/cpu-features-offsets.sym: This.
20657         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20658         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20660 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20662         [BZ #20073]
20663         * io/sys/stat.h (fchmod): Declare for
20664         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20665         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20666         variable.
20668         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20669         [XPG3] (S_IFSOCK): Likewise.
20670         [XPG3] (S_ISVTX): Likewise.
20671         [XPG3] (S_ISLNK): Likewise.
20672         [XPG3] (S_ISSOCK): Likewise.
20673         [XPG3] (fchmod): Likewise.
20674         [XPG3] (lstat): Likewise.
20675         [XPG3] (mknod): Likewise.
20677         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20678         [XPG3].  Expect type long and XFAIL for [XPG4].
20679         (st_blocks): Likewise.
20681         [BZ #20044]
20682         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20683         (pthread_atfork): New prototype.
20684         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20685         variable.
20687         [BZ #20043]
20688         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20689         prototype.
20691 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20693         [BZ #20017]
20694         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20695         gmtime.
20697 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20699         [BZ #19994]
20700         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20701         flag in _res.options.
20703 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20705         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20706         [XPG3 || XPG4].
20707         (blksize_t): Likewise.
20708         (clockid_t): Likewise.
20709         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20710         variable.
20711         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20713 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20715         * sysdeps/unix/sysv/linux/s390/init-first.c:
20716         Add VDSO_SYMBOL(getcpu).
20717         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20718         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20719         Add VDSO_SYMBOL(getcpu).
20720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20721         New define HAVE_GETCPU_VSYSCALL.
20722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20724 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20726         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20727         instead of <sysdeps/x86_64/cacheinfo.c>.
20728         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20729         * sysdeps/x86/cacheinfo.c: Here.
20731 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20733         * malloc/malloc-internal.h: Adjust header file guard.
20735 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20737         [BZ #19787]
20738         * inet/getnameinfo.c (check_sprintf_result): New function.
20739         (CHECKED_SNPRINTF): New macro.
20740         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20741         to the host buffer.
20742         (gni_host_local): Use checked_copy to copy the host name.
20743         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20744         (gni_serv_local): Use checked_copy to copy the service name.
20745         (getnameinfo): Remove unnecessary truncation of result buffers.
20747 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20749         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20750         in case of inet_ntop failure.
20752 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20754         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20755         avoid long lines.
20756         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20757         variables.
20758         (gni_host_inet, gni_host_local): Add comment.
20759         (gni_host): Add comment.  Use temporary to avoid long lines.
20761 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20763         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20764         registers specifiers where general purpose registers specifiers should
20765         have been used.
20767 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20769         [BZ #19779]
20770         CVE-2016-1234
20771         Avoid copying names of directory entries.
20772         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20773         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20774         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20775         (struct readdir_result): New type.
20776         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20777         (GL_READDIR): New macros.
20778         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20779         (convert_dirent, convert_dirent64): New functions.
20780         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20781         convert_dirent64.  Adjust references to the readdir result.
20782         * sysdeps/unix/sysv/linux/i386/glob64.c:
20783         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20784         * posix/bug-glob2.c (LONG_NAME): Define.
20785         (filesystem): Add LONG_NAME.
20786         (my_DIR): Increase the size of room_for_dirent.
20788 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20790         [BZ #20041]
20791         * misc/sys/select.h (__need_timespec): Only define if
20792         [__USE_XOPEN2K].
20793         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20794         variable.
20795         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20796         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20797         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20799 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20800             Segher Boessenkool  <segher@gcc.gnu.org>
20802         [BZ #20004]
20803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20804         (__novec_swapcontext): Add missing load.
20806 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20808         [BZ #20023]
20809         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20810         <time.h>.
20811         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20812         variable.
20813         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20815 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20818         flags CLONE_VM compare.
20820 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20822         [BZ #20031]
20823         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20824         completely empty.
20826 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20828         [BZ #19573]
20829         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20830         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20831         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20832         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20833         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20834         (hesiod_free_list): Mark as hidden.
20835         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20836         res_set, res_get.
20837         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20838         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20839         (hesiod_init): Remove obsolete res_ninit call.
20840         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20841         (hesiod_bind): Do not call init.
20842         (get_txt_records): Use res_mkquery, res_send instead of
20843         res_nmkquery, res_nsend.
20844         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20845         instead of _nss_hesiod_init.
20846         (_nss_hesiod_initgroups_dyn): Likewise.
20847         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20848         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20849         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20851 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20853         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20854         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20856 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20858         * hesiod/hesiod.h: Remove RCS keyword.
20859         * hesiod/hesiod_p.h: Likewise.
20861         * hesiod/hesiod.c: Likewise.
20863 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20865         [BZ #12450]
20866         * locale/iso-639.def: Add Samogitian/sgs.
20868 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20870         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20872         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20874 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20875             Carlos O'Donell  <carlos@redhat.com>
20877         [BZ #19072]
20878         * grp/Makefile (headers): Add grp-merge.h
20879         (routines): Add grp-merge.
20880         * grp/getgrgid_r.c: Include grp-merge.h.
20881         (DEEPCOPY_FN): Define.
20882         (MERGE_FN): Define.
20883         * grp/getgrname_r.c: Include grp-merge.h.
20884         (DEEPCOPY_FN): Define.
20885         (MERGE_FN): Define.
20886         * grp/grp-merge.c: New file.
20887         * grp/grp-merge.h: New file.
20888         * include/grp-merge.h: New file.
20889         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20890         __copy_grp@GLIBC_PRIVATE.
20891         * manual/nss.texi (Actions in the NSS configuration): Describe
20892         return, continue, and merge.
20893         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20894         (DEEPCOPY_FN): Define.
20895         (MERGE_FN): Define.
20896         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20897         (DEEPCOPY_FN): Define.
20898         (MERGE_FN): Define.
20899         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20900         [!MERGE_FN]: Define __merge_einval.
20901         (CHECK_MERGE): Define.
20902         (REENTRANT_NAME): Process merge if do_merge is true.
20903         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20904         (__nss_getent_r): Likewise.
20905         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20906         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20908 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20910         [BZ #20012]
20911         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20912         length to calculate the buffer to read.
20913         (fmemopen_write): Set the buffer position based on bytes written.
20914         (fmemopen_seek): Return EINVAL for invalid whence modes.
20916         [BZ #19957]
20917         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20918         tst-getpid2.
20919         (test): Add tst-clone2.
20920         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20921         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20922         pid/tid fields for CLONE_VM.
20923         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20924         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20925         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20926         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20927         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20928         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20929         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20930         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20932         Likewise.
20933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20934         Likewise.
20935         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20936         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20937         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20938         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20939         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20940         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20941         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20942         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20944 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20946         [BZ #19642]
20947         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20948         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20949         (gni_serv_local, gni_serv): New functions extracted from
20950         getnameinfo.
20951         (getnameinfo): Call gni_host and gni_serv to perform the
20952         processing.  Always free scratch buffer.
20954 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20956         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20957         remaining bytes in the dest string, with zeros.
20959 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20961         [BZ #20010]
20962         CVE-2016-3706
20963         * sysdeps/posix/getaddrinfo.c
20964         (convert_hostent_to_gaih_addrtuple): New function.
20965         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20966         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20967         AF_INET data.
20969 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20971         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20972         callback function gl_readdir.
20973         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20974         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20975         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20976         memcpy to copy the name.
20977         * manual/pattern.texi (Calling Glob): Document requirements for
20978         implementations of the gl_readdir callback function.
20979         * manual/examples/mkdirent.c: New example.
20980         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20981         per the manual guidance.
20982         * posix/tst-gnuglob.c (my_readdir): Likewise.
20984 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20986         [BZ #20014]
20987         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20988         not [__USE_POSIX].
20989         (getchar_unlocked): Likewise.
20990         (putc_unlocked): Likewise.
20991         (putchar_unlocked): Likewise.
20992         (flockfile): Likewise.
20993         (ftrylockfile): Likewise.
20994         (funlockfile): Likewise.
20995         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20996         variable.
20997         (test-xfail-XPG4/stdio.h/conform): Likewise.
20999         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
21000         Expect constant.
21001         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
21002         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
21003         variable.
21004         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21005         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21007         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
21008         [__USE_LARGEFILE64] (off64_t): Likewise.
21009         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
21010         variable.
21012 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21014         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
21016 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21018         * resolv/inet_addr.c: Reindent preprocessor conditionals.
21019         * resolv/res_init.c: Likewise.
21020         * resolv/res_mkquery.c: Likewise.
21022 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21024         * resolv/res_init.c (isascii): Do not define.  Use definition in
21025         <ctype.h>.
21026         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
21027         (LOG_AUTH): Remove.
21028         (SPRINTF): Remove, adjust caller.
21029         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
21031 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21033         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
21034         SUNSECURITY conditional.
21035         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
21037 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21039         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
21040         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
21041         Remove BSD-related preprocessor conditionals.
21042         * conf/portability.h: Remove.
21044 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21046         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
21047         * resolv/res_data.c: Likewise.
21049 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21051         * resolv/res_comp.c: Remove code conditional on __ultrix__.
21052         * resolv/res_data.c: Remove code conditional on ultrix.
21054 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21056         * resolv/res_init.c (RFC1535): Do not define.  Remove
21057         RFC1535 preprocessor conditionals.
21058         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
21059         because there configuration options which make the resolver
21060         behavior different.
21062 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21064         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
21065         RESOLVSORT preprocessor conditionals.
21066         * resolv/nss_dns/dns-host.c: Likewise.
21067         * resolv/res_init.c: Likewise.
21069 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21071         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
21072         is never defined.
21074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21076         * inet/inet_lnaof.c: Remove SCSS keyword.
21077         * inet/inet_mkadr.c: Likewise.
21078         * inet/inet_net.c: Likewise.
21079         * inet/inet_netof.c: Likewise.
21080         * inet/rcmd.c: Likewise.
21081         * inet/rexec.c: Likewise.
21082         * inet/ruserpass.c: Likewise.
21084 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21086         * resolv/inet_addr.c: Remove _LIBC conditionals.
21087         * resolv/res_data.c: Likewise.
21088         * resolv/res_init.c: Likewise.
21089         * resolv/res_mkquery.c: Likewise.
21090         * resolv/res_libc.c: Update comment.
21091         * resolv/README: Update.
21093 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21095         * resolv/gethnamaddr.c: Remove SCSS keyword.
21096         * resolv/herror.c: Likewise.
21097         * resolv/inet_addr.c: Likewise.
21098         * resolv/inet_net_ntop.c: Likewise.
21099         * resolv/inet_net_pton.c: Likewise.
21100         * resolv/inet_neta.c: Likewise.
21101         * resolv/inet_ntop.c: Likewise.
21102         * resolv/inet_pton.c: Likewise.
21103         * resolv/ns_date.c: Remove RCS keyword.
21104         * resolv/ns_name.c: Likewise.
21105         * resolv/ns_netint.c: Likewise.
21106         * resolv/ns_parse.c: Likewise.
21107         * resolv/ns_print.c: Likewise.
21108         * resolv/ns_samedomain.c: Likewise.
21109         * resolv/ns_ttl.c: Likewise.
21110         * resolv/nsap_addr.c: Likewise.
21111         * resolv/res_comp.c: Remove SCSS and RCS keyword.
21112         * resolv/res_data.c: Remove RCS keyword.
21113         * resolv/res_debug.c: Remove SCSS and RCS keyword.
21114         * resolv/res_init.c: Likewise.
21115         * resolv/res_mkquery.c: Likewise.
21116         * resolv/res_query.c: Likewise.
21117         * resolv/res_send.c: Likewise.
21119 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21121         * conform/data/stdio.h-data (fdopen): Expect also for
21122         [XPG3 || XPG4].
21124         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21125         (fseeko): Likewise.
21126         (ftello): Likewise.
21127         (ftrylockfile): Likewise.
21128         (funlockfile): Likewise.
21129         (getc_unlocked): Likewise.
21130         (getchar_unlocked): Likewise.
21131         (putc_unlocked): Likewise.
21132         (putchar_unlocked): Likewise.
21134 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21136         [BZ #19868]
21137         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21138         DNS packet syntax checks (which were not needed before).  Skip
21139         over non-PTR records.
21141 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21143         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21144         definition.  Include <stddef.h> instead.
21146 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21148         [BZ #19831]
21149         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21150         function.
21151         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21152         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21154 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21156         [BZ #19862]
21157         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21158         (getanswer_r): Do not call syslog.
21159         (gaih_getanswer_slice): Likewise.
21160         * resolv/gethnamaddr.c (AskedForGot): Remove.
21161         (getanswer): Do not call syslog.
21162         (gethostbyaddr): Likewise.
21164 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21166         * conform/data/signal.h-data (union sigval): Expect also if
21167         [XOPEN2K].
21168         (struct sigevent): Likewise.
21169         (SIGEV_NONE): Likewise.
21170         (SIGEV_SIGNAL): Likewise.
21171         (SIGEV_THREAD): Likewise.
21172         (SIGRTMIN): Likewise.
21173         (SIGRTMAX): Likewise.
21174         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21175         variable.
21176         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21178 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21180         [BZ #19830]
21181         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21182         (gaih_getanswer_slice): Likewise.
21183         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21184         Also check for availability of RR metadata.
21186 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21188         [BZ #19825]
21189         * resolv/res_send.c (send_vc): Remove early *resplen2
21190         initialization.  Set *resplen2 on socket error.  Call
21191         close_and_return_error for other errors.
21193 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21195         * sysdeps/unix/sysv/linux/netiucv/iucv.h
21196         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21197         (SCM_IUCV_TRGCLS): New define.
21199 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21201         [BZ #20005]
21202         * libio/fmemopen.c (fmemopen_write): Update internal position after
21203         write.
21204         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21205         * stdio-common/tst-fmemopen4.c: New file..
21207 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
21209         [BZ #19996]
21210         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21211         not [__USE_XOPEN2K].
21212         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21213         variable.
21215         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21216         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21217         variable.
21219         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21220         [__USE_XOPEN2K8].
21221         [__USE_LARGEFILE64] (off64_t): Likewise.
21222         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21223         variable.
21225 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
21227         [BZ #19989]
21228         * libio/stdio.h (cuserid): Do not declare if
21229         [__USE_XOPEN2K && !__USE_GNU].
21230         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21231         variable.
21233 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21235         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21236         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21238         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21239         ifunc'ed strcspn.
21240         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21241         [EALIGN]: Removed.
21242         [END]: Likewise
21243         [STRSPN]: Define instead of the above to control symbol name.
21244         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21245         New file.
21246         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21247         Likewise.
21248         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21249         Likewise.
21250         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21251         Likewise.
21252         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21253         [INITIAL_MASK]: New macro.
21254         [STRCSPN]: Likewise.
21255         [UPDATE_MASK]: Likewise.
21256         [USE_AS_STRCSPN]: Likewise.
21258 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21260         [BZ #19931]
21261         * stdio-common/tst-vfprintf-width-prec.c: New file.
21262         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21263         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21264         (generated): Add mtrace-related files.
21265         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21266         (tst-%-mem.out): New pattern rule, replaces
21267         tst-printf-bz18872-mem.out.
21268         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21269         specifier, deallocate any previously allocated work buffer.
21271 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21273         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21274         Add nop before __startcontext, add explaining comments.
21276 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21278         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21279         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21280         completely different API.
21282         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21283         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21284         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21285         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21286         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21287         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21288         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21289         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21290         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21291         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21293 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21295         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21297 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21299         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21300         when it is the default of 0.
21302 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21304         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21305         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21306         (sysdep_routines): Add new strcasestr targets.
21307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21308         (__libc_ifunc_impl_list): Likewise.
21309         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21310         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21311         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21312         * sysdeps/powerpc/powerpc64/power8/Makefile:
21313         New file to add strcasestr-ppc64 to sysdep_routines.
21314         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21315         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21317 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21319         * benchtests/Makefile (wcsmbs-benchset): Include only for
21320         native builds and runs.
21321         (LOCALES): Likewise.
21322         (bench-build): Build timing-type here instead of the bench
21323         target.  Generate locale only for native builds.
21324         * benchtests/README: Add note for cross-building.
21326         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21328         * benchtests/README: Update README to include instructions on
21329         using bench-build.
21331         * Makefile.in (bench-build): New target.
21332         * Rules (PHONY): Add bench-build target.
21333         * benchtests/Makefile (bench): Depend on bench-build.
21334         (bench-build): New target.
21336 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21338         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21339         profil_reply_port.
21340         (profile_waiter): Do not initialize profil_reply_port.
21341         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21342         frequency instead of tick length in us.
21344 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21346         [BZ #18712]
21347         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21348         (__old_mempcpy_small): Likewise.
21349         (__old_strcpy_small): Likewise.
21350         (__old_stpcpy_small): Likewise.
21351         (__old_strpbrk_c2): Fix compat symbol name.
21352         (__old_strpbrk_c3): Likewise.
21353         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21354         (__mempcpy_small): Remove.
21355         (__strcpy_small): Remove.
21356         (__stpcpy_small): Remove.
21358 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21360         [BZ #19400]
21361         * locale/iso-639.def: Add the Talossan/tzl language.
21363 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21365         [BZ #16983]
21366         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21367         comment.  Add "ln" to strchr check on postal_fmt.
21369 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21371         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21372         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21373         tel_dom_fmt.
21375 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21377         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21378         (sysdep_routines): Added __strlen_power8.
21379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21380         __strlen_power8 entry.
21381         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21382         Implementation for POWER8.
21383         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21384         for __strlen_power8.
21385         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21386         Implementation for POWER8.
21388 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21390         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21392 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21394         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21395         Goldmont and Airmont processors.
21397 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21399         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21400         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21401         (__STRING2_SMALL_GET32): Remove.
21402         (memset): Remove.
21403         (__memset_1): Remove.
21404         (__memset_gc): Remove.
21405         (__mempcpy): Remove.
21406         (mempcpy): Remove.
21407         (__mempcpy_args): Remove.
21408         (strchr): Remove.
21409         (strcpy): Remove.
21410         (strcpy_args): Remove.
21411         (__stpcpy_args): Remove.
21412         (__strcmp_cc): Remove.
21413         (__strcmp_gc): Remove.
21414         (strstr): Remove.
21416 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21418         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21419         * nis/nis_call.c (nis_server_cache_add): Likewise.
21421 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21423         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21425 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21427         * malloc/arena.c (__malloc_fork_lock_parent)
21428         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21429         internal_function attribute.
21431 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21433         * stdio-common/printf_fp.c (__printf_fp_l):
21434         Rename ___printf_fp_l to __printf_fp_l and
21435         remove strong alias. Use libc_hidden_def instead
21436         of ldbl_hidden_def macro.
21438 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21440         Remove malloc hooks from fork handler.  They are no longer needed
21441         because malloc runs right before fork, and no malloc calls from
21442         other fork handlers are not possible anymore.
21443         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21444         declarations.
21445         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21446         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21447         (atfork_recursive_cntr): Remove.
21448         (__malloc_fork_lock_parent): Do not override malloc hooks and
21449         thread_arena.
21450         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21451         thread_arena.
21452         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21453         thread_arena instead of save_arena.
21455 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21457         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21458         (thread_atfork, thread_atfork_static): Remove.
21459         * sysdeps/mach/hurd/malloc-machine.h:
21460         (thread_atfork, thread_atfork_static): Remove.
21462 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21464         [BZ #19431]
21465         Run the malloc fork handler as late as possible to avoid deadlocks.
21466         * malloc/malloc-internal.h: New file.
21467         * malloc/malloc.c: Include it.
21468         * malloc/arena.c (ATFORK_MEM): Remove.
21469         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21470         Update comment.
21471         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21472         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21473         Remove outdated comment.
21474         (ptmalloc_init): Do not call thread_atfork.  Remove
21475         thread_atfork_static.
21476         * malloc/tst-malloc-fork-deadlock.c: New file.
21477         * Makefile (tests): Add tst-malloc-fork-deadlock.
21478         (tst-malloc-fork-deadlock): Link against libpthread.
21479         * manual/memory.texi (Aligned Memory Blocks): Update safety
21480         annotation comments.
21481         * sysdeps/nptl/fork.c (__libc_fork): Call
21482         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21483         __malloc_fork_unlock_child.
21484         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21486 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21488         [BZ #19613]
21489         Remove union wait.
21490         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21491         (w_stopsig, w_stopval): Remove.
21492         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21493         stat_loc argument.
21494         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21495         (__WAIT_STATUS_DEFN): Remove.
21496         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21497         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21498         (wait, wait3, wait4): Use int * for the stat_loc argument.
21499         * posix/wait.c (__wait): Likewise.
21500         * posix/wait3.c (__wait3): Likewise.
21501         * posix/wait4.c (__wait4): Likewise.
21502         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21503         (__WAIT_STATUS_DEFN): Remove.
21504         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21505         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21506         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21507         argument.
21508         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21509         * sysdeps/posix/wait3.c (__wait3): Likewise.
21510         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21511         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21512         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21513         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21514         stat_loc argument.
21515         * manual/process.texi (BSD Wait Functions): Remove union wait.
21517 2016-04-13  Andreas Schwab  <schwab@suse.de>
21519         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21520         (test-extras): Add tst-tlsalign-vars.
21521         * math/Makefile: Wrap long lines.
21522         (libm-vec-test-wrappers): Define.
21523         (test-extras): Add $(libm-vec-test-wrappers).
21524         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21525         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21526         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21527         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21528         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21529         (extra-test-objs): Add corresponding objects.
21531 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21533         [BZ #19928]
21534         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21535         New.
21536         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21537         times of shared cache size.
21538         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21539         (VMOVNT): New.
21540         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21541         (VMOVNT): Likewise.
21542         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21543         (VMOVNT): Likewise.
21544         (VMOVU): Changed to movups for smaller code sizes.
21545         (VMOVA): Changed to movaps for smaller code sizes.
21546         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21547         comments.
21548         (PREFETCH): New.
21549         (PREFETCH_SIZE): Likewise.
21550         (PREFETCHED_LOAD_SIZE): Likewise.
21551         (PREFETCH_ONE_SET): Likewise.
21552         Rewrite to use forward and backward loops, which move 4 vector
21553         registers at a time, to support overlapping addresses and use
21554         non temporal store if size is above the threshold and there is
21555         no overlap between destination and source.
21557 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21559         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21560         Include dl-vdso.
21561         * sysdeps/unix/sysv/linux/mips/Versions: Add
21562         __vdso_clock_gettime.
21563         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21564         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21565         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21566         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21567         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21568         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21569         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21570         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21571         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21573 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21575         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21576         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21579         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21580         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21583         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21585         syscalls generation.
21586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21587         [__NR_pwrite64] (__NR_write): Remove define.
21588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21589         [__NR_pwrite64] (__NR_write): Remove define.
21590         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21591         Remove define.
21592         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21593         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21594         Remove define.
21595         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21596         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21597         Linux implementation as base.
21598         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21600         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21601         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21606         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21608         syscall generation.
21609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21610         [__NR_pread64] (__NR_pread): Remove define.
21611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21612         [__NR_pread64] (__NR_pread): Likewise.
21613         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21614         define.
21615         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21616         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21617         Remove define.
21618         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21619         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21620         Linux implementation as base.
21621         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21622         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21623         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21625         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21626         definition.
21627         (__ALIGNMENT_COUNT): Likewise.
21628         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21629         (__ALIGNMENT_COUNT): Likewise.
21630         (SYSCALL_LL): New define.
21631         (SYSCALL_LL64): Likewise.
21632         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21633         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21634         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21635         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21638         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21639         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21640         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21641         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21642         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21644 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21646         [BZ #19865]
21647         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21648         original buffer before retry.
21650 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21652         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21653         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21654         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21655         GLRO(dl_auxv) list.
21656         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21657         including <ldsodefs.h>.
21658         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21660 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21662         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21663         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21664         $(CPPFLAGS).
21666 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21668         [BZ #17950]
21669         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21670         Add -mfpmath=387.
21672 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21674         * sysdeps/i386/configure.ac: Change == to = when calling test.
21675         * sysdeps/x86_64/configure.ac: Likewise.
21676         * sysdeps/i386/configure: Regenerated.
21677         * sysdeps/x86_64/configure: Likewise.
21679 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21681         [BZ #16137]
21682         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21683         * benchtests/bench-strcoll.c (input_files): Likewise.
21684         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21685         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21686         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21688 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21690         [BZ #19929]
21691         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21692         [__USE_XOPEN2K8 && !__USE_GNU].
21693         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21694         variable.
21696         [BZ #19925]
21697         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21698         define if [!__USE_MISC && __USE_XOPEN2K].
21699         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21700         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21701         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21702         Likewise.
21703         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21704         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21705         variable.
21706         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21708 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21710         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21711         (sysdep_routines): Add new strspn targets.
21712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21713         (__libc_ifunc_impl_list): Add strspn.
21714         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21715         New file.
21716         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21717         Likewise.
21718         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21719         Likewise.
21720         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21721         Likewise.
21723 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21725         * misc/hsearch_r.c: Include <limits.h>.
21727 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21729         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21731 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21733         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21734         (MEMCPY_SYMBOL): New.
21735         (MEMPCPY_SYMBOL): Likewise.
21736         (MEMMOVE_CHK_SYMBOL): Likewise.
21737         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21738         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21739         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21740         Provide alias for memcpy in libc.a and ld.so.
21742 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21744         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21745         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21746         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21747         Disabled fro now.
21748         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21749         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21751 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21753         * benchtests/Makefile (string-benchset): Add memcpy-large,
21754         memmove-large and memset-large.
21755         * benchtests/bench-memcpy-large.c: New file.
21756         * benchtests/bench-memmove-large.c: Likewise.
21757         * benchtests/bench-memmove-large.c: Likewise.
21758         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21760 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21762         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21763         32-bit displacement to avoid long nop between instructions.
21765 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21767         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21768         a comment on VMOVU and VMOVA.
21770 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21772         [BZ #19633]
21773         Use specified locale for number formatting in strfmon_l.
21774         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21775         (__nl_lookup_word): New inline functions.
21776         * include/printf.h (__print_fp_l): Declare.
21777         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21778         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21779         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21780         (___printf_fp): New function.
21781         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21782         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21783         * stdlib/tst-strfmon_l.c (do_test): New test.
21784         * stdlib/Makefile (tests): Add kt.
21785         (LOCALES): Build additional locales.
21786         (tst-strfmon_l.out): Require locales.
21788 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21790         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21791         if not in libc.
21792         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21793         Likewise.
21794         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21795         Likewise.
21796         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21797         Likewise.
21799 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21801         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21802         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21803         with unaligned_erms.
21804         (__memmove_erms): Skip if source == destination.
21805         (__memmove_unaligned_erms): Don't check source == destination
21806         first.
21808 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21810         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21811         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21813 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21815         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21816         * string/strspn.c (strspn): Likewise.
21818 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21820         * benchtests/bench-memset.c (do_test): Support 64-byte
21821         alignment.
21822         (test_main): Test 64-byte alignment.
21824 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21826         * benchtests/bench-memmove.c (test_main): Test 64-byte
21827         alignment.
21829 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21831         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21833 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21835         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21836         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21837         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21839         * string/strpbrk.c (strpbrk): Rewrite function.
21840         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21841         (__strpbrk_c2): Likewise.
21842         (__strpbrk_c3): Likewise.
21843         * string/string-inlines.c
21844         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21845         Likewise.
21846         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21847         Likewise.
21849         * string/strspn.c (strcspn): Rewrite function.
21850         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21851         (__strspn_c1): Remove inline function.
21852         (__strspn_c2): Likewise.
21853         (__strspn_c3): Likewise.
21854         * string/string-inlines.c
21855         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21856         compatibility symbol.
21857         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21858         Likewise.
21859         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21860         Likewise.
21861         * string/string-inlines.c: Include generic version.
21863 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21864             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21866         * string/Version (libc): Add GLIBC_2.24.
21867         * string/strcspn.c (strcspn): Rewrite function.
21868         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21869         (__strcspn_c1): Remove inline function.
21870         (__strcspn_c2): Likewise.
21871         (__strcspn_c3): Likewise.
21872         * string/string-inline.c
21873         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21874         compatibility symbol.
21875         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21876         Likewise.
21877         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21878         Likewise.
21879         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21881 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21883         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21884         Use ahi instead of aghi to adjust stack pointer.
21886 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21888         [BZ #19853]
21889         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21890         TEST to take significant digits as second parameter.
21891         [TEST]: Redefine in terms of TEST_N taking 30
21892         significant digits.
21893         (do_test): Add test case to demonstrate precision
21894         failure in the ldbl-128ibm printf.
21895         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21896         (__mpn_extract_long_double): Carry 7 extra intermediate
21897         bits of precision to aide computing difference when
21898         signs differ.
21900 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21902         [BZ #19881]
21903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21904         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21905         memset-avx512-unaligned-erms.
21906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21907         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21908         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21909         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21910         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21911         __memset_sse2_unaligned_erms, __memset_erms,
21912         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21913         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21914         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21915         file.
21916         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21917         Likewise.
21918         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21919         Likewise.
21920         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21921         Likewise.
21923 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21925         [BZ #19776]
21926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21927         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21928         memmove-avx512-unaligned-erms.
21929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21930         (__libc_ifunc_impl_list): Test
21931         __memmove_chk_avx512_unaligned_2,
21932         __memmove_chk_avx512_unaligned_erms,
21933         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21934         __memmove_chk_sse2_unaligned_2,
21935         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21936         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21937         __memmove_avx512_unaligned_erms, __memmove_erms,
21938         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21939         __memcpy_chk_avx512_unaligned_2,
21940         __memcpy_chk_avx512_unaligned_erms,
21941         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21942         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21943         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21944         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21945         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21946         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21947         __mempcpy_chk_avx512_unaligned_erms,
21948         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21949         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21950         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21951         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21952         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21953         __mempcpy_erms.
21954         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21955         file.
21956         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21957         Likewise.
21958         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21959         Likewise.
21960         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21961         Likewise.
21963 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21965         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21966         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21967         (La_s390_64_regs): Likewise.
21968         (La_s390_32_retval): Append vector register lrv_v24.
21969         (La_s390_64_retval): Likeweise.
21970         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21971         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21972         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21973         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21975 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21977         [BZ #19916]
21978         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21979         to create a non-vector/vector version for _dl_runtime_resolve and
21980         _dl_runtime_profile. Move implementation to ...
21981         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21982         (_dl_runtime_resolve) Save and restore fpr/vrs.
21983         (_dl_runtime_profile) Save and restore vrs and fix some issues
21984         if _dl_call_pltexit is called.
21985         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21986         Choose the correct resolver function if running on a machine with vx.
21987         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21988         to create a non-vector/vector version for _dl_runtime_resolve and
21989         _dl_runtime_profile. Move implementation to ...
21990         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21991         (_dl_runtime_resolve) Save and restore fpr/vrs.
21992         (_dl_runtime_profile) Save and restore vrs and fix some issues
21993         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21994         Choose the correct resolver function if running on a machine with vx.
21996 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21998         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
22000 2016-03-31  Florian Weimer  <fweimer@redhat.com>
22002         [BZ #19509]
22003         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
22004         skip_map != NULL.
22005         * elf/tst-dlsym-error.c: New file.
22006         * elf/Makefile (tests): Add tst-dlsym-error.
22007         (tst-dlsym-error): Link against libdl.
22009 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
22011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22012         (__ASSUME_FUTIMESAT): Remove macro.
22013         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
22015 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22017         [BZ #19879]
22018         CVE-2016-3075
22019         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
22020         copy name.
22022 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22024         [BZ #19837]
22025         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
22026         error if parse_line fails.
22028 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22030         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
22031         (index_cpu_ERMS): Likewise.
22032         (reg_ERMS): Likewise.
22034 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
22036         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
22037         PER_LINUX_FDPIC): Add.
22039 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22042         memcpy-avx512-no-vzeroupper.
22043         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
22044         to ...
22045         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
22046         (MEMCPY): Don't define.
22047         (MEMCPY_CHK): Likewise.
22048         (MEMPCPY): Likewise.
22049         (MEMPCPY_CHK): Likewise.
22050         (MEMPCPY_CHK): Renamed to ...
22051         (__mempcpy_chk_avx512_no_vzeroupper): This.
22052         (MEMPCPY_CHK): Renamed to ...
22053         (__mempcpy_chk_avx512_no_vzeroupper): This.
22054         (MEMCPY_CHK): Renamed to ...
22055         (__memmove_chk_avx512_no_vzeroupper): This.
22056         (MEMCPY): Renamed to ...
22057         (__memmove_avx512_no_vzeroupper): This.
22058         (__memcpy_avx512_no_vzeroupper): New alias.
22059         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
22061 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22063         [BZ #18858]
22064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22065         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
22066         and mempcpy-avx512-no-vzeroupper.
22067         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
22068         New.
22069         (MEMPCPY): Likewise.
22070         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
22071         (MEMPCPY_CHK): New.
22072         (MEMPCPY): Likewise.
22073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
22074         (MEMPCPY): Likewise.
22075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
22076         (MEMPCPY): Likewise.
22077         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
22078         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
22079         Likewise.
22080         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
22081         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
22083 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22084              Amit Pawar  <Amit.Pawar@amd.com>
22086         [BZ #19583]
22087         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22088         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
22089         processors.  Set Fast_Copy_Backward for AMD Excavator
22090         processors.
22091         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
22092         New.
22093         (index_arch_Fast_Unaligned_Copy): Likewise.
22094         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
22095         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
22097 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22099         [BZ #19791]
22100         * resolv/res_send.c (close_and_return_error): New function.
22101         (send_dg): Initialize *resplen2 after reopen failure.  Call
22102         close_and_return_error for error returns.  On error paths without
22103         __res_iclose, initialze *resplen2 explicitly.  Update comment for
22104         successful return.
22106 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22108         [BZ #19860]
22109         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22110         zero if the compiler does not provide the AVX512F bit.
22112 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
22114         [BZ #19848]
22115         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22116         from 8 to 4.
22117         (__ieee754_powl): Compare integer exponent against 4 not 8.
22118         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22119         from 8 to 4.
22120         (__ieee754_powl): Compare integer exponent against 4 not 8.
22121         * math/auto-libm-test-in: Add more tests of pow.
22122         * math/auto-libm-test-out: Regenerated.
22123         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22126 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22128         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22129         Make code unconditional.
22130         [!__NR_utimensat]: Remove conditional code.
22131         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22132         Make code unconditional.
22133         [!__NR_utimensat]: Remove conditional code.
22134         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22135         Make code unconditional.
22136         [!__NR_utimensat]: Remove conditional code.
22138 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22140         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22141         Make code unconditional.
22143 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
22145         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22146         call-clobbered %eax on retry path.
22147         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22149 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22151         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22152         Don't set %rcx twice before "rep movsb".
22154 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22156         [BZ #19583]
22157         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22158         inline.  Check family before setting family, model and
22159         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
22160         bits here.
22161         (init_cpu_features): Replace HAS_CPU_FEATURE and
22162         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22163         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
22164         for Intel processors with usable AVX2.  Call get_common_indeces
22165         for other processors with family == NULL.
22166         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22167         (CPU_FEATURES_ARCH_P): Likewise.
22168         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22169         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22171 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22173         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22174         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22175         $(shared-thread-library) instead of hardcoding the path to libpthread.
22177 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
22179         * sysdeps/unix/sysv/linux/kernel-features.h
22180         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22181         * sysdeps/unix/sysv/linux/getdents.c
22182         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22183         [!have_no_getdents64_defined]: Likewise.
22184         (__GETDENTS): Remove __have_no_getdents64 conditional.
22186 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
22188         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22189         Remove macro.
22190         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22191         <kernel-features.h>.
22192         (signalfd) [__NR_signalfd4]: Make code unconditional.
22193         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22195 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22197         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22198         style.
22200 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22202         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22203         (__pthread_enable_asynccancel): Use JUMPTARGET to call
22204         __pthread_unwind.
22205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22206         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22207         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22208         (__condvar_cleanup1): Likewise.
22210 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
22212         [BZ #19822]
22213         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22214         move it to the final $@ location.
22216 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22218         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22219         access where posix_spawn success and pid argument is null.
22220         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22221         success case.
22223 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
22225         * sysdeps/mach/hurd/i386/c++-types.data: New file.
22227         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22229         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22230         and __fcntl.
22231         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22232         __fcntl only.
22233         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22234         adding attribute_hidden to __open and __fcntl.
22236         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22237         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22238         depend on libc-modules.h,
22239         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22241 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22243         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22244         Remove macro.
22245         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22246         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22247         entry.
22249         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22250         Remove macro.
22251         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22252         include <kernel-features.h>.
22253         [!__ASSUME_FALLOCATE]: Remove conditional code.
22254         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22256 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22259         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22260         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22261         (_ZGVdN4v_cos_avx2): Likewise.
22262         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22263         (_ZGVdN4v_cos): Likewise.
22264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22265         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22266         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22267         (_ZGVdN4v_exp_avx2): Likewise.
22268         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22269         (_ZGVdN4v_exp): Likewise.
22270         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22271         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22272         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22273         (_ZGVdN4v_log_avx2): Likewise.
22274         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22275         (_ZGVdN4v_log): Likewise.
22276         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22277         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22278         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22279         (_ZGVdN4vv_pow_avx2): Likewise.
22280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22281         (_ZGVdN4vv_pow): Likewise.
22282         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22283         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22284         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22285         (_ZGVdN4v_sin_avx2): Likewise.
22286         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22287         (_ZGVdN4v_sin): Likewise.
22288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22289         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22290         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22291         (_ZGVdN4vvv_sincos_avx2): Likewise.
22292         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22293         (_ZGVdN4vvv_sincos): Likewise.
22294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22295         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22296         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22297         (_ZGVbN4v_cosf_sse4): Likewise.
22298         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22299         (_ZGVdN8v_cosf_avx2): Likewise.
22300         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22301         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22302         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22303         (_ZGVbN4v_expf_sse4): Likewise.
22304         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22305         (_ZGVdN8v_expf_avx2): Likewise.
22306         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22307         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22308         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22309         (_ZGVbN4v_logf_sse4): Likewise.
22310         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22311         (_ZGVdN8v_logf_avx2): Likewise.
22312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22313         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22314         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22315         (_ZGVbN4vv_powf_sse4): Likewise.
22316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22317         (_ZGVdN8vv_powf_avx2): Likewise.
22318         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22319         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22321         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22322         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22323         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22325         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22327         (_ZGVbN4v_sinf_sse4): Likewise.
22328         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22329         (_ZGVdN8v_sinf_avx2): Likewise.
22330         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22331         Use JUMPTARGET to call callee.
22332         (WRAPPER_IMPL_SSE2_ff): Likewise.
22333         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22334         (WRAPPER_IMPL_AVX): Likewise.
22335         (WRAPPER_IMPL_AVX_ff): Likewise.
22336         (WRAPPER_IMPL_AVX_fFF): Likewise.
22337         (WRAPPER_IMPL_AVX512): Likewise.
22338         (WRAPPER_IMPL_AVX512_ff): Likewise.
22339         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22340         Likewise.
22341         (WRAPPER_IMPL_SSE2_ff): Likewise.
22342         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22343         (WRAPPER_IMPL_AVX): Likewise.
22344         (WRAPPER_IMPL_AVX_ff): Likewise.
22345         (WRAPPER_IMPL_AVX_fFF): Likewise.
22346         (WRAPPER_IMPL_AVX512): Likewise.
22347         (WRAPPER_IMPL_AVX512_ff): Likewise.
22348         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22350 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22352         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22353         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22354         qualifier.
22355         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22356         internal_function qualifiers.
22358 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22360         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22361         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22362         * math/atest-exp.c (exp_mpn): Mark chk unused.
22363         * math/atest-exp2.c (exp_mpn): Likewise.
22364         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22365         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22367 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22369         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22370         Remove macro.
22371         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22372         <kernel-features.h>.
22373         [__NR_ppoll]: Make code unconditional.
22374         [!__ASSUME_PPOLL]: Remove conditional code.
22376         * sysdeps/unix/sysv/linux/kernel-features.h
22377         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22378         (__ASSUME_ACCEPT4): Likewise.
22379         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22380         Define.
22381         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22382         Likewise.
22383         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22384         Likewise.
22385         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22386         Likewise.
22387         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22388         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22390         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22391         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22392         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22395         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22396         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22397         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22398         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22399         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22400         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22401         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22402         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22403         Likewise.
22404         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22405         Likewise.
22406         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22407         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22408         0x040300].
22409         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22410         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22411         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22412         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22413         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22414         0x030300].
22415         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22416         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22417         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22418         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22419         0x040300].
22420         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22421         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22423         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22424         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22425         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22426         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22427         0x030300].
22428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22429         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22432         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22433         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22435         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22436         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22437         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22438         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22439         0x040300].
22440         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22441         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22442         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22443         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22444         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22445         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22446         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22447         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22448         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22449         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22451         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22452         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22453         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22454         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22455         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22457         Likewise.
22458         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22459         Likewise.
22461 2016-03-15  Andreas Schwab  <schwab@suse.de>
22463         [BZ #19257]
22464         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22465         statp->_u._ext.nscount as loop count.
22467 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22469         * math/test-signgam-finite-c99.c: Also #undef
22470         __LIBC_INTERNAL_MATH_INLINES.
22471         * math/test-signgam-main.c: Likewise.
22473 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22475         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22476         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22477         (MADV_FREE): Likewise.
22478         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22479         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22480         EPOLLEXCLUSIVE.
22482 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22484         * timezone/README: Remove mention of checktab.awk. Mention wiki
22485         SharedSourceFiles.
22487 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22489         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22490         WUNTRACED.
22492 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22494         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22495         order to match the type of p when calling atomic_exchange_acq().
22497 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22499         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22500         cfi_offset calls.
22501         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22502         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22503         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22504         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22505         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22507 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22509         * timezone/checktab.awk: Removed.
22511 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22513         * manual/math.texi (Errors in Math Functions): Document relaxed
22514         accuracy goals for IBM long double.
22515         * math/libm-test.inc (test_exceptions): Always allow spurious
22516         "underflow" and "inexact" exceptions for IBM long double.
22518 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22520         [BZ #19762]
22521         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22522         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22523         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22524         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22525         (bit_arch_*): This for feature array.
22526         (bit_*): Renamed to ...
22527         (bit_cpu_*): This for cpu array.
22528         (index_*): Renamed to ...
22529         (index_arch_*): This for feature array.
22530         (index_*): Renamed to ...
22531         (index_cpu_*): This for cpu array.
22532         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22533         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22534         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22535         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22536         bit_##name with index_cpu_##name and bit_cpu_##name.
22537         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22538         bit_##name with index_arch_##name and bit_arch_##name.
22540 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22542         [BZ #19792]
22543         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22544         Terminate FDE before return label.
22546 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22548         [BZ #19790]
22549         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22550         (rintl): Define as macro.
22551         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22552         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22553         of fesetround.  Ensure results are evaluated before end of scope.
22554         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22555         USE_AS_NEARBYINTL and include s_rintl.c.
22556         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22557         Disable exception traps in new environment.
22558         (libc_feholdsetround_ppc_ctx): Likewise.
22560 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22562         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22563         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22564         (tst_audit10_aux) [__AVX512F__]: ... here.
22566 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22568         * include/sys/auxv.h: New file.
22570 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22572         [BZ #19759]
22573         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22575 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22577         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22578         operand modifier.
22579         (feclearexcept): Likewise.
22581 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22583         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22584         to reflect the entire 32-bit HWCAP.
22585         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22586         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22588 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22590         [BZ #19783]
22591         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22592         $(test-via-rtld-prefix).
22593         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22595 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22597         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22598         union wait.  Report any non-zero exit status as error.
22600 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22602         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22603         configured with --enable-hardcoded-path-in-tests.
22605 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22607         [BZ #19677]
22608         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22609         (__ieee754_remainderl): Put zero low parts in canonical form.
22610         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22611         file.  Based on
22612         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22613         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22614         with wrapper round test-fmodrem-ldbl-128ibm.c.
22615         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22616         file.
22617         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22618         Likewise.
22619         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22620         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22622 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22624         [BZ #19610]
22625         * elf/ldconfig.c (opt_link): Update comment.
22626         (options): Update help string for option -X.
22627         (search_dir): Unlink stale symbolic link only if updating symbolic
22628         links.
22629         * elf/tst-ldconfig-X.sh: New file.
22630         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22631         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22633 2016-03-07  Andreas Schwab  <schwab@suse.de>
22635         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22636         needed arguments.
22638 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22640         [BZ #15333]
22641         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22642         to lstat64.
22644 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22646         * libio/filedoalloc.c (isatty): Remove.
22647         (local_isatty): Add comment.  Call __isatty directly.
22648         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22649         * libio/wfiledoalloc.c (isatty): Remove.
22650         (_IO_wfile_doallocate): Update comment.
22652 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22654         [BZ #19269]
22655         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22656         tst-audit4-aux.o.
22657         (tst-audit10): Depend on tst-audit10-aux.o.
22658         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22659         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22660         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22661         instead of inline AVX code.
22662         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22663         instead of inline AVX512 code.
22664         * sysdeps/x86_64/tst-audit4-aux.c: New file
22665         * sysdeps/x86_64/tst-audit10-aux.c: New file
22667         [BZ #19648]
22668         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22670 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22672         [BZ #14750]
22673         [BZ #10354]
22674         [BZ #18433]
22675         * include/sched.h (__clone): Add hidden prototype.
22676         (__clone2): Likewise.
22677         * include/unistd.h (__dup): Likewise.
22678         * posix/Makefile (tests): Add tst-spawn2.
22679         * posix/tst-spawn2.c: New file.
22680         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22681         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22682         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22683         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22684         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22685         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22686         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22687         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22688         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22689         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22690         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22692         Likewise.
22693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22694         Likewise.
22695         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22696         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22697         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22698         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22699         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22700         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22701         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22702         * sysdeps/unix/sysv/linux/nptl-signals.h
22703         (____nptl_is_internal_signal): New function.
22704         * sysdeps/unix/sysv/linux/spawni.c: New file.
22706         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22707         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22708         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22709         * posix/tst-execvp2.c (do_test): Likewise.
22710         * posix/tst-execvp3.c (do_test): Likewise.
22711         * posix/tst-execvp4.c (do_test): Likewise.
22712         * posix/tst-execvpe1.c: New file.
22713         * posix/tst-execvpe2.c: Likewise.
22714         * posix/tst-execvpe3.c: Likewise.
22715         * posix/tst-execvpe4.c: Likewise.
22716         * posix/tst-execvpe5.c: Likewise.
22717         * posix/tst-execvpe6.c: Likewise.
22719         [BZ #19534]
22720         * posix/execl.c (execl): Remove dynamic memory allocation.
22721         * posix/execle.c (execle): Likewise.
22722         * posix/execlp.c (execlp): Likewise.
22724 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22726         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22727         Replace .text with .text.avx512.
22728         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22729         Likewise.
22731 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22733         * sysdeps/generic/libnsl.abilist: New file.
22734         * sysdeps/generic/libutil.abilist: New file.
22736 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22738         [BZ #19762]
22739         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22740         HAS_ARCH_FEATURE with Fast_Rep_String.
22741         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22742         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22743         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22744         Likewise.
22745         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22746         Likewise.
22747         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22749         Likewise.
22750         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22751         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22752         Likewise.
22754 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22756         [BZ #19745]
22757         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22758         with *%rax in call.
22760 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22762         [BZ #19745]
22763         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22764         with *__libc_start_main@GOTPCREL(%rip) in call.
22766 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22768         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22769         inside conditional for nonempty $(CXX).
22771         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22772         nonempty.
22774         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22775         to test for empty $(CXX) rather than $(CXX) of "no".
22777 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22779         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22781 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22782             H.J. Lu  <hongjiu.lu@intel.com>
22784         [BZ #18880]
22785         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22786         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22787         enable __memcpy_ssse3_back.
22789 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22791         [BZ #19758]
22792         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22793         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22795 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22797         [BZ #19490]
22798         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22799         (__fentry__): Likewise.
22801 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22803         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22804         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22806 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22808         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22809         __mcount_internal directly.
22810         (C_LABEL(__fentry__)): Likewise.
22811         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22812         directly.
22814 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22816         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22817         (__start_context): Call __setcontext directly.
22819 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22822         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22823         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22824         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22825         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22826         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22827         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22828         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22829         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22830         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22831         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22832         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22833         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22834         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22835         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22836         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22837         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22838         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22839         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22840         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22841         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22842         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22843         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22844         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22845         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22846         Remove conditional code.
22847         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22848         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22849         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22850         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22851         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22852         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22853         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22854         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22855         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22856         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22857         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22858         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22860 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22862         * NEWS (2.23): Fix typo in bug 19048 text.
22864 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22866         [BZ #14259]
22867         * Makeconfig: Rename msgcatdir to localedir.
22868         Rename inst_msgcatdir to inst_localedir.
22869         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22870         * config.make.in: Add localedir.
22871         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22872         (ldd-rewrite): Likewise.
22873         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22874         (install-others): Use inst_localedir.
22875         (CPPFLAGS): Use localedir.
22876         * locale/Makefile (locale-CPPFLAGS): Likewise.
22877         * po/Makefile (mo-installed): Use inst_localedir.
22879         [BZ #19575]
22880         * localedata/charmaps/GB18030: Update comments regarding PAU to
22881         non-PUA mappings.
22883 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22885         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22886         test for header.
22887         * sysdeps/unix/sysv/linux/configure: Regenerated.
22888         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22889         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22890         Remove conditional code.
22891         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22893         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22894         Define to 3.2.0.
22895         (arch_minimum_kernel): Likewise.
22896         * sysdeps/unix/sysv/linux/configure: Regenerated.
22897         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22898         Define to 2.6.32.
22899         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22900         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22901         (arch_minimum_kernel): Define to 2.6.32.
22902         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22903         * README: Document Linux 3.2 requirement.
22904         * manual/install.texi (Linux): Document Linux 3.2 headers
22905         requirement.
22906         * INSTALL: Regenerated.
22908 2016-02-24  Andreas Schwab  <schwab@suse.de>
22910         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22911         if !NO_LONG_DOUBLE.
22913 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22915         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22916         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22918 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22920         [BZ #19512]
22921         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22923 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22925         * posix/tst-dir.c: Include libc-internal.h.
22927 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22929         [BZ #19056]
22930         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22931         * manual/filesys.texi (Reading/Closing Directory): Mention
22932         deprecaion.
22933         * posix/tst-dir.c (main): Disable deprecation warning in test.
22935 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22937         [BZ #19679]
22938         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22939         Renamed to ...
22940         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22941         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22942         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22943         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22944         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22945         * sysdeps/x86_64/dl-trampoline.h
22946         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22947         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22949 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22951         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22953 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22955         * elf/elf.h (R_386_GOT32X): New.
22956         (R_386_NUM): Update.
22957         (R_X86_64_GOTPCRELX: New.
22958         (R_X86_64_REX_GOTPCRELX): New.
22959         (R_X86_64_NUM): Update.
22961 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22963         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22965 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22967         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22968         assign attr->stackaddr to it, and adjust it down when
22969         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22970         [_STACK_GROWS_UP]: Delete assert.
22971         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22972         Implement stack grows up logic.
22973         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22974         stack grows up logic.
22976 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22978         * NEWS: Update with 2.24 template.
22980 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22982         [BZ #19678]
22983         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22984         Ensure +0.0 is returned when taking the next value below the least
22985         positive value.
22987 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22989         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22990         available.  Do not define NO_THREADS.
22991         * malloc/malloc.c: Do not check NO_THREADS.
22992         * malloc/arena.c: Likewise.
22994 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22996         * malloc/malloc.c (__libc_mallinfo): Update comment.
22997         (struct malloc_par): Remove max_total_mem member, it was always 0.
22998         (int_mallinfo): Store 0 into usmblks (no functional change).
22999         * malloc/hooks.c (struct malloc_state): Document that
23000         max_total_mem is always 0.
23001         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
23002         always 0.
23003         * manual/memory.texi (Statistics of Malloc): Likewise.
23005 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23007         * malloc/malloc.c (sysmalloc): Do not update arena_max.
23008         * malloc/arena.c (arena_max): Remove.
23009         (heap_trim, _int_new_arena): Do not update arena_max.
23011 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23013         * resolv/res_init.c (res_ninit): Update comment.
23015 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23017         [BZ #19505]
23018         * posix/spawn_int.h: Add headers and include guard.
23019         (__spawn_valid_fd): New function.
23020         * posix/spawn_faction_addopen.c
23021         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
23022         * posix/spawn_faction_addclose.c
23023         (posix_spawn_file_actions_addclose): Likewise.
23024         * posix/spawn_faction_adddup2.c
23025         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
23026         second file descriptor.
23027         * posix/spawn_valid_fd.c: New file.
23028         * posix/tst-posix_spawn-fd.c: New file.
23029         * posix/Makefile (routines): Add spawn_valid_fd.
23030         (tests): Add tst-posix_spawn-fd.
23032 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23034         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
23035         (do_test): Limit the number of arenas, so that we can use fewer
23036         outer threads.  Limit timeout to 3 seconds, in preparation for a
23037         larger TIMEOUT value.
23039 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23041         [BZ #19674]
23042         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
23043         sign in overflowing and underflowing results when overflow or
23044         underflow is detected early.  Include sign in result before rather
23045         than after scaling.
23047         [BZ #19603]
23048         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23049         (__ieee754_remainderl): Adjust sign of integer version of low part
23050         when taking absolute value of high part.
23051         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23052         * math/libm-test.inc (remainder_test_data): Add another test.
23053         (remquo_test_data): Likewise.
23055 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
23057         [BZ #19602]
23058         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
23059         equal high parts and both low parts zero specially.
23060         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
23061         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
23062         Add test-fmodl-ldbl-128ibm.
23064         [BZ #19595]
23065         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
23066         common logic for all cases of shifting subnormal results.  Do not
23067         insert sign bit in shifted mantissa.  Always pass -1023 as biased
23068         exponent to ldbl_insert_mantissa in subnormal case.
23070         [BZ #19594]
23071         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
23072         on high and low parts then adjust result and use
23073         ldbl_canonicalize_int if needed.
23075         [BZ #19593]
23076         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23077         on high part and __floor or __ceil on low part then use
23078         ldbl_canonicalize_int if needed.
23080         [BZ #19592]
23081         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
23082         high and low parts then use ldbl_canonicalize_int if needed.
23084         [BZ #17899]
23085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
23086         New function.
23087         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
23088         on high and low parts then use ldbl_canonicalize_int if needed.
23090 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23092         * configure: Regenerated.
23094         * po/libc.pot: Regenerated.
23096         * po/be.po: Updated translation.
23097         * po/bg.po: Likewise.
23098         * po/ca.po: Likewise.
23099         * po/cs.po: Likewise.
23100         * po/da.po: Likewise.
23101         * po/el.po: Likewise.
23102         * po/eo.po: Likewise.
23103         * po/es.po: Likewise.
23104         * po/fi.po: Likewise.
23105         * po/fr.po: Likewise.
23106         * po/gl.po: Likewise.
23107         * po/hr.po: Likewise.
23108         * po/hu.po: Likewise.
23109         * po/ia.po: Likewise.
23110         * po/id.po: Likewise.
23111         * po/it.po: Likewise.
23112         * po/ja.po: Likewise.
23113         * po/lt.po: Likewise.
23114         * po/nb.po: Likewise.
23115         * po/nl.po: Likewise.
23116         * po/pt_BR.po: Likewise.
23117         * po/rw.po: Likewise.
23118         * po/sk.po: Likewise.
23119         * po/sl.po: Likewise.
23120         * po/sv.po: Likewise.
23121         * po/tr.po: Likewise.
23122         * po/zh_CN.po: Likewise.
23123         * po/zh_TW.po: Likewise.
23125         * version.h (RELEAES): Set to "development".
23126         (VERSION): Set to 2.23.90.
23128         * version.h (RELEASE): Set to "stable".
23129         (VERSION): Set to 2.23.
23130         * include/feature.h (__GLIBC_MINOR__): Set to 23.
23132         * NEWS: Updated fixed bugs.
23134 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
23135             Wilco Dijkstra  <wdijkstr@arm.com>
23137         [BZ #19462]
23138         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23139         (_STRING_INLINE_unaligned): This.
23140         * include/string.h: Include <string_private.h>.
23141         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23142         _STRING_INLINE_unaligned.
23143         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23144         (_STRING_INLINE_unaligned): New.
23145         * sysdeps/aarch64/string_private.h: New file.
23146         * sysdeps/generic/string_private.h: Likewise.
23147         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23148         * sysdeps/s390/string_private.h: Likewise.
23149         * sysdeps/x86/string_private.h: Likewise.
23150         * sysdeps/m68k/m680x0/m68020/bits/string.h
23151         (_STRING_ARCH_unaligned): Renamed to ...
23152         (_STRING_INLINE_unaligned): This.
23153         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23154         to ...
23155         (_STRING_INLINE_unaligned): This.
23156         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23157         to ...
23158         (_STRING_INLINE_unaligned): This.
23159         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23160         to ...
23161         (_STRING_INLINE_unaligned): This.
23163 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23164             H.J. Lu  <hongjiu.lu@intel.com>
23166         [BZ #19590]
23167         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23168         relocation.
23170 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
23172         [BZ #18665]
23173         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23174         *herrno_p.
23175         (gaih_getanswer): Document functional behviour. Return tryagain
23176         if any result is tryagain.
23177         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23178         when freed.
23179         * resolv/res_send.c: Add copyright text.
23180         (__libc_res_nsend): Document that MAXPACKET is expected.
23181         (send_vc): Document. Remove buffer reuse.
23182         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23183         size of the buffer. Add Dprint for truncated UDP buffer.
23185 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
23187         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23188         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23189         * INSTALL: Regenerate.
23191 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
23192             Jonathan Wakely  <jwakely@redhat.com>
23193             Carlos O'Donell  <carlos@redhat.com>
23195         [BZ 19439]
23196         * math/Makefile (tests): Add test-math-isinff.
23197         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23198         * math/bits/mathcalls.h [__USE_MISC]: Use
23199         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23200         functions not in C++11 and which don't conflict e.g. isinff,
23201         isinfl etc.
23202         * math/test-math-isinff.cc: New file.
23204 2016-02-12  Florian Weimer  <fweimer@redhat.com>
23206         * misc/bug18240.c (do_test): Set RLIMIT_AS.
23208 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23210         [BZ #19529]
23211         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23213 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23215         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23217 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
23219         [BZ #19550]
23220         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23221         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23222         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23223         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23224         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23225         New syscall entry.
23226         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23227         New syscall entry.
23228         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23229         syscall entry.
23231 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23233         [BZ #18240]
23234         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23235         unsigned int wraparound.
23237 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23239         [BZ #18240]
23240         * misc/bug18240.c: New test.
23241         * misc/Makefile (tests): Add it.
23243 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23244             Joseph Myers  <joseph@codesourcery.com>
23246         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23247         load in branch delay slot when less than a word of input left.
23249 2016-01-27  Andreas Schwab  <schwab@suse.de>
23251         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23252         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23253         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23254         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23256 2016-01-26  David S. Miller  <davem@davemloft.net>
23258         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23260 2016-01-25  David S. Miller  <davem@davemloft.net>
23262         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23263         __sqrtl_finite.
23264         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23265         instead using versioned_symbol.
23266         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23267         of entries.
23269         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23270         __sqrtl_finite to GLIBC_2.23
23272 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23274         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23276 2016-01-25  Andreas Schwab  <schwab@suse.de>
23278         [BZ #17514]
23279         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23280         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23281         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23282         * nptl/tst-mutex-errorcheck.c: New file.
23284 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23286         [BZ #18560]
23287         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23288         (IPCOP_semop): Likewise.
23289         (IPCOP_semget): Likewise.
23290         (IPCOP_semctl): Likewise.
23291         (IPCOP_msgsnd): Likewise.
23292         (IPCOP_msgrcv): Likewise.
23293         (IPCOP_msgget): Likewise.
23294         (IPCOP_msgctl): Likewise.
23295         (IPCOP_shmat): Likewise.
23296         (IPCOP_shmdt): Likewise.
23297         (IPCOP_shmget): Likewise.
23298         (IPCOP_shmctl): Likewise.
23300 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23302         * string/tst-endian.c: Include <libc-internal.h>.
23303         (do_test): Ignore tautological-compare warnings around
23304         "htobeXX (beXXtoh (i)) != i" and
23305         "htoleXX (leXXtoh (i)) != i" if-statements.
23307 2016-01-24  David S. Miller  <davem@davemloft.net>
23309         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23310         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23311         alias.
23312         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23313         __sqrtl_finite.
23315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23317 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23319         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23320         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23321         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23323 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23325         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23326         (thread_func): Use new function to simplify barrier check.
23327         (do_test): Use new function to simplify checking barrier exit
23328         code, and actually join the child thread.
23330 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23332         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23333         semicolon.
23334         (__libc_tend): Likewise.
23335         (__libc_tabort): Likewise.
23337 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23339         * sysdeps/nios2/libm-test-ulps: Update.
23340         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23341         (__gtsf2): Likewise.
23342         (__unorddf2): Likewise.
23343         (__unordsf2): Likewise.
23344         (__ledf2): Likewise.
23346 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23348         * nis/nis_table.c (__follow_path): Disable diagnostic for
23349         uninitialized variable that is a false positive for gcc 4.7.
23350         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23352 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23354         * sysdeps/nacl/lowlevellock-futex.h
23355         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23356         Always evaluate PRIVATE argument.
23358 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23360         [BZ #19490]
23361         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23362         (pthread_cond_broadcast): Use ENTRY/END
23363         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23364         (pthread_cond_signal): Likewise.
23365         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23366         Likewise.
23367         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23368         Likewise.
23369         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23370         Likewise.
23372 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23374         * sysdeps/ieee754/dbl-64/s_finite.c
23375         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23376         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23377         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23379         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23382         (__gtsf2): Add as optional for libc.so.
23383         (__unordsf2): Likewise.
23384         (__signbit): Remove for libc.so.
23385         (__signbitl): Likewise.
23387 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23389         * iconvdata/bug-iconv11.c (test_ibm93x):
23390         Use %zu printf format specifier for size_t argument.
23392 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23394         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23395         already-recorded ulps.
23396         * sysdeps/arm/libm-test-ulps: Regenerated.
23397         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23398         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23399         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23401 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23402             Paul Pluzhnikov  <ppluzhnikov@google.com>
23404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23405         assembler not supporting AVX-512.
23407 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23409         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23411 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23413         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23414         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23416         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23418         * sysdeps/arm/libm-test-ulps: Regenerated.
23420 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23422         [BZ #19451]
23423         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23425 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23427         [BZ #19486]
23428         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23429         * sysdeps/generic/fix-fp-int-convert-overflow.h
23430         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23431         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23432         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23433         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23434         Likewise.
23435         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23436         Avoid conversions to long int where inexact exceptions
23437         could be raised.
23438         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23439         Likewise.
23440         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23441         Avoid conversions to long long int where inexact exceptions
23442         could be raised.
23443         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23444         Likewise.
23446 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23448         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23449         * configure: Regenerated.
23451 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23453         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23455 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23457         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23458         outside of comment.
23460 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23462         * nptl/tst-barrier1.c: Add description on first line.
23463         * nptl/tst-barrier2.c: Likewise.
23464         * nptl/tst-barrier3.c: Likewise.
23465         * nptl/tst-barrier4.c: Likewise.
23466         * nptl/tst-barrier5.c: Likewise.
23468 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23470         [BZ #18868]
23471         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23473 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23475         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23477         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23478         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23479         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23480         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23481         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23482         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23483         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23484         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23485         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23487 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23489         [BZ #13065]
23490         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23491         new implementation.
23492         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23493         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23494         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23495         (BARRIER_IN_THRESHOLD): New macro.
23496         * nptl/pthread_barrierattr_setpshared.c
23497         (pthread_barrierattr_setpshared): Clean up.
23498         * nptl/tst-barrier4.c: Correct comment.
23499         * nptl/tst-barrier5.c: New file.
23500         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23501         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23502         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23503         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23504         * nptl/lowlevelbarrier.sym: Remove.
23505         * nptl/DESIGN-barrier.txt: Remove.
23506         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23507         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23508         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23509         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23510         error.
23511         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23512         implementation.
23514 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23516         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23517         (do_child): Mask SIGRTMIN while thr is running.
23519 2016-01-15  Martin Sebor  <msebor@redhat.com>
23521         [BZ #19432]
23522         * iconvdata/Makefile: Add bug-iconv11.
23523         * iconvdata/bug-iconv11.c: New test.
23524         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23525         * iconvdata/ibm933.c: Same.
23526         * iconvdata/ibm935.c: Same.
23527         * iconvdata/ibm937.c: Same.
23528         * iconvdata/ibm939.c: Same.
23530 2016-01-15  Martin Sebor  <msebor@redhat.com>
23532         [BZ #19443]
23533         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23534         [DEBUG] (_ufc_set_bits): Declare used.
23535         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23536         [DEBUG] (print_all): Declare used.
23537         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23538         operands of the ternary ?: expression to target type.
23539         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23540         calling the undeclared abort.
23541         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23543 2016-01-15  Martin Sebor  <msebor@redhat.com>
23545         [BZ #18755]
23546         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23547         warnings.
23548         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23549         (__gai_create_helper_thread): Same.
23550         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23551         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23552         to suppress -Wmaybe-uninitialized warnings.
23554 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23556         [BZ #19465]
23557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23558         inside if.
23559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23560         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23561         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23563 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23565         [BZ #19466]
23566         * time/tst-mktime2.c (time_t_max): Removed.
23567         (time_t_min): Likewise.
23568         (TYPE_SIGNED): New.
23569         (TYPE_MINIMUM): Likewise.
23570         (TYPE_MAXIMUM): Likewise.
23571         (TIME_T_MIN): Likewise.
23572         (TIME_T_MAX): Likewise.
23573         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23574         and TIME_T_MIN.
23575         (do_test): Likewise.
23577 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23579         [BZ #19467]
23580         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23581         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23583 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23585         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23587 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23589         * benchtests/Makefile (PYTHON): Define.
23590         (bench-func): Use $(PYTHON) to run python scripts.
23591         ($(objpfx)bench-%.c): Likewise.
23593 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23595         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23596         leading slash when `file_name' is "/".
23598 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23600         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23601         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23602         Likewise.
23603         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23604         Likewise.
23605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23606         Likewise.
23607         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23608         enum constant and macro.
23609         (PTRACE_SETSIGMASK): Likewise.
23610         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23611         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23612         (PTRACE_GETSIGMASK): Likewise.
23613         (PTRACE_SETSIGMASK): Likewise.
23614         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23615         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23616         Likewise.
23617         (PTRACE_SETSIGMASK): Likewise.
23618         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23619         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23620         (PTRACE_GETSIGMASK): Likewise.
23621         (PTRACE_SETSIGMASK): Likewise.
23622         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23623         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23624         Likewise.
23625         (PTRACE_SETSIGMASK): Likewise.
23626         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23628         Likewise.
23629         (PTRACE_SETSIGMASK): Likewise.
23630         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23631         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23632         Likewise.
23633         (PTRACE_SETSIGMASK): Likewise.
23634         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23636 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23637             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23639         [BZ #19439]
23640         * math/bits/mathcalls.h
23641         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23642         prototype.
23643         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23645 2016-01-11  Andreas Schwab  <schwab@suse.de>
23647         [BZ #19253]
23648         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23649         cache when TZDEFRULES was used.
23650         * time/tst-tzname.c: New file.
23651         * time/Makefile (test): Add tst-tzname.
23652         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23653         * timezone/Makefile (test-zones): Add $(posixrules-file).
23654         ($(testdata)/$(posixrules-file)): New rule.
23656 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23658         Fix doc quoting problems with Texinfo 5
23659         Without this change, in the info file output, Texinfo 5 quotes code
23660         in text with undirected single quotes 'like this' and generates
23661         code examples that with many PDF readers cannot be cut out of PDFs
23662         and pasted into code.
23663         * manual/libc.texinfo: Configure the libc manual like the GNU
23664         Emacs manual, by using @documentencoding and setting
23665         txicodequoteundirected and txicodequotebacktick.  This way,
23666         Texinfo 5 quotes code in text with directed single quotes ‘like
23667         this’ and produces examples that can be cut out of PDFs.  This
23668         change causes Texinfo 5 to generate info files that contain UTF-8
23669         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23670         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23672 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23674         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23675         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23676         barriers to their respective compiler built-ins.
23677         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23678         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23679         * sysdeps/powerpc/sysdep.h: Likewise.
23680         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23681         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23682         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23684 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23686         * scripts/config.guess: Revert previous shebang change.
23687         * scripts/config.sub: Likewise.
23688         * scripts/mkinstalldirs: Likewise.
23690 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23692         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23693         PPC_FEATURE2_HAS_IEEE128.
23694         * sysdeps/powerpc/dl-procinfo.c:
23695         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23697 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23699         [BZ #19415]
23700         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23701         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23702         (_dl_lookup_address): Rewrite using function resolver trampoline.
23703         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23704         two bits in address.
23706 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23708         * longlong.h: Change !__SHMEDIA__ to
23709         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23710         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23712 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23713             Joseph Myers  <joseph@codesourcery.com>
23714             Mark Shinwell  <shinwell@codesourcery.com>
23715             Andrew Stubbs  <ams@codesourcery.com>
23716             Rich Felker <dalias@libc.org>
23718         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23720 2016-01-07  Richard Henderson  <rth@redhat.com>
23722         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23724 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23726         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23727         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23728         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23729         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23730         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23732 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23733             Joseph Myers  <joseph@codesourcery.com>
23735         * timezone/private.h: Update from tzcode 2015g.
23736         * timezone/tzfile.h: Likewise.
23737         * timezone/tzselect.ksh: Likewise.
23738         * timezone/zdump.c: Likewise.
23739         * timezone/zic.c: Likewise.
23740         * timezone/ialloc.c: Remove file.
23741         * timezone/scheck.c: Likewise.
23742         * timezone/Makefile (extra-objs): Remove variable.
23743         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23744         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23745         -Wno-maybe-uninitialized.
23746         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23747         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23748         (CFLAGS-ialloc.c): Remove variable.
23749         (CFLAGS-scheck.c): Likewise.
23750         * timezone/README: Update list of files from tzcode.
23752 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23754         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23755         instead of __fxprintf when _LIBC is undefined.
23757 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23759         * catgets/test-gencat.sh: Remove space after shebang.
23760         * conform/GlibcConform.pm: Likewise.
23761         * conform/check-header-lists.sh: Likewise.
23762         * conform/conformtest.pl: Likewise.
23763         * conform/linknamespace.pl: Likewise.
23764         * conform/list-header-symbols.pl: Likewise.
23765         * debug/catchsegv.sh: Likewise.
23766         * elf/genrtldtbl.awk: Likewise.
23767         * elf/tst-pathopt.sh: Likewise.
23768         * elf/tst-rtld-load-self.sh: Likewise.
23769         * grp/tst_fgetgrent.sh: Likewise.
23770         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23771         * iconvdata/gen-8bit-gap.sh: Likewise.
23772         * iconvdata/gen-8bit.sh: Likewise.
23773         * iconvdata/run-iconv-test.sh: Likewise.
23774         * intl/tst-gettext.sh: Likewise.
23775         * intl/tst-gettext2.sh: Likewise.
23776         * intl/tst-gettext4.sh: Likewise.
23777         * intl/tst-gettext6.sh: Likewise.
23778         * intl/tst-translit.sh: Likewise.
23779         * io/ftwtest-sh: Likewise.
23780         * libio/test-freopen.sh: Likewise.
23781         * locale/gen-translit.pl: Likewise.
23782         * malloc/tst-mtrace.sh: Likewise.
23783         * manual/check-safety.sh: Likewise.
23784         * manual/libc-texinfo.sh: Likewise.
23785         * manual/tsort.awk: Likewise.
23786         * manual/xtract-typefun.awk: Likewise.
23787         * nptl/tst-cancel-wrappers.sh: Likewise.
23788         * nptl/tst-tls6.sh: Likewise.
23789         * posix/globtest.sh: Likewise.
23790         * posix/tst-getconf.sh: Likewise.
23791         * posix/wordexp-tst.sh: Likewise.
23792         * scripts/check-c++-types.sh: Likewise.
23793         * scripts/check-local-headers.sh: Likewise.
23794         * scripts/config.guess: Likewise.
23795         * scripts/config.sub: Likewise.
23796         * scripts/cpp: Likewise.
23797         * scripts/cross-test-ssh.sh: Likewise.
23798         * scripts/documented.sh: Likewise.
23799         * scripts/evaluate-test.sh: Likewise.
23800         * scripts/gen-libc-abis: Likewise.
23801         * scripts/gen-sorted.awk: Likewise.
23802         * scripts/list-fixed-bugs.py: Likewise.
23803         * scripts/merge-test-results.sh: Likewise.
23804         * scripts/mkinstalldirs: Likewise.
23805         * scripts/rellns-sh: Likewise.
23806         * scripts/test-installation.pl: Likewise.
23807         * scripts/update-copyrights: Likewise.
23808         * stdio-common/tst-printf.sh: Likewise.
23809         * stdio-common/tst-unbputc.sh: Likewise.
23810         * stdlib/tst-fmtmsg.sh: Likewise.
23811         * stdlib/tst-setcontext3.sh: Likewise.
23812         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23813         * sysdeps/unix/make-syscalls.sh: Likewise.
23815 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23817         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23818         asm stw with atomic_exchange_rel.  Add explanatory comment.
23819         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23820         Likewise.
23822 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23824         [BZ #19122]
23825         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23826         * sysdeps/generic/dl-unistd.h: New file.
23827         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23829 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23831          [BZ #19122]
23832          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23833          * sysdeps/generic/dl-mman.h: New file.
23834          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23836 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23838         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23839         trailing whitespace removed.
23840         * scripts/config.guess: Update to version 2016-01-01.
23841         * scripts/config.sub: Update to version 2016-01-01.
23842         * scripts/move-if-change: Update from gnulib.
23844 2016-01-04  Anton Blanchard  <anton@samba.org>
23846         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23847         for array indices.
23848         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23850 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23852         * NEWS: Update copyright dates.
23853         * catgets/gencat.c (print_version): Likewise.
23854         * csu/version.c (banner): Likewise.
23855         * debug/catchsegv.sh: Likewise.
23856         * debug/pcprofiledump.c (print_version): Likewise.
23857         * debug/xtrace.sh (do_version): Likewise.
23858         * elf/ldconfig.c (print_version): Likewise.
23859         * elf/ldd.bash.in: Likewise.
23860         * elf/pldd.c (print_version): Likewise.
23861         * elf/sotruss.sh: Likewise.
23862         * elf/sprof.c (print_version): Likewise.
23863         * iconv/iconv_prog.c (print_version): Likewise.
23864         * iconv/iconvconfig.c (print_version): Likewise.
23865         * locale/programs/locale.c (print_version): Likewise.
23866         * locale/programs/localedef.c (print_version): Likewise.
23867         * login/programs/pt_chown.c (print_version): Likewise.
23868         * malloc/memusage.sh (do_version): Likewise.
23869         * malloc/memusagestat.c (print_version): Likewise.
23870         * malloc/mtrace.pl: Likewise.
23871         * manual/libc.texinfo: Likewise.
23872         * nptl/version.c (banner): Likewise.
23873         * nscd/nscd.c (print_version): Likewise.
23874         * nss/getent.c (print_version): Likewise.
23875         * nss/makedb.c (print_version): Likewise.
23876         * posix/getconf.c (main): Likewise.
23877         * scripts/test-installation.pl: Likewise.
23878         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23880         * All files with FSF copyright notices: Update copyright dates
23881         using scripts/update-copyrights.
23882         * intl/plural.c: Regenerated.
23883         * locale/programs/charmap-kw.h: Likewise.
23884         * locale/programs/locfile-kw.h: Likewise.
23886 2016-01-02  Helge Deller  <deller@gmx.de>
23888         [BZ #19285]
23889         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23890         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23891         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23892         (MADV_xxK_PAGES): Remove.
23894 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23896         [BZ #15421]
23897         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23898         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23899         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23900         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23902 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23904         [BZ #19408]
23905         * sysdeps/unix/sysv/linux/personality.c: New file.
23906         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23907         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23908         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23909         (sysdep_routines): Add personality.
23910         (tests): Add tst-personality.
23911         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23913         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23914         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23915         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23916         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23917         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23918         Likewise.
23919         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23920         Likewise.
23921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23922         Likewise.
23923         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23924         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23925         Likewise.
23927 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23929         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23930         (PATH_ARM_SYSTYPE): Remove.
23931         (PATH_CPUINFO): Likewise.
23932         (IO_BASE_FOOTBRIDGE): Likewise.
23933         (IO_SHIFT_FOOTBRIDGE): Likewise.
23934         (struct platform): Likewise.
23935         (init_iosys): Remove compatibility code for 2.4 kernels.
23936         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23938 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23940         * malloc/tst-malloc-thread-fail.c: New file.
23941         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23942         (tst-malloc-thread-fail): Link against libpthread.
23944 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23946         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23947         (get_parser): New function.
23948         (main): New function.
23950 2015-12-29  Rob Wu  <rob@robwu.nl>
23952         [BZ #19369]
23953         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23955 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23957         [BZ #19270]
23958         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23960 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23962         [BZ #15421]
23963         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23965 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23967         [BZ #13690]
23968         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23969         after releasing it.
23970         (__lll_robust_unlock): Likewise.
23971         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23972         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23973         (lll_robust_unlock): Likewise.
23974         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23975         Prevent warnings in callers.
23977 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23979         * malloc/arena.c (list_lock): Update comment.
23981 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23983         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23984         __parse_hwcap_and_convert_at_platform to libc.a.
23986 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23988         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23989         platform and feature support for POWER9.
23990         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23991         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23992         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23993         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23994         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23995         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23996         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23997         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23999 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24001         Harmonize generic stdio-lock support with nptl
24003         This fixes build when _IO_funlockfile is a macro, fixes build where
24004         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
24005         stack unwind.
24007         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
24008         _IO_release_lock ): Use cleanup attribute on new
24009         _IO_acquire_lock_file variable instead of assuming that
24010         _IO_release_lock will be called.
24011         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
24012         _IO_acquire_lock_needs_exceptions_enabled.
24013         (_IO_acquire_lock_clear_flags2): New macro.
24015 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24017         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24019 2015-12-21  Florian Weimer  <fweimer@redhat.com>
24021         [BZ #19182]
24022         * malloc/arena.c (list_lock): Document lock ordering requirements.
24023         (free_list_lock): New lock.
24024         (ptmalloc_lock_all): Comment on free_list_lock.
24025         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
24026         (detach_arena): Update comment.  free_list_lock is now needed.
24027         (_int_new_arena): Use free_list_lock around detach_arena call.
24028         Acquire arena lock after list_lock.  Add comment, including FIXME
24029         about incorrect synchronization.
24030         (get_free_list): Switch to free_list_lock.
24031         (reused_arena): Acquire free_list_lock around detach_arena call
24032         and attached threads counter update.  Add two FIXMEs about
24033         incorrect synchronization.
24034         (arena_thread_freeres): Switch to free_list_lock.
24035         * malloc/malloc.c (struct malloc_state): Update comments to
24036         mention free_list_lock.
24038 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24040         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
24041         Remove functions.
24042         (sloww, sloww1): Accept argument to offset quadrant.
24043         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
24044         quadrant.
24045         (__sin, __cos): Consolidate common code into new functions.
24046         (reduce_sincos_1, do_sincos_1): New functions.
24047         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24049         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
24050         code to new functions.
24051         (reduce_sincos_2, do_sincos_2): New functions.
24052         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
24055         common code for sincos.
24056         (__cos) [!IN_SINCOS]: Likewise.
24057         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
24058         New function.
24059         (__sincos): Use it.
24061 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
24063         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
24064         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
24065         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24067 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24069         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
24070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
24071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24072         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
24073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24074         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
24075         index_Prefer_No_VZEROUPPER): New feature.
24076         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
24077         Prefer_No_VZEROUPPER for Knights Landing.
24079 015-12-18  Torvald Riegel  <triegel@redhat.com>
24081         * math/atest-exp2.c (mp_exp_m1): Remove.
24083 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24085         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
24086         syscalls.
24087         (__SYSCALL0): New macro.
24088         (__SYSCALL1): Likewise.
24089         (__SYSCALL2): Likewise.
24090         (__SYSCALL3): Likewise.
24091         (__SYSCALL4): Likewise.
24092         (__SYSCALL5): Likewise.
24093         (__SYSCALL6): Likewise.
24094         (__SYSCALL_CONCAT_X): Likewise.
24095         (__SYSCALL_CONCAT): Likewise.
24096         (__SYSCALL_DIST): Likewise.
24097         (__SYSCALL_CALL): Likewise.
24099 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
24101         [BZ #19363]
24102         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24104 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24106         [BZ #19375]
24107         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24108         negative subnormals.
24110 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
24112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24113         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24114         (INTERNAL_SYSCALL_NCS): Use it.
24115         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24117 2015-12-16  Florian Weimer  <fweimer@redhat.com>
24119         [BZ #19243]
24120         * malloc/arena.c (get_free_list): Remove assert and adjust
24121         reference count handling.  Add comment about reused_arena
24122         interaction.
24123         (reused_arena): Add comments abount get_free_list interaction.
24124         * malloc/tst-malloc-thread-exit.c: New file.
24125         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24126         (tst-malloc-thread-exit): Link against libpthread.
24128 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24130         [BZ #19367]
24131         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24132         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24133         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24134         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24135         (index_Prefer_MAP_32BIT_EXEC): Likewise.
24137 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24139         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24140         Silvermont optimizations for Knights Landing.
24142 2015-12-15  Andreas Schwab  <schwab@suse.de>
24144         [BZ #17197]
24145         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24146         immediately after emitting SI.
24147         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24148         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24149         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24150         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24151         * iconvdata/bug-iconv10.c: New file.
24152         * iconvdata/Makefile (tests): Add bug-iconv10.
24153         ($(objpfx)bug-iconv10.out): New rule.
24155 2015-12-15  Florian Weimer  <fweimer@redhat.com>
24157         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24158         aliasing violation.
24160 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
24162         [BZ #18472]
24163         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24164         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24165         conditionals for them.
24166         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24167         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24169         sys/kdaemon.h.
24170         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24171         compat-only syscall, obsoleted in glibc 2.23.
24172         (create_module): Likewise.
24173         (get_kernel_syms): Likewise.
24174         (query_module): Likewise.
24175         (uselib): Likewise.
24176         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24178 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
24180         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24181         <linux/version.h>.
24182         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24183         conditional code.
24184         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24185         and ioshift_name initialization.
24187 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24189         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24190         Fix indentation.
24192 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24194         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24196 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24198         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24200 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
24201             Jakub Wilk  <jwilk@debian.org>
24203         [BZ #19347]
24204         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24205         to change the group of the device to the tty group.
24207 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
24209         Split large string section; add truncation advice
24210         * manual/examples/strncat.c: Remove.
24211         This example was misleading, as the code would have undefined
24212         behavior if "hello" was longer than SIZE.  Anyway, the manual
24213         shouldn't encourage strncpy+strncat for this sort of thing.
24214         * manual/string.texi (Copying Strings and Arrays): Split into
24215         three sections Copying Strings and Arrays, Concatenating Strings,
24216         and Truncating Strings, as this section was way too long.  All
24217         cross-referenced changed.  Add advice about string-truncation
24218         functions.  Remove misleading strncat example.
24220 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
24222         * manual/nss.texi (NSS Modules Interface): Document
24223         NSS_STATUS_NOTFOUND and SUCCESS.
24225 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24227         [BZ 18568]
24228         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24229         201505L, for Unicode 8.
24231 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24233         * locale/C-translit.h: Regenerate.
24235 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24237         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24238         and U+0153.
24240 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24242         [BZ #19351]
24243         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24244         expanding log(1+z), compare z rather than its square with epsilon
24245         to determine when to avoid evaluating the expansion.
24247         [BZ #19350]
24248         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24249         Increase overflow threshold.
24251         [BZ #19349]
24252         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24253         when small.
24255         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24257         New macro.
24258         [__LINUX_KERNEL_VERSION >= 0x040300]
24259         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24261         Likewise.
24262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24263         Likewise.
24264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24265         Likewise.
24266         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24267         Likewise.
24268         [__LINUX_KERNEL_VERSION >= 0x040300]
24269         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24270         [__LINUX_KERNEL_VERSION >= 0x040300]
24271         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24272         [__LINUX_KERNEL_VERSION >= 0x040300]
24273         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24274         [__LINUX_KERNEL_VERSION >= 0x040300]
24275         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24276         [__LINUX_KERNEL_VERSION >= 0x040300]
24277         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24279         Likewise.
24280         [__LINUX_KERNEL_VERSION >= 0x040300]
24281         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24282         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24283         Likewise.
24284         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24285         Likewise.
24286         [__LINUX_KERNEL_VERSION >= 0x040300]
24287         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24289         Likewise.
24290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24291         Likewise.
24292         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24294         Likewise.
24295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24296         Likewise.
24297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24298         Likewise.
24299         [__LINUX_KERNEL_VERSION >= 0x040300]
24300         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24301         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24302         Likewise.
24303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24304         Likewise.
24305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24306         Likewise.
24307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24308         Likewise.
24309         [__LINUX_KERNEL_VERSION >= 0x040300]
24310         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24311         [__LINUX_KERNEL_VERSION >= 0x040300]
24312         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24313         [__LINUX_KERNEL_VERSION >= 0x040300]
24314         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24315         [__LINUX_KERNEL_VERSION >= 0x040300]
24316         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24317         [__LINUX_KERNEL_VERSION >= 0x040300]
24318         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24320         Likewise.
24321         [__LINUX_KERNEL_VERSION >= 0x040300]
24322         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24323         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24324         Likewise.
24325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24326         Likewise.
24327         [__LINUX_KERNEL_VERSION >= 0x040300]
24328         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24330         Likewise.
24331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24332         Likewise.
24333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24334         (__ASSUME_SOCKET_SYSCALL): Likewise.
24335         (__ASSUME_BIND_SYSCALL): Likewise.
24336         (__ASSUME_CONNECT_SYSCALL): Likewise.
24337         (__ASSUME_LISTEN_SYSCALL): Likewise.
24338         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24339         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24340         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24341         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24342         (__ASSUME_SEND_SYSCALL): Likewise.
24343         (__ASSUME_SENDTO_SYSCALL): Likewise.
24344         (__ASSUME_RECV_SYSCALL): Likewise.
24345         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24346         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24347         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24348         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24349         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24350         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24351         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24352         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24353         Likewise.
24354         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24355         Likewise.
24356         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24357         Likewise.
24358         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24359         Likewise.
24360         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24361         Likewise.
24362         [__LINUX_KERNEL_VERSION >= 0x020625]
24363         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24364         [__LINUX_KERNEL_VERSION >= 0x020625]
24365         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24366         [__LINUX_KERNEL_VERSION >= 0x020625]
24367         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24368         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24369         Likewise.
24370         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24371         Likewise.
24372         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24373         Likewise.
24374         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24375         Likewise.
24376         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24377         Likewise.
24378         [__LINUX_KERNEL_VERSION >= 0x020625]
24379         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24380         [__LINUX_KERNEL_VERSION >= 0x020625]
24381         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24382         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24383         Likewise.
24384         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24385         Likewise.
24387 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24389         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24390         record the current if the current ABI and CPU support the FP64
24391         extension.
24392         (has-modd-spreg): Define to record the current if the current ABI and
24393         CPU support 32-bit floating point values in odd FPU registers.
24394         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24395         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24396         $(has-modd-spreg) equals yes.
24397         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24398         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24399         $(has-modd-spreg) equal yes.
24401 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24403         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24404         basename.
24406 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24408         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24409         (bench-string): ... here.
24410         (bench): Add bench-string.
24411         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24412         to *-benchset to reflect what they are.
24413         (benchset): Adjust.
24415         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24416         cos-inputs.
24418 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24420         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24421         __attribute__ ((__simd__)) for vector math function declarations.
24423 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24425         Fix typo in strncat, wcsncat manual entries
24426         * manual/string.texi (Copying and Concatenation): Fix typos in
24427         sample implementations of strncat and wcsncat, by having them use
24428         the old value of the destination length, not the new one.
24430 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24432         [BZ #16961]
24433         [BZ #16962]
24434         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24435         string on the stack for strtod.
24436         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24437         a string on the stack for strtof.
24438         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24439         constructing a string on the stack for strtold.
24440         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24441         __strtold_nan to GLIBC_PRIVATE.
24442         * math/test-nan-overflow.c: New file.
24443         * math/test-nan-payload.c: Likewise.
24444         * math/Makefile (tests): Add test-nan-overflow and
24445         test-nan-payload.
24447 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24449         Consistency about byte vs character in string.texi
24450         * manual/string.texi (String and Array Utilities):
24451         Distinguish more carefully among bytes, multibyte characters,
24452         and wide characters.  Use "byte" when talking about C 'char',
24453         to distinguish it more clearly from multibyte characters.
24454         Say "wide character" or "multibyte character" instead of
24455         "character", when a wide or multibyte character is intended.
24456         Similarly for "multibyte string" versus "string".
24457         Define these terms more carefully.
24459 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24461         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24462         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24463         Likewise.
24464         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24465         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24466         * sysdeps/sh/math_private.h: New file.
24467         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24468         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24469         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24470         long double function name.
24471         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24472         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24473         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24477         Remove __finitel, __isinfl, and __isnanl.
24478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24479         Likewise.
24480         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24482         Remove __finitel.
24483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24484         Likewise.
24485         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24487 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24489         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24490         installed libmvec_nonshared.a.
24492 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24494         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24495         (sysdep_routines): Likewise.
24496         (sysdep-rtld-routines): Likewise.
24497         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24498         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24499         * sysdeps/powerpc/Versions: Added new
24500         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24501         * sysdeps/powerpc/hwcapinfo.c: New file.
24502         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24503         and parse hwcap, hwcap2 and platform number information.
24504         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24505         to store HWCAP+HWCAP2 and platform number.
24506         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24507         for HWCAP+HWCAP2 and platform number in the TCB.
24508         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24509         the HWCAP, HWCAP2 and platform number in the TCB.
24510         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24511         (TLS_INIT_TP): Included calls to add the hwcap and
24512         at_platform values in the TCB in TP initialization.
24513         (TLS_DEFINE_INIT_TP): Likewise.
24514         (THREAD_GET_HWCAP): New macro.
24515         (THREAD_SET_HWCAP): Likewise.
24516         (THREAD_GET_AT_PLATFORM): Likewise.
24517         (THREAD_SET_AT_PLATFORM): Likewise.
24518         * sysdeps/powerpc/powerpc32/dl-machine.h:
24519         (dl_platform_init): New function that calls
24520         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24521         powerpc32.
24522         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24523         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24524         this functionality, static linking case.
24525         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24526         linking case.
24527         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24528         __parse_hwcap_and_convert_at_platform for the static linking case.
24529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24530         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24531         ABI list for GLIBC 2.23.
24532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24533         Likewise.
24534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24535         Likewise.
24537 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24539         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24540         * configure: Regenerate.
24541         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24542         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24544 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24546         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24547         * iconvdata/ibm933.c: Likewise.
24548         * iconvdata/ibm935.c: Likewise.
24549         * iconvdata/ibm937.c: Likewise.
24550         * iconvdata/ibm939.c: Likewise.
24552 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24554         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24555         pthread_join.
24556         * nptl/tst-cancel21.c (tf): Likewise.
24558 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24560         [BZ #19313]
24561         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24562         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24563         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24564         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24565         Likewise.
24566         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24567         Likewise.
24568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24569         Likewise.
24570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24573         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24574         unsigned long int with __CPU_MASK_TYPE.
24576 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24578         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24580 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24582         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24583         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24584         t512.x.
24585         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24587 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24589         [BZ #19214]
24590         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24591         argument to return extended model.  Update family and model
24592         with extended family and model when family == 0x0f.
24593         (init_cpu_features): Updated.
24595 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24597         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24598         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24600         * sysdeps/mach/hurd/mmap64.c: New file.
24602 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24604         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24605         rights for its main user thread in NEWTASK.
24607 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24609         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24610         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24612 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24614         [BZ #14259]
24615         * Makeconfig: Rename localedir to complocaledir.
24616         Rename inst_localedir to inst_complocaledir.
24617         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24618         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24619         * configure.ac: Use libc_cv_complocaledir.
24620         * configure: Regenerate.
24621         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24622         -DCOMPLOCALEDIR.
24623         * locale/findlocale.c: Use COMPLOCALEDIR.
24624         * locale/loadarchive.c: Likewise.
24625         * locale/programs/locale.c: Likewise.
24626         * locale/programs/localedef.c: Likewise.
24627         * locale/programs/locarchive.c: Likewise.
24628         * localedata/Makefile: Use inst_complocaledir.
24629         * sysdeps/gnu/configure: Regenerate.
24630         * sysdeps/hppa/configure: Regenerate.
24631         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24632         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24634         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24635         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24636         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24637         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24639 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24641         [BZ #19058]
24642         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24643         AS_NEEDED.
24644         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24645         workaround.
24646         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24647         libmvec-static-only-routines): Added new file.
24648         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24650 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24652         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24653         of interrupted RPC instead of restoring it.
24655         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24656         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24657         libc_hidden_def.
24658         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24659         into initialized data instead of common. Define rtld_hidden_data_def.
24660         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24661         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24662         libc_hidden_def.
24663         (if_freenameindex): Add libc_hidden_weak.
24664         (if_nameindex): Add libc_hidden_weak.
24665         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24666         __open64.
24667         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24668         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24669         * sysdeps/mach/nanosleep.c: Include <time.h>
24670         (__nanosleep): Rename to __libc_nanosleep.
24671         (__nanosleep): Add weak_alias.
24672         (nanosleep): Update alias.
24674 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24676         * stdlib/strtod_nan.c: New file.
24677         * stdlib/strtod_nan_double.h: Likewise.
24678         * stdlib/strtod_nan_float.h: Likewise.
24679         * stdlib/strtod_nan_main.c: Likewise.
24680         * stdlib/strtod_nan_narrow.h: Likewise.
24681         * stdlib/strtod_nan_wide.h: Likewise.
24682         * stdlib/strtof_nan.c: Likewise.
24683         * stdlib/strtold_nan.c: Likewise.
24684         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24685         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24686         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24687         * wcsmbs/wcstod_nan.c: Likewise.
24688         * wcsmbs/wcstof_nan.c: Likewise.
24689         * wcsmbs/wcstold_nan.c: Likewise.
24690         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24691         strtold_nan.
24692         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24693         wcstof_nan.
24694         * include/stdlib.h (__strtof_nan): Declare and use
24695         libc_hidden_proto.
24696         (__strtod_nan): Likewise.
24697         (__strtold_nan): Likewise.
24698         (__wcstof_nan): Likewise.
24699         (__wcstod_nan): Likewise.
24700         (__wcstold_nan): Likewise.
24701         * include/wchar.h (____wcstoull_l_internal): Declare.
24702         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24703         (____strtoull_l_internal): Remove declaration.
24704         (STRTOF_NAN): Define macro.
24705         (SET_MANTISSA): Remove macro.
24706         (STRTOULL): Likewise.
24707         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24708         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24709         (STRTOF_NAN): Define macro.
24710         (SET_MANTISSA): Remove macro.
24711         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24712         (SET_MANTISSA): Remove macro.
24713         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24714         macro.
24715         (SET_MANTISSA): Remove macro.
24716         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24717         macro.
24718         (SET_MANTISSA): Remove macro.
24719         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24720         (SET_MANTISSA): Remove macro.
24721         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24722         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24723         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24725         [BZ #19266]
24726         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24727         upper case and lower case letters inside NAN(), not using TOLOWER.
24728         * stdlib/tst-strtod-nan-locale-main.c: New file.
24729         * stdlib/tst-strtod-nan-locale.c: Likewise.
24730         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24731         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24732         Depend on $(gen-locales).
24733         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24734         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24735         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24736         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24737         Depend on $(gen-locales).
24738         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24740 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24742         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24744         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24746         __finitel, __isinfl, and __isnanl.
24747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24748         Likewise.
24749         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24751         __finitel.
24752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24753         Likewise.
24754         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24756 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24758         * malloc/memusage.c (me): Remove redundant getenv call.
24760 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24762         [BZ #19143]
24763         [BZ #19164]
24764         * nptl/check-cpuset.h: Remove.
24765         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24766         Remove CPU set size check.
24767         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24768         Likewise.
24769         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24770         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24771         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24772         (__pthread_setaffinity_new): Remove CPU set size check.
24773         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24774         (__kernel_cpumask_size): Remove.
24775         (__sched_setaffinity_new): Remove CPU set size check.
24776         * manual/threads.texi (Default Thread Attributes): Remove stale
24777         reference to check_cpuset_attr, determine_cpumask_size in comment.
24778         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24779         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24780         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24781         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24782         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24783         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24784         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24785         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24786         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24787         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24788         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24789         skeleton test file.
24790         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24791         tst-affinity-pid.
24793 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24795         * scripts/update-abilist.sh: New file.
24796         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24797         * Makerules (update-all-abi-%, update-all-abi)
24798         (subdir_update-all-abi): New targets.
24799         * elf/Makefile (update-all-abi): New target.
24801 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24803         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24804         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24805         (__libc_lock_define_initialized): Use it.
24806         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24807         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24808         * malloc/malloc.c (main_arena): Likewise.
24809         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24810         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24812 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24814         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24815         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24816         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24817         (PTRACE_O_MASK): Update value.
24818         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24819         New value in enum __ptrace_setoptions.
24820         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24821         (PTRACE_O_MASK): Update value.
24822         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24823         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24824         (PTRACE_O_MASK): Update value.
24825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24826         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24827         (PTRACE_O_MASK): Update value.
24828         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24829         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24830         (PTRACE_O_MASK): Update value.
24831         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24832         New value in enum __ptrace_setoptions.
24833         (PTRACE_O_MASK): Update value.
24834         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24835         New value in enum __ptrace_setoptions.
24836         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24837         (PTRACE_O_MASK): Update value.
24839         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24840         New macro.
24841         (PACKET_AUXDATA): Likewise.
24842         (PACKET_ORIGDEV): Likewise.
24843         (PACKET_VERSION): Likewise.
24844         (PACKET_HDRLEN): Likewise.
24845         (PACKET_RESERVE): Likewise.
24846         (PACKET_TX_RING): Likewise.
24847         (PACKET_LOSS): Likewise.
24848         (PACKET_VNET_HDR): Likewise.
24849         (PACKET_TX_TIMESTAMP): Likewise.
24850         (PACKET_TIMESTAMP): Likewise.
24851         (PACKET_FANOUT): Likewise.
24852         (PACKET_TX_HAS_OFF): Likewise.
24853         (PACKET_QDISC_BYPASS): Likewise.
24854         (PACKET_ROLLOVER_STATS): Likewise.
24855         (PACKET_FANOUT_DATA): Likewise.
24856         (PACKET_MR_UNICAST): Likewise.
24858         [BZ #19242]
24859         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24860         (TOUPPER): Likewise.
24861         * stdlib/tst-strtol-locale-main.c: New file.
24862         * stdlib/tst-strtol-locale.c: Likewise.
24863         * stdlib/Makefile (tests): Add tst-strtol-locale.
24864         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24865         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24866         Depend on $(gen-locales).
24867         * wcsmbs/tst-wcstol-locale.c: New file.
24868         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24869         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24870         tr_TR.ISO-8859-9.
24871         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24872         Depend on $(gen-locales).
24874 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24876         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24877         __glibc_likely instead of __builtin_expect.  After falling back to
24878         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24879         system interface to register the code pages as occupied.
24881 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24883         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24884         [!ARM_MATH_PRIVATE_H].
24885         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24886         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24887         [!HPPA_MATH_PRIVATE_H].
24888         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24889         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24890         to [!I386_MATH_PRIVATE_H].
24891         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24892         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24893         Change guard to [!M68K_MATH_PRIVATE_H].
24894         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24895         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24896         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24897         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24898         macro.
24899         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24900         [!MIPS_MATH_PRIVATE_H].
24901         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24902         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24903         [!NIO2_MATH_PRIVATE_H].
24904         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24905         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24906         [!TILE_MATH_PRIVATE_H].
24907         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24909         [BZ #15421]
24910         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24911         initialize with 0 and define as weak alias of __signgam.
24912         * include/math.h [!_ISOMAC] (__signgam): Declare.
24913         * math/Makefile (libm-calls): Add w_lgamma_compat.
24914         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24915         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24916         test-signgam-ullong-init.
24917         (tests-static): Add test-signgam-uchar-static,
24918         test-signgam-uchar-init-static, test-signgam-uint-static,
24919         test-signgam-uint-init-static, test-signgam-ullong-static and
24920         test-signgam-ullong-init-static.
24921         (CFLAGS-test-signgam-uchar.c): New variable.
24922         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24923         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24924         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24925         (CFLAGS-test-signgam-uint.c): Likewise.
24926         (CFLAGS-test-signgam-uint-init.c): Likewise.
24927         (CFLAGS-test-signgam-uint-static.c): Likewise.
24928         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24929         (CFLAGS-test-signgam-ullong.c): Likewise.
24930         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24931         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24932         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24933         * math/Versions (libm): Add GLIBC_2.23.
24934         * math/lgamma-compat.h: New file.
24935         * math/test-signgam-main.c: Likewise.
24936         * math/test-signgam-uchar-init-static.c: Likewise.
24937         * math/test-signgam-uchar-init.c: Likewise.
24938         * math/test-signgam-uchar-static.c: Likewise.
24939         * math/test-signgam-uchar.c: Likewise.
24940         * math/test-signgam-uint-init-static.c: Likewise.
24941         * math/test-signgam-uint-init.c: Likewise.
24942         * math/test-signgam-uint-static.c: Likewise.
24943         * math/test-signgam-uint.c: Likewise.
24944         * math/test-signgam-ullong-init-static.c: Likewise.
24945         * math/test-signgam-ullong-init.c: Likewise.
24946         * math/test-signgam-ullong-static.c: Likewise.
24947         * math/test-signgam-ullong.c: Likewise.
24948         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24949         wrapper of w_lgamma_main.c.
24950         * math/w_lgamma_compat.c: New file.
24951         * math/w_lgamma_compatf.c: Likewise.
24952         * math/w_lgamma_compatl.c: Likewise.
24953         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24954         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24955         defining compatibility symbols.
24956         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24957         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24958         wrapper of w_lgammaf_main.c.
24959         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24960         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24961         defining compatibility symbols.
24962         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24963         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24964         wrapper of w_lgammal_main.c.
24965         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24966         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24967         defining compatibility symbols.
24968         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24969         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24970         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24971         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24972         <lgamma-compat.h>.
24973         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24974         (__ieee754_gamma): Define as alias.
24975         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24976         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24977         <lgamma-compat.h>.
24978         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24979         (__ieee754_gammaf): Define as alias.
24980         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24981         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24982         <lgamma-compat.h>.
24983         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24984         (__ieee754_gammal): Define as alias.
24985         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24986         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24987         <math/w_lgamma_compat.c>.
24988         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24989         Define as alias of __lgamma_compat and use in defining lgammal.
24990         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24991         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24992         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24993         (USE_AS_COMPAT): New macro.
24994         (LGAMMA_OLD_VER): Undefine and redefine.
24995         (lgammal): Do not define here.
24996         (gammal): Only define here if [GAMMA_ALIAS].
24997         * conform/linknamespace.pl (@whitelist): Remove signgam.
24998         * sysdeps/nacl/libm.abilist: Update.
24999         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25000         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25001         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25002         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25003         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25004         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25005         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25006         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25007         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25008         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25009         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25010         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25012         Likewise.
25013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25014         Likewise.
25015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25016         Likewise.
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25018         Likewise.
25019         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25020         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25021         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25022         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25023         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25025         Likewise.
25026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25027         Likewise.
25028         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25029         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25030         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25032 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25034         [BZ #16364]
25035         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
25036         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
25038 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25040         * sysdeps/s390/fpu/bits/mathinline.h:
25041         Use __asm__ [__volatile__] instead of asm [volatile].
25042         * sysdeps/s390/abort-instr.h: Likewise.
25043         * sysdeps/s390/atomic-machine.h: Likewise.
25044         * sysdeps/s390/bits/string.h: Likewise.
25045         * sysdeps/s390/dl-tls.h: Likewise.
25046         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25047         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25048         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25049         * sysdeps/s390/fpu/fesetround.c: Likewise.
25050         * sysdeps/s390/fpu/fpu_control.h: Likewise.
25051         * sysdeps/s390/fpu/s_fma.c: Likewise.
25052         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
25053         * sysdeps/s390/memusage.h: Likewise.
25054         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
25055         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
25056         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
25057         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
25058         * sysdeps/s390/nptl/tls.h: Likewise.
25059         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
25060         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25061         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25062         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
25063         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25064         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25065         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
25066         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25067         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25068         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
25069         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
25070         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25071         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25072         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
25073         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25074         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25075         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
25076         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25077         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
25078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25079         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
25080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25081         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
25083 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25084             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25086         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25087         Add lwarx hint, and use macro for acquire instruction.
25088         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25089         Likewise.
25090         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
25091         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
25092         update to use new atomic macros.
25094 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25096         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25097         (__lll_trylock_elision): Fix setting of adapt_count.
25098         * sysdeps/unix/sysv/linux/powerpc/htm.h
25099         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
25100         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
25101         (_ABORT_SYSCALL): Renumber, and clarify definition.
25102         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25104 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25106         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25107         after system headers to prevent MIN/MAX redefinition.  Define
25108         HAVE_ALLOCA to preserve builtin alloca usage.
25110 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25113         static and don't set or restore rounding.
25114         (__cos)[IN_SINCOS]: Likewise.
25115         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25116         (__sincos): Set and restore rounding mode.  Remove check for infinite
25117         or NaN input.
25119         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25121         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25122         as used.
25124 2015-11-16  Florian Weimer  <fweimer@redhat.com>
25126         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25128 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25130         * config.make.in (have-glob-dat-reloc): New.
25131         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
25132         target supports GLOB_DAT relocaton. AC_SUBST.
25133         * configure: Regenerated.
25134         * elf/Makefile (tests): Add tst-prelink.
25135         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25136         (tst-prelink-ENV): New.
25137         ($(objpfx)tst-prelink-conflict.out): Likewise.
25138         ($(objpfx)tst-prelink-cmp.out): Likewise.
25139         * sysdeps/x86/tst-prelink.c: Moved to ...
25140         * elf/tst-prelink.c: Here.
25141         * sysdeps/x86/tst-prelink.exp: Moved to ...
25142         * elf/tst-prelink.exp: Here.
25143         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25144         (tst-prelink-ENV): Removed.
25145         ($(objpfx)tst-prelink-conflict.out): Likewise.
25146         ($(objpfx)tst-prelink-cmp.out): Likewise.
25147         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25149 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
25151         [BZ #14551]
25152         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25153         (__mpn_construct_long_double): If high part overflows to infinity,
25154         set errno and recompute overflowed result of the correct sign.
25155         * sysdeps/ieee754/ldbl-128ibm/Makefile
25156         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25157         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25158         $(libm).
25159         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25161 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
25163         [BZ #15479]
25164         [BZ #19238]
25165         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25166         floating-point state after first operation on input.  Restore full
25167         state rather than just rounding mode.
25168         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25169         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25170         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25172         [BZ #19235]
25173         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25174         add 0.5 to integer arguments.
25175         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25176         Likewise.
25177         (.LC2): New object.
25179 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
25181         * scripts/pylintrc (reports): Set to no.
25183 2015-11-10  Roland McGrath  <roland@hack.frob.com>
25185         * elf/dl-load.c (open_verify): Take new argument FD.
25186         Skip __open call if passed FD is not -1.
25187         (_dl_map_object, open_path): Update callers.
25188         * elf/dl-sysdep-open.h: New file.
25189         * elf/dl-load.c: Include it.
25190         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25191         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25192         * sysdeps/nacl/dl-sysdep-open.h: New file.
25193         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25194         from libc to rtld.
25196 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25198         [BZ #19228]
25199         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25200         and restore full floating-point state.
25201         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25202         Likewise.
25203         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25204         Likewise.
25205         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25206         Likewise.
25207         * math/test-nearbyint-except-2.c: New file.
25208         * math/Makefile (tests): Add test-nearbyint-except-2.
25210 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
25212         [BZ #19178]
25213         * sysdeps/x86/Makefile (tests): Add tst-prelink.
25214         (tst-prelink-ENV): New.
25215         ($(objpfx)tst-prelink-conflict.out): Likewise.
25216         ($(objpfx)tst-prelink-cmp.out): Likewise.
25217         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25218         * sysdeps/x86/tst-prelink.c: New file.
25219         * sysdeps/x86/tst-prelink.exp: Likewise.
25221 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25223         * math/auto-libm-test-in: Add another test of pow.
25224         * math/auto-libm-test-out: Regenerated.
25225         * math/libm-test.inc (pow_test_data): Add another test.
25227 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25229         [BZ #19219]
25230         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25231         weak_alias to nearbyintl.
25233 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25235         * sysdeps/aarch64/bits/string.h: New file.
25236         (_STRING_ARCH_unaligned): Define.
25238 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25240         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25241         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25242         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25243         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25246 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25248         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25249         for original name of the DSO.  Add it to the name list of the DSO
25250         if it is actually given.
25251         (_dl_map_object): Keep track of whether an audit module rewrote
25252         the file name.  If yes, pass the original name to
25253         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25254         debugging is enabled, log the change of the file name.
25255         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25256         _dl_map_object_from_fd.
25257         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25258         * elf/tst-audit11.c: New file
25259         * elf/tst-auditmod11.c: New file.
25260         * elf/tst-audit11mod1.c: New file.
25261         * elf/tst-audit11mod2.c: New file.
25262         * elf/tst-audit11mod2.map: New file.
25263         * elf/tst-audit12.c: New file
25264         * elf/tst-auditmod12.c: New file.
25265         * elf/tst-audit12mod1.c: New file.
25266         * elf/tst-audit12mod2.c: New file.
25267         * elf/tst-audit12mod2.map: New file.
25268         * elf/tst-audit12mod3.c: New file.
25270 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25272         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25273         Don't create weak aliases,
25274         because versioned symbols are created later.
25275         * sysdeps/s390/s390-32/setjmp.S
25276         (setjmp, _setjmp): Remove weak and rename to an unique name
25277         in SHARED case due to existing versioned symbols.
25278         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25280         (getcontext): Create weak alias only in non SHARED case.
25281         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25283 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25285         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25286         (__ASSUME_*_SYSCALL) Define new macros.
25287         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25288         Remove socketcall syscalls.
25289         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25290         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25291         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25292         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25293         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25294         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25296 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25298         [BZ #12926]
25299         Terminate process on invalid netlink response.
25300         * sysdeps/unix/sysv/linux/netlinkaccess.h
25301         (__netlink_assert_response): Declare.
25302         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25303         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25304         (sysdep_routines): Add netlink_assert_response.
25305         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25306         __netlink_assert_response.
25307         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25308         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25309         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25310         __netlink_assert_response.
25312 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25314         [BZ #19178]
25315         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25316         (RTYPE_CLASS_PLT): Likewise.
25317         (RTYPE_CLASS_COPY): Likewise.
25318         (RTYPE_CLASS_TLS): Likewise.
25319         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25320         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25321         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25322         DL_DEBUG_PRELINK.
25324 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25326         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25327         calls with argument -0.5.
25328         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25330         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25331         (libc_cv_z_nodlopen): Likewise.
25332         (libc_cv_z_initfirst): Likewise.
25333         * configure: Regenerated.
25335 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25337         Simplify abilist format to be line-based.
25338         * scripts/abilist.awk: Collect descriptors in the descs variable.
25339         (emit): Write descs variable and sort it
25340         externally, with sort.
25341         * sysdeps/**/*.abilist: Convert to new format.
25343 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25345         [BZ #11460]
25346         * io/Makefile (routines): Add fts64.
25347         (tests): Add tst-fts and tst-fts-lfs.
25348         (CFLAGS-fts64.c): New.
25349         * io/Versions (GLIBC_2.23): New.
25350         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25351         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25352         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25353         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25354         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25355         (FTSENT64): Likewise.
25356         (fts64_children): Likewise.
25357         (fts64_close): Likewise.
25358         (fts64_open): Likewise.
25359         (fts64_read): Likewise.
25360         (fts64_set): Likewise.
25361         * io/fts64.c: New file.
25362         * io/tst-fts.c: New test.
25363         * io/tst-fts-lfs.c: Likewise.
25364         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25365         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25366         fts64_set.
25367         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25368         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25369         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25370         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25371         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25372         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25373         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25374         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25375         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25376         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25377         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25378         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25379         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25381         Likewise.
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25383         Likewise.
25384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25386         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25387         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25388         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25389         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25390         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25393         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25394         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25395         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25396         * sysdeps/wordsize-64/fts.c: New file.
25397         * sysdeps/wordsize-64/fts64.c: Likewise.
25398         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25399         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25400         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25401         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25403 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25405         * math/libm-test.inc (NON_FINITE): New macro.
25406         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25407         * math/gen-libm-test.pl (show_exceptions): Add argument
25408         $non_finite.
25409         (parse_args): Update call to show_exceptions.
25410         * math/test-math-finite.h: New file.
25411         * math/test-math-no-finite.h: Likewise.
25412         * math/test-double-finite.c: Likewise.
25413         * math/test-float-finite.c: Likewise.
25414         * math/test-ldouble-finite.c: Likewise.
25415         * math/test-double.c: Include "test-math-no-finite.h".
25416         * math/test-float.c: Include "test-math-no-finite.h".
25417         * math/test-ldouble.c: Include "test-math-no-finite.h".
25418         * math/test-math-inline.h (TEST_FINITE): New macro.
25419         * math/test-math-vector.h (TEST_FINITE): Likewise.
25420         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25421         (libm-tests): Add test-float-finite and test-double-finite.
25422         ($(objpfx)test-float-finite.o): New dependency on
25423         $(objpfx)libm-test.stmp.
25424         ($(objpfx)test-double-finite.o): Likewise.
25425         ($(objpfx)test-ldouble-finite.o): Likewise.
25426         (libm-test-no-inline-cflags): New variable.
25427         (libm-test-finite-cflags): Likewise.
25428         (CFLAGS-test-float-finite.c): Likewise.
25429         (CFLAGS-test-double-finite.c): Likewise.
25430         (CFLAGS-test-ldouble-finite.c): Likewise.
25431         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25432         (CFLAGS-test-double.c): Likewise.
25433         (CFLAGS-test-ldouble.c): Likewise.
25435 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25437         * io/fcntl.c (__fcntl): Add ... to prototype.
25438         * misc/ioctl.c (__ioctl): Likewise.
25439         * misc/syscall.c (syscall): Likewise.
25441 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25443         * scripts/list-fixed-bugs.py: New file.
25445         [BZ #19213]
25446         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25447         returned for argument 1.
25448         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25449         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25450         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25451         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25452         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25453         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25455         [BZ #19211]
25456         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25457         __USE_XOPEN], not if [!__USE_ISOC99].
25458         (lgammaf): Likewise.
25459         (lgammal): Likewise.
25460         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25461         (gammaf): Likewise.
25462         (gammal): Likewise.
25463         * math/test-signgam-finite-c11.c: New file.
25464         * math/test-signgam-finite-c99.c: Likewise.
25465         * math/test-signgam-finite.c: Likewise.
25466         * math/Makefile (tests): Add test-signgam-finite,
25467         test-signgam-finite-c99 and test-signgam-finite-c11.
25468         (CFLAGS-test-signgam-finite.c): New variable.
25469         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25470         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25472         [BZ #19212]
25473         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25474         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25475         500].
25476         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25477         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25478         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25479         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25480         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25481         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25482         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25483         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25484         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25485         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25487         [BZ #19209]
25488         * math/bits/math-finite.h (ldexp): Remove declaration.
25489         (ldexpf): Likewise.
25490         (ldexpl): Likewise.
25492         [BZ #19205]
25493         * math/bits/math-finite.h (acosf): Condition declaration on
25494         [__USE_ISOC99].
25495         (acosl): Likewise.
25496         (acoshf): Likewise.
25497         (acoshl): Likewise.
25498         (asinf): Likewise.
25499         (asinl): Likewise.
25500         (atan2f): Likewise.
25501         (atan2l): Likewise.
25502         (atanhf): Likewise.
25503         (atanhl): Likewise.
25504         (coshf): Likewise.
25505         (coshl): Likewise.
25506         (expf): Likewise.
25507         (expl): Likewise.
25508         (fmodf): Likewise.
25509         (fmodl): Likewise.
25510         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25511         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25512         (j0l): Likewise.
25513         (y0f): Likewise.
25514         (y0l): Likewise.
25515         (j1f): Likewise.
25516         (j1l): Likewise.
25517         (y1f): Likewise.
25518         (y1l): Likewise.
25519         (jnf): Likewise.
25520         (jnl): Likewise.
25521         (ynf): Likewise.
25522         (ynl): Likewise.
25523         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25524         (lgammal_r): Likewise.
25525         (__lgamma_r_finite): New declaration.
25526         (__lgammaf_r_finite): Likewise.
25527         (__lgammal_r_finite): Likewise.
25528         (lgamma): Use __lgamma_r_finite.
25529         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25530         __lgammaf_r_finite.
25531         (lgammal): Condition definition on [__USE_ISOC99].  Use
25532         __lgammal_r_finite.
25533         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25534         __lgamma_r_finite.
25535         (gammaf): Condition definition on [__USE_ISOC99].  Use
25536         __lgammaf_r_finite.
25537         (gammal): Condition definition on [__USE_ISOC99].  Use
25538         __lgammal_r_finite.
25539         (logf): Condition declaration on [__USE_ISOC99].
25540         (logl): Likewise.
25541         (log10f): Likewise.
25542         (log10l): Likewise.
25543         (ldexpf): Likewise.
25544         (ldexpl): Likewise.
25545         (powf): Likewise.
25546         (powl): Likewise.
25547         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25548         __USE_ISOC99].
25549         (remainderf): Condition declaration on [__USE_ISOC99].
25550         (remainderl): Likewise.
25551         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25552         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25553         (scalbl): Likewise.
25554         (sinhf): Condition declaration on [__USE_ISOC99].
25555         (sinhl): Likewise.
25556         (sqrtf): Likewise.
25557         (sqrtl): Likewise.
25559 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25561         * sysdeps/arm/atomic-machine.h
25562         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25563         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25564         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25565         Remove conditional code.
25566         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25567         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25568         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25569         Change conditional to [__ASSEMBLER__].
25570         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25571         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25572         [!__ASSEMBLER__].
25573         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25574         code.
25575         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25576         conditional macro definitions.
25577         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25578         (__arch_compare_and_exchange_val_16_acq): Likewise.
25579         (__arch_compare_and_exchange_val_32_acq): Likewise.
25580         (atomic_exchange_and_add): Likewise.
25581         (atomic_add): Likewise.
25582         (atomic_add_negative): Likewise.
25583         (atomic_add_zero): Likewise.
25584         (atomic_bit_set): Likewise.
25585         (atomic_bit_test_set): Likewise.
25586         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25587         code unconditional.
25588         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25590         * math/test-math-errno.h: New file.
25591         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25592         empty.
25593         (TEST_ERRNO): New macro.
25594         (TEST_EXCEPTIONS): Likewise.
25595         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25596         (TEST_EXCEPTIONS): Likewise.
25597         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25598         * math/test-double.c: Include "test-math-errno.h".
25599         * math/test-float.c: Likewise.
25600         * math/test-ldouble.c: Likewise.
25601         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25602         code unconditional.
25603         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25604         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25605         unconditional.
25606         (test_errno): Only run code if TEST_ERRNO.
25607         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25609 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25611         * nptl/tst-once5.cc: Remove attribution.
25613 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25615         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25616         sqrt, tan, tanh, y0, y1 and yn.
25617         * math/auto-libm-test-out: Regenerated.
25618         * math/libm-test.inc (scalb_test_data): Add more tests.
25619         (scalbn_test_data): Likewise.
25620         (scalbln_test_data): Likewise.
25621         (signbit_test_data): Likewise.
25622         (sin_test_data): Likewise.
25623         (sincos_test_data): Likewise.
25624         (sinh_test_data): Likewise.
25625         (sqrt_test_data): Likewise.
25626         (tan_test_data): Likewise.
25627         (tanh_test_data): Likewise.
25628         (tgamma_test_data): Likewise.
25629         (y0_test_data): Likewise.
25630         (y1_test_data): Likewise.
25631         (yn_test_data): Likewise.
25632         (significand_test_data): Likewise.
25633         * sysdeps/i386/fpu/libm-test-ulps: Update.
25635 2015-11-03  David Kastrup  <dak@gnu.org>
25637         [BZ #18604]
25638         * assert/assert.h (assert): Don't macro-expand failed assertion
25639         expression in error message.
25640         * malloc/malloc.c (assert): Likewise.
25642 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25644         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25645         test.
25646         * configure: Regenerated.
25648 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25650         * math/libm-test.inc (modf_test_data): Add more tests.
25651         (nearbyint_test_data): Likewise.
25652         (nextafter_test_data): Likewise.
25653         (nexttoward_test_data): Likewise.
25654         (pow_test_data): Likewise.
25655         (remainder_test_data): Likewise.
25656         (remquo_test_data): Likewise.
25657         (rint_test_data): Likewise.
25659         [BZ #19201]
25660         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25661         Check for zero remainder in case of large exponents and ensure
25662         correct sign of result in that case.
25663         * math/libm-test.inc (remainder_test_data): Add more tests.
25665         [BZ #6799]
25666         * math/s_nextafter.c: Include <errno.h>.
25667         (__nextafter): Set errno on overflow and underflow.
25668         * math/s_nexttowardf.c: Include <errno.h>.
25669         (__nexttowardf): Set errno on overflow and underflow.
25670         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25671         (__nextafterl): Set errno on overflow and underflow.
25672         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25673         (__nexttoward): Set errno on overflow and underflow.
25674         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25675         (__nexttowardf): Set errno on overflow and underflow.
25676         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25677         (__nextafterf): Set errno on overflow and underflow.
25678         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25679         (__nextafterl): Set errno on overflow and underflow.
25680         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25681         (__nexttoward): Set errno on overflow and underflow.
25682         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25683         (__nexttowardf): Set errno on overflow and underflow.
25684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25685         (__nextafterl): Set errno on overflow and underflow.
25686         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25687         (__nexttoward): Set errno on overflow and underflow.
25688         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25689         (__nexttowardf): Set errno on overflow and underflow.
25690         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25691         (__nexttoward): Set errno on overflow and underflow.
25692         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25693         (__nexttowardf): Set errno on overflow and underflow.
25694         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25695         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25696         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25697         (__nextafterl): Set errno on overflow and underflow.
25698         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25699         setting to be missing on overflow.  Add more tests.
25700         (nexttoward_test_data): Likewise.
25702         * configure.ac (libc_cv_initfini_array): Remove configure test.
25703         * configure: Regenerated.
25705 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25707         [BZ #19189]
25708         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25709         non-finite argument handle arguments with negative sign.
25711         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25712         result from infinite argument.
25713         (j1_test_data): Likewise.
25714         (jn_test_data): Likewise.
25715         (y0_test_data): Likewise.
25716         (y1_test_data): Likewise.
25717         (yn_test_data): Likewise.
25719         [BZ #16171]
25720         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25721         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25722         * math/w_remainderf.c (dremf): Define as weak alias of
25723         __remainderf.
25724         * math/w_remainderl.c (dreml): Define as weak alias of
25725         __remainderl.
25726         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25727         __remainder.
25728         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25729         __remainderf.
25730         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25731         __remainderl.
25732         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25733         weak alias of remainderl.
25734         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25735         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25736         alias of __remainder.
25737         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25738         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25739         strong alias of __remainderl.
25740         (dreml): Use long_double_symbol.
25741         * math/Makefile (libm-calls): Remove w_drem.
25742         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25743         (CFLAGS-nldbl-drem.c): Remove variable.
25744         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25745         * math/w_drem.c: Remove file.
25746         * math/w_dremf.c: Likewise.
25747         * math/w_dreml.c: Likewise.
25748         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25749         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25750         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25752         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25753         * sysdeps/i386/configure: Regenerated.
25754         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25755         * sysdeps/x86_64/configure: Regenerated.
25757         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25758         test.
25759         (libc_cv_visibility_attribute): Likewise.
25760         (libc_cv_protected_data): Test unconditionally.
25761         (libc_cv_broken_visibility_attribute): Remove configure test.
25762         (libc_cv_have_sdata_section): Test unconditionally.
25763         * configure: Regenerated.
25765         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25766         * include/scratch_buffer.h: Include <stddef.h> instead of
25767         <libc-internal.h>.
25768         (struct scratch_buffer): Use max_align_t instead of
25769         libc_max_align_t.
25771 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25773         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25774         instead of extend_alloca.  Change control flow to avoid a goto.
25775         Remove assert which is trivially always true.
25777 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25779         [BZ #16068]
25780         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25781         (FE_ALL_EXCEPT_X86): New macro.
25782         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25783         FE_ALL_EXCEPT.  Ensure precision control is included in
25784         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25785         handle "denormal operand exception" and clear FZ and DAZ bits.
25786         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25787         (FE_ALL_EXCEPT_X86): New macro.
25788         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25789         FE_ALL_EXCEPT.  Ensure precision control is included in
25790         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25791         handle "denormal operand exception" and clear FZ and DAZ bits.
25792         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25793         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25794         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25795         test-fenv-x87 and test-fenv-sse-2.
25796         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25798         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25799         * math/test-double.h (BUILD_COMPLEX): New macro.
25800         * math/test-float.h (BUILD_COMPLEX): Likewise.
25801         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25803         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25804         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25805         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25807         instead of DBL_DENORM_MIN in comment.
25808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25809         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25810         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25811         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25813         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25815 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25817         [BZ #19048]
25818         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25819         attached_threads member.
25820         (main_arena): Initialize attached_threads.
25821         * malloc/arena.c (list_lock): Update comment.
25822         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25823         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25824         (deattach_arena): New function.
25825         (_int_new_arena): Initialize arena reference count and deattach
25826         replaced arena.
25827         (get_free_list, reused_arena): Update reference count and deattach
25828         replaced arena.
25829         (arena_thread_freeres): Update arena reference count and only put
25830         unreferenced arenas on the free list.
25832 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25834         [BZ #19181]
25835         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25836         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25837         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25838         * math/test-fenv-clear-main.c: New file.
25839         * math/test-fenv-clear.c: Likewise.
25840         * math/Makefile (tests): Add test-fenv-clear.
25841         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25842         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25843         test-fenv-clear-sse.
25844         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25846         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25847         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25848         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25850 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25852         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25853         static libc.
25855 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25857         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25858         test.
25859         * sysdeps/i386/configure: Regenerated.
25860         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25861         test.
25862         * sysdeps/x86_64/configure: Regenerated.
25863         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25865         memset-avx2 unconditionally instead of conditionally on
25866         [$(config-cflags-avx2) = yes].
25867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25868         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25869         unconditional.
25870         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25871         * sysdeps/x86_64/multiarch/memset_chk.S
25872         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25873         to [IS_IN (libc) && SHARED].
25875 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25877         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25878         configure test.
25879         * sysdeps/arm/configure: Regenerated.
25880         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25881         Define variable if not already defined.
25883         [BZ #17404]
25884         * sysdeps/mips/atomic-machine.h
25885         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25886         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25887         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25889         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25890         unconditional.
25891         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25892         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25893         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25894         unconditional.
25895         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25896         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25897         unconditional.
25898         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25899         * stdlib/setenv.c
25900         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25901         code unconditional.
25902         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25903         Remove conditional code.
25904         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25905         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25906         unconditional.
25907         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25908         code.
25909         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25910         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25911         unconditional.
25912         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25913         code.
25914         * sysdeps/ieee754/ldbl-128/k_tanl.c
25915         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25916         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25918         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25919         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25920         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25921         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25922         unconditional.
25923         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25924         code.
25925         * sysdeps/ieee754/ldbl-96/k_tanl.c
25926         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25927         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25929         * nptl/tst-initializers1-c11.c: New file.
25930         * nptl/tst-initializers1-gnu11.c: Likewise.
25931         * nptl/Makefile (tests): Add these new tests.
25932         (CFLAGS-tst-initializers1-c11.c): New variable.
25933         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25935         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25936         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25937         instead of -std=gnu99.
25938         * configure.ac (systemtap): Test with -std=gnu11 instead of
25939         -std=gnu99.
25940         * configure: Regenerated.
25941         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25942         in compilation command in comment.
25944         * sysdeps/nptl/configure.ac: Remove file.
25945         * sysdeps/nptl/configure: Remove generated file.
25946         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25947         * configure: Regenerated.
25948         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25949         * config.make.in (have-forced-unwind): Remove variable.
25950         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25951         unconditional.
25952         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25953         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25954         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25955         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25956         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25957         unconditional.
25959 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25961         [BZ #19174]
25962         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25963         .skip_lock_out_of_tbegin_retries.
25964         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25965         (__lll_lock_elision): Likewise, and respect a value of
25966         try_tbegin <= 0.
25968 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25970         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25971         statement.
25973 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25975         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25976         variable.
25977         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25978         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25980         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25981         of -std=c1x -D_ISOC11_SOURCE.
25983         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25984         * configure: Regenerated.
25985         * manual/install.texi (Tools for Compilation): Document
25986         requirement for GCC 4.7 or later.
25987         * INSTALL: Regenerated.
25989 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25991         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25992         on CNT to a conditional jump to 'puntdata'.
25994 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25996         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25997         (libc_cv_gcc_tls_model_attr): Likewise.
25998         * configure: Regenerated.
26000         * configure.ac (libc_cv_need_minus_P): Remove configure test.
26001         * configure: Regenerated.
26002         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
26004 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
26006         * configure.ac (old_glibc_headers): Remove configure test.
26007         * configure: Regenerated.
26008         * config.make.in (old-glibc-headers): Remove variable.
26009         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
26010         (install): Remove dependency on remove-old-headers.
26011         (headers2_0): Remove variable.
26012         (remove-old-headers): Remove rule.
26014         * configure.ac (libc_cv_dot_text): Remove configure test.
26015         (libc_cv_asm_set_directive): Use .text instead of
26016         ${libc_cv_dot_text} in configure test.
26017         * configure: Regenerated.
26019 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26021         [BZ #19168]
26022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26024 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26026         * configure.ac (CXX): Clear the variable if the C++ toolchain does
26027         not support static linking.
26028         * configure: Regenerate.
26030 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
26032         * math/libm-test.inc (check_float_internal): Do not special-case
26033         errors up to 0.5 ulp.
26035         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26036         log2.
26037         * math/auto-libm-test-out: Regenerated.
26038         * math/libm-test.inc (MAX_EXP): New macro.
26039         (ilogb_test_data): Add more tests.
26040         (isfinite_test_data): Likewise.
26041         (isgreater_test_data): Likewise.
26042         (isgreaterequal_test_data): Likewise.
26043         (isinf_test_data): Likewise.
26044         (isless_test_data): Likewise.
26045         (islessequal_test_data): Likewise.
26046         (islessgreater_test_data): Likewise.
26047         (isnan_test_data): Likewise.
26048         (isnormal_test_data): Likewise.
26049         (issignaling_test_data): Likewise.
26050         (isunordered_test_data): Likewise.
26051         (j0_test_data): Likewise.
26052         (j1_test_data): Likewise.
26053         (jn_test_data): Likewise.
26054         (lgamma_test_data): Likewise.
26055         (log_test_data): Likewise.
26056         (log10_test_data): Likewise.
26057         (log1p_test_data): Likewise.
26058         (log2_test_data): Likewise.
26059         (logb_test_data): Likewise.
26060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26062         [BZ #18611]
26063         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
26064         avoid excess range and precision on underflow.
26065         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26066         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
26067         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26068         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
26069         underflow.
26070         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26071         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26072         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26073         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26074         * math/auto-libm-test-in: Do not allow missing errno setting for
26075         tests of j1 and jn.
26076         * math/auto-libm-test-out: Regenerated.
26078 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
26080         [BZ #15491]
26081         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
26082         floating-point environment instead of clearing all exceptions.
26083         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
26084         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
26085         merging in "invalid" exceptions from frndint.
26086         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
26087         * math/test-nearbyint-except.c: New file.
26088         * math/Makefile (tests): Add test-nearbyint-except.
26090 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
26092         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
26094         * sysdeps/tile/libm-test-ulps: Regenerated.
26096 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
26099         (__NR_sync_file_range2): Assume it is always defined.
26100         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26101         (__NR_sync_file_range): Assume it is always defined.
26103 2015-10-22  Andreas Schwab  <schwab@suse.de>
26105         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26106         INTERNAL_SYSCALL_ERRNO.
26107         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26108         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26109         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26110         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26111         Likewise.
26112         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26114 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26116         * io/tst-fcntl.c (fd): New static variable.
26117         (do_prepare): Open temporary file here....
26118         (do_test): ...not here.
26120         * io/ftwtest-sh: Also trap on exit to remove temporary files.
26122 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26124         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26125         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26126         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26127         Moved before "#ifdef __ASSEMBLER__".
26129 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26131         [BZ #19156]
26132         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26133         arguments very close to 0.
26135 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
26137         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26138         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26140 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26142         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26143         New.  Defined for GCC 5 and above when not compiling for
26144         profiling.
26145         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26147         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26148         Renamed to ...
26149         (CFLAGS-epoll_pwait.o): This.
26150         (CFLAGS-mmap.c): Renamed to ...
26151         (CFLAGS-mmap.o): This.
26152         (CFLAGS-mmap64.c): Renamed to ...
26153         (CFLAGS-mmap64.o): This.
26154         (CFLAGS-epoll_pwait.os): New.
26155         (CFLAGS-mmap.os): Likewise.
26156         (CFLAGS-mmap64.os): Likewise.
26157         (CFLAGS-semtimedop.os): Likewise.
26158         (CFLAGS-semtimedop.c): Renamed to ...
26159         (CFLAGS-semtimedop.o): This.
26161 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26163         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26164         warning message.
26166 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26168         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26169         * Makefile ($(objpfx)c++-types-check.out): Filter out
26170         $(+gccwarn-c) instead of -Wstrict-prototypes.
26172         * io/fts.c (fts_open): Convert to prototype-style function
26173         definition.
26174         * malloc/mcheck.c (mcheck): Likewise.
26175         (mcheck_pedantic): Likewise.
26176         * posix/regexec.c (re_search_2_stub): Likewise.  Use
26177         internal_function.
26178         (re_search_internal): Likewise.
26179         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26180         prototype-style function definition.
26181         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26182         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26183         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26184         (xdr_utmpptr): Likewise.
26185         (xdr_utmparr): Likewise.
26186         (xdr_utmpidle): Likewise.
26187         (xdr_utmpidleptr): Likewise.
26188         (xdr_utmpidlearr): Likewise.
26190         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26191         log, log10 and log2.
26192         * math/auto-libm-test-out: Regenerated.
26193         * math/libm-test.inc (fmod_test_data): Add more tests.
26194         (fpclassify_test_data): Likewise.
26195         (frexp_test_data): Likewise.
26196         (hypot_test_data): Likewise.
26197         (ilogb_test_data): Likewise.
26199 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
26201         * debug/fortify_fail.c (__fortify_fail): Convert to
26202         prototype-style function definition.  Use internal_function.
26203         * libio/genops.c (save_for_backup): Convert to prototype-style
26204         function definition.
26205         * libio/wgenops.c (save_for_wbackup): Likewise.
26206         * login/grantpt.c (grantpt): Likewise.
26207         * login/ptsname.c (ptsname): Likewise.
26208         (__ptsname_r): Likewise.
26209         * login/unlockpt.c (unlockpt): Likewise.
26210         * mach/msgserver.c (__mach_msg_server): Likewise.
26211         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26212         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26213         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26214         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26215         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26216         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26217         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26218         Likewise.
26219         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
26220         internal_function.
26221         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26222         prototype-style function definition.
26223         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26224         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26225         (__pthread_create_2_0): Likewise.
26226         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26227         * nptl/register-atfork.c (__register_atfork): Likewise.
26228         * posix/glob.c (glob): Likewise.
26229         * posix/regcomp.c (re_comp): Likewise.
26230         * posix/regexec.c (re_exec): Likewise.
26231         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26232         [!__STDC__]: Remove conditional code.
26233         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26234         [!__STDC__]: Remove conditional code.
26235         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26236         [!__STDC__]: Remove conditional code.
26237         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26238         [!__STDC__]: Remove conditional code.
26239         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26240         [!__STDC__]: Remove conditional code.
26241         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26242         [!__STDC__]: Remove conditional code.
26243         * stdlib/mul.c [__STDC__]: Make code unconditional.
26244         [!__STDC__]: Remove conditional code.
26245         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26246         [!__STDC__]: Remove conditional code.
26247         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26248         [!__STDC__]: Remove conditional code.
26249         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26250         function definition.
26251         (STRTOF): Likewise.
26252         * stdlib/strtod_l.c (__STRTOF): Likewise.
26253         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26254         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26255         (__strtol_l): Likewise.
26256         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26257         [!__STDC__]: Remove conditional code.
26258         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26259         definition.
26260         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26261         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26262         type.
26263         (__strcasecmp): Convert to prototype-style function definition.
26264         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26265         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26266         type.
26267         (__strncasecmp): Convert to prototype-style function definition.
26268         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26269         * sunrpc/xdr.c (xdr_union): Likewise.
26270         * sunrpc/xdr_array.c (xdr_array): Likewise.
26271         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26272         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26273         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26274         Likewise.
26275         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26276         Likewise.
26277         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26278         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26279         Likewise.
26280         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26281         (LOCALE_PARAM_PROTO): Likewise.
26282         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26283         argument type.
26284         (ut_argument_spec): Remove macro.
26285         (ut_argument_spec_iso): Rename to ut_argument_spec.
26286         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26287         prototype-style function definition.
26288         (memcpy_uppcase): Likewise.
26289         (__strftime_internal): Likewise.
26290         (my_strftime): Likewise.
26291         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26292         (LOCALE_PARAM_DECL): Likewise.
26293         [_LIBC] (LOCALE_PARAM): Include argument type.
26294         (__strptime_internal): Convert to prototype-style function
26295         definition.
26296         (strptime): Likewise.
26297         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26298         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26299         type.
26300         (__wcscasecmp): Convert to prototype-style function definition.
26301         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26302         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26303         type.
26304         (__wcsncasecmp): Convert to prototype-style function definition.
26306         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26307         function definition.
26308         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26309         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26310         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26311         * elf/dl-minimal.c (_itoa): Likewise.
26312         * hurd/hurdmalloc.c (malloc): Likewise.
26313         (free): Likewise.
26314         (realloc): Likewise.
26315         * inet/inet6_option.c (inet6_option_space): Likewise.
26316         (inet6_option_init): Likewise.
26317         (inet6_option_append): Likewise.
26318         (inet6_option_alloc): Likewise.
26319         (inet6_option_next): Likewise.
26320         (inet6_option_find): Likewise.
26321         * io/ftw.c (FTW_NAME): Likewise.
26322         (NFTW_NAME): Likewise.
26323         (NFTW_NEW_NAME): Likewise.
26324         (NFTW_OLD_NAME): Likewise.
26325         * libio/iofwide.c (_IO_fwide): Likewise.
26326         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26327         (_IO_str_init_static): Likewise.
26328         (_IO_str_init_readonly): Likewise.
26329         (_IO_str_overflow): Likewise.
26330         (_IO_str_underflow): Likewise.
26331         (_IO_str_count): Likewise.
26332         (_IO_str_seekoff): Likewise.
26333         (_IO_str_pbackfail): Likewise.
26334         (_IO_str_finish): Likewise.
26335         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26336         (_IO_wstr_overflow): Likewise.
26337         (_IO_wstr_underflow): Likewise.
26338         (_IO_wstr_count): Likewise.
26339         (_IO_wstr_seekoff): Likewise.
26340         (_IO_wstr_pbackfail): Likewise.
26341         (_IO_wstr_finish): Likewise.
26342         * locale/programs/localedef.c (normalize_codeset): Likewise.
26343         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26344         (add_locales_to_archive): Likewise.
26345         (delete_locales_from_archive): Likewise.
26346         * malloc/malloc.c (__libc_mallinfo): Likewise.
26347         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26348         * misc/tsearch.c (__tfind): Likewise.
26349         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26350         * nptl/pthread_attr_getdetachstate.c
26351         (__pthread_attr_getdetachstate): Likewise.
26352         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26353         Likewise.
26354         * nptl/pthread_attr_getinheritsched.c
26355         (__pthread_attr_getinheritsched): Likewise.
26356         * nptl/pthread_attr_getschedparam.c
26357         (__pthread_attr_getschedparam): Likewise.
26358         * nptl/pthread_attr_getschedpolicy.c
26359         (__pthread_attr_getschedpolicy): Likewise.
26360         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26361         Likewise.
26362         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26363         Likewise.
26364         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26365         Likewise.
26366         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26367         Likewise.
26368         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26369         (__pthread_attr_init_2_0): Likewise.
26370         * nptl/pthread_attr_setdetachstate.c
26371         (__pthread_attr_setdetachstate): Likewise.
26372         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26373         Likewise.
26374         * nptl/pthread_attr_setinheritsched.c
26375         (__pthread_attr_setinheritsched): Likewise.
26376         * nptl/pthread_attr_setschedparam.c
26377         (__pthread_attr_setschedparam): Likewise.
26378         * nptl/pthread_attr_setschedpolicy.c
26379         (__pthread_attr_setschedpolicy): Likewise.
26380         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26381         Likewise.
26382         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26383         Likewise.
26384         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26385         Likewise.
26386         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26387         Likewise.
26388         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26389         Likewise.
26390         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26391         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26392         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26393         use internal_function.
26394         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26395         prototype-style function definition.
26396         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26397         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26398         internal_function.
26399         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26400         Convert to prototype-style function definition.
26401         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26402         Likewise.
26403         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26404         Likewise.
26405         (__pthread_mutex_unlock): Likewise.
26406         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26407         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26408         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26409         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26410         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26411         * nss/makedb.c (process_input): Likewise.
26412         * posix/fnmatch.c (__strchrnul): Likewise.
26413         (__wcschrnul): Likewise.
26414         (fnmatch): Likewise.
26415         * posix/fnmatch_loop.c (FCT): Likewise.
26416         * posix/glob.c (globfree): Likewise.
26417         (__glob_pattern_type): Likewise.
26418         (__glob_pattern_p): Likewise.
26419         * posix/regcomp.c (re_compile_pattern): Likewise.
26420         (re_set_syntax): Likewise.
26421         (re_compile_fastmap): Likewise.
26422         (regcomp): Likewise.
26423         (regerror): Likewise.
26424         (regfree): Likewise.
26425         * posix/regexec.c (regexec): Likewise.
26426         (re_match): Likewise.
26427         (re_search): Likewise.
26428         (re_match_2): Likewise.
26429         (re_search_2): Likewise.
26430         (re_search_stub): Likewise.  Use internal_function
26431         (re_copy_regs): Likewise.
26432         (re_set_registers): Convert to prototype-style function
26433         definition.
26434         (prune_impossible_nodes): Likewise.  Use internal_function.
26435         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26436         prototype-style function definition.
26437         (inet_net_pton_ipv4): Likewise.
26438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26439         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26440         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26441         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26442         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26443         Make variadic.
26444         * time/strptime_l.c (localtime_r): Convert to prototype-style
26445         function definition.
26446         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26447         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26448         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26449         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26451         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26452         definition.
26453         (_ufc_doit_r): Likewise.
26454         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26455         (_ufc_output_conversion_r): Likewise.
26456         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26457         * inet/rcmd.c (rcmd_af): Likewise.
26458         (rcmd): Likewise.
26459         (ruserok_af): Likewise.
26460         (ruserok): Likewise.
26461         (ruserok2_sa): Likewise.
26462         (ruserok_sa): Likewise.
26463         (iruserok_af): Likewise.
26464         (iruserok): Likewise.
26465         (__ivaliduser): Likewise.
26466         (__validuser2_sa): Likewise.
26467         * inet/rexec.c (rexec_af): Likewise.
26468         (rexec): Likewise.
26469         * inet/ruserpass.c (ruserpass): Likewise.
26470         * locale/programs/xmalloc.c (xcalloc): Likewise.
26471         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26472         * math/w_drem.c (__drem): Likewise.
26473         * math/w_dremf.c (__dremf): Likewise.
26474         * math/w_dreml.c (__dreml): Likewise.
26475         * misc/daemon.c (daemon): Likewise.
26476         * resolv/res_debug.c (p_fqnname): Likewise.
26477         * stdlib/div.c (div): Likewise.
26478         * string/memcmp.c (memcmp_bytes): Likewise.
26479         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26480         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26482         * crypt/cert.c (main): Convert to prototype-style function
26483         definition.
26484         * io/pipe.c (__pipe): Likewise.
26485         * io/pipe2.c (__pipe2): Likewise.
26486         * misc/futimesat.c (futimesat): Likewise.
26487         * misc/utimes.c (__utimes): Likewise.
26488         * posix/execve.c (__execve): Likewise.
26489         * posix/execvp.c (execvp): Likewise.
26490         * posix/execvpe.c (__execvpe): Likewise.
26491         * posix/fexecve.c (fexecve): Likewise.
26492         * socket/socketpair.c (socketpair): Likewise.
26493         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26494         * stdlib/erand48.c (erand48): Likewise.
26495         * stdlib/erand48_r.c (__erand48_r): Likewise.
26496         * stdlib/jrand48.c (jrand48): Likewise.
26497         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26498         * stdlib/lcong48.c (lcong48): Likewise.
26499         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26500         * stdlib/nrand48.c (nrand48): Likewise.
26501         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26502         * stdlib/seed48.c (seed48): Likewise.
26503         * stdlib/seed48_r.c (__seed48_r): Likewise.
26504         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26505         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26506         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26508 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26510         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26511         * configure: Regenerated.
26512         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26513         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26514         unconditional.
26515         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26516         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26517         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26518         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26519         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26520         unconditional.
26521         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26523         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26524         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26526         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26527         function definition.
26528         * crypt/crypt_util.c (__encrypt_r): Likewise.
26529         * libio/genops.c (_IO_no_init): Likewise.
26530         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26531         (_IO_old_fopencookie): Likewise.
26532         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26533         * libio/iogetline.c (_IO_getline): Likewise.
26534         (_IO_getline_info): Likewise.
26535         * libio/iogetwline.c (_IO_getwline): Likewise.
26536         (_IO_getwline_info): Likewise.
26537         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26538         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26539         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26540         (find_entry): Likewise.
26541         (iterate_table): Likewise.
26542         (lookup): Likewise.
26543         * login/forkpty.c (forkpty): Likewise.
26544         * misc/hsearch_r.c (__hsearch_r): Likewise.
26545         * misc/select.c (__select): Likewise.
26546         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26547         Likewise.
26548         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26549         Likewise.
26550         * nptl/old_pthread_cond_timedwait.c
26551         (__pthread_cond_timedwait_2_0): Likewise.
26552         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26553         * nptl/pthread_barrierattr_getpshared.c
26554         (pthread_barrierattr_getpshared): Likewise.
26555         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26556         Likewise.
26557         * nptl/pthread_mutex_setprioceiling.c
26558         (pthread_mutex_setprioceiling): Likewise.
26559         * nptl/pthread_mutexattr_getprioceiling.c
26560         (pthread_mutexattr_getprioceiling): Likewise.
26561         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26562         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26563         Likewise.
26564         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26565         Likewise.
26566         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26567         Likewise.
26568         * socket/recvfrom.c (__recvfrom): Likewise.
26569         * socket/sendto.c (__sendto): Likewise.
26570         * socket/setsockopt.c (__setsockopt): Likewise.
26571         * stdio-common/_itoa.c (_itoa): Likewise.
26572         * stdio-common/_itowa.c (_itowa): Likewise.
26573         * stdio-common/reg-printf.c (__register_printf_specifier):
26574         Likewise.
26575         (__register_printf_function): Likewise.
26576         * stdio-common/tempname.c (__path_search): Likewise.
26577         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26578         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26579         * stdlib/random_r.c (__initstate_r): Likewise.
26580         * stdlib/setenv.c (__add_to_environ): Likewise.
26581         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26582         * streams/getpmsg.c (getpmsg): Likewise.
26583         * streams/putmsg.c (putmsg): Likewise.
26584         * streams/putpmsg.c (putpmsg): Likewise.
26585         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26586         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26587         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26588         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26589         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26590         * sunrpc/svc_udp.c (cache_get): Likewise.
26591         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26592         * sysdeps/mach/hurd/getcwd.c
26593         (__canonicalize_directory_name_internal): Likewise.
26594         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26595         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26596         * sysdeps/mach/hurd/select.c (__select): Likewise.
26597         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26598         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26599         * sysdeps/sparc/nptl/pthread_barrier_init.c
26600         (__pthread_barrier_init): Likewise.
26601         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26602         (__pthread_cond_timedwait): Likewise.
26603         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26604         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26605         Likewise.
26606         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26607         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26608         Likewise.
26609         * sysvipc/semtimedop.c (semtimedop): Likewise.
26610         * time/setitimer.c (__setitimer): Likewise.
26611         * time/strftime_l.c (emacs_strftime): Likewise.
26613 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26615         * config.make.in (have-ssp): Delete.
26616         (stack-protector): New variable.
26617         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26618         cache test for -fstack-protector-strong.  Export stack_protector to
26619         the best ssp flag.
26620         * configure: Regenerated.
26621         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26622         * nscd/Makefile (CFLAGS-nscd): Likewise.
26623         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26625 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26627         [BZ #19122]
26628         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26629         attribute_hidden.
26631 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26633         [BZ #18743]
26634         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26635         code to...
26636         (ELIDE_LOCK): ...here.
26637         (__get_new_count): New function with part of the code from
26638         __elide_lock that updates the value of adapt_count after a
26639         transaction abort.
26640         (__elided_trylock): Moved this code to...
26641         (ELIDE_TRYLOCK): ...here.
26643 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26645         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26646         * configure: Regenerate.
26647         * INSTALL: Regenerate.
26648         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26649         and tweak grammar.
26651 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26653         * login/programs/pt_chown.c: Include signal.h
26654         (main): Clear any signal mask from the parent process.
26656 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26658         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26659         * configure: Regenerated.
26660         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26661         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26662         $(gnu89-inline-CFLAGS).
26664         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26665         test.
26666         (libc_cv_asm_weakext_directive): Likewise.
26667         * configure: Regenerated.
26668         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26669         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26670         * include/libc-symbols.h
26671         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26672         #error.
26673         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26674         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26676         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26677         prototype-style function definition.
26678         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26679         * sysdeps/i386/ffs.c (__ffs): Likewise.
26680         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26681         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26682         Likewise.
26683         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26684         Likewise.
26685         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26687         Likewise.
26688         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26689         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26690         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26691         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26692         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26693         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26694         * sysdeps/mach/hurd/access.c (__access): Likewise.
26695         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26696         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26697         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26698         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26699         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26700         (cthread_getspecific): Likewise.
26701         (cthread_setspecific): Likewise.
26702         (__libc_getspecific): Likewise.
26703         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26704         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26705         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26706         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26707         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26708         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26709         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26710         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26711         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26712         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26713         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26714         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26715         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26716         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26717         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26718         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26719         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26720         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26721         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26722         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26723         * sysdeps/mach/hurd/link.c (__link): Likewise.
26724         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26725         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26726         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26727         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26728         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26729         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26730         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26731         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26732         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26733         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26734         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26735         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26736         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26737         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26738         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26739         * sysdeps/mach/hurd/send.c (__send): Likewise.
26740         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26741         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26742         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26743         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26744         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26745         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26746         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26747         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26748         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26749         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26750         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26751         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26752         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26753         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26754         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26755         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26756         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26757         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26758         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26759         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26760         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26761         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26762         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26763         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26764         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26765         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26766         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26767         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26768         * sysdeps/posix/alarm.c (alarm): Likewise.
26769         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26770         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26771         * sysdeps/posix/dup.c (__dup): Likewise.
26772         * sysdeps/posix/dup2.c (__dup2): Likewise.
26773         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26774         (main): Likewise.
26775         * sysdeps/posix/flock.c (__flock): Likewise.
26776         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26777         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26778         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26779         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26780         * sysdeps/posix/isatty.c (__isatty): Likewise.
26781         * sysdeps/posix/killpg.c (killpg): Likewise.
26782         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26783         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26784         * sysdeps/posix/raise.c (raise): Likewise.
26785         * sysdeps/posix/remove.c (remove): Likewise.
26786         * sysdeps/posix/rename.c (rename): Likewise.
26787         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26788         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26789         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26790         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26791         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26792         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26793         * sysdeps/posix/sigset.c (sigset): Likewise.
26794         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26795         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26796         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26797         * sysdeps/posix/time.c (time): Likewise.
26798         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26799         (ttyname): Likewise.
26800         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26801         * sysdeps/posix/utime.c (utime): Likewise.
26802         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26803         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26804         Likewise.
26805         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26806         (pthread_spin_trylock): Likewise.
26807         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26808         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26809         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26810         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26811         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26812         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26813         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26814         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26815         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26816         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26817         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26818         * sysdeps/s390/ffs.c (__ffs): Likewise.
26819         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26820         Likewise.
26821         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26822         Likewise.
26823         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26824         Likewise.
26825         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26826         (pthread_barrier_destroy): Likewise.
26827         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26828         (__pthread_barrier_wait): Likewise.
26829         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26830         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26831         (__pthread_barrier_wait): Likewise.
26832         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26833         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26834         (memcmp_not_common_alignment): Likewise.
26835         (MEMCMP): Likewise.
26836         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26837         (_wordcopy_fwd_dest_aligned): Likewise.
26838         (_wordcopy_bwd_aligned): Likewise.
26839         (_wordcopy_bwd_dest_aligned): Likewise.
26840         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26841         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26842         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26843         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26844         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26845         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26846         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26847         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26848         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26849         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26850         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26851         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26852         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26853         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26854         * sysdeps/unix/stime.c (stime): Likewise.
26855         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26856         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26857         Likewise.  Use internal_function.
26858         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26859         Convert to prototype-style function definition.
26860         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26861         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26862         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26863         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26864         Likewise.  Use internal_function.
26865         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26866         prototype-style function definition
26867         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26868         Likewise.
26869         (__getlogin_r): Likewise.
26870         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26871         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26872         (__pthread_cond_broadcast): Likewise.
26873         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26874         (__pthread_cond_destroy): Likewise.
26875         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26876         (__pthread_cond_init): Likewise.
26877         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26878         (__pthread_cond_signal): Likewise.
26879         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26880         (__pthread_cond_wait): Likewise.
26881         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26882         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26883         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26884         Likewise.
26885         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26886         Likewise.
26887         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26888         Likewise.
26889         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26890         Likewise.
26891         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26893         (__ftruncate64): Likewise.
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26895         (truncate64): Likewise.
26896         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26897         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26898         (pthread_getcpuclockid): Likewise.
26899         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26900         Likewise.
26901         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26902         Likewise.
26903         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26904         Likewise.
26905         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26906         Likewise.
26907         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26908         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26909         (__libc_sigaction): Likewise.
26910         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26911         Likewise.
26912         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26913         (__sigprocmask): Likewise.
26914         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26915         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26916         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26917         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26918         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26919         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26920         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26921         Likewise.
26922         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26923         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26924         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26925         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26926         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26927         Likewise.
26928         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26929         (__sigprocmask): Likewise.
26930         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26931         (cfgetispeed): Likewise.
26932         (cfsetospeed): Likewise.
26933         (cfsetispeed): Likewise.
26934         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26935         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26936         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26937         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26938         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26939         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26940         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26941         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26942         Likewise.
26943         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26944         Likewise.
26945         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26946         Likewise.
26947         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26948         Likewise.
26949         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26951 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26953         sunrpc: Rewrite with explicit TLS access using __thread.
26954         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26955         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26956         directly.
26957         (__rpc_thread_variables): Access thread_rpc_vars directly.
26958         Eliminate redundant assignment of the tvp variable.
26960 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26962         malloc: Rewrite with explicit TLS access using __thread.
26963         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26964         (tsd_setspecific, tsd_getspecific): Remove.
26965         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26966         (tsd_setspecific, tsd_getspecific): Likewise.
26967         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26968         (tsd_setspecific, tsd_getspecific): Likewise.
26969         * malloc/arena.c (thread_arena): New TLS variable.
26970         (arena_key): Remove variable.
26971         (arena_get): Use thread_arena.
26972         (arena_lookup): Remove macro.
26973         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26974         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26975         (_int_new_arena, get_free_list, reused_arena)
26976         (arena_thread_freeres): Use thread_arena.
26977         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26978         tsd_getspecific, tsd_setspecific from safety annotations.
26979         (Allocating Cleared Space): Remove arena_lookup from safety
26980         annotations.
26982 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26984         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26985         struct scratch_buffer instead of extend_alloca.
26987 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26989         * sysdeps/unix/sysv/linux/kernel-features.h
26990         (__ASSUME_SOCK_CLOEXEC): Remove.
26991         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26992         (__have_paccept): Remove unused macro.
26993         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26994         * misc/syslog.c (openlog_internal): Remove fallback code for
26995         !__ASSUME_SOCK_CLOEXEC.
26996         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26997         missing SOCK_CLOEXEC.
26998         * nscd/connections.c (have_sock_cloexec): Remove definition.
26999         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27000         * nscd/nscd_helper.c (open_socket): Remove fallback code for
27001         !__ASSUME_SOCK_CLOEXEC.
27002         * resolv/res_send.c (__have_o_nonblock): Remove definition.
27003         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27004         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
27005         definition.
27006         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
27007         code for !__ASSUME_SOCK_CLOEXEC.
27009 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27011         [BZ #18982]
27012         * manual/stdio.texi (Variable Arguments Output): Add portability
27013         note, explaining that vfprintf clobbers the va_list pointer.
27015 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27017         * math/libm-test.inc (fabs_test_data): Add more tests.
27018         (fdim_test_data): Likewise.
27019         (fma_test_data): Likewise.
27020         (fmax_test_data): Likewise.
27021         (fmin_test_data): Likewise.
27022         (fmod_test_data): Likewise.
27024 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
27026         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
27027         data.
27029 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27031         * math/libm-test.inc (ceil_test_data): Add more tests and more
27032         expectations for "inexact".
27033         (floor_test_data): Add more tests.
27034         (round_test_data): Likewise.
27035         (trunc_test_data): Likewise.
27037         * crypt/cert.c (good_bye): Convert to prototype-style function
27038         definition.
27039         (get8): Likewise.
27040         (put8): Likewise.
27041         * crypt/crypt-entry.c (crypt): Likewise.
27042         (__fcrypt): Likewise.
27043         * crypt/crypt_util.c (_ufc_prbits): Likewise.
27044         (_ufc_set_bits): Likewise.
27045         (_ufc_clearmem): Likewise.
27046         (__init_des_r): Likewise.
27047         (shuffle_sb): Likewise.
27048         (shuffle_sb): Likewise.
27049         (_ufc_setup_salt_r): Likewise.
27050         (_ufc_mk_keytab_r): Likewise.
27051         (_ufc_dofinalperm_r): Likewise.
27052         (encrypt): Likewise.
27053         (__setkey_r): Likewise.
27054         (setkey): Likewise.
27055         * crypt/md5.c (md5_init_ctx): Likewise.
27056         (md5_read_ctx): Likewise.
27057         (md5_finish_ctx): Likewise.
27058         (md5_stream): Likewise.
27059         (md5_buffer): Likewise.
27060         (md5_process_bytes): Likewise.
27061         * crypt/sha256.c (__sha256_init_ctx): Likewise.
27062         (__sha256_finish_ctx): Likewise.
27063         (__sha256_process_bytes): Likewise.
27064         * crypt/sha512.c (__sha512_init_ctx): Likewise.
27065         (__sha512_finish_ctx): Likewise.
27066         (__sha512_process_bytes): Likewise.
27067         * ctype/isctype.c (__isctype): Likewise.
27068         * debug/backtrace.c (__backtrace): Likewise.
27069         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
27070         * debug/fgets_chk.c (__fgets_chk): Likewise.
27071         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
27072         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
27073         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27074         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27075         * debug/memset_chk.c (__memset_chk): Likewise.
27076         * debug/strcat_chk.c (__strcat_chk): Likewise.
27077         * debug/strncat_chk.c (__strncat_chk): Likewise.
27078         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
27079         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
27080         * dirent/dirfd.c (dirfd): Likewise.
27081         * dirent/getdents.c (__getdirentries): Likewise.
27082         * dirent/getdents64.c (getdirentries64): Likewise.
27083         * dirent/rewinddir.c (__rewinddir): Likewise.
27084         * dirent/seekdir.c (seekdir): Likewise.
27085         * dirent/telldir.c (telldir): Likewise.
27086         * elf/sln.c (makesymlinks): Likewise.
27087         (makesymlink): Likewise.
27088         * gmon/gmon.c (__moncontrol): Likewise.
27089         (__monstartup): Likewise.
27090         (write_hist): Likewise.
27091         (write_call_graph): Likewise.
27092         (write_bb_counts): Likewise.
27093         * grp/setgroups.c (setgroups): Likewise.
27094         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27095         * inet/inet_net.c (inet_network): Likewise.
27096         * inet/inet_netof.c (inet_netof): Likewise.
27097         * inet/rcmd.c (rresvport_af): Likewise.
27098         (rresvport): Likewise.
27099         * io/access.c (__access): Likewise.
27100         * io/chdir.c (__chdir): Likewise.
27101         * io/chmod.c (__chmod): Likewise.
27102         * io/chown.c (__chown): Likewise.
27103         * io/close.c (__close): Likewise.
27104         * io/creat.c (creat): Likewise.
27105         * io/creat64.c (creat64): Likewise.
27106         * io/dup.c (__dup): Likewise.
27107         * io/dup2.c (__dup2): Likewise.
27108         * io/dup3.c (__dup3): Likewise.
27109         * io/euidaccess.c (__euidaccess): Likewise.
27110         * io/faccessat.c (faccessat): Likewise.
27111         * io/fchmod.c (__fchmod): Likewise.
27112         * io/fchmodat.c (fchmodat): Likewise.
27113         * io/fchown.c (__fchown): Likewise.
27114         * io/fchownat.c (fchownat): Likewise.
27115         * io/fcntl.c (__fcntl): Likewise.
27116         * io/flock.c (__flock): Likewise.
27117         * io/fts.c (fts_load): Likewise.
27118         (fts_close): Likewise.
27119         (fts_read): Likewise.
27120         (fts_set): Likewise.
27121         (fts_children): Likewise.
27122         (fts_build): Likewise.
27123         (fts_stat): Likewise.
27124         (fts_sort): Likewise.
27125         (fts_alloc): Likewise.
27126         (fts_lfree): Likewise.
27127         (fts_palloc): Likewise.
27128         (fts_padjust): Likewise.
27129         (fts_maxarglen): Likewise.
27130         (fts_safe_changedir): Likewise.
27131         * io/getwd.c (getwd): Likewise.
27132         * io/isatty.c (__isatty): Likewise.
27133         * io/lchown.c (__lchown): Likewise.
27134         * io/link.c (__link): Likewise.
27135         * io/linkat.c (linkat): Likewise.
27136         * io/lseek.c (__libc_lseek): Likewise.
27137         * io/mkdir.c (__mkdir): Likewise.
27138         * io/mkdirat.c (mkdirat): Likewise.
27139         * io/mkfifo.c (mkfifo): Likewise.
27140         * io/mkfifoat.c (mkfifoat): Likewise.
27141         * io/open.c (__libc_open): Likewise.
27142         * io/open64.c (__libc_open64): Likewise.
27143         * io/readlink.c (__readlink): Likewise.
27144         * io/readlinkat.c (readlinkat): Likewise.
27145         * io/rmdir.c (__rmdir): Likewise.
27146         * io/symlink.c (__symlink): Likewise.
27147         * io/symlinkat.c (symlinkat): Likewise.
27148         * io/ttyname.c (ttyname): Likewise.
27149         * io/ttyname_r.c (__ttyname_r): Likewise.
27150         * io/umask.c (__umask): Likewise.
27151         * io/unlink.c (__unlink): Likewise.
27152         * io/unlinkat.c (unlinkat): Likewise.
27153         * io/utime.c (utime): Likewise.
27154         * libio/clearerr.c (clearerr): Likewise.
27155         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27156         * libio/feof.c (_IO_feof): Likewise.
27157         * libio/feof_u.c (feof_unlocked): Likewise.
27158         * libio/ferror.c (_IO_ferror): Likewise.
27159         * libio/ferror_u.c (ferror_unlocked): Likewise.
27160         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27161         * libio/fileno.c (__fileno): Likewise.
27162         * libio/fputc.c (fputc): Likewise.
27163         * libio/fputc_u.c (fputc_unlocked): Likewise.
27164         * libio/fputwc.c (fputwc): Likewise.
27165         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27166         * libio/freopen.c (freopen): Likewise.
27167         * libio/freopen64.c (freopen64): Likewise.
27168         * libio/fseek.c (fseek): Likewise.
27169         * libio/fseeko.c (fseeko): Likewise.
27170         * libio/fseeko64.c (fseeko64): Likewise.
27171         * libio/ftello.c (__ftello): Likewise.
27172         * libio/ftello64.c (ftello64): Likewise.
27173         * libio/fwide.c (fwide): Likewise.
27174         * libio/genops.c (_IO_un_link): Likewise.
27175         (_IO_link_in): Likewise.
27176         (_IO_least_marker): Likewise.
27177         (_IO_switch_to_main_get_area): Likewise.
27178         (_IO_switch_to_backup_area): Likewise.
27179         (_IO_switch_to_get_mode): Likewise.
27180         (_IO_free_backup_area): Likewise.
27181         (_IO_switch_to_put_mode): Likewise.
27182         (__overflow): Likewise.
27183         (__underflow): Likewise.
27184         (__uflow): Likewise.
27185         (_IO_setb): Likewise.
27186         (_IO_doallocbuf): Likewise.
27187         (_IO_default_underflow): Likewise.
27188         (_IO_default_uflow): Likewise.
27189         (_IO_default_xsputn): Likewise.
27190         (_IO_sgetn): Likewise.
27191         (_IO_default_xsgetn): Likewise.
27192         (_IO_sync): Likewise.
27193         (_IO_default_setbuf): Likewise.
27194         (_IO_default_seekpos): Likewise.
27195         (_IO_default_doallocate): Likewise.
27196         (_IO_init): Likewise.
27197         (_IO_old_init): Likewise.
27198         (_IO_default_sync): Likewise.
27199         (_IO_default_finish): Likewise.
27200         (_IO_default_seekoff): Likewise.
27201         (_IO_sputbackc): Likewise.
27202         (_IO_sungetc): Likewise.
27203         (_IO_set_column): Likewise.
27204         (_IO_set_column): Likewise.
27205         (_IO_adjust_column): Likewise.
27206         (_IO_get_column): Likewise.
27207         (_IO_init_marker): Likewise.
27208         (_IO_remove_marker): Likewise.
27209         (_IO_marker_difference): Likewise.
27210         (_IO_marker_delta): Likewise.
27211         (_IO_seekmark): Likewise.
27212         (_IO_unsave_markers): Likewise.
27213         (_IO_nobackup_pbackfail): Likewise.
27214         (_IO_default_pbackfail): Likewise.
27215         (_IO_default_seek): Likewise.
27216         (_IO_default_stat): Likewise.
27217         (_IO_default_read): Likewise.
27218         (_IO_default_write): Likewise.
27219         (_IO_default_showmanyc): Likewise.
27220         (_IO_default_imbue): Likewise.
27221         (_IO_iter_next): Likewise.
27222         (_IO_iter_file): Likewise.
27223         * libio/getc.c (_IO_getc): Likewise.
27224         * libio/getwc.c (_IO_getwc): Likewise.
27225         * libio/iofclose.c (_IO_new_fclose): Likewise.
27226         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27227         * libio/iofflush.c (_IO_fflush): Likewise.
27228         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27229         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27230         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27231         * libio/iofgets.c (_IO_fgets): Likewise.
27232         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27233         * libio/iofgetws.c (fgetws): Likewise.
27234         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27235         * libio/iofopen64.c (_IO_fopen64): Likewise.
27236         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27237         (_IO_cookie_write): Likewise.
27238         (_IO_cookie_seek): Likewise.
27239         (_IO_cookie_close): Likewise.
27240         (_IO_cookie_seekoff): Likewise.
27241         (_IO_old_cookie_seek): Likewise.
27242         * libio/iofputs.c (_IO_fputs): Likewise.
27243         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27244         * libio/iofputws.c (fputws): Likewise.
27245         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27246         * libio/iofread.c (_IO_fread): Likewise.
27247         * libio/iofread_u.c (__fread_unlocked): Likewise.
27248         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27249         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27250         * libio/ioftell.c (_IO_ftell): Likewise.
27251         * libio/iofwrite.c (_IO_fwrite): Likewise.
27252         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27253         * libio/iogets.c (_IO_gets): Likewise.
27254         * libio/iopadn.c (_IO_padn): Likewise.
27255         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27256         (_IO_new_popen): Likewise.
27257         (_IO_new_proc_close): Likewise.
27258         * libio/ioputs.c (_IO_puts): Likewise.
27259         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27260         (_IO_seekoff): Likewise.
27261         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27262         (_IO_seekpos): Likewise.
27263         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27264         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27265         * libio/ioungetc.c (_IO_ungetc): Likewise.
27266         * libio/ioungetwc.c (ungetwc): Likewise.
27267         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27268         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27269         * libio/iowpadn.c (_IO_wpadn): Likewise.
27270         * libio/libc_fatal.c (__libc_fatal): Likewise.
27271         * libio/memstream.c (__open_memstream): Likewise.
27272         (_IO_mem_sync): Likewise.
27273         (_IO_mem_finish): Likewise.
27274         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27275         (_IO_old_file_close_it): Likewise.
27276         (_IO_old_file_finish): Likewise.
27277         (_IO_old_file_fopen): Likewise.
27278         (_IO_old_file_attach): Likewise.
27279         (_IO_old_file_setbuf): Likewise.
27280         (_IO_old_do_write): Likewise.
27281         (old_do_write): Likewise.
27282         (_IO_old_file_underflow): Likewise.
27283         (_IO_old_file_overflow): Likewise.
27284         (_IO_old_file_sync): Likewise.
27285         (_IO_old_file_seekoff): Likewise.
27286         (_IO_old_file_write): Likewise.
27287         (_IO_old_file_xsputn): Likewise.
27288         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27289         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27290         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27291         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27292         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27293         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27294         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27295         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27296         (_IO_old_popen): Likewise.
27297         (_IO_old_proc_close): Likewise.
27298         * libio/oldpclose.c (__old_pclose): Likewise.
27299         * libio/pclose.c (__new_pclose): Likewise.
27300         * libio/peekc.c (_IO_peekc_locked): Likewise.
27301         * libio/putc.c (_IO_putc): Likewise.
27302         * libio/putc_u.c (putc_unlocked): Likewise.
27303         * libio/putchar.c (putchar): Likewise.
27304         * libio/putchar_u.c (putchar_unlocked): Likewise.
27305         * libio/putwc.c (putwc): Likewise.
27306         * libio/putwc_u.c (putwc_unlocked): Likewise.
27307         * libio/putwchar.c (putwchar): Likewise.
27308         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27309         * libio/rewind.c (rewind): Likewise.
27310         * libio/setbuf.c (setbuf): Likewise.
27311         * libio/setlinebuf.c (setlinebuf): Likewise.
27312         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27313         * libio/vscanf.c (_IO_vscanf): Likewise.
27314         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27315         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27316         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27317         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27318         (_IO_switch_to_main_wget_area): Likewise.
27319         (_IO_switch_to_wbackup_area): Likewise.
27320         (_IO_wsetb): Likewise.
27321         (_IO_wdefault_pbackfail): Likewise.
27322         (_IO_wdefault_finish): Likewise.
27323         (_IO_wdefault_uflow): Likewise.
27324         (__woverflow): Likewise.
27325         (__wuflow): Likewise.
27326         (__wunderflow): Likewise.
27327         (_IO_wdefault_xsputn): Likewise.
27328         (_IO_wdefault_xsgetn): Likewise.
27329         (_IO_wdoallocbuf): Likewise.
27330         (_IO_wdefault_doallocate): Likewise.
27331         (_IO_switch_to_wget_mode): Likewise.
27332         (_IO_free_wbackup_area): Likewise.
27333         (_IO_switch_to_wput_mode): Likewise.
27334         (_IO_sputbackwc): Likewise.
27335         (_IO_sungetwc): Likewise.
27336         (_IO_adjust_wcolumn): Likewise.
27337         (_IO_init_wmarker): Likewise.
27338         (_IO_wmarker_delta): Likewise.
27339         (_IO_seekwmark): Likewise.
27340         (_IO_unsave_wmarkers): Likewise.
27341         * libio/wmemstream.c (open_wmemstream): Likewise.
27342         (_IO_wmem_sync): Likewise.
27343         (_IO_wmem_finish): Likewise.
27344         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27345         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27346         * locale/programs/simple-hash.c (init_hash): Likewise.
27347         (delete_hash): Likewise.
27348         (insert_entry): Likewise.
27349         (set_entry): Likewise.
27350         (next_prime): Likewise.
27351         (is_prime): Likewise.
27352         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27353         (xmalloc): Likewise.
27354         (xrealloc): Likewise.
27355         * locale/programs/xstrdup.c (xstrdup): Likewise.
27356         * localedata/collate-test.c (xstrcoll): Likewise.
27357         * localedata/xfrm-test.c (xstrcmp): Likewise.
27358         * login/getlogin_r.c (__getlogin_r): Likewise.
27359         * login/getpt.c (__posix_openpt): Likewise.
27360         * login/login_tty.c (login_tty): Likewise.
27361         * login/setlogin.c (setlogin): Likewise.
27362         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27363         (mach_msg_destroy_port): Likewise.
27364         (mach_msg_destroy_memory): Likewise.
27365         * malloc/mcheck.c (flood): Likewise.
27366         * misc/acct.c (acct): Likewise.
27367         * misc/brk.c (__brk): Likewise.
27368         * misc/chflags.c (chflags): Likewise.
27369         * misc/chroot.c (chroot): Likewise.
27370         * misc/fchflags.c (fchflags): Likewise.
27371         * misc/fstab.c (getfsspec): Likewise.
27372         (getfsfile): Likewise.
27373         * misc/fsync.c (fsync): Likewise.
27374         * misc/ftruncate.c (__ftruncate): Likewise.
27375         * misc/ftruncate64.c (__ftruncate64): Likewise.
27376         * misc/getdomain.c (getdomainname): Likewise.
27377         (getdomainname): Likewise.
27378         * misc/gethostname.c (__gethostname): Likewise.
27379         * misc/getpass.c (getpass): Likewise.
27380         * misc/getttyent.c (skip): Likewise.
27381         (value): Likewise.
27382         * misc/gtty.c (gtty): Likewise.
27383         * misc/hsearch.c (hsearch): Likewise.
27384         (hcreate): Likewise.
27385         * misc/hsearch_r.c (__hcreate_r): Likewise.
27386         (__hdestroy_r): Likewise.
27387         * misc/ioctl.c (__ioctl): Likewise.
27388         * misc/mkdtemp.c (mkdtemp): Likewise.
27389         * misc/mkostemp.c (mkostemp): Likewise.
27390         * misc/mkostemp64.c (mkostemp64): Likewise.
27391         * misc/mkostemps.c (mkostemps): Likewise.
27392         * misc/mkostemps64.c (mkostemps64): Likewise.
27393         * misc/mkstemp.c (mkstemp): Likewise.
27394         * misc/mkstemp64.c (mkstemp64): Likewise.
27395         * misc/mkstemps.c (mkstemps): Likewise.
27396         * misc/mkstemps64.c (mkstemps64): Likewise.
27397         * misc/mktemp.c (__mktemp): Likewise.
27398         * misc/preadv.c (preadv): Likewise.
27399         * misc/preadv64.c (preadv64): Likewise.
27400         * misc/pwritev.c (pwritev): Likewise.
27401         * misc/pwritev64.c (pwritev64): Likewise.
27402         * misc/readv.c (__readv): Likewise.
27403         * misc/revoke.c (revoke): Likewise.
27404         * misc/setdomain.c (setdomainname): Likewise.
27405         * misc/setegid.c (setegid): Likewise.
27406         * misc/seteuid.c (seteuid): Likewise.
27407         * misc/sethostid.c (sethostid): Likewise.
27408         * misc/sethostname.c (sethostname): Likewise.
27409         * misc/setregid.c (__setregid): Likewise.
27410         * misc/setreuid.c (__setreuid): Likewise.
27411         * misc/sstk.c (sstk): Likewise.
27412         * misc/stty.c (stty): Likewise.
27413         * misc/syscall.c (syscall): Likewise.
27414         * misc/syslog.c (setlogmask): Likewise.
27415         * misc/truncate.c (__truncate): Likewise.
27416         * misc/truncate64.c (truncate64): Likewise.
27417         * misc/ualarm.c (ualarm): Likewise.
27418         * misc/usleep.c (usleep): Likewise.
27419         * misc/ustat.c (ustat): Likewise.
27420         * misc/writev.c (__writev): Likewise.
27421         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27422         * nptl/old_pthread_cond_broadcast.c
27423         (__pthread_cond_broadcast_2_0): Likewise.
27424         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27425         Likewise.
27426         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27427         Likewise.
27428         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27429         Likewise.
27430         * nptl/pt-raise.c (raise): Likewise.
27431         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27432         Likewise.
27433         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27434         * nptl/pthread_barrierattr_destroy.c
27435         (pthread_barrierattr_destroy): Likewise.
27436         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27437         Likewise.
27438         * nptl/pthread_barrierattr_setpshared.c
27439         (pthread_barrierattr_setpshared): Likewise.
27440         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27441         Likewise.
27442         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27443         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27444         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27445         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27446         Likewise.
27447         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27448         Likewise.
27449         * nptl/pthread_condattr_getpshared.c
27450         (pthread_condattr_getpshared): Likewise.
27451         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27452         Likewise.
27453         * nptl/pthread_condattr_setpshared.c
27454         (pthread_condattr_setpshared): Likewise.
27455         * nptl/pthread_detach.c (pthread_detach): Likewise.
27456         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27457         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27458         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27459         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27460         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27461         Likewise.
27462         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27463         Likewise.
27464         * nptl/pthread_mutex_getprioceiling.c
27465         (pthread_mutex_getprioceiling): Likewise.
27466         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27467         Likewise.
27468         * nptl/pthread_mutexattr_getprotocol.c
27469         (pthread_mutexattr_getprotocol): Likewise.
27470         * nptl/pthread_mutexattr_getpshared.c
27471         (pthread_mutexattr_getpshared): Likewise.
27472         * nptl/pthread_mutexattr_getrobust.c
27473         (pthread_mutexattr_getrobust): Likewise.
27474         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27475         Likewise.
27476         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27477         Likewise.
27478         * nptl/pthread_mutexattr_setprioceiling.c
27479         (pthread_mutexattr_setprioceiling): Likewise.
27480         * nptl/pthread_mutexattr_setprotocol.c
27481         (pthread_mutexattr_setprotocol): Likewise.
27482         * nptl/pthread_mutexattr_setpshared.c
27483         (pthread_mutexattr_setpshared): Likewise.
27484         * nptl/pthread_mutexattr_setrobust.c
27485         (pthread_mutexattr_setrobust): Likewise.
27486         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27487         Likewise.
27488         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27489         Likewise.
27490         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27491         Likewise.
27492         * nptl/pthread_rwlockattr_getkind_np.c
27493         (pthread_rwlockattr_getkind_np): Likewise.
27494         * nptl/pthread_rwlockattr_getpshared.c
27495         (pthread_rwlockattr_getpshared): Likewise.
27496         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27497         Likewise.
27498         * nptl/pthread_rwlockattr_setkind_np.c
27499         (pthread_rwlockattr_setkind_np): Likewise.
27500         * nptl/pthread_rwlockattr_setpshared.c
27501         (pthread_rwlockattr_setpshared): Likewise.
27502         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27503         Likewise.
27504         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27505         Likewise.
27506         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27507         Likewise.
27508         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27509         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27510         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27511         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27512         * nptl/sem_close.c (sem_close): Likewise.
27513         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27514         * nptl/sem_init.c (__old_sem_init): Likewise.
27515         * nptl/sigaction.c (__sigaction): Likewise.
27516         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27517         * posix/_exit.c (_exit): Likewise.
27518         * posix/alarm.c (alarm): Likewise.
27519         * posix/confstr.c (confstr): Likewise.
27520         * posix/fpathconf.c (__fpathconf): Likewise.
27521         * posix/getgroups.c (__getgroups): Likewise.
27522         * posix/getpgid.c (__getpgid): Likewise.
27523         * posix/group_member.c (__group_member): Likewise.
27524         * posix/pathconf.c (__pathconf): Likewise.
27525         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27526         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27527         * posix/setgid.c (__setgid): Likewise.
27528         * posix/setpgid.c (__setpgid): Likewise.
27529         * posix/setuid.c (__setuid): Likewise.
27530         * posix/sleep.c (__sleep): Likewise.
27531         * posix/sysconf.c (__sysconf): Likewise.
27532         * posix/times.c (__times): Likewise.
27533         * posix/uname.c (__uname): Likewise.
27534         * posix/waitid.c (__waitid): Likewise.
27535         * pwd/getpw.c (__getpw): Likewise.
27536         * resolv/base64.c (b64_pton): Likewise.
27537         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27538         * resolv/gethnamaddr.c (Dprintf): Likewise.
27539         (gethostbyname): Likewise.
27540         (gethostbyname2): Likewise.
27541         (gethostbyaddr): Likewise.
27542         (_sethtent): Likewise.
27543         (_gethtbyname): Likewise.
27544         (_gethtbyname2): Likewise.
27545         (_gethtbyaddr): Likewise.
27546         (map_v4v6_address): Likewise.
27547         (map_v4v6_hostent): Likewise.
27548         (addrsort): Likewise.
27549         (ht_sethostent): Likewise.
27550         (ht_gethostbyname): Likewise.
27551         (ht_gethostbyaddr): Likewise.
27552         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27553         (inet_net_ntop_ipv4): Likewise.
27554         * resolv/inet_neta.c (inet_neta): Likewise.
27555         * resolv/inet_ntop.c (inet_ntop): Likewise.
27556         (inet_ntop4): Likewise.
27557         (inet_ntop6): Likewise.
27558         * resolv/inet_pton.c (__inet_pton): Likewise.
27559         (inet_pton4): Likewise.
27560         (inet_pton6): Likewise.
27561         * resolv/res_debug.c (loc_aton): Likewise.
27562         (loc_ntoa): Likewise.
27563         * resource/getpriority.c (__getpriority): Likewise.
27564         * resource/getrusage.c (__getrusage): Likewise.
27565         * resource/nice.c (nice): Likewise.
27566         * resource/setpriority.c (__setpriority): Likewise.
27567         * resource/setrlimit64.c (setrlimit64): Likewise.
27568         * resource/vlimit.c (vlimit): Likewise.
27569         * resource/vtimes.c (vtimes): Likewise.
27570         * rt/aio_error.c (aio_error): Likewise.
27571         * rt/aio_return.c (aio_return): Likewise.
27572         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27573         * signal/kill.c (__kill): Likewise.
27574         * signal/killpg.c (killpg): Likewise.
27575         * signal/raise.c (raise): Likewise.
27576         * signal/sigaction.c (__sigaction): Likewise.
27577         * signal/sigaddset.c (sigaddset): Likewise.
27578         * signal/sigaltstack.c (sigaltstack): Likewise.
27579         * signal/sigandset.c (sigandset): Likewise.
27580         * signal/sigblock.c (__sigblock): Likewise.
27581         * signal/sigdelset.c (sigdelset): Likewise.
27582         * signal/sigempty.c (sigemptyset): Likewise.
27583         * signal/sigfillset.c (sigfillset): Likewise.
27584         * signal/sighold.c (sighold): Likewise.
27585         * signal/sigignore.c (sigignore): Likewise.
27586         * signal/sigintr.c (siginterrupt): Likewise.
27587         * signal/sigisempty.c (sigisemptyset): Likewise.
27588         * signal/sigismem.c (sigismember): Likewise.
27589         * signal/signal.c (signal): Likewise.
27590         * signal/sigorset.c (sigorset): Likewise.
27591         * signal/sigpause.c (__sigpause): Likewise.
27592         * signal/sigpending.c (sigpending): Likewise.
27593         * signal/sigprocmask.c (__sigprocmask): Likewise.
27594         * signal/sigrelse.c (sigrelse): Likewise.
27595         * signal/sigreturn.c (__sigreturn): Likewise.
27596         * signal/sigset.c (sigset): Likewise.
27597         * signal/sigsetmask.c (__sigsetmask): Likewise.
27598         * signal/sigstack.c (sigstack): Likewise.
27599         * signal/sigsuspend.c (__sigsuspend): Likewise.
27600         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27601         * signal/sysv_signal.c (__sysv_signal): Likewise.
27602         * socket/accept.c (accept): Likewise.
27603         * socket/accept4.c (__libc_accept4): Likewise.
27604         * socket/bind.c (__bind): Likewise.
27605         * socket/connect.c (__connect): Likewise.
27606         * socket/getpeername.c (getpeername): Likewise.
27607         * socket/getsockname.c (__getsockname): Likewise.
27608         * socket/getsockopt.c (getsockopt): Likewise.
27609         * socket/listen.c (__listen): Likewise.
27610         * socket/recv.c (__recv): Likewise.
27611         * socket/recvmsg.c (__recvmsg): Likewise.
27612         * socket/send.c (__send): Likewise.
27613         * socket/sendmsg.c (__sendmsg): Likewise.
27614         * socket/shutdown.c (shutdown): Likewise.
27615         * socket/sockatmark.c (sockatmark): Likewise.
27616         * socket/socket.c (__socket): Likewise.
27617         * stdio-common/ctermid.c (ctermid): Likewise.
27618         * stdio-common/cuserid.c (cuserid): Likewise.
27619         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27620         * stdio-common/remove.c (remove): Likewise.
27621         * stdio-common/rename.c (rename): Likewise.
27622         * stdio-common/renameat.c (renameat): Likewise.
27623         * stdio-common/tempname.c (__gen_tempname): Likewise.
27624         * stdio-common/xbug.c (InitBuffer): Likewise.
27625         (AppendToBuffer): Likewise.
27626         (ReadFile): Likewise.
27627         * stdlib/a64l.c (a64l): Likewise.
27628         * stdlib/drand48_r.c (drand48_r): Likewise.
27629         * stdlib/getcontext.c (getcontext): Likewise.
27630         * stdlib/getenv.c (getenv): Likewise.
27631         * stdlib/l64a.c (l64a): Likewise.
27632         * stdlib/llabs.c (llabs): Likewise.
27633         * stdlib/lldiv.c (lldiv): Likewise.
27634         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27635         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27636         * stdlib/putenv.c (putenv): Likewise.
27637         * stdlib/random.c (__srandom): Likewise.
27638         (__initstate): Likewise.
27639         (__setstate): Likewise.
27640         * stdlib/random_r.c (__srandom_r): Likewise.
27641         (__setstate_r): Likewise.
27642         (__random_r): Likewise.
27643         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27644         * stdlib/setcontext.c (setcontext): Likewise.
27645         * stdlib/setenv.c (setenv): Likewise.
27646         (unsetenv): Likewise.
27647         * stdlib/srand48.c (srand48): Likewise.
27648         * stdlib/srand48_r.c (__srand48_r): Likewise.
27649         * stdlib/swapcontext.c (swapcontext): Likewise.
27650         * stdlib/system.c (__libc_system): Likewise.
27651         * stdlib/tst-strtod.c (expand): Likewise.
27652         * stdlib/tst-strtol.c (expand): Likewise.
27653         * stdlib/tst-strtoll.c (expand): Likewise.
27654         * streams/fattach.c (fattach): Likewise.
27655         * streams/fdetach.c (fdetach): Likewise.
27656         * streams/getmsg.c (getmsg): Likewise.
27657         * streams/isastream.c (isastream): Likewise.
27658         * string/ffs.c (__ffs): Likewise.
27659         * string/ffsll.c (ffsll): Likewise.
27660         * string/memcmp.c (memcmp_common_alignment): Likewise.
27661         (memcmp_not_common_alignment): Likewise.
27662         (MEMCMP): Likewise.
27663         * string/memcpy.c (memcpy): Likewise.
27664         * string/memmove.c (MEMMOVE): Likewise.
27665         * string/memset.c (memset): Likewise.
27666         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27667         * string/strchrnul.c (STRCHRNUL): Likewise.
27668         * string/strerror.c (strerror): Likewise.
27669         * string/strndup.c (__strndup): Likewise.
27670         * string/strverscmp.c (__strverscmp): Likewise.
27671         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27672         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27673         (clnttcp_freeres): Likewise.
27674         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27675         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27676         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27677         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27678         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27679         (xdr_callhdr): Likewise.
27680         * sunrpc/rpcinfo.c (udpping): Likewise.
27681         (tcpping): Likewise.
27682         (pstatus): Likewise.
27683         (pmapdump): Likewise.
27684         (brdcst): Likewise.
27685         (deletereg): Likewise.
27686         (getprognum): Likewise.
27687         (getvers): Likewise.
27688         (get_inet_address): Likewise.
27689         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27690         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27691         (svcudp_stat): Likewise.
27692         (svcudp_recv): Likewise.
27693         (svcudp_reply): Likewise.
27694         (svcudp_getargs): Likewise.
27695         (svcudp_freeargs): Likewise.
27696         (svcudp_destroy): Likewise.
27697         * sunrpc/xdr.c (xdr_bytes): Likewise.
27698         (xdr_netobj): Likewise.
27699         (xdr_string): Likewise.
27700         (xdr_wrapstring): Likewise.
27701         * sunrpc/xdr_float.c (xdr_float): Likewise.
27702         (xdr_double): Likewise.
27703         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27704         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27705         * sysvipc/ftok.c (ftok): Likewise.
27706         * sysvipc/msgctl.c (msgctl): Likewise.
27707         * sysvipc/msgget.c (msgget): Likewise.
27708         * sysvipc/msgrcv.c (msgrcv): Likewise.
27709         * sysvipc/msgsnd.c (msgsnd): Likewise.
27710         * sysvipc/semget.c (semget): Likewise.
27711         * sysvipc/semop.c (semop): Likewise.
27712         * sysvipc/shmat.c (shmat): Likewise.
27713         * sysvipc/shmctl.c (shmctl): Likewise.
27714         * sysvipc/shmdt.c (shmdt): Likewise.
27715         * sysvipc/shmget.c (shmget): Likewise.
27716         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27717         * termios/speed.c (cfgetospeed): Likewise.
27718         (cfgetispeed): Likewise.
27719         (cfsetospeed): Likewise.
27720         (cfsetispeed): Likewise.
27721         * termios/tcflow.c (tcflow): Likewise.
27722         * termios/tcflush.c (tcflush): Likewise.
27723         * termios/tcgetattr.c (__tcgetattr): Likewise.
27724         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27725         * termios/tcgetsid.c (tcgetsid): Likewise.
27726         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27727         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27728         * time/adjtime.c (__adjtime): Likewise.
27729         * time/dysize.c (dysize): Likewise.
27730         * time/ftime.c (ftime): Likewise.
27731         * time/getitimer.c (__getitimer): Likewise.
27732         * time/gettimeofday.c (__gettimeofday): Likewise.
27733         * time/gmtime.c (__gmtime_r): Likewise.
27734         (gmtime): Likewise.
27735         * time/localtime.c (__localtime_r): Likewise.
27736         (localtime): Likewise.
27737         * time/offtime.c (__offtime): Likewise.
27738         * time/settimeofday.c (__settimeofday): Likewise.
27739         * time/stime.c (stime): Likewise.
27740         * time/strftime_l.c (tm_diff): Likewise.
27741         (iso_week_days): Likewise.
27742         * time/strptime.c (strptime): Likewise.
27743         * time/time.c (time): Likewise.
27744         * time/timespec_get.c (timespec_get): Likewise.
27745         * time/tzset.c (tzset_internal): Likewise.
27746         (compute_change): Likewise.
27747         (__tz_compute): Likewise.
27748         * wcsmbs/btowc.c (__btowc): Likewise.
27749         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27750         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27751         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27752         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27753         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27754         * wcsmbs/wcscat.c (__wcscat): Likewise.
27755         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27756         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27757         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27758         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27759         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27760         * wcsmbs/wcslen.c (__wcslen): Likewise.
27761         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27762         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27763         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27764         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27765         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27766         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27767         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27768         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27769         * wcsmbs/wcstok.c (wcstok): Likewise.
27770         * wcsmbs/wctob.c (wctob): Likewise.
27771         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27772         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27773         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27774         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27775         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27776         * wcsmbs/wmemset.c (__wmemset): Likewise.
27777         * wctype/wcfuncs.c (__towlower): Likewise.
27778         (__towupper): Likewise.
27780         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27781         (lll_unlock_elision): Add adapt_count parameter.
27783 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27785         * sysdeps/nptl/configure.ac: Do not give errors based on the
27786         results of top-level configure tests.
27787         * sysdeps/nptl/configure: Regenerated.
27789         * configure.ac (libc_cv_Bgroup): Remove configure test.
27790         * configure: Regenerated.
27791         * config.make.in (have-Bgroup): Remove variable.
27793         * configure.ac (sizeof_long_double): Remove configure test.
27794         * configure: Regenerated.
27795         * config.make.in (sizeof-long-double): Remove variable.
27797         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27798         * configure: Regenerated.
27799         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27800         variable.
27801         (exceptions): Likewise.
27802         * sysdeps/arm/configure: Regenerated.
27803         * config.make.in (exceptions): Remove variable.
27804         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27805         $(exceptions).
27806         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27807         (CFLAGS-vdprintf_chk.c): Likewise.
27808         (CFLAGS-printf_chk.c): Likewise.
27809         (CFLAGS-fprintf_chk.c): Likewise.
27810         (CFLAGS-vprintf_chk.c): Likewise.
27811         (CFLAGS-vfprintf_chk.c): Likewise.
27812         (CFLAGS-gets_chk.c): Likewise.
27813         (CFLAGS-fgets_chk.c): Likewise.
27814         (CFLAGS-fgets_u_chk.c): Likewise.
27815         (CFLAGS-fread_chk.c): Likewise.
27816         (CFLAGS-fread_u_chk.c): Likewise.
27817         (CFLAGS-wprintf_chk.c): Likewise.
27818         (CFLAGS-fwprintf_chk.c): Likewise.
27819         (CFLAGS-vwprintf_chk.c): Likewise.
27820         (CFLAGS-vfwprintf_chk.c): Likewise.
27821         (CFLAGS-fgetws_chk.c): Likewise.
27822         (CFLAGS-fgetws_u_chk.c): Likewise.
27823         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27824         (CFLAGS-fputc.c): Likewise.
27825         (CFLAGS-fputwc.c): Likewise.
27826         (CFLAGS-freopen64.c): Likewise.
27827         (CFLAGS-freopen.c): Likewise.
27828         (CFLAGS-fseek.c): Likewise.
27829         (CFLAGS-fseeko64.c): Likewise.
27830         (CFLAGS-fseeko.c): Likewise.
27831         (CFLAGS-ftello64.c): Likewise.
27832         (CFLAGS-ftello.c): Likewise.
27833         (CFLAGS-fwide.c): Likewise.
27834         (CFLAGS-genops.c): Likewise.
27835         (CFLAGS-getc.c): Likewise.
27836         (CFLAGS-getchar.c): Likewise.
27837         (CFLAGS-getwc.c): Likewise.
27838         (CFLAGS-getwchar.c): Likewise.
27839         (CFLAGS-iofclose.c): Likewise.
27840         (CFLAGS-iofflush.c): Likewise.
27841         (CFLAGS-iofgetpos64.c): Likewise.
27842         (CFLAGS-iofgetpos.c): Likewise.
27843         (CFLAGS-iofgets.c): Likewise.
27844         (CFLAGS-iofgetws.c): Likewise.
27845         (CFLAGS-iofputs.c): Likewise.
27846         (CFLAGS-iofputws.c): Likewise.
27847         (CFLAGS-iofread.c): Likewise.
27848         (CFLAGS-iofsetpos64.c): Likewise.
27849         (CFLAGS-iofsetpos.c): Likewise.
27850         (CFLAGS-ioftell.c): Likewise.
27851         (CFLAGS-iofwrite.c): Likewise.
27852         (CFLAGS-iogetdelim.c): Likewise.
27853         (CFLAGS-iogetline.c): Likewise.
27854         (CFLAGS-iogets.c): Likewise.
27855         (CFLAGS-iogetwline.c): Likewise.
27856         (CFLAGS-ioputs.c): Likewise.
27857         (CFLAGS-ioseekoff.c): Likewise.
27858         (CFLAGS-ioseekpos.c): Likewise.
27859         (CFLAGS-iosetbuffer.c): Likewise.
27860         (CFLAGS-iosetvbuf.c): Likewise.
27861         (CFLAGS-ioungetc.c): Likewise.
27862         (CFLAGS-ioungetwc.c): Likewise.
27863         (CFLAGS-oldfileops.c): Likewise.
27864         (CFLAGS-oldiofclose.c): Likewise.
27865         (CFLAGS-oldiofgetpos64.c): Likewise.
27866         (CFLAGS-oldiofgetpos.c): Likewise.
27867         (CFLAGS-oldiofsetpos64.c): Likewise.
27868         (CFLAGS-oldiofsetpos.c): Likewise.
27869         (CFLAGS-peekc.c): Likewise.
27870         (CFLAGS-putc.c): Likewise.
27871         (CFLAGS-putchar.c): Likewise.
27872         (CFLAGS-putwc.c): Likewise.
27873         (CFLAGS-putwchar.c): Likewise.
27874         (CFLAGS-rewind.c): Likewise.
27875         (CFLAGS-wfileops.c): Likewise.
27876         (CFLAGS-wgenops.c): Likewise.
27877         (CFLAGS-oldiofopen.c): Likewise.
27878         (CFLAGS-iofopen.c): Likewise.
27879         (CFLAGS-iofopen64.c): Likewise.
27880         (CFLAGS-oldtmpfile.c): Likewise.
27881         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27882         (CFLAGS-fprintf.c): Likewise.
27883         (CFLAGS-printf.c): Likewise.
27884         (CFLAGS-vfwprintf.c): Likewise.
27885         (CFLAGS-vfscanf.c): Likewise.
27886         (CFLAGS-vfwscanf.c): Likewise.
27887         (CFLAGS-fscanf.c): Likewise.
27888         (CFLAGS-scanf.c): Likewise.
27889         (CFLAGS-isoc99_vfscanf.c): Likewise.
27890         (CFLAGS-isoc99_vscanf.c): Likewise.
27891         (CFLAGS-isoc99_fscanf.c): Likewise.
27892         (CFLAGS-isoc99_scanf.c): Likewise.
27893         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27894         (CFLAGS-isoc99_fwscanf.c): Likewise.
27895         (CFLAGS-isoc99_vwscanf.c): Likewise.
27896         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27898         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27899         after mkstemp64.
27900         * login/tst-utmp.c (do_prepare): Likewise.
27901         * rt/tst-aio.c (do_prepare): Likewise.
27902         * rt/tst-aio64.c (do_prepare): Likewise.
27904 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27906         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27907         (__lll_lock_elision): Remove adapt_count decrement...
27908         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27909         (__lll_trylock_elision): Likewise.
27910         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27911         (__lll_unlock_elision): ... to here. And utilize
27912         new adapt_count parameter.
27913         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27914         (__lll_unlock_elision): Update to include adapt_count
27915         parameter.
27916         (lll_unlock_elision): Pass pointer to adapt_count
27917         variable.
27919 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27921         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27922         Add elision adapt_count parameter to list of arguments.
27923         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27924         (lll_unlock_elision): Update with new parameter list
27925         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27926         (lll_unlock_elision): Likewise.
27927         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27928         (lll_unlock_elision): Likewise.
27930 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27932         [BZ #19122]
27933         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27934         attribute_hidden.
27936         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27937         attribute_hidden.
27938         [IS_IN (rtld)] (__strdup): Likewise.
27939         [IS_IN (rtld)] (__strerror_r): Likewise.
27940         [IS_IN (rtld)] (__strsep_g): Likewise.
27941         [IS_IN (rtld)] (memchr): Likewise.
27942         [IS_IN (rtld)] (memcmp): Likewise.
27943         [IS_IN (rtld)] (memcpy): Likewise.
27944         [IS_IN (rtld)] (memmove): Likewise.
27945         [IS_IN (rtld)] (memset): Likewise.
27946         [IS_IN (rtld)] (rawmemchr): Likewise.
27947         [IS_IN (rtld)] (stpcpy): Likewise.
27948         [IS_IN (rtld)] (strchr): Likewise.
27949         [IS_IN (rtld)] (strcmp): Likewise.
27950         [IS_IN (rtld)] (strlen): Likewise.
27951         [IS_IN (rtld)] (strnlen): Likewise.
27952         [IS_IN (rtld)] (strsep): Likewise.
27954         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27955         attribute_hidden.
27956         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27958         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27959         attribute_hidden.
27960         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27962         * include/setjmp.h (__longjmp): Add attribute_hidden.
27963         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27965         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27966         Add attribute_hidden.
27968         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27969         [IS_IN (rtld)] (__open): Likewise.
27970         [IS_IN (rtld)] (__fcntl): Likewise.
27972         * include/dirent.h (__opendirat): Add attribute_hidden.
27973         (__getdents): Likewise.
27974         (__getdents64): Likewise.
27975         (__alloc_dir): Likewise.
27976         [IS_IN (rtld)] (__closedir): Likewise.
27977         [IS_IN (rtld)] (__fdopendir): Likewise.
27978         [IS_IN (rtld)] (__readdir): Likewise.
27979         [IS_IN (rtld)] (__readdir64): Likewise.
27980         [IS_IN (rtld)] (__rewinddir): Likewise.
27982         * include/dlfcn.h (_dl_catch_error): Moved to ...
27983         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27984         attribute_hidden.
27986         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27987         (_itoa_word): Likewise.
27989         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27990         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27991         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27992         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27993         (_dl_higher_prime_number): Likewise.
27994         (_dl_debug_printf_c): Likewise.
27995         (_dl_signal_cerror): Likewise.
27996         (_dl_receive_error): Likewise.
27997         (_dl_reloc_bad_type): Likewise.
27998         (_dl_resolve_conflicts): Likewise.
27999         (_dl_check_all_versions): Likewise.
28000         (_dl_check_map_versions): Likewise.
28001         (_dl_sort_fini): Likewise.
28002         (_dl_debug_initialize): Likewise.
28003         (_dl_init_paths): Likewise.
28004         (_dl_show_auxv): Likewise.
28005         (_dl_next_ld_env_entry): Likewise.
28006         (_dl_important_hwcaps): Likewise.
28007         (_dl_load_cache_lookup): Likewise.
28008         (_dl_update_slotinfo): Likewise.
28009         (_dl_show_scope): Likewise.
28011         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
28012         attribute_hidden.
28013         (_wordcopy_fwd_dest_aligned): Likewise.
28014         (_wordcopy_bwd_aligned): Likewise.
28015         (_wordcopy_bwd_dest_aligned): Likewise.
28017         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28018         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28019         Likewise.
28020         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28021         Likewise.
28022         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28024 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28026         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
28027         GCC 5 requirement.
28029 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28031         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
28032         test.
28033         * sysdeps/i386/configure: Regenerated.
28034         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
28035         code unconditional.
28037         * configure.ac (libc_cv_asm_previous_directive): Remove configure
28038         test.
28039         (libc_cv_asm_popsection_directive): Likewise.
28040         * configure: Regenerated.
28041         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
28042         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
28043         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
28044         (__make_section_unallocated): Make definition unconditional.
28045         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
28046         Remove conditional definition.
28047         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
28048         (__make_section_unallocated): Likewise.
28050         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
28051         * configure: Regenerated.
28052         * config.make.in (static-libgcc): Remove variable.
28053         * Makerules (build-shlib-helper): Use -static-libgcc instead of
28054         $(static-libgcc).
28055         (build-module-helper): Likewise.
28057         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
28058         * configure: Regenerated.
28060 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28062         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
28063         (struct char_buffer): New type.
28064         (char_buffer_start, char_buffer_size, char_buffer_error)
28065         (char_buffer_rewind, char_buffer_add): New functions.
28066         (ADDW): Remove macro, replaced by the char_buffer_add function.
28067         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
28068         of extend_alloca.  Make control flow more explicit.
28070 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28072         [BZ #19137]
28073         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
28074         Add -fomit-frame-pointer.
28075         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
28077 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28079         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
28080         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
28081         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28082         only if !__GNUC_PREREQ (5,0).
28083         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
28084         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28085         (INTERNAL_SYSCALL_NCS): Likewise.
28086         (LOADREGS_0): New macro for GCC 5.
28087         (ASMARGS_0): Likewise.
28088         (LOADREGS_1): Likewise.
28089         (ASMARGS_1): Likewise.
28090         (LOADREGS_2): Likewise.
28091         (ASMARGS_2): Likewise.
28092         (LOADREGS_3): Likewise.
28093         (ASMARGS_3): Likewise.
28094         (LOADREGS_4): Likewise.
28095         (ASMARGS_4): Likewise.
28096         (LOADREGS_5): Likewise.
28097         (ASMARGS_5): Likewise.
28098         (LOADREGS_6): Likewise.
28099         (ASMARGS_6): Likewise.
28101 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28103         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28104         -fomit-frame-pointer.
28105         (CFLAGS-mmap64.c): Likewise.
28106         (CFLAGS-semtimedop.c): Likewise.
28107         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28108         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28109         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28110         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28112 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28114         [BZ #18928]
28115         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28116         _dl_pointer_guard member.
28117         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28118         initializer.
28119         (security_init): Always set up pointer guard.
28120         (process_envvars): Do not process LD_POINTER_GUARD.
28122 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
28124         [BZ #19134]
28125         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28126         (.LC2): Likewise.
28127         (.LC3): Likewise.
28128         (__lround): Do not add 0.5 to integer or out-of-range arguments.
28130 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28132         [BZ #19129]
28133         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28134         r0 and r1.
28136 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
28138         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28140 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
28142         * include/stap-probe.h: Fix macro definition formatting.
28144 2015-10-14  Florian Weimer  <fweimer@redhat.com>
28146         [BZ #19074]
28147         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28148         load and store num_ifs.
28150 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28152         [BZ #18822]
28153         * sysdeps/unix/sysv/linux/sched_getaffinity.c
28154         (__sched_getaffinity_new): Add libc_hidden_proto and
28155         libc_hidden_def.
28157 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28159         [BZ #19007]
28160         * scripts/localplt.awk: Also allow GOT references.
28161         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28162         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28163         with "+ REL R_386_GLOB_DAT".
28164         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28165         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28167 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28169         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28170         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28171         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28172         Likewise.
28173         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28174         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28175         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28176         INTERNAL_SYSCALLINTERNAL_SYSCALL and
28177         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28178         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28179         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28180         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28181         Likewise.
28182         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28184 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28186         [BZ #19125]
28187         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28188         <math_private.h> and <stdint.h>.
28189         (__llround): Avoid conversions to and from long long int, and
28190         subtractions, where those might raise spurious exceptions.
28191         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28192         <math_private.h> and <stdint.h>.
28193         (__llroundf): Avoid conversions to and from long long int, and
28194         subtractions, where those might raise spurious exceptions.
28196 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28198         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28199         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28200         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28201         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28202         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28203         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28204         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28205         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28206         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28207         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28208         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28209         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28210         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28211         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28212         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28213         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28214         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28215         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28216         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28217         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28218         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28219         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28220         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28221         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28222         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28223         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28224         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28225         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28226         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28227         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28228         (__xstat64_conv): Likewise.
28229         (__xstat32_conv): Likewise.
28231 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28233         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28234         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28235         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28236         <sysdeps/unix/sysv/linux/sysdep.h>.
28237         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28238         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28239         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28240         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28241         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28242         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28243         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28244         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28245         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28250         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28251         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28253         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28254         (sysdep-dl-routines): Add sysdep.
28255         [$(subdir) == nptl] (libpthread-routines): Likewise.
28256         [$(subdir) == rt] (librt-routines): Likewise.
28257         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28258         PIC when branching to SYSCALL_ERROR_LABEL.
28259         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28261         <sysdeps/unix/sysv/linux/sysdep.h>.
28262         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28263         (SYSCALL_ERROR_ERRNO): Removed.
28264         (SYSCALL_ERROR_HANDLER): Changed to empty.
28265         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28266         (__syscall_error): New prototype.
28267         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28268         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28270 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28272         [BZ #19124]
28273         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28274         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28275         _dl_runtime_resolve_avx.
28276         (_dl_runtime_profile_avx512): Make it a hidden alias of
28277         _dl_runtime_profile_avx.
28279 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28281         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28282         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28283         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28284         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28286         [BZ #16422]
28287         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28288         New configure test.
28289         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28290         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28291         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28292         <math_private.h> and <stdint.h>.
28293         (__llrint): Avoid conversions to long long int where those might
28294         raise spurious exceptions.
28295         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28296         <math_private.h> and <stdint.h>.
28297         (__llrintf): Avoid conversions to long long int where those might
28298         raise spurious exceptions.
28300 2015-10-12  Andreas Schwab  <schwab@suse.de>
28302         [BZ #18969]
28303         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28304         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28305         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28306         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28307         $(gen-locales).
28308         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28309         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28310         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28311         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28312         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28313         $(gen-locales).
28314         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28315         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28316         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28317         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28318         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28319         ($(objpfx)tst-ftell-active-handler.out)
28320         ($(objpfx)tst-ftell-append.out)
28321         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28322         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28323         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28324         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28325         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28326         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28327         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28328         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28329         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28330         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28331         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28332         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28333         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28334         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28335         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28336         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28337         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28338         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28339         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28340         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28341         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28342         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28343         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28344         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28345         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28346         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28347         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28348         $(gen-locales).
28349         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28350         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28351         $(gen-locales).
28352         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28353         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28354         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28355         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28356         $(gen-locales).
28357         * libio/tst_wprintf2.c (main): Use explicit locale.
28358         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28360 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28362         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28363         __msg_sig_post.
28364         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28366 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28368         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28369         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28371         * sysdeps/arm/libm-test-ulps: Regenerated.
28373         [BZ #15470]
28374         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28376         [BZ #16399]
28377         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28378         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28379         and <fix-fp-int-convert-overflow.h>.
28380         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28381         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28382         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28383         and <fix-fp-int-convert-overflow.h>.
28384         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28385         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28386         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28387         <fix-fp-int-convert-overflow.h>.
28388         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28389         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28390         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28391         <fix-fp-int-convert-overflow.h>.
28392         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28393         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28394         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28395         and <fix-fp-int-convert-overflow.h>.
28396         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28397         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28398         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28399         <limits.h> and <fix-fp-int-convert-overflow.h>.
28400         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28401         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28402         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28403         and <fix-fp-int-convert-overflow.h>.
28404         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28405         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28406         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28407         and <fix-fp-int-convert-overflow.h>.
28408         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28409         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28410         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28412 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28414         [BZ #18589]
28415         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28416         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28417         $(gen-locales).
28419 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28420             Phil Blundell <pb@pbcl.net>
28422         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28423         * nptl/tst-cancel26.c: New file.
28424         * nptl/tst-cancel27.c: Likewise.
28426 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28428         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28429         __ILP32__ isn't defined.
28430         (lrint): Likewise.
28431         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28432         (lrintf): Likewise.
28433         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28434         (lrintl): Likewise.
28435         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28436         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28437         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28439 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28441         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28445         file.
28446         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28447         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28449 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28451         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28452         configure test.
28453         * sysdeps/i386/configure: Regenerated.
28454         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28455         configure test.
28456         * sysdeps/x86_64/configure: Regenerated.
28457         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28458         Make code unconditional.
28460         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28461         test.
28462         * sysdeps/i386/configure: Regenerated.
28463         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28464         test.
28465         * sysdeps/x86_64/configure: Regenerated.
28466         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28467         Make code unconditional.
28468         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28469         Likewise.
28470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28471         Likewise.
28472         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28473         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28474         code unconditional.
28475         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28476         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28477         code unconditional.
28478         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28479         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28480         code unconditional.
28481         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28482         code unconditional.
28483         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28484         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28485         code unconditional.
28486         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28487         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28488         code unconditional.
28489         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28490         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28491         code unconditional.
28492         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28493         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28494         code unconditional.
28495         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28496         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28498         [BZ #19095]
28499         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28500         mantissa to long int before shifting left.
28502 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28504         [BZ #19094]
28505         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28506         <limits.h>.
28507         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28508         when result overflows but exception would not result from cast.
28509         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28510         <limits.h>.
28511         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28512         when result overflows but exception would not result from cast.
28513         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28514         <limits.h>.
28515         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28516         when result overflows but exception would not result from cast.
28517         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28518         <limits.h>.
28519         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28520         when result overflows but exception would not result from cast.
28521         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28522         <limits.h>.
28523         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28524         when result overflows but exception would not result from cast.
28525         * math/libm-test.inc (lrint_test_data): Add more tests.
28526         (llrint_test_data): Likewise.
28528 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28530         [BZ #18872]
28531         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28532         Move out from under [$(run-built-tests) = yes] conditional.
28533         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28534         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28536 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28538         [BZ #18589]
28539         * string/Makefile (tests): Add bug-strcoll2.
28540         (LOCALES): Add cs_CZ.UTF-8.
28541         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28543         [BZ #18589]
28544         * string/bug-strcoll2.c: New file.
28545         * locale/categories.def: Revert commit
28546         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28547         * locale/langinfo.h: Likewise.
28548         * locale/localeinfo.h: Likewise.
28549         * locale/C-collate.c: Likewise.
28550         * locale/programs/ld-collate.c (collate_output): Likewise.
28551         * string/strcoll_l.c (STRDIFF): Likewise.
28552         (STRCOLL): Likewise.
28553         * wcsmbs/wcscoll_l.c: Likewise.
28555 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28557         * math/libm-test.inc (lround_test_data): Do not expect the absence
28558         of "inexact" for some tests with non-integer arguments.
28559         (llround_test_data): Likewise.
28561         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28562         test.
28563         (libc_cv_cc_sse2avx): Likewise.
28564         * sysdeps/i386/configure: Regenerated.
28565         * sysdeps/i386/i686/multiarch/Makefile
28566         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28567         [$(subdir) = math].
28568         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28569         code unconditional.
28570         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28571         Likewise.
28572         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28573         Likewise.
28574         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28575         Likewise.
28576         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28577         test.
28578         (libc_cv_cc_sse2avx): Likewise.
28579         * sysdeps/x86_64/configure: Regenerated.
28580         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28581         unconditional.
28582         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28583         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28584         unconditional.
28585         (_dl_runtime_profile)
28586         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28587         conditional code.
28588         * sysdeps/x86_64/fpu/multiarch/Makefile
28589         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28590         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28591         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28592         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28593         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28594         * sysdeps/x86_64/fpu/multiarch/e_log.c
28595         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28596         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28597         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28598         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28599         Likewise.
28600         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28601         Likewise.
28602         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28603         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28604         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28605         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28606         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28607         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28608         (HAVE_SSE2AVX_SUPPORT): Likewise.
28610 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28612         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28613         instead of #pragma optimize.
28615 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28617         [BZ #17195]
28618         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28619         as is similarly done in systrim and _int_free already.
28621 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28623         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28625 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28627         [BZ #19088]
28628         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28629         <limits.h>.
28630         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28631         overflows but exception would not result from cast.
28632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28633         and <limits.h>.
28634         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28635         overflows but exception would not result from cast.
28636         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28637         <limits.h>.
28638         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28639         overflows but exception would not result from cast.
28640         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28641         <limits.h>.
28642         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28643         overflows but exception would not result from cast.
28644         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28645         <limits.h>.
28646         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28647         overflows but exception would not result from cast.
28648         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28649         <limits.h>.
28650         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28651         overflows but exception would not result from cast.
28652         * math/libm-test.inc (lround_test_data): Add more tests.
28653         (llround_test_data): Likewise.
28655 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28657         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28658         (CFLAGS-ialloc.c): Ditto.
28659         (CFLAGS-scheck.c): Ditto.
28661 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28663         [BZ #19086]
28664         * manual/filesys.texi (Storage Allocation): Fix argument order for
28665         posix_fallocate64.
28667 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28669         [BZ #19085]
28670         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28671         exponent below 48 inside case for non-overflowing exponent.
28672         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28674 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28676         * iconvdata/cp737.h (from_idx): Add const.
28677         * iconvdata/cp775.h (from_idx): Likewise.
28679 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28681         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28682         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28683         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28685         [BZ #19079]
28686         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28687         file, conditioned on [!_LP64].
28688         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28689         [!_LP64] (__lround): Do not define as function or alias.
28690         [!_LP64] (lround): Likewise.
28691         [!_LP64] (__lroundl): Likewise.
28692         [!_LP64] (lroundl): Likewise.
28693         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28694         macro.
28695         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28696         Likewise.
28698 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28700         * math/libm-test.inc (lrint_test_data): Add more tests.
28701         (llrint_test_data): Likewise.
28702         (lround_test_data): Likewise.
28703         (llround_test_data): Likewise.
28705         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28706         (llrint_test_data): Add tests used for lrint.
28708         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28709         test.
28710         * sysdeps/i386/configure: Regenerated.
28711         * sysdeps/i386/i686/multiarch/Makefile
28712         [$(config-cflags-sse4) = yes]: Make code unconditional.
28713         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28714         Likewise.
28715         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28716         Likewise.
28717         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28718         test.
28719         * sysdeps/x86_64/configure: Regenerated.
28720         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28721         Make code unconditional.
28722         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28723         Likewise.
28724         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28725         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28727         * scripts/rpm2dynsym.sh: Remove file.
28729 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28731         * configure.ac (libc_cv_cxx_thread_local): Define.
28732         * configure: Regenerate.
28733         * config.make.in (have-cxx-thread_local): Define.
28734         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28735         (LDLIBS-tst-thread_local1): Define.
28736         (tests): Add tst-thread_local1.
28737         [have-cxx-thread_local != yes] (tests-unsupported): Add
28738         tst-thread_local1.
28739         * nptl/tst-thread_local1.cc: New file.
28741 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28743         [BZ #19078]
28744         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28745         (u_thres): Likewise.
28746         (__expl): Determine whether to call __kernel_standard_l based on
28747         value of result, not argument.
28749         * math/libm-test.inc (scalb_test_data): Add more expectations for
28750         the "inexact" exception.
28752         [BZ #19077]
28753         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28754         0.0L for argument 1.0L.
28756         [BZ #19076]
28757         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28758         constant 0.0L when computing infinite result.
28760 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28762         [BZ #10432]
28763         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28764         malloc_usable_size.
28766 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28768         [BZ #19018]
28769         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28770         Mangle function pointer before storing it.
28771         (__call_tls_dtors): Demangle function pointer before calling it.
28773 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28775         [BZ #19012]
28776         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28777         Clean up on failure.
28779 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28781         [BZ #19071]
28782         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28783         long int variable to store possibly incremented high part of
28784         mantissa.
28785         * math/libm-test.inc (lround_test_data): Add tests used for
28786         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28787         for tests requiring 64-bit long.  Do not condition tests on
28788         [TEST_FLOAT] unnecessarily.
28789         (llround_test_data): Add tests used for lround.  Add another
28790         expectation for the "inexact" exception.  Do not condition tests
28791         on [TEST_FLOAT] unnecessarily.
28793         [BZ #887]
28794         [BZ #19049]
28795         [BZ #19050]
28796         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28797         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28798         <fix-int-fp-convert-zero.h>.
28799         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28800         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28801         <fix-int-fp-convert-zero.h>.
28802         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28803         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28804         <fix-int-fp-convert-zero.h>.
28805         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28806         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28807         <fix-int-fp-convert-zero.h>.
28808         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28809         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28810         <fix-int-fp-convert-zero.h>.
28811         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28812         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28813         <fix-int-fp-convert-zero.h>.
28814         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28815         * sysdeps/ieee754/flt-32/s_erff.c: Include
28816         <fix-int-fp-convert-zero.h>.
28817         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28818         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28819         <fix-int-fp-convert-zero.h>.
28820         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28822         <fix-int-fp-convert-zero.h>.
28823         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28825         <fix-int-fp-convert-zero.h>.
28826         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28827         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28828         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28829         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28830         file.
28831         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28833 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28835         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28837 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28839         [BZ #19059]
28840         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28841         overflowing computation.
28842         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28843         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28844         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28845         Likewise.
28846         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28847         Likewise.
28848         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28849         Likewise.
28850         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28851         Likewise.
28852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28853         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28854         Likewise.
28855         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28856         Likewise.
28857         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28859         * nss/rewrite_field.c (__nss_rewrite_field): Use
28860         internal_function.
28861         * nss/valid_field.c (__nss_valid_field): Likewise.
28862         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28864 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28866         [BZ #18724]
28867         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28868         (__nss_invalid_field_characters, __nss_valid_field)
28869         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28870         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28871         tst-field.c: New file.
28872         * nss/Makefile (routines): Add valid_field, rewrite_field.
28873         (tests-static): Define unconditionally.
28874         (tests): Include tests-static.
28875         [build-static-nss] (tests-static): Use append.
28876         [build-static-nss] (tests): Remove modification.
28877         * nss/getent.c (print_group): Call putgrent.  Report error.
28878         (print_gshadow): Call putsgent.  Report error.
28879         (print_passwd): Call putpwent.  Report error.
28880         (print_shadow): Call putspent.  Report error.
28881         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28882         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28883         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28884         name, password, directory, shell fields for valid syntax.  Rewrite
28885         GECOS field to match syntax.
28886         * pwd/Makefile (tests): Add tst-putpwent.
28887         * pwd/tst-putpwent.c: New file.
28888         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28889         Check grName, grpasswd, gr_mem fields for valid syntax.
28890         Change loop variable i to size_t.
28891         * grp/Makefile (tests): Add tst-putgrent.
28892         * grp/tst-putgrent.c: New file.
28893         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28894         valid syntax.
28895         * shadow/Makefile (tests): Add tst-putspent.
28896         * shadow/tst-putspent.c: New file.
28897         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28898         sg_mem fields for valid syntax.
28899         * gshadow/Makefile (tests): Add tst-putsgent.
28900         * gshadow/tst-putsgent.c: New file.
28902 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28904         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28905         assembly instructions.
28907 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28909         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28910         prefix from operands.
28912 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28914         [BZ #16347]
28915         [BZ #19046]
28916         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28917         <libc-internal.h>.
28918         (MAXLGM): Do not use diagnostic control macros.
28919         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28920         threshold for ldbl-128ibm.
28921         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28922         instead of multiplying by log then subtracting.
28923         * math/auto-libm-test-in: Add more tests of lgamma.
28924         * math/auto-libm-test-out: Regenerated.
28926         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28927         (TYPE_HEX_DIG): Likewise.
28928         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28929         precisions when printing floating-point numbers.
28930         (check_float_internal): Likewise.
28932 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28934         [BZ #16620]
28935         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28936         of log (10) rounded downward to 48 bits.
28937         (log10_low): Use corresponding low part of log (10).
28939         [BZ #19032]
28940         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28941         compute result as (x - x) / (x - x) not as 0 / 0.
28942         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28943         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28945         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28946         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28947         and expm1.
28948         * math/auto-libm-test-out: Regenerated.
28949         * math/libm-test.inc (acos_test_data): Add more tests.
28950         (asin_test_data): Likewise.
28951         (asinh_test_data): Likewise.
28952         (atan_test_data): Likewise.
28953         (atanh_test_data): Likewise.
28954         (atan2_test_data): Likewise.
28955         (cbrt_test_data): Likewise.
28956         (ceil_test_data): Likewise.
28957         (copysign_test_data): Likewise.
28958         (cos_test_data): Likewise.
28959         (cosh_test_data): Likewise.
28960         (erf_test_data): Likewise.
28961         (erfc_test_data): Likewise.
28962         (exp_test_data): Likewise.
28963         (exp10_test_data): Likewise.
28964         (exp2_test_data): Likewise.
28965         (expm1_test_data): Likewise.
28966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28968 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28970         [BZ #19006]
28971         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28972         to ...
28973         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28974         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28975         to ...
28976         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28977         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28978         to ...
28979         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28980         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28981         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28982         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28983         to ...
28984         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28985         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28986         Moved to ...
28987         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28989         Moved to ...
28990         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28991         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28992         to ...
28993         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28994         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28995         Moved to ...
28996         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28997         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28998         to ...
28999         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
29000         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
29001         Removed.
29002         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
29003         Likewise.
29004         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
29005         Likewise.
29006         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
29007         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
29008         Likewise.
29009         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29010         Likewise.
29011         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29012         Likewise.
29013         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29014         Likewise.
29015         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29016         Likewise.
29017         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
29018         Likewise.
29019         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
29020         Likewise.
29021         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
29022         Likewise.
29023         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
29024         Likewise.
29025         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
29026         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
29027         Likewise.
29028         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29029         Likewise.
29030         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29031         Likewise.
29032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29033         Likewise.
29034         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
29035         Likewise.
29036         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29037         Replace ../i486/pthread_cond_timedwait.S with
29038         ../pthread_cond_timedwait.S.
29040 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29042         * math/libm-test.inc (acos_test_data): Refine expectations for
29043         errno and "inexact" exceptions.
29044         (acosh_test_data): Likewise.
29045         (asin_test_data): Likewise.
29046         (asinh_test_data): Likewise.
29047         (atan_test_data): Likewise.
29048         (atanh_test_data): Likewise.
29049         (atan2_test_data): Likewise.
29050         (cbrt_test_data): Likewise.
29051         (ceil_test_data): Likewise.
29052         (copysign_test_data): Likewise.
29053         (cosh_test_data): Likewise.
29054         (erf_test_data): Likewise.
29055         (erfc_test_data): Likewise.
29056         (exp_test_data): Likewise.
29057         (exp10_test_data): Likewise.
29058         (exp2_test_data): Likewise.
29059         (expm1_test_data): Likewise.
29060         (fabs_test_data): Likewise.
29061         (floor_test_data): Likewise.
29062         (fma_test_data): Likewise.
29063         (fmax_test_data): Likewise.
29064         (fmin_test_data): Likewise.
29065         (fmod_test_data): Likewise.
29066         (fpclassify_test_data): Likewise.
29067         (frexp_test_data): Likewise.
29068         (hypot_test_data): Likewise.
29069         (ilogb_test_data): Likewise.
29070         (isgreater_test_data): Likewise.
29071         (isgreaterequal_test_data): Likewise.
29072         (isinf_test_data): Likewise.
29073         (isless_test_data): Likewise.
29074         (islessequal_test_data): Likewise.
29075         (islessgreater_test_data): Likewise.
29076         (isnan_test_data): Likewise.
29077         (isnormal_test_data): Likewise.
29078         (issignaling_test_data): Likewise.
29079         (isunordered_test_data): Likewise.
29080         (j0_test_data): Likewise.
29081         (j1_test_data): Likewise.
29082         (jn_test_data): Likewise.
29083         (lgamma_test_data): Likewise.
29084         (lrint_test_data): Likewise.
29085         (llrint_test_data): Likewise.
29086         (log_test_data): Likewise.
29087         (log10_test_data): Likewise.
29088         (log1p_test_data): Likewise.
29089         (log2_test_data): Likewise.
29090         (logb_test_data): Likewise.
29091         (lround_test_data): Likewise.
29092         (llround_test_data): Likewise.
29093         (modf_test_data): Likewise.
29094         (nearbyint_test_data): Likewise.
29095         (nextafter_test_data): Likewise.
29096         (nexttoward_test_data): Likewise.
29097         (pow_test_data): Likewise.
29098         (remainder_test_data): Likewise.
29099         (remquo_test_data): Likewise.
29100         (rint_test_data): Likewise.
29101         (round_test_data): Likewise.
29102         (signbit_test_data): Likewise.
29103         (sinh_test_data): Likewise.
29104         (sqrt_test_data): Likewise.
29105         (tanh_test_data): Likewise.
29106         (tgamma_test_data): Likewise.
29107         (trunc_test_data): Likewise.
29108         (y0_test_data): Likewise.
29109         (y1_test_data): Likewise.
29110         (yn_test_data): Likewise.
29111         (significand_test_data): Likewise.
29113 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
29115         * manual/filesys.texi (Storage Allocation): Document that
29116         posix_fallocate emulation fails when fd is open with O_WRONLY.
29118 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
29120         [BZ #19016]
29121         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29122         allow more cases with X^2 + Y^2 >= 0.5.
29123         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
29124         normal element in sum instead of special-casing based on values of
29125         arguments.
29126         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29127         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
29128         -1 as normal element in sum instead of special-casing based on
29129         values of arguments.
29130         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29131         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29132         (__x2y2m1): Update comment.
29133         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
29134         as normal element in sum instead of special-casing based on values
29135         of arguments.
29136         * math/s_clog.c (__clog): Handle more cases using log1p without
29137         hypot.
29138         * math/s_clog10.c (__clog10): Likewise.
29139         * math/s_clog10f.c (__clog10f): Likewise.
29140         * math/s_clog10l.c (__clog10l): Likewise.
29141         * math/s_clogf.c (__clogf): Likewise.
29142         * math/s_clogl.c (__clogl): Likewise.
29143         * math/auto-libm-test-in: Add more tests of clog and clog10.
29144         * math/auto-libm-test-out: Regenerated.
29145         * sysdeps/i386/fpu/libm-test-ulps: Update.
29146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29148 2015-09-28  Martin Sebor  <msebor@redhat.com>
29150         [BZ #18969]
29151         * string/Makefile (LOCALES): Define.
29152         (gen-locales.mk): Include.
29153         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29154         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29155         * string/tst-strxfrm2.c (do_test): Print the name of the locale
29156         on setlocale failure.
29158 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29160         [BZ #18985]
29161         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29162         (__strftime_internal): Likewise.
29163         * time/tst-strftime.c (do_bz18985): New test.
29164         (do_test): Call it.
29166 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
29168         [BZ #18956]
29169         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29170         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
29171         extracting high part.
29172         * math/auto-libm-test-in: Add another test of pow.
29173         * math/auto-libm-test-out: Regenerated.
29174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29176 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29178         [BZ #18825]
29179         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29180         New macro.
29181         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29182         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29183         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29184         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29185         DBL_NARROW_EVAL, reloading the PIC register as needed.
29186         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29187         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29188         FLT_NARROW_EVAL.  Use separate return path for case when first
29189         argument is NaN.
29190         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
29191         DEFINE_LDBL_MIN.
29192         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29193         PIC register.
29194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29195         math_check_force_underflow_nonneg.
29196         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29197         underflow for subnormal result.
29198         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29199         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29200         math_check_force_underflow_nonneg.
29201         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29202         math_check_force_underflow.
29203         * sysdeps/x86_64/fpu/x86_64-math-asm.h
29204         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29205         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
29206         DEFINE_LDBL_MIN.
29207         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29208         * math/auto-libm-test-in: Add more tests of pow.
29209         * math/auto-libm-test-out: Regenerated.
29211 2015-09-25  Florian Weimer  <fweimer@redhat.com>
29213         * nss/bug17079.c (init_test_items): Add diagnostic for
29214         inconsistent entries.
29215         (test_buffer_size): Skip inconsistent entries.
29217 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29219         [BZ #13304]
29220         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29221         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29222         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29224         [BZ #13304]
29225         * sysdeps/microblaze/s_fma.c: New file.
29226         * sysdeps/microblaze/s_fmaf.c: Likewise.
29227         * sysdeps/microblaze/sfp-machine.h: Likewise.
29229 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29231         [BZ #17250]
29232         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29233         member.
29235 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29237         [BZ #18803]
29238         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29239         (MO): New macro.
29240         (__ieee754_hypot) [PIC]: Load PIC register.
29241         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29242         DBL_NARROW_EVAL.
29243         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29244         math_check_force_underflow_nonneg in case where result might be
29245         tiny.
29246         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29247         Likewise.
29248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29249         Likewise.
29250         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29251         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29252         * math/auto-libm-test-in: Add more tests of hypot.
29253         * math/auto-libm-test-out: Regenerated.
29255 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29257         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29259 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29261         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29262         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29263         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29264         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29265         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29266         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29267         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29269         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29270         LOAD_PIC_REG.
29272         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29273         (FLT_CHECK_FORCE_UFLOW): Likewise.
29274         (DBL_CHECK_FORCE_UFLOW): Likewise.
29275         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29276         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29277         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29278         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29279         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29280         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29281         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29282         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29283         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29284         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29285         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29286         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29287         (flt_min): Replace with use of DEFINE_FLT_MIN.
29288         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29289         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29290         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29291         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29292         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29293         (flt_min): Replace with use of DEFINE_FLT_MIN.
29294         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29295         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29296         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29297         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29298         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29299         (flt_min): Replace with use of DEFINE_FLT_MIN.
29300         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29301         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29302         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29303         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29304         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29305         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29306         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29307         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29308         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29309         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29310         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29311         (flt_min): Replace with use of DEFINE_FLT_MIN.
29312         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29313         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29314         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29315         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29316         main computation.
29317         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29318         (flt_min): Replace with use of DEFINE_FLT_MIN.
29319         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29320         main computation.
29321         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29322         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29323         (MO): New macro.
29324         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29325         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29326         (flt_min): Replace with use of DEFINE_FLT_MIN.
29327         (MO): New macro.
29328         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29329         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29330         (__log1pl): Use MO.
29332         [BZ #19003]
29333         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29334         $(config-cflags-nofma).
29336 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29338         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29340 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29342         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29343         (TWO127): Likewise.
29345         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29346         (min_of_type): Likewise.
29347         (math_check_force_underflow): Likewise.
29348         (math_check_force_underflow_nonneg): Likewise.
29349         (math_check_force_underflow_complex): Likewise.
29350         * math/e_exp2l.c (__ieee754_exp2l): Use
29351         math_check_force_underflow_nonneg.
29352         * math/k_casinh.c (__kernel_casinh): Likewise.
29353         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29354         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29355         * math/s_catan.c (__catan): Use
29356         math_check_force_underflow_complex.
29357         * math/s_catanf.c (__catanf): Likewise.
29358         * math/s_catanh.c (__catanh): Likewise.
29359         * math/s_catanhf.c (__catanhf): Likewise.
29360         * math/s_catanhl.c (__catanhl): Likewise.
29361         * math/s_catanl.c (__catanl): Likewise.
29362         * math/s_ccosh.c (__ccosh): Likewise.
29363         * math/s_ccoshf.c (__ccoshf): Likewise.
29364         * math/s_ccoshl.c (__ccoshl): Likewise.
29365         * math/s_cexp.c (__cexp): Likewise.
29366         * math/s_cexpf.c (__cexpf): Likewise.
29367         * math/s_cexpl.c (__cexpl): Likewise.
29368         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29369         * math/s_clog10.c (__clog10): Likewise.
29370         * math/s_clog10f.c (__clog10f): Likewise.
29371         * math/s_clog10l.c (__clog10l): Likewise.
29372         * math/s_clogf.c (__clogf): Likewise.
29373         * math/s_clogl.c (__clogl): Likewise.
29374         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29375         * math/s_csinf.c (__csinf): Likewise.
29376         * math/s_csinh.c (__csinh): Likewise.
29377         * math/s_csinhf.c (__csinhf): Likewise.
29378         * math/s_csinhl.c (__csinhl): Likewise.
29379         * math/s_csinl.c (__csinl): Likewise.
29380         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29381         * math/s_csqrtf.c (__csqrtf): Likewise.
29382         * math/s_csqrtl.c (__csqrtl): Likewise.
29383         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29384         * math/s_ctanf.c (__ctanf): Likewise.
29385         * math/s_ctanh.c (__ctanh): Likewise.
29386         * math/s_ctanhf.c (__ctanhf): Likewise.
29387         * math/s_ctanhl.c (__ctanhl): Likewise.
29388         * math/s_ctanl.c (__ctanl): Likewise.
29389         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29390         instead of volatile.
29391         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29392         math_check_force_underflow.
29393         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29394         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29395         volatile when forcing underflow.
29396         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29397         math_check_force_underflow_nonneg.
29398         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29399         Likewise.
29400         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29401         math_check_force_underflow.
29402         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29403         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29404         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29405         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29406         math_check_force_underflow_nonneg.
29407         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29408         math_check_force_underflow.
29409         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29411         instead of volatile.
29412         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29413         math_check_force_underflow.
29414         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29415         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29416         math_check_force_underflow_nonneg.
29417         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29418         math_check_force_underflow.
29419         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29420         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29421         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29422         math_check_force_underflow_nonneg.
29423         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29424         Likewise.
29425         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29426         math_check_force_underflow.
29427         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29428         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29429         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29430         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29431         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29432         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29433         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29434         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29435         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29436         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29437         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29438         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29439         Likewise.
29440         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29441         math_check_force_underflow_nonneg.
29442         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29443         Likewise.
29444         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29445         math_check_force_underflow.
29446         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29447         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29448         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29449         Likewise.
29450         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29451         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29452         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29453         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29454         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29455         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29457         instead of volatile.
29458         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29459         math_check_force_underflow.
29460         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29461         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29462         math_check_force_underflow.
29463         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29464         Likewise.
29465         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29466         Use math_check_force_underflow_nonneg.
29467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29468         math_check_force_underflow.
29469         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29470         Likewise.
29471         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29472         Likewise.
29473         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29474         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29475         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29476         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29477         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29478         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29479         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29480         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29481         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29482         math_check_force_underflow_nonneg.
29483         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29484         math_check_force_underflow.
29485         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29486         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29487         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29488         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29489         math_check_force_underflow_nonneg.
29490         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29491         math_check_force_underflow.
29492         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29494         instead of volatile.
29495         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29496         math_check_force_underflow.
29498         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29499         * stdlib/strtod_l.c: Include <math_private.h>.
29500         (overflow_value): Use math_narrow_eval.
29501         (underflow_value): Likewise.
29502         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29503         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29504         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29505         (__ieee754_gamma_r): Likewise.
29506         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29507         Likewise.
29508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29509         Likewise.
29510         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29511         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29512         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29513         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29514         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29515         (__ieee754_gammaf_r): Likewise.
29516         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29517         Likewise.
29518         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29519         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29520         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29521         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29522         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29523         volatile.
29524         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29525         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29526         math_narrow_eval.
29527         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29528         Likewise.
29529         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29530         Likewise.
29531         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29532         Likewise.
29533         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29534         volatile.
29535         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29536         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29537         math_narrow_eval.
29538         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29539         Likewise.
29540         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29541         Likewise.
29543 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29545         * nptl/Versions: Remove ignored symbols.
29547 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29549         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29550         * nss/Makefile (tests): Update.
29552 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29554         * nss/bug18287.c: New file.
29555         * nss/Makefile (tests): Add bug18287.
29557 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29559         * mach/Versions (__mach_host_self_): Add symbol.
29561 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29563         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29564         vm_page_size.
29566 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29568         Really fix sysdeps/i386/fpu/s_scalbn.S build
29570         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29571         (libc: GLIBC_2_22): Remove unused version set.
29573 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29575         * config.make.in (enable-timezone-tools): New variable.
29576         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29577         (enable_timezone_tools): Export to generated files.
29578         * configure: Regenerate.
29579         * INSTALL: Regenerate.
29580         * manual/install.texi (--disable-timezone-tools): Document new flag.
29581         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29582         ifeq ($(enable-timezone-tools),yes) check.
29584 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29586         * timezone/Makefile: Revert previous change.
29588         [BZ #18980]
29589         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29590         (DEFINE_DBL_MIN): Likewise.
29591         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29592         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29593         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29594         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29595         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29596         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29597         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29598         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29599         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29600         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29601         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29602         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29603         (flt_min): Replace with use of DEFINE_FLT_MIN.
29604         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29605         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29606         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29607         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29608         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29609         (flt_min): Replace with use of DEFINE_FLT_MIN.
29610         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29611         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29612         (flt_min): Replace with use of DEFINE_FLT_MIN.
29613         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29614         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29615         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29616         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29617         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29618         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29619         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29620         (__ieee754_pow): Use DBL_NARROW_EVAL.
29621         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29622         (__ieee754_powf): Use FLT_NARROW_EVAL.
29623         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29624         (__ieee754_expf_sse2): Convert double-precision result to single
29625         precision.
29626         * sysdeps/i386/fpu/libm-test-ulps: Update.
29628 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29630         * timezone/Makefile: Ignore unused variable errors due to private.h
29631         (time_t_min) and (time_t_max).
29632         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29633         Likewise.
29635 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29637         [BZ #18981]
29638         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29639         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29640         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29641         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29642         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29643         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29644         (__scalbn): Use DBL_NARROW_EVAL.
29645         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29646         (__scalbnf): Use FLT_NARROW_EVAL.
29648 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29650         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29651         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29652         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29653         * stdio-common/printf_fp.c (___printf_fp):
29654         Use signbit to get the sign. Use isinf macro to allow inlining.
29655         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29656         * stdio-common/printf_size.c (__printf_size): Likewise.
29658 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29660         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29662 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29664         [BZ #18980]
29665         * sysdeps/generic/math_private.h: Include <float.h>.
29666         (math_narrow_eval): New macro.
29667         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29668         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29669         math_narrow_eval on overflowing return value.
29670         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29671         Likewise.
29672         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29673         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29674         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29675         Likewise.
29676         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29678 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29680         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29681         * math/Makefile: Remove isinf_ns.c.
29682         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29683         * math/multc3.c (__multc3): Likewise.
29684         * math/s_casin.c (__casin): Likewise.
29685         * math/s_casinf.c (__casinf): Likewise.
29686         * math/s_casinl.c (__casinl): Likewise.
29687         * math/s_cproj.c (__cproj): Likewise.
29688         * math/s_cprojf.c (__cprojf): Likewise.
29689         * math/s_cprojl.c (__cprofl): Likewise.
29690         * math/s_ctan.c (__ctan): Likewise.
29691         * math/s_ctanf.c (__ctanf): Likewise.
29692         * math/s_ctanh.c (__ctanh): Likewise.
29693         * math/s_ctanhf.c (__ctanhf): Likewise.
29694         * math/s_ctanhl.c (__ctanhl): Likewise.
29695         * math/s_ctanl.c (__ctanl): Likewise.
29696         * math/w_fmod.c (__fmod): Likewise.
29697         * math/w_fmodf.c (__fmodf): Likewise.
29698         * math/w_fmodl.c (_fmodl): Likewise.
29699         * math/w_remainder.c (__remainder): Likewise.
29700         * math/w_remainderf.c (__remainderf): Likewise.
29701         * math/w_remainderl.c (__remainderl): Likewise.
29702         * math/w_scalb.c (__scalb): Likewise.
29703         * math/w_scalbf.c (__scalbf): Likewise.
29704         * math/w_scalbl.c (__scalbl): Likewise.
29705         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29706         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29707         with isinf.
29708         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29710         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29711         __isinf_nsf with isinf.
29712         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29713         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29714         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29715         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29716         with isinf.
29717         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29718         __isinf_nsl with isinf.
29719         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29720         with isinf.
29721         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29722         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29723         __isinf_nsl with isinf.
29724         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29725         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29726         with isinf.
29728 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29730         * resolv/base64.c (rcsid): Remove unused static.
29731         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29732         static.  (tqpi1): Likewise.
29733         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29734         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29735         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29736         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29737         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29738         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29740         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29741         Likewise.
29743 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29745         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29746         <nptl/pthreadP.h>.
29747         (_longjmp_unwind): Use __libc_ptf_call.
29748         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29750 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29752         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29753         * sysdeps/arm/__longjmp.S: Likewise.
29755 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29757         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29758         Use __builtin_signbit.
29759         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29760         Use __builtin_signbitf.
29761         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29762         Use __builtin_signbitl.
29763         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29764         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29766 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29768         [BZ #15367]
29769         [BZ #17441]
29771         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29772         * math/math.h (fpclassify): Use __builtin_fpclassify when
29773         available.  (signbit): Use __builtin_signbit(f/l).
29774         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29775         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29776         (isinf): Use __builtin_isinf_sign.
29778 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29780         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29781         * benchtests/bench-math-inlines.c: New benchmark.
29782         * benchtests/bench-util.h: New file.
29783         * benchtests/bench-util.c: New file.
29784         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29786 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29788         * elf/tst-dlmopen1.c: Define TEST_SO.
29789         (do_test): Use TEST_SO.
29791         * elf/dl-load.c: Include libc-internal.h.
29792         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29794 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29796         [BZ #17887]
29797         * time/strptime_l.c (__strptime_internal): Make %z accept
29798         [+-]HH:MM time zones.
29800 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29802         [BZ #17886]
29803         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29804         valid time zone.
29806 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29808         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29809         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29810         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29811         (__ASSUME_FDATASYNC): Delete.
29813 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29815         * conform/linknamespace.pl: Require weak undefined symbols to be
29816         in the standard namespace.
29817         (%strong_syms): Rename to %seen_syms.
29818         (%strong_seen): Rename to %seen_where.
29820 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29822         [BZ #18970]
29823         * misc/error.c (error): Replace pthread_setcancelstate with
29824         __pthread_setcancelstate.
29825         (error_at_line): Likewise.
29826         * posix/wordexp.c (parse_comm): Likewise.
29827         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29828         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29829         (__pthread_setcancelstate): This.
29830         (pthread_setcancelstate): Add an alias.
29831         * nptl/nptl-init.c (pthread_functions): Replace
29832         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29833         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29834         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29835         hidden_proto.
29836         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29837         it with hidden_def.
29838         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29839         (pthread_setcancelstate): Renamed to ...
29840         (__pthread_setcancelstate): This.
29841         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29842         __libc_ptf_call with __pthread_setcancelstate.
29844 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29845             Andreas Schwab  <schwab@suse.de>
29847         [BZ #17118]
29848         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29849         result when imaginary part of argument is infinite using sine and
29850         cosine.
29851         * math/s_ctanf.c (__ctanf): Likewise.
29852         * math/s_ctanl.c (__ctanl): Likewise.
29853         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29854         of result when real part of argument is infinite using sine and
29855         cosine.
29856         * math/s_ctanhf.c (__ctanhf): Likewise.
29857         * math/s_ctanhl.c (__ctanhl): Likewise.
29858         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29859         (ctanh_test_data): Add more tests of ctanh.
29861 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29863         [BZ #15384]
29864         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29865         bit-mask as in subtraction.
29866         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29867         Likewise.
29868         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29869         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29870         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29872         [BZ #18951]
29873         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29874         underflow exception for small results.
29875         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29876         Likewise.
29877         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29878         Likewise.
29879         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29880         Likewise.
29881         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29882         Likewise.
29883         * math/auto-libm-test-in: Add more tests of tgamma.
29884         * math/auto-libm-test-out: Regenerated.
29886 2015-09-17  Andreas Schwab  <schwab@suse.de>
29888         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29890 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29892         [BZ #18977]
29893         * math/bits/mathcalls.h
29894         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29895         not declare.
29896         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29897         Likewise.
29898         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29899         Likewise.
29900         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29901         Likewise.
29902         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29903         Likewise.
29904         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29905         Likewise.
29906         * conform/data/math.h-data
29907         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29908         function.
29909         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29911         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29913         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29916         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29917         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29918         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29919         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29921         [BZ #6803]
29922         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29923         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29924         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29925         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29926         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29927         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29928         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29929         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29930         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29931         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29932         Likewise.
29933         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29934         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29935         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29937         long_double_symbol calls.
29938         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29939         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29940         strong alias of __ldexpl.
29941         (scalbnl): Define using long_double_symbol.
29942         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29943         Remove alias.
29944         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29945         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29946         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29947         (scalbln_test_data): Add more errno expectations.
29949 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29951         Cache the host port like we cache the task port.  This way we do not
29952         need to call the kernel just to get the port.  Furthermore, we no
29953         longer increase the reference count on every invocation of
29954         `mach_host_self'.
29956         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29957         Protect declarations against the macro expansion.
29958         * mach/mach_init.c (__mach_host_self_): New variable.
29959         (mach_init): Initialize `__mach_host_self_'.
29960         * mach/mach_init.h (__mach_host_self_): New declaration.
29961         (__mach_host_self, mach_host_self): New macros.
29962         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29963         Release reference.
29965 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29967         [BZ #4404]
29968         * po/de.po: Update from Translation Project.
29970         [BZ #16415]
29971         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29972         (__expm1l): Remove code to handle positive infinity and overflow.
29973         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29974         variable.
29975         (__expm1l): Remove code to handle positive infinity and overflow.
29977 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29978             Paul Pluzhnikov  <ppluzhnikov@google.com>
29980         [BZ #18872]
29981         * stdio-common/Makefile (tst-printf-bz18872): New test.
29982         (tst-printf-bz18872-mem.out): Likewise.
29983         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29984         * stdio-common/vfprintf.c: Fix memory leaks.
29986 2015-09-16  Andreas Schwab  <schwab@suse.de>
29988         [BZ #17244]
29989         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29990         Remove extra va_start/va_end calls.
29992         [BZ #17243]
29993         * posix/execl.c (execl): Add missing va_end.
29994         * posix/execle.c (execle): Likewise.
29995         * posix/execlp.c (execlp): Likewise.
29997 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29999         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
30000         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
30002 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
30004         [BZ #18967]
30005         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
30006         undefine around includes of <bits/mathcalls.h>.
30007         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
30008         not declare function.
30009         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
30010         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
30011         (scalb): Likewise.
30012         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
30013         not define macro.
30014         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
30015         variable.
30016         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30017         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30018         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30020         [BZ #18857]
30021         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
30022         return non-finite argument without doing ordered comparisons on
30023         it.
30025         [BZ #16296]
30026         * math/fenv.h (fegetround): Use __attribute_pure__.
30027         * include/fenv.h (__fegetround): Likewise.
30029         [BZ #18595]
30030         * math/s_ctan.c (__ctan): Force underflow exception for results
30031         whose real or imaginary part has small absolute value.
30032         * math/s_ctanf.c (__ctanf): Likewise.
30033         * math/s_ctanh.c (__ctanh): Likewise.
30034         * math/s_ctanhf.c (__ctanhf): Likewise.
30035         * math/s_ctanhl.c (__ctanhl): Likewise.
30036         * math/s_ctanl.c (__ctanl): Likewise.
30037         * math/auto-libm-test-in: Do not allow missing underflow for ctan
30038         and ctanh.  Add more tests of ctan and ctanh.
30040         [BZ #15918]
30041         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
30042         handling of cases where one argument is an infinity.
30044         [BZ #18875]
30045         [BZ #18966]
30046         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
30047         (MO): New macro.
30048         (__ieee754_exp10): For small results, force underflow exception
30049         and remove excess range and precision from return value.
30050         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
30051         (MO): New macro.
30052         (__ieee754_exp10f): For small results, force underflow exception
30053         and remove excess range and precision from return value.
30054         * math/auto-libm-test-in: Add more tests of exp10.
30055         * math/auto-libm-test-out: Regenerated.
30057 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
30059         [BZ #18875]
30060         [BZ #18961]
30061         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
30062         (MO): New macro.
30063         (__ieee754_exp): For small results, force underflow exception and
30064         remove excess range and precision from return value.
30065         (__exp_finite): Likewise.
30066         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
30067         (MO): New macro.
30068         (__ieee754_expf): For small results, force underflow exception and
30069         remove excess range and precision from return value.
30070         (__expf_finite): Likewise.
30071         * math/auto-libm-test-in: Add more tests of exp.
30072         * math/auto-libm-test-out: Regenerated.
30074         [BZ #16521]
30075         [BZ #18875]
30076         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
30077         small results.
30078         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
30079         (MO): New macro.
30080         (__ieee754_exp2): For small results, force underflow exception and
30081         remove excess range and precision from return value.
30082         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
30083         (MO): New macro.
30084         (__ieee754_exp2f): For small results, force underflow exception
30085         and remove excess range and precision from return value.
30086         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
30087         (MO): New macro.
30088         (__ieee754_exp2l): Force underflow exception for small results.
30089         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30090         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30091         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
30092         (MO): New macro.
30093         (__ieee754_exp2l): Force underflow exception for small results.
30094         * math/auto-libm-test-in: Add more tests or exp2.
30095         * math/auto-libm-test-out: Regenerated.
30097 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
30099         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
30101         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30102         /dev/null.
30104 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30106         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30107         io fs process)): Drop spurious backslash.
30109 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30112         Use sysinfo system call instead of parsing /proc/meminfo.
30113         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30114         Likewise.
30116 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
30118         [BZ #16985]
30119         * programs/localedef.c (main): Display argv[remaining] when
30120         output_path is NULL.
30122 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30124         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30125         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30126         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30127         tanh.
30128         * math/auto-libm-test-out: Regenerated.
30129         * sysdeps/i386/fpu/libm-test-ulps: Update.
30130         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30131         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30134 2015-09-11  Roland McGrath  <roland@hack.frob.com>
30136         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30137         Use 'override' keyword to freeze the value here, preventing
30138         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30140 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30142         [BZ #14912]
30143         * sysdeps/aarch64/bits/atomic.h: Move to ...
30144         * sysdeps/aarch64/atomic-machine.h: ...here.
30145         (_AARCH64_BITS_ATOMIC_H): Rename macro to
30146         _AARCH64_ATOMIC_MACHINE_H.
30147         * sysdeps/alpha/bits/atomic.h: Move to ...
30148         * sysdeps/alpha/atomic-machine.h: ...here.
30149         * sysdeps/arm/bits/atomic.h: Move to ...
30150         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
30151         * bits/atomic.h: Move to ...
30152         * sysdeps/generic/atomic-machine.h: ...here.
30153         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30154         * sysdeps/i386/bits/atomic.h: Move to ...
30155         * sysdeps/i386/atomic-machine.h: ...here.
30156         * sysdeps/ia64/bits/atomic.h: Move to ...
30157         * sysdeps/ia64/atomic-machine.h: ...here.
30158         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30159         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30160         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30161         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30162         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30163         * sysdeps/microblaze/bits/atomic.h: Move to ...
30164         * sysdeps/microblaze/atomic-machine.h: ...here.
30165         * sysdeps/mips/bits/atomic.h: Move to ...
30166         * sysdeps/mips/atomic-machine.h: ...here.
30167         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30168         * sysdeps/powerpc/bits/atomic.h: Move to ...
30169         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
30170         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30171         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
30172         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
30173         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30174         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
30175         <atomic-machine.h> instead of <bits/atomic.h>.
30176         * sysdeps/s390/bits/atomic.h: Move to ...
30177         * sysdeps/s390/atomic-machine.h: ...here.
30178         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30179         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30180         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30181         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30182         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30183         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30184         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30185         * sysdeps/tile/bits/atomic.h: Move to ...
30186         * sysdeps/tile/atomic-machine.h: ...here.
30187         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30188         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
30189         <sysdeps/tile/atomic-machine.h> instead of
30190         <sysdeps/tile/bits/atomic.h>.
30191         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30192         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30193         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
30194         <sysdeps/tile/atomic-machine.h> instead of
30195         <sysdeps/tile/bits/atomic.h>.
30196         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30197         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30198         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
30199         <sysdeps/arm/atomic-machine.h> instead of
30200         <sysdeps/arm/bits/atomic.h>.
30201         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30202         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30203         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30204         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30205         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30206         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30207         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30208         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30209         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30210         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30211         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30212         * sysdeps/x86_64/bits/atomic.h: Move to ...
30213         * sysdeps/x86_64/atomic-machine.h: ...here.
30214         * include/atomic.h: Include <atomic-machine.h> instead of
30215         <bits/atomic.h>.
30217         * sysdeps/mips/mips32/libm-test-ulps: Update.
30218         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30220         [BZ #18952]
30221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30222         not convert non-integer negative arguments to int to determine the
30223         value of signgam.
30224         * math/auto-libm-test-in: Add more tests of lgamma.
30225         * math/auto-libm-test-out: Regenerated.
30227         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30228         cosh, csqrt, erfc, expm1 and lgamma.
30229         * math/auto-libm-test-out: Regenerated.
30230         * sysdeps/i386/fpu/libm-test-ulps: Update.
30231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30233 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30235         [BZ #2542]
30236         [BZ #2543]
30237         [BZ #2558]
30238         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30239         __lgamma_neg for arguments from -28.0 to -2.0.
30240         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30241         __lgamma_negf for arguments from -15.0 to -2.0.
30242         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30243         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30244         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30245         Call __lgamma_negl for arguments from -33.0 to -2.0.
30246         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30247         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30248         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30249         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30250         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30251         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30252         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30253         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30254         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30255         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30256         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30257         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30258         (__lgamma_neg): Likewise.
30259         (__lgamma_negl): Likewise.
30260         (__lgamma_product): Likewise.
30261         (__lgamma_productl): Likewise.
30262         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30263         * math/auto-libm-test-in: Add more tests of lgamma.
30264         * math/auto-libm-test-out: Regenerated.
30265         * sysdeps/i386/fpu/libm-test-ulps: Update.
30266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30268 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30270         [BZ #18675]
30271         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30273 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30275         [BZ #14912]
30276         * bits/libc-lock.h: Move to ...
30277         * sysdeps/generic/libc-lock.h: ...here.
30278         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30279         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30280         * sysdeps/mach/hurd/libc-lock.h: ...here.
30281         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30282         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30283         * sysdeps/mach/bits/libc-lock.h: Move to ...
30284         * sysdeps/mach/libc-lock.h: ...here.
30285         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30286         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30287         * sysdeps/nptl/libc-lock.h: ...here.
30288         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30289         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30290         * sysdeps/nptl/libc-lockP.h: ...here.
30291         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30292         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30293         <bits/libc-lock.h>.
30294         * dirent/scandir-tail.c: Likewise.
30295         * dlfcn/dlerror.c: Likewise.
30296         * elf/dl-close.c: Likewise.
30297         * elf/dl-iteratephdr.c: Likewise.
30298         * elf/dl-lookup.c: Likewise.
30299         * elf/dl-open.c: Likewise.
30300         * elf/dl-support.c: Likewise.
30301         * elf/dl-writev.h: Likewise.
30302         * elf/rtld.c: Likewise.
30303         * grp/fgetgrent.c: Likewise.
30304         * gshadow/fgetsgent.c: Likewise.
30305         * gshadow/sgetsgent.c: Likewise.
30306         * iconv/gconv_conf.c: Likewise.
30307         * iconv/gconv_db.c: Likewise.
30308         * iconv/gconv_dl.c: Likewise.
30309         * iconv/gconv_int.h: Likewise.
30310         * iconv/gconv_trans.c: Likewise.
30311         * include/link.h: Likewise.
30312         * inet/getnameinfo.c: Likewise.
30313         * inet/getnetgrent.c: Likewise.
30314         * inet/getnetgrent_r.c: Likewise.
30315         * intl/bindtextdom.c: Likewise.
30316         * intl/dcigettext.c: Likewise.
30317         * intl/finddomain.c: Likewise.
30318         * intl/gettextP.h: Likewise.
30319         * intl/loadmsgcat.c: Likewise.
30320         * intl/localealias.c: Likewise.
30321         * intl/textdomain.c: Likewise.
30322         * libidn/idn-stub.c: Likewise.
30323         * libio/libioP.h: Likewise.
30324         * locale/duplocale.c: Likewise.
30325         * locale/freelocale.c: Likewise.
30326         * locale/newlocale.c: Likewise.
30327         * locale/setlocale.c: Likewise.
30328         * login/getutent_r.c: Likewise.
30329         * login/getutid_r.c: Likewise.
30330         * login/getutline_r.c: Likewise.
30331         * login/utmp-private.h: Likewise.
30332         * login/utmpname.c: Likewise.
30333         * malloc/mtrace.c: Likewise.
30334         * misc/efgcvt.c: Likewise.
30335         * misc/error.c: Likewise.
30336         * misc/fstab.c: Likewise.
30337         * misc/getpass.c: Likewise.
30338         * misc/mntent.c: Likewise.
30339         * misc/syslog.c: Likewise.
30340         * nis/nis_call.c: Likewise.
30341         * nis/nis_callback.c: Likewise.
30342         * nis/nss-default.c: Likewise.
30343         * nis/nss_compat/compat-grp.c: Likewise.
30344         * nis/nss_compat/compat-initgroups.c: Likewise.
30345         * nis/nss_compat/compat-pwd.c: Likewise.
30346         * nis/nss_compat/compat-spwd.c: Likewise.
30347         * nis/nss_nis/nis-alias.c: Likewise.
30348         * nis/nss_nis/nis-ethers.c: Likewise.
30349         * nis/nss_nis/nis-grp.c: Likewise.
30350         * nis/nss_nis/nis-hosts.c: Likewise.
30351         * nis/nss_nis/nis-network.c: Likewise.
30352         * nis/nss_nis/nis-proto.c: Likewise.
30353         * nis/nss_nis/nis-pwd.c: Likewise.
30354         * nis/nss_nis/nis-rpc.c: Likewise.
30355         * nis/nss_nis/nis-service.c: Likewise.
30356         * nis/nss_nis/nis-spwd.c: Likewise.
30357         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30358         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30359         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30360         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30361         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30362         * nis/nss_nisplus/nisplus-network.c: Likewise.
30363         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30364         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30365         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30366         * nis/nss_nisplus/nisplus-service.c: Likewise.
30367         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30368         * nis/ypclnt.c: Likewise.
30369         * nptl/libc_pthread_init.c: Likewise.
30370         * nss/getXXbyYY.c: Likewise.
30371         * nss/getXXent.c: Likewise.
30372         * nss/getXXent_r.c: Likewise.
30373         * nss/nss_db/db-XXX.c: Likewise.
30374         * nss/nss_db/db-netgrp.c: Likewise.
30375         * nss/nss_db/nss_db.h: Likewise.
30376         * nss/nss_files/files-XXX.c: Likewise.
30377         * nss/nss_files/files-alias.c: Likewise.
30378         * nss/nsswitch.c: Likewise.
30379         * posix/regex_internal.h: Likewise.
30380         * posix/wordexp.c: Likewise.
30381         * pwd/fgetpwent.c: Likewise.
30382         * resolv/res_hconf.c: Likewise.
30383         * resolv/res_libc.c: Likewise.
30384         * shadow/fgetspent.c: Likewise.
30385         * shadow/lckpwdf.c: Likewise.
30386         * shadow/sgetspent.c: Likewise.
30387         * socket/opensock.c: Likewise.
30388         * stdio-common/reg-modifier.c: Likewise.
30389         * stdio-common/reg-printf.c: Likewise.
30390         * stdio-common/reg-type.c: Likewise.
30391         * stdio-common/vfprintf.c: Likewise.
30392         * stdio-common/vfscanf.c: Likewise.
30393         * stdlib/abort.c: Likewise.
30394         * stdlib/cxa_atexit.c: Likewise.
30395         * stdlib/fmtmsg.c: Likewise.
30396         * stdlib/random.c: Likewise.
30397         * stdlib/setenv.c: Likewise.
30398         * string/strsignal.c: Likewise.
30399         * sunrpc/auth_none.c: Likewise.
30400         * sunrpc/bindrsvprt.c: Likewise.
30401         * sunrpc/create_xid.c: Likewise.
30402         * sunrpc/key_call.c: Likewise.
30403         * sunrpc/rpc_thread.c: Likewise.
30404         * sysdeps/arm/backtrace.c: Likewise.
30405         * sysdeps/generic/ldsodefs.h: Likewise.
30406         * sysdeps/generic/stdio-lock.h: Likewise.
30407         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30408         * sysdeps/i386/backtrace.c: Likewise.
30409         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30410         * sysdeps/m68k/backtrace.c: Likewise.
30411         * sysdeps/mach/hurd/cthreads.c: Likewise.
30412         * sysdeps/mach/hurd/dirstream.h: Likewise.
30413         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30414         * sysdeps/nptl/malloc-machine.h: Likewise.
30415         * sysdeps/nptl/stdio-lock.h: Likewise.
30416         * sysdeps/posix/dirstream.h: Likewise.
30417         * sysdeps/posix/getaddrinfo.c: Likewise.
30418         * sysdeps/posix/system.c: Likewise.
30419         * sysdeps/pthread/aio_suspend.c: Likewise.
30420         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30421         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30422         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30423         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30424         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30425         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30426         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30427         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30428         * sysdeps/unix/sysv/linux/system.c: Likewise.
30429         * sysdeps/x86_64/backtrace.c: Likewise.
30430         * time/alt_digit.c: Likewise.
30431         * time/era.c: Likewise.
30432         * time/tzset.c: Likewise.
30433         * wcsmbs/wcsmbsload.c: Likewise.
30434         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30435         instead of <bits/libc-lock.h> in comment.
30437 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30439         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30440         Only use .set mips2 if the current ISA is below mips2.
30441         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30442         Likewise.
30443         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30444         mips32r2 if the current ISA is below mips32r2.
30445         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30446         (TLS_IE): Updated to use the TLD_RDHWR macro.
30447         (TLS_LE): Likewise.
30448         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30449         __ASSEMBLER__ condition.
30451 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30453         Fix parallel build of before-compile targets.
30455         * sysdeps/mach/Makefile ($(patsubst
30456         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30457         mach-before-compile target.
30458         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30459         io fs process)): Move rule to dedicated hurd-before-compile target.
30461 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30463         Fix rules generating headers in hurd/ and mach/ when initial make call
30464         has subdir= explicitly set.
30466         * sysdeps/mach/Makefile ($(patsubst
30467         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30468         calling $(MAKE).
30469         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30470         io fs process)): Force subdir to hurd when calling $(MAKE).
30471         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30472         subdir to mach when calling $(MAKE).
30474 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30476         Check sysheaders when looking for Mach and Hurd headers
30478         * sysdeps/mach/configure.ac: Add sysheaders check.
30479         * sysdeps/mach/configure: Regenerate.
30480         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30481         * sysdeps/mach/hurd/configure: Regenerate.
30483 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30485         [BZ #18921]
30486         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30487         Fix inverted sense of test of 'o_directory_works' value.
30488         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30489         Bernhard Voelker <mail@bernhard-voelker.de>.
30491 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30493         [BZ #14912]
30494         * bits/linkmap.h: Move to ...
30495         * sysdeps/generic/linkmap.h: ...here.
30496         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30497         * sysdeps/aarch64/linkmap.h: ...here.
30498         * sysdeps/arm/bits/linkmap.h: Move to ...
30499         * sysdeps/arm/linkmap.h: ...here.
30500         * sysdeps/hppa/bits/linkmap.h: Move to ...
30501         * sysdeps/hppa/linkmap.h: ...here.
30502         * sysdeps/ia64/bits/linkmap.h: Move to ...
30503         * sysdeps/ia64/linkmap.h: ...here.
30504         * sysdeps/mips/bits/linkmap.h: Move to ...
30505         * sysdeps/mips/linkmap.h: ...here.
30506         * sysdeps/s390/bits/linkmap.h: Move to ...
30507         * sysdeps/s390/linkmap.h: ...here.
30508         * sysdeps/sh/bits/linkmap.h: Move to ...
30509         * sysdeps/sh/linkmap.h: ...here.
30510         * sysdeps/x86/bits/linkmap.h: Move to ...
30511         * sysdeps/x86/linkmap.h: ...here.
30512         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30514 2015-09-04  Andreas Schwab  <schwab@suse.de>
30516         [BZ #18635]
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30518         (__makecontext): Terminate FDE before return label.
30519         (__novec_makecontext): Likewise.
30521 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30523         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30524         first member of struct sv in syscall macro.
30526 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30528         [BZ #14912]
30529         * bits/stdio-lock.h: Move to ...
30530         * sysdeps/generic/stdio-lock.h: ...here.
30531         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30532         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30533         * sysdeps/nptl/stdio-lock.h: ...here.
30534         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30535         * include/libio.h: Include <stdio-lock.h> instead of
30536         <bits/stdio-lock.h>.
30537         * sysdeps/nptl/fork.c: Likewise.
30538         * sysdeps/pthread/flockfile.c: Likewise.
30539         * sysdeps/pthread/ftrylockfile.c: Likewise.
30540         * sysdeps/pthread/funlockfile.c: Likewise.
30542         [BZ #14912]
30543         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30544         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30545         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30546         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30547         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30548         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30549         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30551 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30553         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30554         (test-xfail-tst-protected1b): New variable.
30556 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30558         [BZ #14912]
30559         * bits/libc-tsd.h: Move to ...
30560         * sysdeps/generic/libc-tsd.h: ...here.
30561         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30562         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30563         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30564         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30565         * include/ctype.h: Include <libc-tsd.h> instead of
30566         <bits/libc-tsd.h>.
30567         * include/rpc/rpc.h: Likewise.
30568         * locale/localeinfo.h: Likewise.
30569         * sunrpc/rpc_thread.c: Likewise.
30570         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30571         * sysdeps/nptl/malloc-machine.h: Likewise.
30573         * Makefile (headers): Remove bits/libc-lock.h.
30574         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30576         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30577         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30578         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30579         <bits/stdio-lock.h>.
30580         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30581         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30583 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30585         [BZ #18757]
30586         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30587         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30588         BZ #18757.
30590 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30592         * malloc/mtrace.pl: Filter out NULL entries.
30594 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30596         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30597         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30598         macro.
30600         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30601         (TCP_CC_INFO): Likewise.
30602         (TCP_SAVE_SYN): Likewise.
30603         (TCP_SAVED_SYN): Likewise.
30605 2015-08-31  Brett Neumeier <brett@neumeier.us>
30607         [BZ #18870]
30608         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30610 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30612         [BZ #18873]
30613         Fix broken overflow check in posix_fallocate
30614         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30615         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30616         Fix parenthesization typo.
30618 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30620         [BZ #18887]
30621         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30622         tst-mntent-blank-passno.
30623         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30624         * misc/tst-mntent-blank-corrupt.c: New test.
30625         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30626         * misc/tst-mntent.c (do_test): ... here.
30628 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30630         [BZ #4404]
30631         * po/de.po: Fix SIGALRM typo.
30633 2015-08-28  James Perkins  <james@loowit.net>
30635         * time/tst-strptime2.c (tests): Replace short list of test
30636         strings for strptime %z specifier with code which exhaustively
30637         tests every combination of sign and 0 to 5 digits. Tests for
30638         rejection of invalid strings.
30640 2015-08-28  James Perkins  <james@loowit.net>
30642         [BZ #16141]
30643         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30644         calculation, removing incorrect decimal time rounding, so that
30645         all minute values result in a valid seconds value.
30646         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30647         offset range limits to UTC-99:59 through UTC+99:59 to parse
30648         current and historical use cases.
30649         * time/tst-strptime2.c (tests): Modify and add tests for the
30650         strptime %z input field descriptor, specifically conversion of
30651         minutes to seconds and validating an offset range of -9959 to
30652         +9959.
30654 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30655             Dmitry V. Levin  <ldv@altlinux.org>
30657         [BZ #18877]
30658         * posix/Makefile (tests): Add tst-mmap-offset.
30659         * posix/tst-mmap.c: New file.
30660         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30661         offset calculation for negative values.
30663 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30665         * sysdeps/i386/init-arch.h: New file.
30666         * sysdeps/i386/i586/init-arch.h: Likewise.
30667         * sysdeps/i386/i686/init-arch.h: Likewise.
30668         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30669         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30670         * sysdeps/x86/cpu-features.h (bit_I586): New.
30671         (bit_I686): Likewise.
30672         (bit_CX8): Likewise.
30673         (bit_CMOV): Likewise.
30674         (index_CX8): Likewise.
30675         (index_CMOV): Likewise.
30676         (index_I586): Likewise.
30677         (index_I686): Likewise.
30678         (reg_CX8): Likewise.
30679         (reg_CMOV): Likewise.
30680         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30681         available at compile-time.
30682         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30683         available at compile-time.
30684         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30685         (USE_I686): Likewise.
30687 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30689         * sysdeps/i386/bcopy.S: New file.
30690         * sysdeps/i386/bzero.S: Likewise.
30691         * sysdeps/i386/memcpy.S: Likewise.
30692         * sysdeps/i386/memmove.S: Likewise.
30693         * sysdeps/i386/mempcpy.S: Likewise.
30694         * sysdeps/i386/memset.S: Likewise.
30695         * sysdeps/i386/bzero.c: Removed.
30696         * sysdeps/i386/memset.c: Likewise.
30697         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30698         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30699         * sysdeps/i386/i586/memset_chk.S: Likewise.
30700         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30701         * sysdeps/i386/memcpy_chk.S: Here.
30702         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30703         * sysdeps/i386/memmove_chk.S: Here.
30704         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30705         * sysdeps/i386/mempcpy_chk.S: Likewise.
30706         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30707         * sysdeps/i386/memset_chk.S: Likewise.
30709 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30711         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30712         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30713         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30714         * soft-fp/fmadf4.c: Ditto.
30715         * soft-fp/fmatf4.c: Ditto.
30717 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30719         * sysdeps/i386/i586/Implies: Removed.
30720         * sysdeps/i386/i686/Implies: Likewise.
30722 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30724         * sysdeps/i386/i486/strlen.S: Moved to ...
30725         * sysdeps/i386/strlen.S: Here.
30727 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30729         * sysdeps/i386/i486/strcat.S: Moved to ...
30730         * sysdeps/i386/strcat.S: Here.
30732 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30734         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30735         * sysdeps/i386/pthread_spin_trylock.S: Here.
30736         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30737         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30739 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30741         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30742         * sysdeps/i386/string-inlines.c: Here.
30744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30746         * sysdeps/i386/i486/htonl.S: Moved ...
30747         * sysdeps/i386/htonl.S: here.
30749 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30751         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30752         * sysdeps/i386/bits/atomic.h: Here.
30754 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30756         * sysdeps/i386/i486/Versions: Removed.
30758 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30760         [BZ #2898]
30761         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30762         Based on patch by Aurelien Jarno.
30764 2015-08-26  Stan Shebs  <stanshebs@google.com>
30766         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30767         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30769 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30771         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30772         * sysdeps/powerpc/dl-procinfo.c:
30773         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30774         feature so it shows when LD_SHOW_AUXV=1.
30776 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30778         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30779         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30780         definition.  ISA 2.07B no longer requires full sync.
30782 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30784         [BZ #18863]
30785         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30786         (si_call_addr): Define.
30787         (si_syscall): Define.
30788         (si_arch): Define.
30790 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30792         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30793         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30794         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30795         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30796         (__memset_zero_constant_len_parameter): New.
30797         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30798         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30799         (__memset_zero_constant_len_parameter): Don't define if
30800         __memset_chk or USE_AS_BZERO are defined.
30802         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30803         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30804         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30806         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30807         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30808         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30809         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30810         comments.
30811         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30812         -mno-mmx for $(all-rtld-routines).
30813         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30814         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30815         i386.
30817 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30819         * sysdeps/generic/unwind.h
30820         (_Unwind_Word): Use __mode__(__unwind_word__)
30821         instead of __mode__(__word__).
30822         (_Unwind_Sword): Likewise.
30824         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30825         (MAX_NEEDED_INPUT): New define.
30826         (MAX_NEEDED_OUTPUT): New define.
30828         * NEWS: New item for IBM z13 string optimizations.
30830         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30831         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30832         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30833         * sysdeps/s390/multiarch/Makefile
30834         (sysdep_routines): Add memrchr functions.
30835         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30836         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30838         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30839         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30840         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30841         * sysdeps/s390/multiarch/Makefile
30842         (sysdep_routines): Add wmemcmp functions.
30843         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30844         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30845         * benchtests/bench-wmemcmp.c: New File.
30846         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30848         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30849         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30850         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30851         * sysdeps/s390/multiarch/Makefile
30852         (sysdep_routines): Add wmemset functions.
30853         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30854         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30855         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30856         * string/test-memset.c: Add wmemset support.
30857         * wcsmbs/test-wmemset.c: New File.
30858         * wcsmbs/Makefile (strop-tests): Add wmemset.
30859         * benchtests/bench-memset.c: Add wmemset support.
30860         * benchtests/bench-wmemset.c: New File.
30861         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30863         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30864         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30865         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30866         * sysdeps/s390/multiarch/Makefile
30867         (sysdep_routines): Add memccpy functions.
30868         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30869         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30870         * string/memccpy.c: Use MEMCCPY if defined.
30872         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30873         * sysdeps/s390/multiarch/memchr.c: Likewise.
30874         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30875         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30876         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30877         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30878         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30879         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30880         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30881         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30883         and rawmemchr functions.
30884         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30885         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30886         and wmemchr.
30887         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30888         * string/test-memchr.c: Add wmemchr support.
30889         * wcsmbs/test-wmemchr.c: New File.
30890         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30891         * benchtests/bench-memchr.c: Add wmemchr support.
30892         * benchtests/bench-wmemchr.c: New File.
30893         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30895         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30896         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30897         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30898         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30899         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30900         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30902         wcscspn functions.
30903         * sysdeps/s390/multiarch/ifunc-impl-list.c
30904         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30905         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30906         * string/test-strcspn.c: Add wcscspn support.
30907         * wcsmbs/test-wcscspn.c: New File.
30908         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30909         * benchtests/bench-strcspn.c: Add wcscspn support.
30910         * benchtests/bench-wcscspn.c: New File.
30911         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30913         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30914         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30915         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30916         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30917         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30918         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30920         wcspbrk functions.
30921         * sysdeps/s390/multiarch/ifunc-impl-list.c
30922         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30923         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30924         * string/test-strpbrk.c: Add wcspbrk support.
30925         * wcsmbs/test-wcspbrk.c: New File.
30926         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30927         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30928         * benchtests/bench-wcspbrk.c: New File.
30929         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30931         * sysdeps/s390/multiarch/strspn-c.c: New File.
30932         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30933         * sysdeps/s390/multiarch/strspn.c: Likewise.
30934         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30935         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30936         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30937         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30938         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30939         wcsspn functions.
30940         * sysdeps/s390/multiarch/ifunc-impl-list.c
30941         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30942         * string/test-strspn.c: Add wcsspn support.
30943         * wcsmbs/test-wcsspn.c: New File.
30944         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30945         * benchtests/bench-strspn.c: Add wcsspn support.
30946         * benchtests/bench-wcsspn.c: New File.
30947         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30949         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30950         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30951         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30952         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30953         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30954         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30956         wcsrchr functions.
30957         * sysdeps/s390/multiarch/ifunc-impl-list.c
30958         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30959         * benchtests/bench-wcsrchr.c: New File.
30960         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30962         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30963         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30964         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30965         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30966         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30967         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30969         wcschrnul functions.
30970         * sysdeps/s390/multiarch/ifunc-impl-list.c
30971         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30972         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30973         * string/test-strchr.c: Add wcschrnul support.
30974         * wcsmbs/test-wcschrnul.c: New File.
30975         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30976         * benchtests/bench-strchr.c: Add wcschrnul support.
30977         * benchtests/bench-wcschrnul.c: New File.
30978         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30980         * sysdeps/s390/multiarch/strchr-c.c: New File.
30981         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30982         * sysdeps/s390/multiarch/strchr.c: Likewise.
30983         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30984         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30985         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30987         wcschr functions.
30988         * sysdeps/s390/multiarch/ifunc-impl-list.c
30989         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30990         * string/strchr.c (STRCHR): Define and use macro.
30991         * benchtests/bench-wcschr.c: New File.
30992         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30994         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30995         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30996         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30997         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30998         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30999         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
31000         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
31001         wcsncmp functions.
31002         * sysdeps/s390/multiarch/ifunc-impl-list.c
31003         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
31004         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
31005         * benchtests/bench-strncmp.c: Add wcsncmp support.
31006         * benchtests/bench-wcsncmp.c: New File.
31007         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
31009         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
31010         * sysdeps/s390/multiarch/strcmp.c: Likewise.
31011         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
31012         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
31013         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
31014         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
31015         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
31016         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
31017         wcscmp functions.
31018         * sysdeps/s390/multiarch/ifunc-impl-list.c
31019         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31020         * string/strcmp.c (STRCMP): Define and use macro.
31021         * benchtests/bench-wcscmp.c: New File.
31022         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
31023         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
31024         instead of _HAVE_STRING_ARCH_memchr.
31026         * sysdeps/s390/multiarch/strncat-c.c: New File.
31027         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
31028         * sysdeps/s390/multiarch/strncat.c: Likewise.
31029         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
31030         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
31031         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
31032         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
31033         wcsncat functions.
31034         * sysdeps/s390/multiarch/ifunc-impl-list.c
31035         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
31036         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
31037         * string/test-strncat.c: Add wcsncat support.
31038         * wcsmbs/test-wcsncat.c: New File.
31039         * wcsmbs/Makefile (strop-tests): Add wcsncat.
31040         * benchtests/bench-strncat.c: Add wcsncat support.
31041         * benchtests/bench-wcsncat.c: New File.
31042         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
31044         * sysdeps/s390/multiarch/strcat-c.c: New File.
31045         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
31046         * sysdeps/s390/multiarch/strcat.c: Likewise.
31047         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
31048         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
31049         * sysdeps/s390/multiarch/wcscat.c: Likewise.
31050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
31051         wcscat functions.
31052         * sysdeps/s390/multiarch/ifunc-impl-list.c
31053         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
31054         * string/strcat.c (STRCAT): Define and use macro.
31055         * wcsmbs/wcscat.c: Use WCSCAT if defined.
31056         * string/test-strcat.c: Add wcscat support.
31057         * wcsmbs/test-wcscat.c: New File.
31058         * wcsmbs/Makefile (strop-tests): Add wcscat.
31059         * benchtests/bench-strcat.c: Add wcscat support.
31060         * benchtests/bench-wcscat.c: New File.
31061         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
31063         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
31064         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
31065         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
31066         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
31067         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
31068         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
31069         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
31070         wcpncpy functions.
31071         * sysdeps/s390/multiarch/ifunc-impl-list.c
31072         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
31073         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
31074         * string/test-stpncpy.c: Add wcpncpy support.
31075         * wcsmbs/test-wcpncpy.c: New File.
31076         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
31077         * benchtests/bench-stpncpy.c: Add wcpncpy support.
31078         * benchtests/bench-wcpncpy.c: New File.
31079         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
31081         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
31082         * sysdeps/s390/multiarch/strncpy.c: Likewise.
31083         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
31084         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
31085         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
31086         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
31087         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
31088         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
31089         wcsncpy functions.
31090         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
31091         * sysdeps/s390/multiarch/ifunc-impl-list.c
31092         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
31093         * string/test-strncpy.c: Add wcsncpy support.
31094         * wcsmbs/test-wcsncpy.c: New File.
31095         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
31096         * benchtests/bench-strncpy.c: Add wcsncpy support.
31097         * benchtests/bench-wcsncpy.c: New File.
31098         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
31100         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
31101         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31102         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31103         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31104         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31105         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31106         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31107         wcpcpy functions.
31108         * string/stpcpy.c: Use STPCPY if defined.
31109         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31110         * sysdeps/s390/multiarch/ifunc-impl-list.c
31111         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31112         * string/test-stpcpy.c: Add wcpcpy support.
31113         * wcsmbs/test-wcpcpy.c: New File.
31114         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31115         * benchtests/bench-stpcpy.c: Add wcpcpy support.
31116         * benchtests/bench-wcpcpy.c: New File.
31117         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31119         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31120         * sysdeps/s390/multiarch/strcpy.c: Likewise.
31121         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31122         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31123         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31124         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31125         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31126         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31127         wcscpy functions.
31128         * sysdeps/s390/multiarch/ifunc-impl-list.c
31129         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31130         * benchtests/bench-wcscpy.c: New File.
31131         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31133         * sysdeps/s390/multiarch/strnlen-c.c: New File.
31134         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31135         * sysdeps/s390/multiarch/strnlen.c: Likewise.
31136         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31137         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31138         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31139         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31140         wcsnlen functions.
31141         * sysdeps/s390/multiarch/ifunc-impl-list.c
31142         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31143         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31144         * string/test-strnlen.c: Add wcsnlen support.
31145         * wcsmbs/test-wcsnlen.c: New File.
31146         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31147         * benchtests/bench-strnlen.c: Add wcsnlen support.
31148         * benchtests/bench-wcsnlen.c: New File.
31149         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31151         * sysdeps/s390/multiarch/Makefile: New File.
31152         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31153         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31154         * sysdeps/s390/multiarch/strlen.c: Likewise.
31155         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31156         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31157         * sysdeps/s390/multiarch/wcslen.c: Likewise.
31158         * string/strlen.c (STRLEN): Define and use macro.
31159         * sysdeps/s390/multiarch/ifunc-impl-list.c
31160         (IFUNC_VX_IMPL): New macro function.
31161         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31162         * benchtests/Makefile (wcsmbs-bench): New variable.
31163         (string-bench-all): Added wcsmbs-bench.
31164         * benchtests/bench-wcslen.c: New File.
31166         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31167         s390_vx_libc_ifunc2): New macro function.
31169         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31170         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31171         assembler support.
31172         * sysdeps/s390/configure: Regenerated.
31174         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31175         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31177         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31178         * sysdeps/s390/dl-procinfo.h: Add vector capability.
31179         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31181         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31182         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31183         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31184         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31185         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31186         (memcmp, bcmp): Use __memcmp_default as alias source.
31187         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31188         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31189         Rename to __memcmp_default.
31190         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31191         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31192         (memcpy): Use __memcpy_default as alias source.
31193         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31194         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31195         Rename to __memcpy_default.
31196         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31197         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31198         (memset): Use __memset_default as alias source.
31199         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31200         * sysdeps/s390/s390-32/memset.S (__memset_g5):
31201         Rename to __memset_default.
31202         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31203         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31205         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31206         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31207         (memcmp, bcmp): Use __memcmp_default as alias source.
31208         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31209         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31210         Rename to __memcmp_default.
31211         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31212         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31213         (memcpy): Use __memcpy_default as alias source.
31214         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31215         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31216         Rename to __memcpy_default.
31217         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31218         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31219         (memset): Use __memset_default as alias source.
31220         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31221         * sysdeps/s390/s390-64/memset.S (__memset_z900):
31222         Rename to __memset_default.
31223         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31224         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31226         [BZ #18610]
31227         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31228         __ieee_instruction_pointer to __unused.
31229         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31230         __ieee_instruction_pointer.
31231         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31232         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31233         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31234         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31235         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31236         Mark dxc-field as reserved.
31238 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31240         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31241         if the weak reference is not null.
31243 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31245         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31247         [BZ #11214]
31248         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31250 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31252         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31253         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31254         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31255         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31256         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31257         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31258         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31259         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31260         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31261         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31262         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31263         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31264         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31265         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31266         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31267         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31268         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31269         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31271 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31273         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31274         register other than r0 for tabort, it has special meaning.
31275         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31276         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31277         transaction before starting syscall.
31279 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31281         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31283 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31285         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31287         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31288         * sysdeps/x86_64/rtld-memset.S: Likewise.
31289         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31290         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31291         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31292         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31294         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31296 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31298         * debug/strcpy_chk.c: Improve performance.
31299         * debug/stpcpy_chk.c: Likewise.
31300         * sysdeps/x86_64/strcpy_chk.S: Remove.
31301         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31303         [BZ #18240]
31304         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31306 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31308         [BZ #15128]
31309         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31310         ifuncmain8.
31311         (modules-names): Add ifuncmod8.
31312         ($(objpfx)ifuncmain8): New rule.
31313         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31314         <cpuid.h>.
31315         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31316         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31317         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31318         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31319         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31320         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31321         * sysdeps/x86_64/ifuncmain8.c: New file.
31322         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31323         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31324         Removed.
31325         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31326         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31327         Change rtld_savespace_sse to __glibc_unused2.
31328         (RTLD_CHECK_FOREIGN_CALL): Removed.
31329         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31330         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31331         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31333 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31335         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31337 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31339         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31340         Unconditionally set __fpcr to avoid uninialized warning.
31341         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31343 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31345         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31346         is corrupt.
31348         * malloc/arena.c (arena_get2): Drop unused argument.
31349         (arena_lock): Adjust.
31350         (arena_get_retry): Likewise.
31352 2015-08-24  Andreas Schwab  <schwab@suse.de>
31354         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31355         Don't define.
31356         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31357         (__ASSUME_IPC64): Don't undef.
31358         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31359         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31360         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31362         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31363         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31364         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31365         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31366         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31367         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31368         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31369         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31370         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31371         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31372         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31373         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31374         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31375         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31376         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31377         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31378         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31380 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31382         * manual/Makefile (install): Only build manual when perl is available.
31384 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31386         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31387         '#undef memcpy' by '#undef memchr'.
31389 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31391         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31392         memchr not point to the internal __GI_memchr implementation.
31394 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31396         * timezone/Makefile (CFLAGS-zdump.c): Remove
31397         -Wno-strict-prototypes.
31398         (CFLAGS-zic.c): Likewise.
31399         (CFLAGS-ialloc.c): Likewise.
31400         (CFLAGS-scheck.c): Likewise.
31402         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31403         -Wno-error=undef.
31405 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31407         * i386/i686/multiarch/strcasestr-c.c: Removed.
31408         * x86_64/multiarch/strcasestr.c: Likewise.
31409         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31410         Remove strcasestr.
31412 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31414         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31416         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31417         variables for high and low parts before possibly modifying them.
31419 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31421         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31422         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31423         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31424         of "multiarch/init-arch.h".
31425         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31426         * sysdeps/x86/init-arch.h: This.
31428 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31430         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31431         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31433 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31435         [BZ #17787]
31436         * manual/macros.texi: Add twoexp macro.
31437         * manual/filesys.texi: Fix exponents.
31438         * manual/llio.texi: Likewise.
31439         * manual/stdio.texi: Likewise.
31441 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31443         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31444         incorrect use.
31446 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31448         [BZ #18370]
31449         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31450         whose real or imaginary part has small absolute value.
31451         * math/s_csqrtf.c (__csqrtf): Likewise.
31452         * math/s_csqrtl.c (__csqrtl): Likewise.
31453         * math/auto-libm-test-in: Add more tests of csqrt.
31454         * math/auto-libm-test-out: Regenerated.
31455         * sysdeps/i386/fpu/libm-test-ulps: Update.
31457 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31459         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31460         __ppc_set_ppr_very_low): New functions.
31461         * manual/platform.texi: Add documentation about
31462         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31464 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31466         * string/stpncpy.c (stpncpy): Improve performance using
31467         __strnlen/memcpy/memset.
31469 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31471         [BZ #18796]
31472         * scripts/test-installation.pl: Don't add -lmvec to build options if
31473         libmvec wasn't built.
31475 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31477         [BZ #14341]
31478         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31479         case when there is a gap between DT_REL and DT_JMPREL sections.
31480         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31481         (LDFLAGS-tst-split-dynreloc): New.
31482         (tst-split-dynreloc-ENV): Likewise.
31483         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31484         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31486 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31488         [BZ #18822]
31489         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31490         attribute_hidden.
31491         (__xstat64_conv): Likewise.
31492         (__xstat32_conv): Likewise.
31494 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31496         [BZ #18822]
31497         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31498         Don't load %ebx when calling __setcontext.  Call __setcontext
31499         with HIDDEN_JUMPTARGET.
31500         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31501         libc_hidden_def.
31503 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31505         * sysdeps/i386/i686/Makefile
31506         [$(subdir) == string] (sysdep_routines): Moved to ...
31507         * sysdeps/i386/Makefile: Here.
31508         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31509         * sysdeps/i386/cacheinfo.c: Here.
31510         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31511         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31512         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31513         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31515 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31517         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31518         __i586__ is defined.
31519         (HAS_I686): Defined to 1 if __i686__ is defined.
31521 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31523         * elf/Makefile [$(have-z-execstack) = yes]
31524         (CPPFLAGS-tst-execstack.c): New variable.
31526         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31527         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31528         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31529         UTMPX || _HAVE_UT_TV].
31530         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31531         UTMPX || _HAVE_UT_TV - 0].
31533 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31535         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31536         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31537         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31539 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31541         * sysdeps/powerpc/dl-procinfo.c:
31542         (_dl_powerpc_cap_flags): Added missing strings for some
31543         hwcap features.
31544         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31546 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31548         Port the 0x7efe...feff pattern to GCC 6.
31549         See Steve Ellcey's bug report in:
31550         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31551         * string/memrchr.c (MEMRCHR):
31552         * string/rawmemchr.c (RAWMEMCHR):
31553         * string/strchr.c (strchr):
31554         * string/strchrnul.c (STRCHRNUL):
31555         Rewrite code to avoid issues with signed shift overflow.
31557 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31559         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31560         whether cpuid is available only if HAS_CPUID is 0.
31561         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31562         (HAS_I586): Likewise.
31563         (HAS_I686): Likewise.
31565 2015-08-18  Zack Weinberg  <zackw@panix.com>
31567         * misc/Versions (libc): Add GLIBC_2.23.
31569 2015-08-18  Alan Modra  <amodra@gmail.com>
31571         [BZ #18421]
31572         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31573         .Lp__global.
31574         (_start): Load %dp via .Lp__global.
31575         [!SHARED]: Use .section .rodata.
31577 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31579         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31580         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31582 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31584         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31585         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31587 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31589         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31590         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31592 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31594         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31595         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31597 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31599         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31600         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31602 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31604         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31605         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31607 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31609         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31611 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31613         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31614         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31615         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31616         (__ASSUME_LWS_CAS): Delete.
31618 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31620         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31621         * sysdeps/hppa/configure: Regenerated.
31622         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31623         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31624         * sysdeps/hppa/nptl/tls.h: Likewise.
31626 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31628         [BZ #18823]
31629         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31630         for scaling up small arguments.
31631         * math/s_csqrtf.c (__csqrtf): Likewise.
31632         * math/s_csqrtl.c (__csqrtl): Likewise.
31633         * math/auto-libm-test-in: Add more tests of csqrt.
31634         * math/auto-libm-test-out: Regenerated.
31636 2015-08-17  Andreas Schwab  <schwab@suse.de>
31638         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31639         version set GLIBC_2.19.
31641 2015-08-16  Zack Weinberg  <zackw@panix.com>
31643         [BZ #18681]
31644         * misc/regexp.h: This interface is no longer supported.
31645         Remove all contents, leaving only an #error directive.
31646         * misc/regexp.c (loc1, loc2, locs, step, advance):
31647         Demote to compatibility symbols.
31649 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31651         [BZ #18084]
31652         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31653         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31654         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31655         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31656         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31657         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31658         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31659         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31660         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31662 2015-08-15  Zack Weinberg  <zackw@panix.com>
31664         [BZ #18795]
31665         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31666         buffer length is known to be too large, not if it's known to be
31667         small enough.
31668         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31669         overflow at runtime, involving a length parameter, twice: once
31670         with a compile-time constant length parameter, once without.
31672 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31674         [BZ #18824]
31675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31676         scaling x * y up instead of down.
31677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31679         * math/auto-libm-test-in: Add more tests of fma.
31680         * math/auto-libm-test-out: Regenerated.
31682 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31686 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31688         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31689         unnecessary movq.
31690         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31691         Likewise.
31693 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31695         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31696         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31697         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31698         and tgamma.
31699         * math/auto-libm-test-out: Regenerated.
31700         * sysdeps/i386/fpu/libm-test-ulps: Update.
31701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31703         [BZ #16520]
31704         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31705         (__tanh): Force underflow exception for arguments with small
31706         absolute value.
31707         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31708         (__tanhf): Force underflow exception for arguments with small
31709         absolute value.
31710         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31711         (__tanhl): Force underflow exception for arguments with small
31712         absolute value.
31713         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31714         (__tanhl): Force underflow exception for arguments with small
31715         absolute value.
31716         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31717         (__tanhl): Force underflow exception for arguments with small
31718         absolute value.
31719         * math/auto-libm-test-in: Add more tests of tanh.
31720         * math/auto-libm-test-out: Regenerated.
31721         * sysdeps/i386/fpu/libm-test-ulps: Update.
31723 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31725         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31726         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31728 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31730         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31731         <cpuid.h>.
31733 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31735         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31736         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31738 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31740         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31741         Remove $(objpfx)init-arch.o.
31742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31743         init-arch.
31744         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31745         (INIT_ARCH_EXT): Defined as empty.
31746         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31748         __init_cpu_features call.  Replace HAS_XXX with
31749         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31750         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31751         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31752         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31754         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31755         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31756         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31757         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31758         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31760         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31761         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31762         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31763         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31765         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31773         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31778         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31779         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31781         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31786 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31788         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31789         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31790         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31791         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31792         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31793         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31794         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31795         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31796         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31797         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31798         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31799         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31800         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31801         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31802         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31803         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31804         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31805         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31806         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31807         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31808         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31809         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31810         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31811         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31812         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31813         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31814         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31815         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31816         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31817         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31818         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31819         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31820         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31821         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31822         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31823         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31824         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31825         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31826         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31827         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31828         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31829         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31830         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31832 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31834         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31835         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31836         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31837         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31838         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31839         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31840         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31841         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31842         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31843         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31844         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31845         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31846         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31847         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31848         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31849         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31850         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31851         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31852         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31853         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31855         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31856         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31857         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31858         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31859         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31860         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31861         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31862         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31863         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31864         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31865         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31866         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31867         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31868         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31869         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31870         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31871         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31872         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31873         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31874         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31875         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31876         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31878 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31880         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31881         (dl_platform_init): Call init_cpu_features.
31882         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31883         * sysdeps/i386/i686/cacheinfo.c
31884         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31885         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31886         * sysdeps/i386/i686/multiarch/Versions: Removed.
31887         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31888         Removed.
31889         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31890         * sysdeps/unix/sysv/linux/x86/Makefile
31891         (libpthread-sysdep_routines): Remove init-arch.
31892         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31893         <sysdeps/x86_64/dl-procinfo.c> instead of
31894         sysdeps/generic/dl-procinfo.c>.
31895         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31896         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31897         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31898         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31899         [$(subdir) == elf] (tests-static): Add
31900         tst-get-cpu-features-static.
31901         * sysdeps/x86/Versions: New file.
31902         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31903         * sysdeps/x86/cpu-features.c: Likewise.
31904         * sysdeps/x86/cpu-features.h: Likewise.
31905         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31906         * sysdeps/x86/libc-start.c: Likewise.
31907         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31908         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31909         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31910         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31911         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31912         Assume USE_MULTIARCH is defined and don't check it.
31913         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31914         (is_amd): Likewise.
31915         (max_cpuid): Likewise.
31916         (intel_check_word): Likewise.
31917         (__cache_sysconf): Don't call __init_cpu_features.
31918         (__x86_preferred_memory_instruction): Removed.
31919         (init_cacheinfo): Don't call __init_cpu_features. Replace
31920         __cpu_features with GLRO(dl_x86_cpu_features).
31921         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31922         (dl_platform_init): Call init_cpu_features.
31923         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31924         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31925         * sysdeps/x86_64/multiarch/Versions: Removed.
31926         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31927         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31928         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31929         Removed.
31930         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31932 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31934         [BZ #18820]
31935         * libio/Makefile (test-fmemopen-mem): New test.
31936         * libio/test-fmemopen.c (do_bz18820): New test.
31937         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31938         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31940 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31942         [BZ #16734]
31943         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31944         (FREE_BUF): Delete.
31945         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31946         * libio/genops.c (_IO_setb): Use malloc and free directly.
31947         (_IO_default_doallocate, _IO_default_finish): Likewise.
31948         ( _IO_unbuffer_all): Likewise.
31949         ( libc_freeres_fn): Likewise.
31950         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31951         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31952         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31953         (_IO_wdefault_doallocate): Likewise.
31955 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31957         [BZ #18086]
31958         * sysdeps/posix/nice.c (nice): Restore old errno.
31959         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31961 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31965 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31967         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31968         __bcopy and add a weak_alias to bcopy.
31969         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31970         for static build.
31972         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31973         cleanup macro usage.
31974         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31979         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31980         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31981         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31982         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31983         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31985         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31987         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31990         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31991         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31992         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31994         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31995         libc_hidden_def.
31996         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31998         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31999         (sysdep_routines): Add strstr-ppc64.
32000         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
32002 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
32004         [BZ #18778]
32005         * elf/Makefile (tests): Add Add tst-nodelete2.
32006         (modules-names): Add tst-nodelete2mod.
32007         (tst-nodelete2mod.so-no-z-defs): New.
32008         ($(objpfx)tst-nodelete2): Likewise.
32009         ($(objpfx)tst-nodelete2.out): Likewise.
32010         (LDFLAGS-tst-nodelete2): Likewise.
32011         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
32012         out of loop through all loaded libraries.
32013         * elf/tst-nodelete2.c: New file.
32014         * elf/tst-nodelete2mod.c: Likewise.
32015         * elf/tst-znodelete-zlib.cc: Delete.
32017 2015-08-11  Andreas Schwab  <schwab@suse.de>
32019         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
32020         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
32021         (__openat64_nocancel): Likewise.
32023 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
32025         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
32026         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
32027         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
32028         * math/auto-libm-test-out: Regenerated.
32029         * sysdeps/i386/fpu/libm-test-ulps: Update.
32030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32032 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32034         [BZ #18790]
32035         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
32036         threshold for returning +/- 1.
32037         * math/auto-libm-test-in: Add more tests of tanh.
32038         * math/auto-libm-test-out: Regenerated.
32039         * sysdeps/i386/fpu/libm-test-ulps: Update.
32041 2015-08-10  Andreas Schwab  <schwab@suse.de>
32043         [BZ #18781]
32044         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
32045         MORE_OFLAGS to oflag.
32046         * io/test-lfs.c (do_test): Test openat64.
32048 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32050         [BZ #18789]
32051         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
32052         smaller threshold for returning the argument.
32053         * math/auto-libm-test-in: Add more tests of sinh.
32054         * math/auto-libm-test-out: Regenerated.
32055         * sysdeps/i386/fpu/libm-test-ulps: Update.
32057 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32059         [BZ #18674]
32060         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
32061         break.
32063 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
32065         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
32066         (generated): Don't add $(addprefix z.,$(tzfiles)).
32068 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32070         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
32071         * scripts/sysd-rules.awk: Likewise.
32073 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32075         * iconvdata/tst-tables.sh: Change echo -n to printf.
32076         * nss/db-Makefile: Likewise.
32077         * posix/tst-getconf.sh: Likewise.
32078         * stdio-common/tst-unbputc.sh: Likewise.
32080 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32082         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
32083         MADV_*_PAGES defines behind this feature check.
32085 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
32087         [BZ #18480]
32088         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
32089         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
32090         Define.
32091         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
32092         LOAD_REGS_5, LOAD_REGS_6): Update.
32093         (INTERNAL_SYSCALL): Update using new LOAD defines.
32094         (INTERNAL_SYSCALL_NCS): Likewise.
32095         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
32097 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32099         [BZ #16734]
32100         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32102 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32104         [BZ #17905]
32105         * catgets/Makefile (tst-catgets-mem): New test.
32106         * catgets/catgets.c (catopen): Don't use unbounded alloca.
32107         * catgets/open_catalog.c (__open_catalog): Likewise.
32108         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32110 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
32112         [BZ #18787]
32113         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32114         clobber registers.
32115         (atomic_compare_and_exchange_val_acq): Use register asms to assign
32116         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
32117         Cast return to __typeof (oldval).
32119 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
32121         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32122         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
32123         and delete sys/syscall.h include.
32125 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
32127         [BZ #16517]
32128         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32129         (tan): Force underflow exception for arguments with small absolute
32130         value.
32131         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32132         (__kernel_tanf): Force underflow exception for arguments with
32133         small absolute value.
32134         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32135         (__kernel_tanl): Force underflow exception for arguments with
32136         small absolute value.
32137         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32138         (__kernel_tanl): Force underflow exception for arguments with
32139         small absolute value.
32140         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32141         (__kernel_tanl): Force underflow exception for arguments with
32142         small absolute value.
32143         * math/auto-libm-test-in: Add more tests of tan.
32144         * math/auto-libm-test-out: Regenerated.
32146 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32148         Fix sysdeps/i386/fpu/s_scalbn.S build
32150         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32152 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
32154         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32156 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32158         Fix gcrt0.o compilation
32160         When static-start-installed-name is different from
32161         start-installed-name, we must not use the shared objects.
32163         * csu/Makefile
32164         (extra-objs): Add gmon-start.o when building shared library and
32165         $(static-start-installed-name) is different from
32166         $(start-installed-name).
32167         $(objpfx)g$(static-start-installed-name): When building shared
32168         library and $(static-start-installed-name) is different from
32169         $(static-start-installed-name), revert to non-shared rule,
32170         i.e. using $(objpfx)% and gmon-start.o.
32172 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
32174         [BZ #16519]
32175         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32176         (__ieee754_sinh): Force underflow exception for arguments with
32177         small absolute value.
32178         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32179         (__ieee754_sinhf): Force underflow exception for arguments with
32180         small absolute value.
32181         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32182         (__ieee754_sinhl): Force underflow exception for arguments with
32183         small absolute value.
32184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32185         (__ieee754_sinhl): Force underflow exception for arguments with
32186         small absolute value.
32187         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32188         (__ieee754_sinhl): Force underflow exception for arguments with
32189         small absolute value.
32190         * math/auto-libm-test-in: Add more tests of sinh.
32191         * math/auto-libm-test-out: Regenerated.
32192         * sysdeps/i386/fpu/libm-test-ulps: Update.
32194 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32196         * libio/oldfileops.c: Include unistd.h.
32198 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
32200         * stdlib/isomac.c: Include ctype.h.
32202 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
32204         * dirent/tst-seekdir.c (main): Converted to ...
32205         (do_test): ... this.
32206         (TEST_FUNCTION): New macro.
32207         Include test-skeleton.c.
32208         * elf/tst-dlmodcount.c (main): Converted to ...
32209         (do_test): ... this.
32210         (TEST_FUNCTION): New macro.
32211         Include test-skeleton.c.
32212         * elf/tst-order-main.c (main): Converted to ...
32213         (do_test): ... this.
32214         (TEST_FUNCTION): New macro.
32215         Include test-skeleton.c.
32216         * elf/tst-pie2.c (main): Converted to ...
32217         (do_test): ... this.
32218         (TEST_FUNCTION): New macro.
32219         Include test-skeleton.c.
32220         * inet/tst-ether_aton.c (main): Converted to ...
32221         (do_test): ... this.
32222         (TEST_FUNCTION): New macro.
32223         Include test-skeleton.c.
32224         * misc/tst-mntent.c (main): Converted to ...
32225         (do_test): ... this.
32226         (TEST_FUNCTION): New macro.
32227         Include test-skeleton.c.
32228         * misc/tst-tsearch.c (main): Converted to ...
32229         (do_test): ... this.
32230         (TEST_FUNCTION): New macro.
32231         Include test-skeleton.c.
32232         * posix/tst-regexloc.c (main): Converted to ...
32233         (do_test): ... this.
32234         (TEST_FUNCTION): New macro.
32235         Include test-skeleton.c.
32236         * resolv/tst-aton.c (main): Converted to ...
32237         (do_test): ... this.
32238         (TEST_FUNCTION): New macro.
32239         Include test-skeleton.c.
32240         * stdio-common/test-fwrite.c (main): Converted to ...
32241         (do_test): ... this.
32242         (TEST_FUNCTION): New macro.
32243         Include test-skeleton.c.
32244         * stdio-common/tst-ferror.c (main): Converted to ...
32245         (do_test): ... this.
32246         (TEST_FUNCTION): New macro.
32247         Include test-skeleton.c.
32248         * stdio-common/tst-printf.c (main): Converted to ...
32249         (do_test): ... this.
32250         (TEST_FUNCTION): New macro.
32251         Include test-skeleton.c.
32252         * stdio-common/tst-printfsz.c (main): Converted to ...
32253         (do_test): ... this.
32254         (TEST_FUNCTION): New macro.
32255         Include test-skeleton.c.
32256         * stdlib/tst-strtod.c (main): Converted to ...
32257         (do_test): ... this.
32258         (TEST_FUNCTION): New macro.
32259         Include test-skeleton.c.
32260         * string/tst-strlen.c (main): Converted to ...
32261         (do_test): ... this.
32262         (TEST_FUNCTION): New macro.
32263         Include test-skeleton.c.
32264         * string/tst-svc.c (main): Converted to ...
32265         (do_test): ... this.
32266         (TEST_FUNCTION): New macro.
32267         Include test-skeleton.c.
32268         * time/tst-strptime.c (main): Converted to ...
32269         (do_test): ... this.
32270         (TEST_FUNCTION): New macro.
32271         Include test-skeleton.c.
32272         * timezone/tst-timezone.c (main): Converted to ...
32273         (do_test): ... this.
32274         (TEST_FUNCTION): New macro.
32275         Include test-skeleton.c.
32277 2015-08-05  Zack Weinberg  <zackw@panix.com>
32279         * misc/regexp.h: Update comments.
32281 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32283         [BZ #18635]
32284         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32285         before return label.
32287 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32289         [BZ #18661]
32290         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32291         when calling __errno_location.
32292         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32293         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32295 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32297         [BZ #18661]
32298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32299         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32300         __gettimeofday.
32302 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32304         [BZ #18661]
32305         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32306         (__start_context): Don't use pop to restore %rdi so that stack
32307         is aligned to 16 bytes when calling __setcontext.
32309 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32311         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32312         only for libc.
32313         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32315 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32317         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32318         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32319         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32321 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32323         * string/memccpy.c (memccpy):
32324         Improve performance by using memchr/memcpy/__mempcpy.
32326 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32328         * string/strncpy.c (strncpy):
32329         Improve performance by using __strnlen/memcpy.
32331 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32333         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32334         Optimize to avoid an unnecessary FPCR read.
32336 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32338         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32339         Optimize to reduce FPCR/FPSR accesses.
32341 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32343         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32344         dead->data[category] != NULL.
32346 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32348         [BZ #18647]
32349         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32350         and |x| close to 1, use absolute value of x when computing log.
32351         * math/auto-libm-test-in: Add more tests of pow.
32352         * math/auto-libm-test-out: Regenerated.
32354 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32356         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32357         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32358         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32360 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32362         [BZ #18525]
32363         * locales/km_KH: Remove timezone definition.
32364         * locales/lo_LA: Likewise.
32365         * locales/my_MM: Likewise.
32366         * locales/nan_TW@latin: Likewise.
32367         * locales/th_TH: Likewise.
32368         * locales/uk_UA: Likewise.
32370 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32372         [BZ #18265]
32373         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32374         (wcsncat): Likewise.
32375         (wcscmp): Likewise.
32376         (wcsncmp): Likewise.
32378 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32380         * test-skeleton.c (usage): New function.
32381         (main): Call usage when opt is '?'.
32383 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32385         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32386         before first use.
32388 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32390         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32391         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32392         in there too.
32394 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32396         * version.h (RELEASE): Set to "development".
32397         (VERSION): Set to "2.22.90"
32399         * version.h (RELEASE): Set to "stable".
32400         (VERSION): Set to "2.22"
32401         * include/features.h (__GLIBC_MINOR__): Set to 22.
32403 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32405         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32406         Restructure macro to avoid "value computed is not used" warning.
32407         (atomic_compare_and_exchange_val_acq): Likewise.
32409 2015-08-04  Andreas Schwab  <schwab@suse.de>
32411         [BZ #18635]
32412         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32413         ret.
32414         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32416 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32418         * po/pl.po: Updated translation.
32419         * po/uk.po: Likewise.
32420         * po/fi.po: Likewise.
32421         * po/ko.po: Likewise.
32422         * po/ru.po: Likewise.
32423         * po/vi.po: Likewise.
32425 2015-07-31  Zack Weinberg  <zackw@panix.com>
32427         [BZ #18681]
32428         * regexp.h: Add unconditional #warning stating that this header
32429         will be removed soon.  Revise banner comment to match.
32430         (compile): Consistently use ERROR instead of RETURN to report
32431         errors (partial fix for BZ #18681).
32432         * regexp.c: Don't include regexp.h. Remove some unnecessary
32433         declarations.
32435 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32437         * po/libc.pot: Regenerated.
32439 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32441         [BZ #18740]
32442         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32443         float-vlen4-arch-ext-cflags): Removed.
32444         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32445         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32447 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32449         [BZ #14113]
32450         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32451         aligned to __aligned__.
32452         (pthread_cond_t, pthread_rwlock_t): Likewise.
32454 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32456         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32458 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32460         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32461         (struct sigaction): Change sa_flags from a long to an int, and add
32462         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32464 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32466         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32467         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32468         sysdeps/generic/sysdep.h include.
32469         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32470         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32471         sysdeps/hppa/sysdep.h.
32472         (ENTRY, PSEUDO): Undefine before defining.
32474 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32476         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32477         from scratch to use INTERNAL_SYSCALL.
32479 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32481         [BZ #18078]
32482         * scripts/check-localplt.awk: Support alternate relocations.
32483         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32484         sections.
32485         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32486         malloc entries with + REL R_386_GLOB_DAT.
32487         * sysdeps/x86_64/localplt.data: New file.
32489 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32491         [BZ #18731]
32492         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32494         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32496 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32498         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32500 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32502         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32503         directly in terms of __sync_fetch_and_add and delete (int) cast.
32505 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32507         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32508         the -D_ASM_IA64_CURRENT_H flag.
32510 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32512         [BZ #18641]
32513         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32515 2015-07-27  Andreas Schwab  <schwab@suse.de>
32517         * conform/conformtest.pl (checknamespace): Filter out string
32518         literals while tokenizing.
32520 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32522         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32523         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32524         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32526 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32528         * nptl/tst-join7mod.c: Add #include <string.h>.
32530 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32532         * sysdeps/nios2/libm-test-ulps: Update.
32534 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32536         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32537         Fix order of arguments to the rt_sigprocmask syscall.
32538         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32539         Likewise.
32541 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32543         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32545 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         [BZ #18457]
32548         * nptl/Makefile (tests): New test case tst-join7.
32549         (modules-names): New test case module tst-join7mod.
32550         * nptl/tst-join7.c: New file.
32551         * nptl/tst-join7mod.c: New file.
32552         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32553         all translation units in libc.so, libpthread.so and rtld.
32555 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32559 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32561         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32563         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32564         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32566         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32567         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32570         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32571         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32572         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32573         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32574         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32575         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32576         implementation.
32578 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32580         [BZ #17711]
32581         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32582         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32583         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32584         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32585         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32586         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32588 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32590         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32591         instead of just saying load lock in the comments.
32593 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32595         * sysdeps/unix/Subdirs: Moved ...
32596         * sysdeps/posix/Subdirs: ... here.
32597         * login/pty.h (struct termios, struct winsize): Add forward decls.
32598         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32599         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32600         * sysdeps/arm/nacl/libc.abilist: Updated.
32601         * sysdeps/nacl/libutil.abilist: New file.
32603         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32604         (SIGWINCH): New macro.
32606         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32607         * sysdeps/arm/nacl/libc.abilist: Add it.
32609 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32611         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32613 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32615         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32616         Swap __glibc_reserved0 and sa_flags order.
32618 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32620         [BZ #18657]
32621         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32622         are pending TLS destructor calls.
32623         * include/link.h (struct link_map): Add concurrency note for
32624         L_TLS_DTOR_COUNT.
32625         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32626         Don't touch the link map flag.  Atomically increment
32627         l_tls_dtor_count.
32628         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32629         Avoid taking the load lock and don't touch the link map flag.
32630         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32631         * stdlib/Makefile (tests): Use it.
32632         * stdlib/tst-tls-atexit.c (do_test): dlopen
32633         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32634         to allow tst-tls-atexit-nodelete test case to use it.
32636 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32638         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32639         to bits/types.h.
32640         (msgqnum_t): New typedef.
32641         (msglen_t): Likewise.
32642         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32643         and msg_qbytes type to msglen_t.
32645 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32647         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32648         pad0 to __glibc_reserved0.
32649         (struct stat64): Likewise.
32651 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32653         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32654         Change sa_flags from a long to an int and add __glibc_reserved0 before
32655         it for padding.
32657 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32659         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32660         anonymous by deleting "siginfo" name.
32662 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32664         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32665         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32666         rather than __nacl_irt_filename.
32667         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32669         * NEWS: New item for arm-nacl port.
32670         * sysdeps/arm/nacl/libc.abilist: New file.
32671         * sysdeps/nacl/ld.abilist: New file.
32672         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32673         * sysdeps/nacl/libanl.abilist: New file.
32674         * sysdeps/nacl/libcrypt.abilist: New file.
32675         * sysdeps/nacl/libdl.abilist: New file.
32676         * sysdeps/nacl/libm.abilist: New file.
32677         * sysdeps/nacl/libpthread.abilist: New file.
32678         * sysdeps/nacl/libresolv.abilist: New file.
32679         * sysdeps/nacl/librt.abilist: New file.
32681 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32683         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32684         __startcontext to initialize the new context.
32685         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32686         up CFI directive to forbid further backtracing.
32688 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32690         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32691         reference.
32692         * charmaps/ANSI_X3.4-1968: Likewise.
32693         * charmaps/BS_4730: Likewise.
32694         * charmaps/BS_VIEWDATA: Likewise.
32695         * charmaps/CP1250: Likewise.
32696         * charmaps/CP1251: Likewise.
32697         * charmaps/CP1252: Likewise.
32698         * charmaps/CP1253: Likewise.
32699         * charmaps/CP1254: Likewise.
32700         * charmaps/CP1255: Likewise.
32701         * charmaps/CP1256: Likewise.
32702         * charmaps/CSN_369103: Likewise.
32703         * charmaps/EBCDIC-DK-NO: Likewise.
32704         * charmaps/GB_1988-80: Likewise.
32705         * charmaps/GREEK-CCITT: Likewise.
32706         * charmaps/GREEK7: Likewise.
32707         * charmaps/INIS-8: Likewise.
32708         * charmaps/ISIRI-3342: Likewise.
32709         * charmaps/ISO_2033-1983: Likewise.
32710         * charmaps/ISO_5427-EXT: Likewise.
32711         * locales/POSIX: Likewise.
32712         * locales/ar_SA: Likewise.
32713         * locales/be_BY: Likewise.
32714         * locales/be_BY@latin: Likewise.
32715         * locales/ca_ES: Likewise.
32716         * locales/cs_CZ: Likewise.
32717         * locales/da_DK: Likewise.
32718         * locales/de_BE: Likewise.
32719         * locales/de_CH: Likewise.
32720         * locales/de_LU: Likewise.
32721         * locales/en_AU: Likewise.
32722         * locales/en_BW: Likewise.
32723         * locales/en_CA: Likewise.
32724         * locales/en_DK: Likewise.
32725         * locales/en_GB: Likewise.
32726         * locales/en_IE: Likewise.
32727         * locales/en_NZ: Likewise.
32728         * locales/en_ZA: Likewise.
32729         * locales/en_ZW: Likewise.
32730         * locales/es_AR: Likewise.
32731         * locales/es_BO: Likewise.
32732         * locales/es_CL: Likewise.
32733         * locales/es_CO: Likewise.
32734         * locales/es_DO: Likewise.
32735         * locales/es_EC: Likewise.
32736         * locales/es_ES: Likewise.
32737         * locales/es_HN: Likewise.
32738         * locales/es_MX: Likewise.
32739         * locales/es_PA: Likewise.
32740         * locales/es_PE: Likewise.
32741         * locales/es_PY: Likewise.
32742         * locales/es_SV: Likewise.
32743         * locales/es_US: Likewise.
32744         * locales/es_UY: Likewise.
32745         * locales/es_VE: Likewise.
32746         * locales/et_EE: Likewise.
32747         * locales/fa_IR: Likewise.
32748         * locales/fo_FO: Likewise.
32749         * locales/fr_CA: Likewise.
32750         * locales/fr_CH: Likewise.
32751         * locales/gv_GB: Likewise.
32752         * locales/he_IL: Likewise.
32753         * locales/hr_HR: Likewise.
32754         * locales/id_ID: Likewise.
32755         * locales/is_IS: Likewise.
32756         * locales/it_CH: Likewise.
32757         * locales/iw_IL: Likewise.
32758         * locales/kl_GL: Likewise.
32759         * locales/ko_KR: Likewise.
32760         * locales/kw_GB: Likewise.
32761         * locales/lg_UG: Likewise.
32762         * locales/lt_LT: Likewise.
32763         * locales/lv_LV: Likewise.
32764         * locales/mi_NZ: Likewise.
32765         * locales/nhn_MX: Likewise.
32766         * locales/nl_BE: Likewise.
32767         * locales/pl_PL: Likewise.
32768         * locales/sk_SK: Likewise.
32769         * locales/sl_SI: Likewise.
32770         * locales/sv_FI: Likewise.
32771         * locales/tl_PH: Likewise.
32772         * locales/tr_TR: Likewise.
32773         * locales/vi_VN: Likewise.
32775 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32777         [BZ #17475]
32778         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32779         of tu_IN and bh_IN.
32781 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32783         [BZ #18694]
32784         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32785         bits/wordsize.h.
32786         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32788 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32790         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32791         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32792         (spawn_thread): New function.
32793         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32794         (do_test): ... here.  Use IS_LOADED to test for its
32795         availability.
32797 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32799         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32801 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32803         [BZ #18696]
32804         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32805         si_addr_bnd.
32806         (si_lower): New.
32807         (si_upper): Likewise.
32809 2015-07-16  David S. Miller  <davem@davemloft.net>
32811         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32813 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32815         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32816         buffer.
32817         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32818         fail output information.
32820 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32823         and strstr-ppc64..
32824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32825         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32826         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32827         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32828         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32830 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32832         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32833         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32834         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32835         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32837 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32839         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32840         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32841         rtld_hidden_proto.
32842         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32844 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32846         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32847         the test can fail.
32849         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32851         [BZ #18676]
32852         * elf/tst-nodelete-opened.c: New test case.
32853         * elf/tst-nodelete-opened-lib.c: New test case module.
32854         * elf/Makefile (tests, modules-names): Use them.
32855         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32856         early.
32858 2015-07-15  David S. Miller  <davem@davemloft.net>
32860         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32861         futex-intenal.h
32862         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32863         * sysdeps/sparc/sparc64/Makefile: Likewise.
32864         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32865         Remove space from macro define.
32866         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32868 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32870         [BZ #17475]
32871         * locale/iso-639.def: Update Bhili and Tulu language codes as
32872         per iso639-3.
32874 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32876         * elf/tst-leaks1.c (main): Converted to ...
32877         (do_test): ... this.
32878         (TEST_FUNCTION): New macro.
32879         Include test-skeleton.c.
32880         * localedata/tst-langinfo.c (main): Converted to ...
32881         (do_test): ... this.
32882         (TEST_FUNCTION): New macro.
32883         Include test-skeleton.c.
32884         * math/test-fpucw.c (main): Converted to ...
32885         (do_test): ... this.
32886         (TEST_FUNCTION): New macro.
32887         Include test-skeleton.c.
32888         * math/test-tgmath.c (main): Converted to ...
32889         (do_test): ... this.
32890         (TEST_FUNCTION): New macro.
32891         Include test-skeleton.c.
32892         * math/test-tgmath2.c (main): Converted to ...
32893         (do_test): ... this.
32894         (TEST_FUNCTION): New macro.
32895         Include test-skeleton.c.
32896         * setjmp/tst-setjmp.c (main): Converted to ...
32897         (do_test): ... this.
32898         (TEST_FUNCTION): New macro.
32899         Include test-skeleton.c.
32900         * stdio-common/tst-sscanf.c (main): Converted to ...
32901         (do_test): ... this.
32902         (TEST_FUNCTION): New macro.
32903         Include test-skeleton.c.
32904         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32905         (do_test): ... this.
32906         (TEST_FUNCTION): New macro.
32907         Include test-skeleton.c.
32909         * elf/tst-audit9.c (main): Converted to ...
32910         (do_test): ... this.
32911         (TEST_FUNCTION): New macro.
32912         Include test-skeleton.c.
32914 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32916         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32918 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32920         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32921         New variable.
32923 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32925         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32927 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32929         * sysdeps/generic/dl-fileid.h: New file.
32930         * sysdeps/posix/dl-fileid.h: New file.
32931         * sysdeps/nacl/dl-fileid.h: New file.
32932         * include/link.h: Include <dl-fileid.h>.
32933         (struct link_map): Replace l_dev and l_ino with l_file_id.
32934         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32935         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32936         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32938 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32942 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32944         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32945         Add iff $CXX is set.
32946         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32947         Likewise.
32948         (tst-nodelete-zmodiff): Likewise.
32949         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32951 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32953         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32955 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32957         * sysdeps/aarch64/fpu/math_private.h
32958         (define math_opt_barrier): Add AArch64 version.
32959         (math_force_eval): Likewise.
32961 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32963         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32965 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32967         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32968         %ld with %jd and cast to intmax_t.
32969         (do_test_length_zero): Likewise.
32971 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32973         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32975 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32977         * sysdeps/tile/libm-test-ulps: Regenerated.
32979         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32980         Comment out the whole function, not just its body.
32982 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32984         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32985         locks.
32987         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32989 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32991         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32992         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32994 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32996         * sysdeps/nptl/futex-internal.h: New file.
32997         * sysdeps/nacl/futex-internal.h: New file.
32998         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32999         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
33000         error checking.
33001         (setxid_unmark_thread): Likewise.
33002         (__nptl_setxid): Likewise.
33003         (__wait_lookup_done): Likewise.
33004         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33005         * nptl/nptl-init.c (sighandler_setxid): Likewise.
33006         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33007         * nptl/pthread_once.c (clear_once_control): Likewise.
33008         (__pthread_once_slow): Likewise.
33009         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
33010         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
33011         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
33012         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
33013         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
33014         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
33015         Likewise.
33016         (__pthread_rwlock_rdlock): Likewise.
33017         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33018         Likewise.
33019         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33020         Likewise.
33021         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33022         Likewise.
33023         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
33024         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33025         Likewise.
33026         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
33027         __ASSUME_PRIVATE_FUTEX check.
33028         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
33029         Check that shared futexes are supported.
33030         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
33031         wrappers with error checking.
33032         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
33033         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
33034         * nptl/pthread_barrierattr_setpshared.c
33035         (pthread_barrierattr_setpshared): Check that shared futexes are
33036         supported.
33037         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
33038         Likewise.
33039         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
33040         Likewise.
33041         * nptl/sem_init.c (futex_private_if_supported): Remove.
33042         (__new_sem_init): Adapt and check that shared futexes are supported.
33043         * nptl/sem_open.c (sem_open): Likewise.
33044         * nptl/sem_post.c (futex_wake): Remove.
33045         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
33046         (do_futex_wait): Use futex wrappers with error checking.
33047         * nptl/sem_wait.c: Include lowlevellock.h.
33048         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
33049         Use futex_supports_pshared.
33050         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
33051         Use futex wrappers with error checking.
33052         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
33053         Likewise.
33054         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
33055         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
33056         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
33057         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
33058         (futex_wake): Likewise.
33059         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
33060         (do_futex_wait): Use futex wrappers with error checking.
33061         (__new_sem_wait_slow): Update EINTR handling.
33062         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
33064 2015-07-09  Martin Sebor  <msebor@redhat.com>
33066         [BZ #18435]
33067         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33068         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
33069         * nptl/Makefile (test-xfail-tst-once5): Define.
33071 2015-07-09  Roland McGrath  <roland@hack.frob.com>
33073         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
33074         * elf/dl-minimal.c: For readability, reorder some definitions and
33075         introduce more page breaks.  Include <stdio.h>.
33076         (__libc_fatal): New function.
33078         * include/unistd.h: Add rtld_hidden_proto for _exit.
33079         * posix/_exit.c: Add rtld_hidden_def.
33080         * sysdeps/mach/hurd/_exit.c: Likewise.
33081         * sysdeps/nacl/_exit.c: Likewise.
33082         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
33083         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
33085 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
33087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
33088         bndmov encoding with zero displacement.
33090 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33091             H.J. Lu  <hongjiu.lu@intel.com>
33093         [BZ #18134]
33094         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
33095         * sysdeps/i386/configure: Regenerated.
33096         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33097         (_dl_runtime_profile): Save and restore Intel MPX return bound
33098         registers when calling _dl_call_pltexit.  Add
33099         PRESERVE_BND_REGS_PREFIX before return.
33100         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
33101         (LRV_BND1_OFFSET): Likewise.
33102         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33103         lrv_bnd1.
33104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33105         typo in bndmov encoding.
33106         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33107         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
33108         branch instructions to preserve bounds.
33110 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33113         [GLIBC_2.22]: Add fmemopen.
33115 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33117         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33118         returns an error, also try to use host port from __mach_host_self for
33119         the __vm_wire call.
33120         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33122 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33124         [BZ #18400]
33125         [BZ #18648]
33126         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33127         Fix pr_uid and pr_gid members.
33128         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33129         definition to elf_greg_t.
33131 2015-07-08  Roland McGrath  <roland@hack.frob.com>
33133         [BZ #18383]
33134         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33135         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33136         * sysdeps/arm/configure: Regenerated.
33137         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33138         (test-xfail-tst-tlsalign-static): Variable removed.
33140         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33141         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33142         rather than explicit 'ln -s'.
33144         * resolv/rpc/netdb.h: New file.
33145         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33147 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33149         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33150         length buffers.
33151         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33152         test-skeleton.c.
33154         [BZ #6544]
33155         [BZ #11216]
33156         [BZ #12836]
33157         [BZ #13151]
33158         [BZ #13152]
33159         [BZ #14292]
33160         * include/stdio.h (fmemopen): Remove hidden prototype.
33161         (__fmemopen): Add new hidden prototype.
33162         * libio/Makefile: Add oldfmemopen object.
33163         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33164         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33165         compliance.
33166         * libio/oldfmemopen.c: New file: old fmemopen implementation for
33167         symbol compatibility.
33168         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33169         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33170         fmemopen.
33171         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33172         on append and read mode.
33173         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33174         fmemopen.
33175         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33176         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33177         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33178         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33179         Likewise.
33180         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33181         [GLIBC_2.22]: Likewise.
33182         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33183         Likewise.
33184         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33185         Likewise.
33186         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33187         [GLIBC_2.22]: Likewise.
33188         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33189         [GLIBC_2.22]: Likewise.
33190         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33191         [GLIBC_2.22]: Likewise.
33192         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33193         [GLIBC_2.22]: Likewise.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33195         [GLIBC_2.22]: Likewise.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33197         [GLIBC_2.22]: Likewise.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33199         [GLIBC_2.22]: Likewise.
33200         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33201         Likewise.
33202         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33203         Likewise.
33204         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33205         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33206         [GLIBC_2.22]: Likewise.
33207         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33208         [GLIBC_2.22]: Likewise.
33209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33210         [GLIBC_2.22]: Likewise.
33211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33212         [GLIBC_2.22]: Likewise.
33213         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33214         Likewise.
33215         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33216         Likewise.
33217         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33218         Likewise.
33219         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33220         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33222 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33224         [BZ #18643]
33225         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33226         IPV6_PATHMTU, and IPV6_DONTFRAG.
33228 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33230         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33231         and _IO_UNBUFFERED.
33232         * libio/oldfileops.c: Likewise.
33233         * libio/wfileops.c: Likewise.
33235 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33237         * nscd/selinux.c: Delete selinux/flask.h include.
33239 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33241         [BZ #18641]
33242         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33243         (putpwent): Likewise.
33244         (getpwnam): Likewise.
33245         (getpwent_r): Likewise.
33246         (getpwuid_r): Likewise.
33247         (getpwnam_r): Likewise.
33248         (fgetpwent_r): Likewise.
33250 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33252         [BZ #18557]
33253         * inet/rcmd.c (__validuser2_sa): Check user first to
33254         short-circuit host check.
33256 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33257             Mikhail Ilin  <m.ilin@samsung.com>
33259         [BZ #17833]
33260         * elf/Makefile (tests): Add tst-nodelete.
33261         (modules-names): Add tst-nodelete-uniquemod.
33262         (tst-nodelete-uniquemod.so-no-z-defs): New.
33263         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33264         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33265         ($(objpfx)tst-nodelete): Likewise.
33266         ($(objpfx)tst-nodelete.out): Likewise.
33267         (LDFLAGS-tst-nodelete): Likewise.
33268         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33269         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33270         implement forced object deletion.
33271         (_dl_close): Pass false to _dl_close_worker.
33272         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33273         * elf/tst-nodelete.cc: New file.
33274         * elf/tst-nodeletelib.cc: Likewise.
33275         * elf/tst-znodeletelib.cc: Likewise.
33276         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33278 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33280         [BZ #18508]
33281         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33282         Depend on $(libdl).
33283         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33284         is not called infinitely times.
33285         (backtrace_helper): New function.
33286         (trace_arg): New struct.
33287         (st1): Enlarge stack size.
33288         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33289         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33290         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33291         Likewise.
33293 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33295         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33297 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33299         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33300         Include sys/types.h instead of bits/types.h.
33301         Remove inclusion of bits/wordsize.h.
33303 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33305         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33306         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33307         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33308         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33309         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33310         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33312 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33314         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33315         link-defines.sym.
33316         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33317         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33318         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33319         and LR_SIZE.
33320         * sysdeps/i386/link-defines.sym: New file.
33322 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33324         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33325         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33326         ($(objpfx)tst-audit3): New rule.
33327         ($(objpfx)tst-audit3.out): Likewise.
33328         * sysdeps/i386/tst-audit3.c: New file.
33329         * sysdeps/i386/tst-audit3.h: Likewise.
33330         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33331         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33333 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33335         [BZ #18633]
33336         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33337         pointer in C code.
33338         (__strcat_c): Likewise.
33339         (__strcat_g): Likewise.
33341 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33343         [BZ #18592]
33344         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33346 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33348         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33349         New function.  (__ieee754_sqrtf): New function.
33350         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33351         New function.
33352         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33353         New function.
33355 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33357         * sysdeps/ieee754/support.c: Remove unused file.
33359 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33361         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33362         registers instead of d ones so the layout is kernel abi compatible.
33363         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33364         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33365         Likewise.
33367 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33369         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33371 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33373         [BZ #18619]
33374         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33375         and return argument in case of subnormal argument.
33377 2015-07-01  Martin Sebor  <msebor@redhat.com>
33379         [BZ #18435]
33380         * nptl/Makefile: Add tst-once5.cc.
33381         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33382         Remove macro redefinitions.
33383         * nptl/tst-once5.cc: New test.
33385 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33387         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33389         * sysdeps/arm/libm-test-ulps: Regenerated.
33391         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33392         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33394 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33396         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33397         lll_lock_wait_private and lll_futex_wake probes.
33399         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33400         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33401         Likewise.
33402         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33403         atomic_spin_nop.
33404         * sysdeps/x86_64/bits/atomic.h: Likewise.
33405         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33406         to atomic_spin_nop and move ...
33407         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33408         ... here and ...
33409         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33410         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33411         atomic_spin_nop instead of BUSY_WAIT_NOP.
33412         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33413         Likewise.
33414         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33415         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33416         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33417         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33418         instead of atomic_delay.
33420 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33422         [BZ #18613]
33423         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33424         X_ADJ not X when adjusting exponent.
33425         (__ieee754_gamma_r): Do intermediate computations in
33426         round-to-nearest then adjust overflowing and underflowing results
33427         as needed.
33428         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33429         of X_ADJ not X when adjusting exponent.
33430         (__ieee754_gammaf_r): Do intermediate computations in
33431         round-to-nearest then adjust overflowing and underflowing results
33432         as needed.
33433         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33434         log of X_ADJ not X when adjusting exponent.
33435         (__ieee754_gammal_r): Do intermediate computations in
33436         round-to-nearest then adjust overflowing and underflowing results
33437         as needed.  Use 1.0L not 1.0f as numerator of division.
33438         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
33439         log of X_ADJ not X when adjusting exponent.
33440         (__ieee754_gammal_r): Do intermediate computations in
33441         round-to-nearest then adjust overflowing and underflowing results
33442         as needed.  Use 1.0L not 1.0f as numerator of division.
33443         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
33444         of X_ADJ not X when adjusting exponent.
33445         (__ieee754_gammal_r): Do intermediate computations in
33446         round-to-nearest then adjust overflowing and underflowing results
33447         as needed.  Use 1.0L not 1.0f as numerator of division.
33448         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33449         to auto-libm-test-in.
33450         (tgamma_test): Use ALL_RM_TEST.
33451         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33452         tests of tgamma with spurious-overflow.
33453         * math/auto-libm-test-out: Regenerated.
33454         * math/gen-libm-have-vector-test.sh: Do not check for START.
33455         * sysdeps/i386/fpu/libm-test-ulps: Update.
33456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33458         [BZ #18612]
33459         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33460         arguments, just return 0.5 times the argument, with underflow
33461         forced as needed.
33462         * math/auto-libm-test-in: Add more tests of j1.
33463         * math/auto-libm-test-out: Regenerated.
33465         [BZ #16559]
33466         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33467         (__ieee754_j1): Force underflow exception for small results.
33468         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33469         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33470         (__ieee754_j1f): Force underflow exception for small results.
33471         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33472         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33473         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33474         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33475         (__ieee754_j1l): Force underflow exception for small results.
33476         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33477         * math/auto-libm-test-in: Add more tests of j1 and jn.
33478         * math/auto-libm-test-out: Regenerated.
33480         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33481         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33482         (PF_MPLS): Likewise.
33483         (AF_IB): Likewise.
33484         (AF_MPLS): Likewise.
33485         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33486         value and macro.
33487         (MS_RMT_MASK): Include MS_LAZYTIME.
33489 2015-06-26  Mel Gorman  <mgorman@suse.de>
33491         [BZ #18502]
33492         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33493         already minimal.
33495 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33497         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33498         (DT_MIPS_NUM): Update.
33499         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33500         DT_MIPS_RLD_MAP_REL.
33502 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33504         [BZ #16559]
33505         [BZ #18602]
33506         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33507         round-to-nearest internally then recompute results that
33508         underflowed to zero in the original rounding mode.
33509         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33510         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33511         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33512         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33513         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33514         * sysdeps/i386/fpu/libm-test-ulps: Update.
33515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33517 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33519         * NEWS: Fixed description of link with vector math library.
33521 2015-06-25  Andreas Schwab  <schwab@suse.de>
33523         [BZ #18549]
33524         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33525         * libio/test-fmemopen.c (do_test): Add test for it.
33527 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33529         [BZ #17841]
33530         * Makeconfig (no-pie-ldflag): New.
33531         (+link): Set to $(+link-pie) if default to PIE.
33532         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33533         * config.make.in (build-pie-default): New.
33534         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33535         is default.  AC_SUBST.
33536         * configure: Regenerated.
33537         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33539 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33541         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33542         to 'unsigned int'.
33544         * resolv/gai_misc.h (struct waitlist): Change type of field
33545         counterp to 'volatile unsigned int *'.
33546         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33547         FUTEXADDR and OLDVAL.
33548         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33549         Give local variable TOTAL type 'volatile unsigned int'.
33550         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33551         * resolv/gai_suspend.c (gai_suspend):
33552         Give local variable CNTR type 'unsigned int'.
33554         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33555         counterp to 'volatile unsigned int *'.
33556         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33557         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33558         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33559         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33560         Give local variable TOTAL type 'volatile unsigned int'.
33561         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33563 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33565         [BZ #18383]
33566         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33567         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33568         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33569         comment for i386/x86-64.
33570         (test-xfail-tst-tlsalign-extern-static): Removed.
33572 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33574         * math/test-double.h: New file.
33575         * math/test-float.h: Likewise.
33576         * math/test-ldouble.h: Likewise.
33577         * math/test-math-inline.h: Likewise.
33578         * math/test-math-no-inline.h: Likewise.
33579         * math/test-math-scalar.h: Likewise.
33580         * math/test-math-vector.h: Likewise.
33581         * math/test-vec-loop.h: Remove file.  Contents moved into
33582         test-math-vector.h.
33583         * math/libm-test.inc (MATHCONST): Do not document macro.
33584         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33585         and test-math-scalar.h.
33586         (FUNC): Remove macro.
33587         (FUNC_TEST): Likewise.
33588         (FLOAT): Likewise.
33589         (MATHCONST): Likewise.
33590         (PRINTF_EXPR): Likewise.
33591         (PRINTF_XEXPR): Likewise.
33592         (PRINTF_NEXPR): Likewise.
33593         (TEST_DOUBLE): Likewise.
33594         (TEST_MATHVEC): Likewise.
33595         (__NO_MATH_INLINES): Likewise.
33596         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33597         and test-math-scalar.h.
33598         (FUNC): Remove macro.
33599         (FUNC_TEST): Likewise.
33600         (FLOAT): Likewise.
33601         (MATHCONST): Likewise.
33602         (PRINTF_EXPR): Likewise.
33603         (PRINTF_XEXPR): Likewise.
33604         (PRINTF_NEXPR): Likewise.
33605         (TEST_FLOAT): Likewise.
33606         (TEST_MATHVEC): Likewise.
33607         (__NO_MATH_INLINES): Likewise.
33608         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33609         and test-math-scalar.h.
33610         (FUNC): Remove macro.
33611         (FUNC_TEST): Likewise.
33612         (FLOAT): Likewise.
33613         (MATHCONST): Likewise.
33614         (PRINTF_EXPR): Likewise.
33615         (PRINTF_XEXPR): Likewise.
33616         (PRINTF_NEXPR): Likewise.
33617         (TEST_DOUBLE): Likewise.
33618         (TEST_MATHVEC): Likewise.
33619         (TEST_INLINE): Likewise.
33620         (__NO_MATH_INLINES): Likewise.
33621         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33622         test-math-scalar.h.
33623         (FUNC): Remove macro.
33624         (FUNC_TEST): Likewise.
33625         (FLOAT): Likewise.
33626         (MATHCONST): Likewise.
33627         (PRINTF_EXPR): Likewise.
33628         (PRINTF_XEXPR): Likewise.
33629         (PRINTF_NEXPR): Likewise.
33630         (TEST_FLOAT): Likewise.
33631         (TEST_MATHVEC): Likewise.
33632         (TEST_INLINE): Likewise.
33633         (__NO_MATH_INLINES): Likewise.
33634         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33635         and test-math-scalar.h.
33636         (FUNC): Remove macro.
33637         (FUNC_TEST): Likewise.
33638         (FLOAT): Likewise.
33639         (MATHCONST): Likewise.
33640         (PRINTF_EXPR): Likewise.
33641         (PRINTF_XEXPR): Likewise.
33642         (PRINTF_NEXPR): Likewise.
33643         (TEST_LDOUBLE): Likewise.
33644         (TEST_MATHVEC): Likewise.
33645         (TEST_INLINE): Likewise.
33646         (__NO_MATH_INLINES): Likewise.
33647         * math/test-ldouble.c: Include test-ldouble.h,
33648         test-math-no-inline.h and test-math-scalar.h.
33649         (FUNC): Remove macro.
33650         (FUNC_TEST): Likewise.
33651         (FLOAT): Likewise.
33652         (MATHCONST): Likewise.
33653         (PRINTF_EXPR): Likewise.
33654         (PRINTF_XEXPR): Likewise.
33655         (PRINTF_NEXPR): Likewise.
33656         (TEST_LDOUBLE): Likewise.
33657         (TEST_MATHVEC): Likewise.
33658         (__NO_MATH_INLINES): Likewise.
33659         * math/test-double-vlen2.h: Include test-double.h,
33660         test-math-no-inline.h and test-math-vector.h.
33661         (FLOAT): Remove macro.
33662         (FUNC): Likewise.
33663         (MATHCONST): Likewise.
33664         (PRINTF_EXPR): Likewise.
33665         (PRINTF_XEXPR): Likewise.
33666         (PRINTF_NEXPR): Likewise.
33667         (TEST_DOUBLE): Likewise.
33668         (TEST_MATHVEC): Likewise.
33669         (__NO_MATH_INLINES): Likewise.
33670         (CNCT): Likewise.
33671         (CONCAT): Likewise.
33672         (WRAPPER_NAME): Likewise.
33673         (WRAPPER_DECL): Likewise.
33674         (WRAPPER_DECL_ff): Likewise.
33675         (WRAPPER_DECL_fFF): Likewise.
33676         (VECTOR_WRAPPER): Likewise.
33677         (VECTOR_WRAPPER_ff): Likewise.
33678         (VECTOR_WRAPPER_fFF): Likewise.
33679         (VEC_LEN): New macro.
33680         * math/test-double-vlen4.h: Include test-double.h,
33681         test-math-no-inline.h and test-math-vector.h.
33682         (FLOAT): Remove macro.
33683         (FUNC): Likewise.
33684         (MATHCONST): Likewise.
33685         (PRINTF_EXPR): Likewise.
33686         (PRINTF_XEXPR): Likewise.
33687         (PRINTF_NEXPR): Likewise.
33688         (TEST_DOUBLE): Likewise.
33689         (TEST_MATHVEC): Likewise.
33690         (__NO_MATH_INLINES): Likewise.
33691         (CNCT): Likewise.
33692         (CONCAT): Likewise.
33693         (WRAPPER_NAME): Likewise.
33694         (WRAPPER_DECL): Likewise.
33695         (WRAPPER_DECL_ff): Likewise.
33696         (WRAPPER_DECL_fFF): Likewise.
33697         (VECTOR_WRAPPER): Likewise.
33698         (VECTOR_WRAPPER_ff): Likewise.
33699         (VECTOR_WRAPPER_fFF): Likewise.
33700         (VEC_LEN): New macro.
33701         * math/test-double-vlen8.h: Include test-double.h,
33702         test-math-no-inline.h and test-math-vector.h.
33703         (FLOAT): Remove macro.
33704         (FUNC): Likewise.
33705         (MATHCONST): Likewise.
33706         (PRINTF_EXPR): Likewise.
33707         (PRINTF_XEXPR): Likewise.
33708         (PRINTF_NEXPR): Likewise.
33709         (TEST_DOUBLE): Likewise.
33710         (TEST_MATHVEC): Likewise.
33711         (__NO_MATH_INLINES): Likewise.
33712         (CNCT): Likewise.
33713         (CONCAT): Likewise.
33714         (WRAPPER_NAME): Likewise.
33715         (WRAPPER_DECL): Likewise.
33716         (WRAPPER_DECL_ff): Likewise.
33717         (WRAPPER_DECL_fFF): Likewise.
33718         (VECTOR_WRAPPER): Likewise.
33719         (VECTOR_WRAPPER_ff): Likewise.
33720         (VECTOR_WRAPPER_fFF): Likewise.
33721         (VEC_LEN): New macro.
33722         * math/test-float-vlen4.h: Include test-float.h,
33723         test-math-no-inline.h and test-math-vector.h.
33724         (FLOAT): Remove macro.
33725         (FUNC): Likewise.
33726         (MATHCONST): Likewise.
33727         (PRINTF_EXPR): Likewise.
33728         (PRINTF_XEXPR): Likewise.
33729         (PRINTF_NEXPR): Likewise.
33730         (TEST_FLOAT): Likewise.
33731         (TEST_MATHVEC): Likewise.
33732         (__NO_MATH_INLINES): Likewise.
33733         (CNCT): Likewise.
33734         (CONCAT): Likewise.
33735         (WRAPPER_NAME): Likewise.
33736         (WRAPPER_DECL): Likewise.
33737         (WRAPPER_DECL_ff): Likewise.
33738         (WRAPPER_DECL_fFF): Likewise.
33739         (VECTOR_WRAPPER): Likewise.
33740         (VECTOR_WRAPPER_ff): Likewise.
33741         (VECTOR_WRAPPER_fFF): Likewise.
33742         (VEC_LEN): New macro.
33743         * math/test-float-vlen8.h: Include test-float.h,
33744         test-math-no-inline.h and test-math-vector.h.
33745         (FLOAT): Remove macro.
33746         (FUNC): Likewise.
33747         (MATHCONST): Likewise.
33748         (PRINTF_EXPR): Likewise.
33749         (PRINTF_XEXPR): Likewise.
33750         (PRINTF_NEXPR): Likewise.
33751         (TEST_FLOAT): Likewise.
33752         (TEST_MATHVEC): Likewise.
33753         (__NO_MATH_INLINES): Likewise.
33754         (CNCT): Likewise.
33755         (CONCAT): Likewise.
33756         (WRAPPER_NAME): Likewise.
33757         (WRAPPER_DECL): Likewise.
33758         (WRAPPER_DECL_ff): Likewise.
33759         (WRAPPER_DECL_fFF): Likewise.
33760         (VECTOR_WRAPPER): Likewise.
33761         (VECTOR_WRAPPER_ff): Likewise.
33762         (VECTOR_WRAPPER_fFF): Likewise.
33763         (VEC_LEN): New macro.
33764         * math/test-float-vlen16.h: Include test-float.h,
33765         test-math-no-inline.h and test-math-vector.h.
33766         (FLOAT): Remove macro.
33767         (FUNC): Likewise.
33768         (MATHCONST): Likewise.
33769         (PRINTF_EXPR): Likewise.
33770         (PRINTF_XEXPR): Likewise.
33771         (PRINTF_NEXPR): Likewise.
33772         (TEST_FLOAT): Likewise.
33773         (TEST_MATHVEC): Likewise.
33774         (__NO_MATH_INLINES): Likewise.
33775         (CNCT): Likewise.
33776         (CONCAT): Likewise.
33777         (WRAPPER_NAME): Likewise.
33778         (WRAPPER_DECL): Likewise.
33779         (WRAPPER_DECL_ff): Likewise.
33780         (WRAPPER_DECL_fFF): Likewise.
33781         (VECTOR_WRAPPER): Likewise.
33782         (VECTOR_WRAPPER_ff): Likewise.
33783         (VECTOR_WRAPPER_fFF): Likewise.
33784         (VEC_LEN): New macro.
33785         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33786         test-vec-loop.h.
33787         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33788         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33789         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33790         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33791         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33793         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33795 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33797         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33798         (__getlogin_r): ... this.
33800 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33802         [BZ #18594]
33803         * math/s_ccosh.c (__ccosh): Compare with least normal value
33804         instead of comparing class with FP_SUBNORMAL.
33805         * math/s_ccoshf.c (__ccoshf): Likewise.
33806         * math/s_ccoshl.c (__ccoshl): Likewise.
33807         * math/s_cexp.c (__cexp): Likewise.
33808         * math/s_cexpf.c (__cexpf): Likewise.
33809         * math/s_cexpl.c (__cexpl): Likewise.
33810         * math/s_csin.c (__csin): Likewise.
33811         * math/s_csinf.c (__csinf): Likewise.
33812         * math/s_csinh.c (__csinh): Likewise.
33813         * math/s_csinhf.c (__csinhf): Likewise.
33814         * math/s_csinhl.c (__csinhl): Likewise.
33815         * math/s_csinl.c (__csinl): Likewise.
33816         * math/s_ctan.c (__ctan): Likewise.
33817         * math/s_ctanf.c (__ctanf): Likewise.
33818         * math/s_ctanh.c (__ctanh): Likewise.
33819         * math/s_ctanhf.c (__ctanhf): Likewise.
33820         * math/s_ctanhl.c (__ctanhl): Likewise.
33821         * math/s_ctanl.c (__ctanl): Likewise.
33822         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33823         csin, csinh, ctan and ctanh.
33824         * math/auto-libm-test-out: Regenerated.
33825         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33826         * sysdeps/i386/fpu/libm-test-ulps: Update.
33827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33829 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33831         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33832         return value is wrong, print the expected value too.
33834 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33836         [BZ #18585]
33837         * elf/readlib.c (is_gdb_python_file): New.
33838         (process_file): Don't issue errors on filenames with -gdb.py
33839         suffix.
33841 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33843         * math/auto-libm-test-in: Add more tests of csin and csinh.
33844         * math/auto-libm-test-out: Regenerated.
33845         * math/libm-test.inc (csin_test_data): Remove tests moved to
33846         auto-libm-test-in.
33847         (csinh_test_data): Likewise.
33849         [BZ #18593]
33850         * math/s_csin.c (__csin): Negate before rather than after possibly
33851         overflowing multiplication.
33852         * math/s_csinf.c (__csinf): Likewise.
33853         * math/s_csinh.c (__csinh): Likewise.
33854         * math/s_csinhf.c (__csinhf): Likewise.
33855         * math/s_csinhl.c (__csinhl): Likewise.
33856         * math/s_csinl.c (__csinl): Likewise.
33857         * math/auto-libm-test-in: Add some tests of csin and csinh.
33858         * math/auto-libm-test-out: Regenerated.
33859         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33860         (csinh_test_data): Likewise.
33861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33863         [BZ #18586]
33864         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33865         underflow exception for small results.
33867 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33870         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33871         variable and included header.
33872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33873         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33874         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33877         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33879         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33880         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33881         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33882         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33883         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33884         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33885         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33886         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33887         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33889 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33891         [BZ #16526]
33892         [BZ #16538]
33893         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33894         (__sin): Force underflow exception for arguments with small
33895         absolute value.
33896         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33897         (__kernel_sinf): Force underflow exception for arguments with
33898         small absolute value.
33899         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33900         (__kernel_sincosl): Force underflow exception for arguments with
33901         small absolute value.
33902         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33903         (__kernel_sinl): Force underflow exception for arguments with
33904         small absolute value.
33905         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33906         (__kernel_sincosl): Force underflow exception for arguments with
33907         small absolute value.
33908         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33909         (__kernel_sinl): Force underflow exception for arguments with
33910         small absolute value.
33911         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33912         (__kernel_sinl): Force underflow exception for arguments with
33913         small absolute value.
33914         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33915         (__kernel_sinf): Force underflow exception for arguments with
33916         small absolute value.
33917         * math/auto-libm-test-in: Add more tests of sin and sincos.
33918         * math/auto-libm-test-out: Regenerated.
33920         [BZ #18245]
33921         [BZ #18583]
33922         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33923         (__kernel_standard_l): Use feholdexcept and fesetenv around
33924         conversion to double instead of special-casing overflow and
33925         underflow.
33926         * math/libm-test.inc (fmod_test_data): Add more tests.
33927         (remainder_test_data): Likewise.
33928         (sqrt_test_data): Likewise.
33930 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33932         [BZ #17403]
33933         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33934         atomic_read_barrier, atomic_write_barrier): Define.
33935         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33936         atomic_read_barrier, atomic_write_barrier): Define.
33938 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33940         * math/Makefile [$(PERL) != no]
33941         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33942         dependency on libm-test.stmp below the inclusion of Rules.
33944 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33946         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33948         and included header.
33949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33953         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33957         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33958         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33959         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33960         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33961         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33962         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33963         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33964         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33965         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33966         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33967         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33969 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33971         [BZ #18371]
33972         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33973         intermediate but not final result might underflow.
33974         * math/s_csqrtf.c (__csqrtf): Likewise.
33975         * math/s_csqrtl.c (__csqrtl): Likewise.
33976         * math/auto-libm-test-in: Add more tests of csqrt.
33977         * math/auto-libm-test-out: Regenerated.
33978         * sysdeps/i386/fpu/libm-test-ulps: Update.
33980         [BZ #18219]
33981         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33982         threshold on absolute value of exponent for which scaling is used.
33983         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33984         * math/auto-libm-test-in: Add more tests of exp2.
33985         * math/auto-libm-test-out: Regenerated.
33987 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33989         [BZ #17977]
33990         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33991         when initializing interface list, based on the bug analysis
33992         and the patch proposed by Eric Newton.
33993         * resolv/tst-res_hconf_reorder.c: New test.
33994         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33995         tst-res_hconf_reorder.
33996         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33997         and $(shared-thread-library).
33998         (tst-res_hconf_reorder-ENV): New variable.
34000         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
34001         in comment.
34003 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
34005         [BZ #16353]
34006         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
34007         (__expm1): Force underflow exception for arguments with small
34008         absolute value.
34009         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
34010         (__expm1f): Force underflow exception for arguments with small
34011         absolute value.
34012         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
34013         (__expm1): Force underflow exception for arguments with small
34014         absolute value.
34015         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
34016         (__expm1f): Force underflow exception for arguments with small
34017         absolute value.
34018         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34019         Check for small arguments before calling __expm1.
34020         * math/auto-libm-test-in: Do not mark underflow exceptions as
34021         possibly missing for bug 16353.
34022         * math/auto-libm-test-out: Regenerated.
34024 2015-06-22  Andreas Schwab  <schwab@suse.de>
34026         [BZ #18513]
34027         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
34028         PTR queries.
34030 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
34032         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
34034         * string/strcoll_l.c: Remove unused struct element idxnow.
34036 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
34038         [BZ #18569]
34039         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
34040         underflow and return argument in case of subnormal argument.
34041         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34042         Likewise.
34043         * math/auto-libm-test-in: Add more tests of expm1.
34044         * math/auto-libm-test-out: Regenerated.
34046         [BZ #16361]
34047         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34048         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34049         tiny results.
34050         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34051         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34052         tiny results.
34053         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
34054         mark underflow exceptions as possibly missing for bug 16361.
34055         * math/auto-libm-test-out: Regenerated.
34057 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
34059         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
34060         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
34061         Remove variable.
34062         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34063         (test-xfail-XOPEN2K8/utmpx.h/conform).
34065         * conform/conformtest.pl ($xerrors): New variable.
34066         (note_error): New function.
34067         (compiletest): New argument $xfail.  Use not_error.
34068         (runtest): Likewise.
34069         (top level): Handle xfail- lines.  Update calls to compiletest and
34070         runtest.  Handle xfail- and optional- in headers listed with
34071         allow-header.
34072         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
34073         (O_EXEC): Likewise.
34074         (O_SEARCH): Likewise.
34075         * conform/data/stropts.h-data (ioctl): Likewise.
34076         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34077         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
34078         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
34079         (msghdr.msg_controllen): Likewise.
34080         (cmsghdr.cmsg_len): Likewise.
34081         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
34082         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
34083         variable.
34084         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34085         (test-xfail-XPG4/stropts.h/conform): Likewise.
34086         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34087         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34088         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34089         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34090         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34091         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34092         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34093         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34094         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34095         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34096         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34097         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34098         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34099         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34100         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34101         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34102         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34103         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34104         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34106 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
34108         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34109         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34110         definitions for proper unfolding of __MATHDECL_VEC.
34112 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34114         * benchtests/bench-strcoll.c:
34115         Include string.h.
34116         (main): Remove unused variable res.
34118 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34120         * timezone/Makefile (%/UTC %/Universal):
34121         Generate test-result files for UTC and Universal.
34123 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34125         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34127 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
34129         [BZ #16350]
34130         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34131         for arguments with small absolute value.
34132         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34133         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34134         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34135         (__asinh): Force underflow exception for arguments with small
34136         absolute value.
34137         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34138         (__asinhf): Force underflow exception for arguments with small
34139         absolute value.
34140         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34141         (__asinhl): Force underflow exception for arguments with small
34142         absolute value.
34143         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34144         (__asinhl): Force underflow exception for arguments with small
34145         absolute value.
34146         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34147         (__asinhl): Force underflow exception for arguments with small
34148         absolute value.
34149         * math/auto-libm-test-in: Do not mark underflow exceptions as
34150         possibly missing for bug 16350.
34151         * math/auto-libm-test-out: Regenerated.
34153         * include/bits/ipc.h: Remove file.
34154         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34155         variable.
34156         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34157         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34158         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34159         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34160         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34161         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34162         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34163         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34164         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34166         * math/auto-libm-test-in: Remove spurious underflow allowance for
34167         tests of cexp.
34168         * math/auto-libm-test-out: Regenerated.
34170         [BZ #18558]
34171         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34172         unconditional definition.
34173         (MCAST_BLOCK_SOURCE): Likewise.
34174         (MCAST_UNBLOCK_SOURCE): Likewise.
34175         (MCAST_LEAVE_GROUP): Likewise.
34176         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34177         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34178         (MCAST_MSFILTER): Likewise.
34179         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34180         Remove variable.
34181         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34182         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34183         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34184         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34185         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34187 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
34189         * NEWS: Mention addition of x86_64 vector sincosf.
34190         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34191         * math/test-float-vlen4.h: Likewise.
34192         * math/test-float-vlen8.h: Likewise.
34193         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34194         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34195         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34196         * sysdeps/x86_64/fpu/Versions: New versions added.
34197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34198         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34199         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34200         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34202         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34203         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34206         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34207         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34208         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34209         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34210         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34211         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34212         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34213         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34214         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34215         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34216         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34217         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34218         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34219         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34220         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34222         * NEWS: Mention addition of x86_64 vector sincos.
34223         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34224         * math/math.h (__MATHDECL_VEC): New macro.
34225         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34226         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34227         declaration under condition.
34228         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34229         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34230         TEST_VEC_LOOP change.
34231         * math/test-double-vlen4.h: Likewise.
34232         * math/test-double-vlen8.h: Likewise.
34233         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34234         * math/test-float-vlen4.h: Likewise.
34235         * math/test-float-vlen8.h: Likewise.
34236         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34237         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34238         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34239         * sysdeps/x86_64/fpu/Versions: New versions added.
34240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34241         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34242         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34243         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34247         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34248         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34249         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34250         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34251         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34252         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34253         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34254         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34255         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34256         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34257         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34260         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34261         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34262         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34263         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34266         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34267         redirections for powf.
34268         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34269         * sysdeps/x86_64/fpu/Versions: New versions added.
34270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34271         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34272         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34273         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34280         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34281         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34282         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34283         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34284         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34285         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34286         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34287         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34289         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34292         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34293         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34294         * math/test-float-vlen16.h: Fixed 2 argument macro.
34295         * math/test-float-vlen4.h: Likewise.
34296         * math/test-float-vlen8.h: Likewise.
34297         * NEWS: Mention addition of x86_64 vector powf.
34299 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34301         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34302         and redefine.
34303         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34304         and redefine.
34305         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34306         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34307         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34309         [BZ #18553]
34310         * resource/getpriority.c (getpriority): Rename to __getpriority
34311         and define as weak alias of __getpriority.
34312         * resource/setpriority.c (setpriority): Rename to __setpriority
34313         and define as weak alias of __setpriority.
34314         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34315         __getpriority and define as weak alias of __getpriority.
34316         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34317         __setpriority and define as weak alias of __setpriority.
34318         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34319         strong name.
34320         (setpriority): Use __setpriority as strong name.
34321         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34322         __getpriority and define as weak alias of __getpriority.
34323         * include/sys/resource.h (__getpriority): Declare.  Use
34324         libc_hidden_proto.
34325         (__setpriority): Likewise.
34326         (getpriority): Don't use libc_hidden_proto.
34327         (setpriority): Likewise.
34328         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34329         getpriority.  Call __setpriority instead of setpriority.
34330         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34331         Remove variable.
34333         [BZ #18547]
34334         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34335         as weak alias of __getttynam.  Use prototype function definition.
34336         Call __setttyent, __getttyent and __endttyent instead of
34337         setttyent, getttyent and endttyent.
34338         (getttyent): Rename to __getttyent and define as weak alias of
34339         __getttyent.  Call __setttyent instead of setttyent.  Call
34340         __fgets_unlocked instead of fgets_unlocked.
34341         (setttyent): Rename to __setttyent and define as weak alias of
34342         __setttyent.
34343         (endttyent): Rename to __endttyent and define as weak alias of
34344         __endttyent.
34345         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34346         (__setttyent): Likewise.
34347         (__endttyent): Likewise.
34348         (getttyent): Don't use libc_hidden_proto.
34349         (setttyent): Likewise.
34350         (endttyent): Likewise.
34351         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34352         __endttyent instead of setttyent, getttyent and endttyent.
34353         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34354         Remove variable.
34356         [BZ #18546]
34357         * socket/recv.c (__recv): Use libc_hidden_def.
34358         * socket/socket.c (__socket): Likewise.
34359         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34360         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34361         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34362         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34363         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34364         libc_hidden_def.
34365         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34366         libc_hidden_weak.
34367         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34368         Use libc_hidden_proto.
34369         (__recv): Likewise.
34370         * socket/Versions (libc): Export __recv and __socket at version
34371         GLIBC_PRIVATE.
34372         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34373         instead of recv.
34374         (init_mq_netlink): Call __socket instead of socket.
34375         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34376         Remove variable.
34378         [BZ #18545]
34379         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34380         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34381         hidden_weak.
34382         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34383         define as alias of __mq_timedsend.  Use hidden_weak.
34384         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34385         __mq_timedsend as strong name.
34386         (mq_timedreceive): Use __mq_timedreceive as strong name.
34387         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34388         (__mq_timedreceive): Likewise.
34389         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34390         __mq_timedreceive instead of mq_timedreceive.
34391         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34392         instead of mq_timedsend.
34393         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34394         Remove variable.
34396         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34397         hidden_def and hidden_weak instead of libc_hidden_def and
34398         libc_hidden_weak.
34399         (top level): Refer to hidden_def in comment.
34400         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34401         macro.  Use it instead of libc_hidden_def.
34402         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34403         specify __GI_* name explicitly.
34404         (mq_timedreceive): Likewise.
34405         (mq_setattr): Likewise.
34407         [BZ #18544]
34408         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34409         __pthread_barrier_init and define as weak alias of
34410         __pthread_barrier_init.
34411         * sysdeps/sparc/nptl/pthread_barrier_init.c
34412         (pthread_barrier_init): Likewise.
34413         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34414         __pthread_barrier_wait and define as weak alias of
34415         __pthread_barrier_wait.
34416         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34417         (pthread_barrier_wait): Likewise.
34418         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34419         (pthread_barrier_wait): Likewise.
34420         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34421         (pthread_barrier_wait): Likewise.
34422         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34423         (pthread_barrier_wait): Likewise.
34424         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34425         __pthread_barrier_wait at version GLIBC_PRIVATE.
34426         * include/pthread.h (__pthread_barrier_init): Declare.
34427         (__pthread_barrier_wait): Likewise.
34428         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34429         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34430         (helper_thread): Likewise.
34431         (init_mq_netlink): Call __pthread_barrier_init instead of
34432         pthread_barrier_init.
34434         [BZ #18542]
34435         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34436         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34437         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34438         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34439         vswscanf.
34440         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34441         Remove variable.
34443         [BZ #18540]
34444         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34445         strong alias of _IO_fflush.  Use libc_hidden_def.
34446         * libio/iofflush_u.c (fflush_unlocked): Rename to
34447         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34448         Use libc_hidden_weak.
34449         * include/stdio.h (__fflush_unlocked): Declare.  Use
34450         libc_hidden_proto.
34451         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34452         fflush_unlocked.
34453         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34454         Remove variable.
34456         [BZ #18539]
34457         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34458         define as weak alias of __addseverity.
34459         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34460         Remove variable.
34461         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34462         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34463         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34465         [BZ #18536]
34466         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34467         (__tfind): Likewise.
34468         (__tdelete): Likewise.
34469         (__twalk): Likewise.
34470         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34471         __twalk to GLIBC_PRIVATE.
34472         * include/search.h (__tsearch): Use libc_hidden_proto.
34473         (__tfind): Likewise.
34474         (__tdelete): Likewise.
34475         (__twalk): Likewise.
34476         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34477         Call __tdelete instead of tdelete.
34478         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34479         tfind.  Call __tsearch instead of tsearch.
34480         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34481         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34482         Remove variable.
34483         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34485         [BZ #18534]
34486         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34487         (dprintf): Define as a weak alias of __dprintf, not a strong
34488         alias.
34489         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34490         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34491         dprintf.
34492         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34493         Remove variable.
34494         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34495         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34497         [BZ #18533]
34498         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34499         not a strong alias.
34500         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34501         Remove variable.
34503         [BZ #18532]
34504         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34505         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34506         (in6addr_loopback): Rename to __in6addr_loopback and define as
34507         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34508         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34509         libc_hidden_proto.
34510         (__in6addr_any): Likewise.
34511         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34512         in6addr_any.
34513         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34514         variable.
34515         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34517 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34519         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34520         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34521         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34522         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34523         redirections for pow.
34524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34525         * sysdeps/x86_64/fpu/Versions: New versions added.
34526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34528         build of SSE, AVX2 and AVX512 IFUNC versions.
34529         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34534         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34536         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34537         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34538         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34539         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34540         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34541         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34542         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34543         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34546         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34548         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34549         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34550         * NEWS: Mention addition of x86_64 vector pow.
34552         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34553         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34554         redirections for expf.
34555         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34556         * sysdeps/x86_64/fpu/Versions: New versions added.
34557         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34558         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34559         build of SSE, AVX2 and AVX512 IFUNC versions.
34560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34566         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34567         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34568         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34569         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34570         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34571         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34572         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34573         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34574         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34575         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34577         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34578         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34579         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34580         * NEWS: Mention addition of x86_64 vector expf.
34582         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34583         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34584         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34585         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34586         redirections for exp.
34587         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34588         * sysdeps/x86_64/fpu/Versions: New versions added.
34589         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34590         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34591         build of SSE, AVX2 and AVX512 IFUNC versions.
34592         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34593         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34594         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34595         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34596         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34597         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34598         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34599         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34600         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34601         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34602         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34603         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34604         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34605         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34608         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34609         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34610         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34611         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34612         * NEWS: Mention addition of x86_64 vector exp.
34614         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34615         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34616         redirections for logf.
34617         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34618         * sysdeps/x86_64/fpu/Versions: New versions added.
34619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34620         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34621         build of SSE, AVX2 and AVX512 IFUNC versions.
34622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34624         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34625         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34628         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34629         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34630         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34631         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34632         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34633         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34634         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34635         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34636         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34637         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34638         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34639         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34640         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34641         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34642         * NEWS: Mention addition of x86_64 vector logf.
34644         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34645         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34646         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34647         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34648         redirections for log.
34649         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34650         * sysdeps/x86_64/fpu/Versions: New versions added.
34651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34652         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34653         build of SSE, AVX2 and AVX512 IFUNC versions.
34654         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34655         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34656         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34657         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34658         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34659         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34660         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34661         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34662         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34663         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34664         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34665         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34666         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34667         test.
34668         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34669         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34671         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34672         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34673         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34674         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34675         * NEWS: Mention addition of x86_64 vector log.
34677 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34679         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34680         cfi_adjust_cfa_offset argument.
34681         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34682         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34684         [BZ #18034]
34685         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34686         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34687         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34688         ordering using ldar.
34689         (_dl_tlsdesc_dynamic): Likewise.
34690         (_dl_tlsdesc_return_lazy): Likewise.
34691         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34692         relaxed atomics instead of volatile and synchronize with release store.
34693         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34694         volatile.
34695         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34697 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34699         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34700         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34701         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34702         * sysdeps/x86_64/fpu/Versions: New versions added.
34703         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34704         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34705         build of SSE, AVX2 and AVX512 IFUNC versions.
34706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34712         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34713         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34714         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34715         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34716         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34717         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34718         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34719         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34720         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34721         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34722         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34723         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34724         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34725         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34726         * NEWS: Mention addition of x86_64 vector sinf.
34728 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34730         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34731         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34732         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34733         Remove variable.
34734         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34735         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34737 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34739         [BZ #18530]
34740         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34741         strong alias of _IO_fputs.  Use libc_hidden_def.
34742         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34743         and define as weak alias of __fputs_unlocked.  Use
34744         libc_hidden_weak.
34745         * include/stdio.h (__fputs_unlocked): Declare.  Use
34746         libc_hidden_proto.
34747         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34748         fputs_unlocked.
34750         [BZ #18529]
34751         * resolv/netdb.h [__USE_POSIX]: Change condition to
34752         [__USE_XOPEN2K].
34753         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34754         not expect.
34755         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34756         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34757         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34758         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34759         [XPG4 || UNIX98] (AI_ALL): Likewise.
34760         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34761         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34762         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34763         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34764         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34765         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34766         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34767         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34768         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34769         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34770         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34771         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34772         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34773         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34774         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34775         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34776         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34777         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34778         [XPG4 || UNIX98] (gai_strerror): Likewise.
34779         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34780         [XPG4 || UNIX98] (getnameinfo): Likewise.
34782         [BZ #18528]
34783         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34784         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34785         __USE_XOPEN2K8].
34786         (getgrent): Likewise.
34787         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34788         expect.
34789         [XPG3 || POSIX2008] (endgrent): Likewise.
34790         [XPG3] (setgrent): Likewise.
34791         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34792         variable.
34793         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34795         [BZ #18527]
34796         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34797         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34798         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34799         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34800         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34801         * include/unistd.h (__getlogin_r): Declare.  Use
34802         libc_hidden_proto.
34803         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34804         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34805         variable.
34806         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34807         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34808         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34810 2015-06-12  Martin Sebor  <msebor@redhat.com>
34812         [BZ #18512]
34813         * Makerules (check-install-supported): New target.
34814         (install): Add check-install-supported as a dependency.
34815         * manual/install.texi (Installing the C Library): Document
34816         that overriding prefix and exec_prefix is not supported.
34817         Mention DESTDIR.
34818         * INSTALL: Regenerate from the above.
34820 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34822         [BZ #18519]
34823         * posix/Versions (libc): Export __libc_pread at version
34824         GLIBC_PRIVATE.
34825         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34826         instead of pread.
34827         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34828         variable.
34830         [BZ #18522]
34831         * misc/efgcvt_r.c
34832         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34833         (cvt_symbol): Use weak_alias instead of strong_alias.
34834         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34835         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34836         Remove variable.
34837         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34838         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34840         [BZ #18520]
34841         * inet/herrno.c (h_errno): Rename to __h_errno.
34842         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34843         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34844         to __h_errno instead of h_errno.
34845         * nptl/herrno.c (h_errno): Rename to __h_errno.
34846         (__h_errno_location): Refer to __h_errno not h_errno.
34847         * resolv/Versions (h_errno): Rename to __h_errno.
34848         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34849         Remove variable.
34850         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34852 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34854         * configure.ac: More strict check for AVX512 assembler support.
34855         * configure: Regenerated.
34857         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34858         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34860         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34861         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34862         * sysdeps/x86_64/fpu/Versions: New versions added.
34863         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34864         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34865         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34866         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34868         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34869         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34871         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34872         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34873         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34874         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34875         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34876         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34877         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34878         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34879         test.
34880         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34883         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34884         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34885         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34886         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34887         * NEWS: Mention addition of x86_64 vector sin.
34889 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34891         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34892         comment.
34894 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34896         [BZ #18479]
34897         * nptl/pt-interp.c: New file.
34898         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34899         Add pt-interp.
34900         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34901         $(common-objpfx)runtime-linker.h.
34903 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34905         * Makeconfig (+interp): Remove unused variable.
34906         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34907         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34908         $(elf-objpfx)runtime-linker.h.
34909         ($(elf-objpfx)runtime-linker.h): Rename to
34910         $(common-objpfx)runtime-linker.h and move ...
34911         * Makerules [$(build-shared) = yes]: ... here.
34912         * elf/interp.c: Include <runtime-linker.h> instead of
34913         <elf/runtime-linker.h>.
34915 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34917         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34918         (__gettimeofday_syscall): Remove vsyscall fallback.
34919         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34920         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34921         Add syscall fallback function.
34922         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34923         if vDSO is not present.
34924         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34925         fallback function.
34926         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34927         present.
34928         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34929         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34931 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34933         [BZ #18497]
34934         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34935         of wcscmp.
34936         (wcscmp): Define as weak alias of WCSCMP.
34937         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34938         wcscoll.
34939         (USE_HIDDEN_DEF): Define.
34940         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34941         __wcscoll.  Don't use libc_hidden_weak.
34942         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34943         wcscmp.
34944         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34945         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34946         __GI_wcscmp.
34947         (weak_alias): Undefine and redefine.
34948         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34949         __wcscmp and define as weak alias of __wcscmp.
34950         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34951         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34952         (__wcscoll): Likewise.
34953         (wcscmp): Don't use libc_hidden_proto.
34954         (wcscoll): Likewise.
34955         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34956         wcscoll.
34957         * posix/regexec.c (check_node_accept_bytes): Likewise.
34958         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34959         variable.
34960         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34961         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34963         [BZ #18507]
34964         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34965         __fstatvfs and define as weak alias of __fstatvfs.  Use
34966         libc_hidden_weak.
34967         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34968         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34969         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34970         Define as alias of __fstatvfs, not fstatvfs.
34971         (fstatvfs64): Likewise.
34972         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34973         Define as alias of __statvfs, not statvfs.
34974         (statvfs64): Likewise.
34975         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34976         Remove variable.
34978 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34981         (HAVE_GETCPU_VSYSCALL): Define.
34982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34983         (HAVE_GETCPU_VSYSCALL): Likewise.
34984         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34985         * sysdeps/unix/sysv/linux/sched_getcpu.c
34986         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34987         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34988         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34989         prototype.
34990         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34991         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34992         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34994         Define.
34995         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34996         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34997         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34998         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35000 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
35002         * sysdeps/x86_64/fpu/Makefile: New file.
35003         * sysdeps/x86_64/fpu/Versions: New file.
35004         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
35005         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
35006         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
35007         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
35008         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
35009         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
35010         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
35011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
35012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
35013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
35014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
35015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
35016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
35017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35018         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35019         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
35020         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
35021         * sysdeps/x86_64/configure.ac: Options for libmvec build.
35022         * sysdeps/x86_64/configure: Regenerated.
35023         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
35024         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
35025         * manual/install.texi (Configuring and compiling): Document
35026         --disable-mathvec.
35027         * INSTALL: Regenerated.
35028         * NEWS: Mention addition of libmvec and x86_64 vector cos.
35030         * math/Makefile: Added rules for vector tests.
35031         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
35032         declaration under condition.
35033         * math/test-double-vlen2.h: New file.
35034         * math/test-double-vlen4.h: New file.
35035         * math/test-double-vlen8.h: New file.
35036         * math/test-vec-loop.h: Added initialization macro.
35037         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
35038         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
35039         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
35040         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
35041         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
35042         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
35043         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
35044         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
35045         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
35046         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
35047         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
35049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35050         * sysdeps/x86_64/fpu/Versions: New versions added.
35051         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
35052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
35053         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
35054         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
35055         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
35056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
35057         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
35058         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
35059         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
35060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
35061         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
35062         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
35063         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
35064         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35065         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35066         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35067         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
35068         * NEWS: Mention addition of x86_64 vector cosf.
35070         * math/Makefile: Added CFLAGS for new tests.
35071         * math/test-float-vlen16.h: New file.
35072         * math/test-float-vlen4.h: New file.
35073         * math/test-float-vlen8.h: New file.
35074         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
35075         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
35076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35077         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
35078         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
35079         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
35080         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
35081         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
35082         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
35083         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
35084         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
35086 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
35088         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
35089         * locale/programs/ld-ctype.c: Likewise.
35091 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
35093         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
35094         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
35095         bit_ZMM16_31_state): New macro.
35096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35097         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
35099 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
35101         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35103 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
35105         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35107 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
35109         [BZ #18498]
35110         * libio/memstream.c (open_memstream): Rename to __open_memstream
35111         and define as weak alias of __open_memstream.
35112         * include/stdio.h (__open_memstream): Declare.  Use
35113         libc_hidden_proto.
35114         (open_memstream): Don't use libc_hidden_proto.
35115         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35116         open_memstream.
35117         * posix/getopt.c (_getopt_internal_r): Likewise.
35118         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35119         variable.
35120         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35121         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35122         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35124         [BZ #18496]
35125         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35126         instead of wcrtomb.
35128         [BZ #18483]
35129         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35130         [__USE_XOPEN2K8].  Remove redundant #endif.
35131         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35132         Remove redundant #if.
35133         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35134         Remove variable.
35135         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35136         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35138         [BZ #18495]
35139         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35140         (__iswlower): Likewise.
35141         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
35142         (__iswlower): Likewise.
35143         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35144         instead of towlower.
35145         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35146         instead of iswlower.  Call __towupper instead of towupper.
35147         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35148         instead of iswalnum.
35150 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35152         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35153         errors to stderr.
35155 2015-06-05  Florian Weimer  <fweimer@redhat.com>
35157         [BZ #15661]
35158         [BZ #17322]
35159         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35160         Check for overflow properly.  Check for O_APPEND.  Ignore large
35161         file system block sizes.  Add comments about problems.
35162         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35163         * manual/filesys.texi (Storage Allocation): New node.
35165 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35167         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35168         cancellable syscalls.
35169         (SYS_ify): Add guard to no redefine it.
35170         (INLINE_SYSCALL): Likewise.
35171         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35172         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35173         SYSCALL_CANCEL instead.
35174         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35175         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35176         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35177         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35178         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35179         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35180         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35181         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35182         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35183         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35184         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35185         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35186         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35187         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35188         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35190         Likewise.
35191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35192         (__libc_pread64): Likewise.
35193         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35194         (__libc_preadv): Likewise.
35195         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35196         (__libc_readv64): Likewise.
35197         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35198         (__libc_pwrite): Likewise.
35199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35200         (__libc_pwrite64): Likewise.
35201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35202         (__libc_pwritev): Likewise.
35203         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35204         (__libc_pwritev64): Likewise.
35205         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35206         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35207         (sync_file_range): Likewise.
35208         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35209         Likewise.
35210         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35211         Likewise.
35212         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35213         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35214         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35215         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35216         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35217         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35218         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35219         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35221         Likewise.
35222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35223         (__libc_read64): Likewise.
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35225         Likewise.
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35227         Likewise.
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35229         Likewise.
35230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35231         Likewise.
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35233         (__libc_pread64): Likewise.
35234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35235         Likewise.
35236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35237         (__libc_pwrite64): Likewise.
35238         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35239         (sync_file_range): Likewise.
35240         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35241         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35242         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35243         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35244         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35245         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35246         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35247         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35248         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35249         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35250         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35251         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35252         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35253         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35254         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35255         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35256         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35257         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35258         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35259         Likewise.
35260         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35261         Likewise.
35262         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35263         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35264         Likewise.
35265         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35266         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35267         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35268         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35269         Likewise.
35270         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35271         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35272         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35273         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35274         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35276 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35278         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35279         Include dl-vdso.
35280         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35281         Use VDSO routines for gettimeofday, clock_gettime if
35282         available.
35283         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35284         Declare VDSO symbols.
35285         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35286         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35287         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35288         * sysdeps/unix/sysv/linux/arm/Versions: Add
35289         __vdso_clock_gettime.
35291 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35293         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35294         be an inline implementation regardless of library is built within.
35295         (open_not_cancel_2): Likewise.
35296         (__read_nocancel): Likewise.
35297         (__write_nocancel): Likewise.
35298         (openat_not_cancel): Likewise.
35299         (openat_not_cancel_3): Likewise.
35300         (openat64_not_cancel): Likewise.
35301         (openat64_not_cancel_3): Likewise.
35302         (__close_nocancel): Likewise.
35303         (pause_not_cancel): Likewise.
35304         (nanosleep_not_cancel): Likewise.
35305         (sigsuspend_not_cancel): Likewise.
35307 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35309         [BZ #14958]
35310         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35311         wake-up.
35312         (__pthread_rwlock_rdlock_slow): Likewise.
35313         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35314         Likewise.
35315         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35316         Likewise.
35317         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35318         * nptl/tst-rwlock16.c: New file.
35319         * nptl/Makefile (tests): Add new test.
35321 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35323         [BZ #18324]
35324         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35325         missing wake-up of readers.
35326         * nptl/tst-rwlock15.c: New file.
35327         * nptl/Makefile (tests): Add new test.
35329 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35331         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35332         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35333         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35334         and __nacl_supply_interface_rtld.
35335         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35336         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35337         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35338         Add __nacl_supply_interface_rtld.
35339         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35341 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35343         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35344         isfinite.
35345         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35346         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35348 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35350         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35351         __signbit* with standard C99 macros.
35352         * math/e_exp10l.c: Likewise.
35353         * math/e_exp2l.c: Likewise.
35354         * math/e_scalb.c: Likewise.
35355         * math/e_scalbf.c: Likewise.
35356         * math/e_scalbl.c: Likewise.
35357         * math/s_ldexp.c: Likewise.
35358         * math/s_ldexpf.c: Likewise.
35359         * math/s_ldexpl.c: Likewise.
35360         * math/w_atan2.c: Likewise.
35361         * math/w_atan2f.c: Likewise.
35362         * math/w_atan2l.c: Likewise.
35363         * math/w_cosh.c: Likewise.
35364         * math/w_coshf.c: Likewise.
35365         * math/w_coshl.c: Likewise.
35366         * math/w_exp10.c: Likewise.
35367         * math/w_exp10f.c: Likewise.
35368         * math/w_exp10l.c: Likewise.
35369         * math/w_exp2.c: Likewise.
35370         * math/w_exp2f.c: Likewise.
35371         * math/w_exp2l.c: Likewise.
35372         * math/w_fmod.c: Likewise.
35373         * math/w_fmodf.c: Likewise.
35374         * math/w_fmodl.c: Likewise.
35375         * math/w_hypot.c: Likewise.
35376         * math/w_hypotf.c: Likewise.
35377         * math/w_hypotl.c: Likewise.
35378         * math/w_jnl.c: Likewise.
35379         * math/w_lgamma.c: Likewise.
35380         * math/w_lgamma_r.c: Likewise.
35381         * math/w_lgammaf.c: Likewise.
35382         * math/w_lgammaf_r.c: Likewise.
35383         * math/w_lgammal.c: Likewise.
35384         * math/w_lgammal_r.c: Likewise.
35385         * math/w_pow.c: Likewise.
35386         * math/w_powf.c: Likewise.
35387         * math/w_powl.c: Likewise.
35388         * math/w_remainder.c: Likewise.
35389         * math/w_remainderf.c: Likewise.
35390         * math/w_remainderl.c: Likewise.
35391         * math/w_scalb.c: Likewise.
35392         * math/w_scalbf.c: Likewise.
35393         * math/w_scalbl.c: Likewise.
35394         * math/w_scalbln.c: Likewise.
35395         * math/w_scalblnf.c: Likewise.
35396         * math/w_scalblnl.c: Likewise.
35397         * math/w_sinh.c: Likewise.
35398         * math/w_sinhf.c: Likewise.
35399         * math/w_sinhl.c: Likewise.
35400         * math/w_tgamma.c: Likewise.
35401         * math/w_tgammaf.c: Likewise.
35402         * math/w_tgammal.c: Likewise.
35403         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35404         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35405         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35406         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35407         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35409         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35410         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35411         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35413         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35414         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35415         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35416         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35417         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35418         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35419         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35420         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35421         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35422         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35424         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35425         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35427         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35428         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35429         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35430         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35431         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35432         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35433         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35434         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35435         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35436         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35437         * stdio-common/printf_fp.c: Likewise.
35438         * stdio-common/printf_fphex.c: Likewise.
35439         * stdio-common/printf_size.c: Likewise.
35441 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35443         [BZ #18470]
35444         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35445         strnlen.
35446         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35447         Remove variable.
35448         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35449         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35450         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35451         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35452         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35453         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35454         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35455         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35456         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35457         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35459         [BZ #18468]
35460         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35461         weak alias of __wmemchr.  Use libc_hidden_weak.
35462         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35463         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35464         instead of wmemchr.
35466 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35468         [BZ #18383]
35469         * elf/tst-tlsalign-extern.c: New file.
35470         * elf/tst-tlsalign-extern-static.c: New file.
35471         * elf/tst-tlsalign-vars.c: New file.
35472         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35473         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35474         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35475         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35476         (test-xfail-tst-tlsalign-extern-static): New variable.
35478 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35480         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35481         Use variable name _sc_err instead of err.
35482         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35483         instead of ret.
35484         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35485         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35486         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35487         (INLINE_SYSCALL): Likewise.
35489         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35490         * include/string.h (__strnlen): Use libc_hidden_proto.
35491         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35492         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35493         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35494         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35495         (libc_hidden_def): Undefine and redefine.
35496         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35497         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35498         __GI_strnlen.
35499         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35500         libc_hidden_def.
35501         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35503         [BZ #18469]
35504         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35505         weak alias of __towlower.  Use libc_hidden_weak.
35506         (towupper): Rename to __towupper and define as weak alias of
35507         __towupper.  Use libc_hidden_weak.
35508         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35509         (__towupper): Likewise.
35510         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35511         __towlower instead of towlower.
35513 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35515         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35516         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35518 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35520         * sysdeps/aarch64/libm-test-ulps: Update.
35522 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35524         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35525         Define.
35526         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35528         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35529         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35530         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35531         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35532         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35534 2015-06-01  Martin Sebor  <msebor@redhat.com>
35536         [BZ #18116]
35537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35538         (__setcontext): Use extended four-operand version of mtsf whenever
35539         possible.
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35541         (__novec_swapcontext): Likewise.
35543 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35545         * benchtests/scripts/compare_bench.py: New file.
35546         * benchtests/scripts/import_bench.py (mean): New function.
35547         (split_list): Likewise.
35548         (do_for_all_timings): Likewise.
35549         (compress_timings): Likewise.
35551         * benchtests/scripts/import_bench.py: New file.
35552         * benchtests/scripts/validate_benchout.py: Import import_bench
35553         instead of jsonschema.
35554         (validate_bench): Remove function.
35555         (main): Use import_bench.
35557 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35559         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35560         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35562 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35566 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35568         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35569         set THREAD_SELF->tid to a magic value and futex-wake it.
35570         Pass its address to the thread_exit system call.
35571         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35572         bit is clear.
35573         * sysdeps/nacl/lowlevellock.h: New file.
35574         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35576         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35577         Add TIMEOUT to current time, don't subtract it.
35579 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35581         [BZ #2981]
35582         [BZ #18422]
35583         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35584         ($(objpfx)tst-audit2.out): Also depend on
35585         $(objpfx)tst-auditmod9b.so.
35586         * elf/tst-audit2.c: Include <dlfcn.h>.
35587         (calloc_called): New.
35588         (calloc): Allow to be called more than once.
35589         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35591 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35593         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35594         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35596 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35598         * stdlib/monetary.h: Fix comment.
35600 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35602         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35603         Avoid using variables in #defines that might cause shadowing.
35604         (INTERNAL_VSYSCALL_CALL): Likewise.
35606 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35608         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35610         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35611         * nptl/lll_timedlock_wait.c: ... to this new file.
35612         * nptl/Makefile (libpthread-routines): Add it.
35613         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35614         * nptl/lll_timedwait_tid.c: ... to this new file.
35615         * nptl/Makefile (libpthread-routines): Add it.
35616         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35617         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35618         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35619         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35620         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35621         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35622         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35623         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35624         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35625         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35627 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35629         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35630         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35631         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35633         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35635         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35637         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35638         * sysdeps/unix/sysv/linux/tile/sysdep.h
35639         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35640         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35641         using vDSO syscall macro.
35643 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35645         [BZ #17293]
35646         * uk_UA: Fix sorting order for Ukrainian locale
35648 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35650         * stdlib/monetary.h: Fix comment.
35652 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35654         [BZ #18234]
35655         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35656         st_mtim and st_ctim members.
35657         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35658         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35659         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35660         (struct stat64): Likewise.
35661         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35662         (struct stat64): Likewise.
35663         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35664         (struct stat64): Likewise.
35666 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35668         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35669         Define and include sysdep-vdso.h.
35670         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35671         Likewise.
35672         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35673         Likewise.
35674         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35675         Define with VDSO_SYMBOL and use PTR_MANGLE.
35676         (__vdso_clock_gettime): Likewise.
35677         (__vdso_clock_getres): Likewise.
35678         (_libc_vdso_platform_setup): Likewise.
35679         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35680         Likewise.
35681         (_libc_vdso_platform_setup): Likewise.
35682         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35683         Likewise.
35684         (__vdso_clock_gettime): Likewise.
35685         (__vdso_clock_getres): Likewise.
35686         (__vdso_get_tbfreq): Likewise.
35687         (__vdso_getcpu): Likewise.
35688         (__vdso_time): Likewise.
35689         (__vdso_sigtramp_rt64): Likewise.
35690         (__vdso_signtramp32): Likewise.
35691         (__vdso_sigtramp_rt32): Likewise.
35692         (_libc_vdso_platform_setup): Likewise.
35693         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35694         Likewise.
35695         (__vdso_clock_gettime): Likewise.
35696         (__vdso_clock_getres): Likewise.
35697         (_libc_vdso_platform_setup): Likewise.
35698         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35699         Likewise.
35700         (__vdso_clock_gettime): Likewise.
35701         (_libc_vdso_platform_setup): Likewise.
35702         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35703         Likewise.
35704         (__vdso_getcpu): Likewise.
35705         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35706         Use VDSO_SYMBOL macro to define.
35707         (__vdso_clock_gettime): Likewise.
35708         (__vdso_clock_getres): Likewise.
35709         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35710         Likewise.
35711         (__vdso_clock_gettime): Likewise.
35712         (__vdso_clock_getres): Likewise.
35713         (__vdso_get_tbfreq): Likewise.
35714         (__vdso_getcpu): Likewise.
35715         (__vdso_time): Likewise.
35716         (__vdso_sigtramp_rt64): Likewise.
35717         (__vdso_signtramp32): Likewise.
35718         (__vdso_sigtramp_rt32): Likewise.
35719         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35720         Likewise.
35721         (__vdso_clock_gettime): Likewise.
35722         (__vdso_clock_getres): Likewise.
35723         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35724         Likewise.
35725         (__vdso_clock_gettime): Likewise.
35726         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35727         Likewise.
35728         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35729         macro.
35730         (INTERNAL_VSYSCALL): Likewise.
35731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35732         Remove macro.
35733         (INTERNAL_VSYSCALL): Likewise.
35734         (INTERNAL_VSYSCALL_NCS): Likewise.
35735         (INTERNAL_VSYSCALL_CALL): New macro.
35736         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35738         Likewise.
35739         (INTERNAL_VSYSCALL): Likewise.
35740         (INTERNAL_VSYSCALL_NCS): Likewise.
35741         (INTERNAL_VSYSCALL_CALL): New macro.
35742         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35744         (INLINE_VSYSCALL): Remove macro.
35745         (INTERNAL_VSYSCALL): Remove macro.
35746         (INTERNAL_VSYSCALL_NCS): Remove macro.
35747         (INTERNAL_VSYSCALL_CALL): New macro.
35748         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35749         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35750         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35751         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35752         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35754         (INLINE_VSYSCALL): Remove macro.
35755         (INTERNAL_VSYSCALL): Likewise.
35756         (INTERNAL_VSYSCALL_NCS): Likewise.
35757         (INTERNAL_VSYSCALL_CALL): New macro.
35758         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35759         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35760         PTR_DEMANGLE on vDSO pointer.
35761         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35762         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35763         macro.
35764         (INTERNAL_SYSCALL): Likewise.
35765         (INTERNAL_VSYSCALL_NCS): Remove macro.
35766         (INTERNAL_VSYSCALL_CALL): New macro.
35767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35768         Remove macro.
35769         (INTERNAL_VSYSCALL): Likewise.
35770         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35771         sysdep-vdso.h instead of libc-vdso.h.
35772         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35773         definition.
35774         (INLINE_VSYSCALL): Likewise.
35775         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35776         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35777         definition.
35778         (INLINE_VSYSCALL): Likewise.
35779         (INTERNAL_VSYSCALL): Likewise.
35780         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35781         * sysdeps/unix/sysv/linux/timespec_get.c
35782         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35783         (timespec_get): Use ANSI prototype.
35784         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35785         and definition for Linux.
35787 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35789         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35790         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35792 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35794         [BZ #2981]
35795         [BZ #18410]
35796         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35797         for missing DT_PLTRELSZ.
35799 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35801         Remove obsolete aliases that broke 'locale -a'
35802         [BZ #18412]
35803         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35804         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35805         breaking some applications that use 'locale -a' output.
35806         Change the encoding of this file from Latin-1 to ASCII to avoid
35807         other potential problems with people grepping this file.
35809 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35811         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35812         -fasynchronous-unwind-tables.
35813         (CFLAGS-sendto.c): Likewise.
35814         (CFLAGS-sendmsg.c): Likewise.
35815         (CFLAGS-connect.c): Likewise.
35816         (CFLAGS-recvmsg.c): Likewise.
35817         (CFLAGS-recvfrom.c): Likewise.
35818         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35819         (SOCKETCALL): New macro: non-cancellable socketcall.
35820         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35821         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35822         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35823         * sysdeps/unix/sysv/linux/accept.c: New file.
35824         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35825         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35826         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35827         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35828         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35829         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35830         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35831         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35832         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35833         * sysdeps/unix/sysv/linux/send.c: Likewise.
35834         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35835         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35836         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35837         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35838         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35839         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35840         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35841         prototype.
35842         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35843         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35844         instead of __internal_xxx function.
35845         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35846         prototype.
35847         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35848         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35849         instead of __internal_xxx function.
35850         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35851         prototype.
35852         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35853         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35854         instead of __internal_xxx function.
35855         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35856         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35857         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35858         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35859         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35860         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35861         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35862         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35863         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35864         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35865         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35866         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35867         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35868         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35869         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35870         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35871         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35872         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35873         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35874         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35877         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35878         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35879         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35880         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35881         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35882         * sysdeps/unix/sysv/linux/send.S: Likewise.
35883         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35884         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35885         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35886         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35887         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35888         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35889         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35890         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35891         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35892         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35893         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35894         socketcall is implemented in GLIBC.
35896 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35898         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35899         (__fma): Ignore uninitialized warnings around packing.
35900         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35901         (__fmaf): Ignore uninitialized warnings around packing.
35902         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35903         (__fmal): Ignore uninitialized warnings around packing.
35905         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35906         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35907         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35908         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35910         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35911         switch statement into default case.
35912         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35914         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35915         a conditional in forcing "inexact".
35916         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35917         Likewise.
35919 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35921         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35922         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35923         for each INTERNAL_SYSCALL use.
35925 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35927         [BZ #438]
35928         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35929         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35930         variable.
35932         [BZ #18444]
35933         * string/basename.c (basename): Rename to __basename and define as
35934         weak alias of __basename.  Use libc_hidden_weak.
35935         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35936         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35937         __basename instead of basename.
35938         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35939         Remove variable.
35940         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35942 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35944         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35945         (_IO_JUMPS_FILE_plus): New.
35946         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35947         _IO_CAST_FIELD_ACCESS.
35948         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35949         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35950         * libio/freopen.c (freopen): Likewise.
35951         * libio/freopen64.c (freopen64): Likewise.
35952         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35953         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35954         * libio/iofwide.c (_IO_fwide): Likewise.
35955         * libio/memstream.c (open_memstream): Likewise.
35956         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35957         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35958         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35960 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35962         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35963         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35964         NADJ.
35965         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35966         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35967         NADJ.
35968         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35969         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35970         NADJ.
35972         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35973         (p == 4) case.
35975         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35976         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35977         Remove variable.
35978         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35979         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35980         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35982 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35984         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35985         Adjust jump table label generation macros.
35987 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35989         * stdio-common/vfprintf.c (vfprintf): Move local variables
35990         args_malloced, specs, specs_malloced, and the code after
35991         do_positional to the printf_positional function.
35992         (printf_positional): New function.
35994 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35996         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35997         function.
35998         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35999         STEP4_TABLE, process_arg): Move macro definitions
36000         out of the vfprintf function.  (Cosmetic change only.)
36002 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
36004         * benchtests/Makefile (stdio-common-bench): Define.
36005         (benchset): Add stdio-common-bench.
36006         * sprintf-inputs: New file.
36007         * sprintf-source.c: New file.
36009 2015-05-21  Andreas Schwab  <schwab@suse.de>
36011         [BZ #13028]
36012         [BZ #17053]
36013         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
36014         of struct __res_state.
36015         * resolv/res_send.c (__libc_res_nsend): Likewise.
36016         (get_nsaddr): New function.
36017         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
36018         statp directly.
36020 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
36022         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
36023         -D_POSIX_C_SOURCE=199506L.
36025         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
36027         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
36028         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
36029         Do not mention otherwise.
36030         [POSIX] (_XOPEN_VERSION): Do not expect.
36031         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
36032         [POSIX] (_POSIX2_C_BIND): Likewise.
36033         [POSIX] (_POSIX2_VERSION): Likewise.
36034         [POSIX] (_XOPEN_XPG2): Likewise.
36035         [POSIX] (_XOPEN_XPG3): Likewise.
36036         [POSIX] (_XOPEN_XPG4): Likewise.
36037         [POSIX] (_XOPEN_UNIX): Likewise.
36038         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
36039         [POSIX] (_POSIX_BARRIERS): Likewise.
36040         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
36041         [POSIX] (_POSIX_CPUTIME): Likewise.
36042         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
36043         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36044         [POSIX] (_POSIX_SHELL): Likewise.
36045         [POSIX] (_POSIX_SPAWN): Likewise.
36046         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
36047         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
36048         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
36049         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
36050         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
36051         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
36052         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
36053         [POSIX] (_XBS5_LP64_OFF64): Likewise.
36054         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36055         [POSIX] (_POSIX_TIMEOUTS): Likewise.
36056         [POSIX] (_POSIX2_PBS): Likewise.
36057         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
36058         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
36059         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36060         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
36061         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
36062         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
36063         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
36064         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
36065         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
36066         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
36067         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
36068         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
36069         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
36070         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
36071         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
36072         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
36073         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
36074         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
36075         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
36076         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
36077         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
36078         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
36079         [POSIX] (_SC_2_C_BIND): Likewise.
36080         [POSIX] (_SC_2_C_VERSION): Likewise.
36081         [POSIX] (_SC_2_PBS): Likewise.
36082         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
36083         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
36084         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
36085         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
36086         [POSIX] (_SC_2_PBS_TRACK): Likewise.
36087         [POSIX] (_SC_ATEXIT_MAX): Likewise.
36088         [POSIX] (_SC_BARRIERS): Likewise.
36089         [POSIX] (_SC_BASE): Likewise.
36090         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
36091         [POSIX] (_SC_DEVICE_IO): Likewise.
36092         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
36093         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
36094         [POSIX] (_SC_FD_MGMT): Likewise.
36095         [POSIX] (_SC_FIFO): Likewise.
36096         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
36097         [POSIX] (_SC_FILE_LOCKING): Likewise.
36098         [POSIX] (_SC_FILE_SYSTEM): Likewise.
36099         [POSIX] (_SC_IOV_MAX): Likewise.
36100         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
36101         [POSIX] (_SC_NETWORKING): Likewise.
36102         [POSIX] (_SC_PAGE_SIZE): Likewise.
36103         [POSIX] (_SC_PASS_MAX): Likewise.
36104         [POSIX] (_SC_PIPE): Likewise.
36105         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36106         [POSIX] (_SC_REGEXP): Likewise.
36107         [POSIX] (_SC_SHELL): Likewise.
36108         [POSIX] (_SC_SIGNALS): Likewise.
36109         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36110         [POSIX] (_SC_SPIN_LOCKS): Likewise.
36111         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36112         [POSIX] (_SC_USER_GROUPS): Likewise.
36113         [POSIX] (_SC_USER_GROUPS_R): Likewise.
36114         [POSIX] (_SC_STREAMS): Likewise.
36115         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36116         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36117         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36118         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36119         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36120         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36121         [POSIX] (_PC_FILESIZEBITS): Likewise.
36122         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36123         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36124         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36125         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36126         [POSIX] (uid_t): Likewise.
36127         [POSIX] (gid_t): Likewise.
36128         [POSIX] (off_t): Likewise.
36129         [POSIX] (pid_t): Likewise.
36130         [POSIX] (cuserid): Allow.
36131         (_SC_2_CHAR_TERM): Require constant.
36132         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36133         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36134         variable.
36136 2015-05-20  Roland McGrath  <roland@hack.frob.com>
36138         * sysdeps/nacl/pthread-pids.h: New file.
36139         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36140         (create_thread): Use __nacl_get_tid to initialize PD->tid.
36142         * nptl/pthread-pids.h: New file.
36143         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36144         * nptl/nptl-init.c: Include <pthread-pids.h>.
36145         (__pthread_initialize_minimal_internal):
36146         Call __pthread_initialize_pids instead of set_tid_address syscall.
36148         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36149         * sysdeps/posix/usleep.c: ... here.
36151 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36153         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36154         call_pselect6 object.
36155         [$(subdir) = io]: Remove call_sync_file_range object.
36156         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36157         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36158         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36159         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36161 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
36163         * math/s_cproj.c: Add include "math_private.h".
36164         * math/s_cprojf.c: Likewise.
36165         * math/s_cprojl.c: Likewise.
36167 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
36169         [BZ #18244]
36170         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36171         high mantissa bit when testing whether P is a NaN.
36172         * math/libm-test.inc (remainder_test_data): Add more tests.
36173         (remquo_test_data): Likewise.
36175         [BZ #18049]
36176         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36177         below -32, return the argument, with underflow if subnormal.
36178         * math/auto-libm-test-in: Add more tests of atanh.
36179         * math/auto-libm-test-out: Regenerated.
36181 2015-05-19  Roland McGrath  <roland@hack.frob.com>
36183         [BZ #18434]
36184         * nptl/tst-sem15.c: New file.
36185         * nptl/Makefile (tests): Add it.
36186         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36187         s/<</>>/ to fix typo in EOVERFLOW check.
36188         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36190 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36192         * manual/strings.texi (envz_remove): Fix typo in safety
36193         annotations.
36195 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
36196             Steve Ellcey  <sellcey@imgtec.com>
36198         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36199         in order to avoid strict alias warnings.
36200         (iruserok_af): Ditto for ra.
36202 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
36204         [BZ #17581]
36205         * malloc/hooks.c
36206         (magicbyte): Convert to a function and avoid returning 0x01.
36207         (mem2mem_check): Avoid using a length byte equal to the magic byte.
36208         (mem2chunk_check): Fix unsigned comparisons to zero.
36209         Hoist defs of sz and magic.
36211 2015-05-19  Richard Henderson  <rth@redhat.com>
36213         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36215         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36217 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36219         [BZ #16159]
36220         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36221         * malloc/arena.c (arena_lock): Check if arena is corrupt.
36222         (reused_arena): Find a non-corrupt arena.
36223         (heap_trim): Pass arena to unlink.
36224         * malloc/hooks.c (malloc_check_get_size): Pass arena to
36225         malloc_printerr.
36226         (top_check): Likewise.
36227         (free_check): Likewise.
36228         (realloc_check): Likewise.
36229         * malloc/malloc.c (malloc_printerr): Add arena argument.
36230         (unlink): Likewise.
36231         (munmap_chunk): Adjust.
36232         (ARENA_CORRUPTION_BIT): New macro.
36233         (arena_is_corrupt): Likewise.
36234         (set_arena_corrupt): Likewise.
36235         (sysmalloc): Use mmap if there are no usable arenas.
36236         (_int_malloc): Likewise.
36237         (__libc_malloc): Don't fail if arena_get returns NULL.
36238         (_mid_memalign): Likewise.
36239         (__libc_calloc): Likewise.
36240         (__libc_realloc): Adjust for additional argument to
36241         malloc_printerr.
36242         (_int_free): Likewise.
36243         (malloc_consolidate): Likewise.
36244         (_int_realloc): Likewise.
36245         (_int_memalign): Don't touch corrupt arenas.
36246         * malloc/tst-malloc-backtrace.c: New test case.
36248         * Makefile (summarize-tests): Fix return value on success.
36250         * manual/string.texi (Envz Functions): Add envz_remove.
36252 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36254         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36255         (invalid_name): New function, broken out of ...
36256         (__opendirat): ... here.  Call it.
36257         (need_isdir_precheck): New function, broken out of ...
36258         (__opendirat): ... here.  Call it.
36259         Use __fxstatat64, not __xstatat64.
36260         (opendir_oflags): New function, broken out of ...
36261         (__opendirat): ... here.  Call it.
36262         (opendir_tail): New function, broken out of ...
36263         (__opendirat): ... here.  Call it.
36264         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36265         opendir_tail, rather than punting to __opendirat.
36266         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36268 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36270         * .gitignore: Ignore generated *.pyc.
36272 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36274         * include/stdio.h: Define __need_wint_t.
36275         * test-skeleton.c: Avoid `for' loop initial declaration.
36276         * nptl/tst-initializers1.c: Use test-skeleton.c.
36278 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36280         [BZ #18418]
36281         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36283 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36285         [BZ #16352]
36286         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36287         (__ieee754_atanh): Force underflow exception for results with
36288         small absolute value.
36289         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36290         (__ieee754_atanhf): Force underflow exception for results with
36291         small absolute value.
36292         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36293         (__ieee754_atanh): Force underflow exception for results with
36294         small absolute value.
36295         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36296         (__ieee754_atanhf): Force underflow exception for results with
36297         small absolute value.
36298         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36299         (__ieee754_atanhl): Force underflow exception for results with
36300         small absolute value.
36301         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36302         (__ieee754_atanhl): Force underflow exception for results with
36303         small absolute value.
36304         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36305         (__ieee754_atanhl): Force underflow exception for results with
36306         small absolute value.
36307         * math/auto-libm-test-in: Do not allow missing underflow
36308         exceptions from atanh.
36309         * math/auto-libm-test-out: Regenerated.
36311         [BZ #18221]
36312         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36313         2**-28 as threshold for returning x or +/- 1/x.
36314         * math/auto-libm-test-in: Add more tests of tan.
36315         * math/auto-libm-test-out: Regenerated.
36317         [BZ #18220]
36318         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36319         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36320         * math/auto-libm-test-in: Add another test of lgamma.
36321         * math/auto-libm-test-out: Regenerated.
36323 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36325         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36326         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36327         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36328         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36329         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36330         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36331         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36332         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36334         (log1): Use fabs.  (my_log2): Use fabs.
36335         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36336         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36337         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36338         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36339         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36340         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36341         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36342         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36343         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36344         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36345         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36347 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36349         [BZ #18217]
36350         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36351         as threshold for returning 1 - x.
36352         * math/auto-libm-test-in: Add more tests of erfc.
36353         * math/auto-libm-test-out: Regenerated.
36355 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36357         [BZ #18196]
36358         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36359         threshold for large arguments.
36360         * math/auto-libm-test-in: Add another test of atan.
36361         * math/auto-libm-test-out: Regenerated.
36363         [BZ #16339]
36364         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36365         (__log1p): Force underflow exception for results with small
36366         absolute value.
36367         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36368         (__log1pf): Force underflow exception for results with small
36369         absolute value.
36370         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36371         (__log1p): Force underflow exception for results with small
36372         absolute value.
36373         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36374         (__log1pf): Force underflow exception for results with small
36375         absolute value.
36376         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36377         (__log1pl): Force underflow exception for results with small
36378         absolute value.
36379         * math/auto-libm-test-in: Do not allow missing underflow
36380         exceptions from log1p.
36381         * math/auto-libm-test-out: Regenerated.
36383 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36384             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36386         [BZ #16704]
36387         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36389 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36391         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36392         (libmvec): New variable.
36393         * configure.ac: Added option for mathvec build.
36394         * configure: Regenerated.
36395         * mathvec/Depend: New file.
36396         * mathvec/Makefile: New file.
36397         * shlib-versions: Added libmvec.
36398         * math/Makefile: Added rule for libm.so installation.
36400         * bits/math-vector.h: New file.
36401         * bits/libm-simd-decl-stubs.h: New header.
36402         * math/Makefile (headers): Added new header
36403         libm-simd-decl-stubs.h.
36404         * math/math.h (__MATHCALL_VEC): New macro.
36406         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36407         for conditions in testing functions.
36408         * math/Makefile: Added call of libm-have-vector-test.sh.
36409         * math/libm-test.inc (HAVE_VECTOR): New macros.
36411         * math/libm-test.inc: START refactored.
36412         * math/test-double.c (TEST_MATHVEC): Add define.
36413         * math/test-float.c: Likewise.
36414         * math/test-idouble.c: Likewise.
36415         * math/test-ifloat.c: Likewise.
36416         * math/test-ildoubl.c: Likewise.
36417         * math/test-ldouble.c: Likewise.
36418         * sysdeps/generic/math-tests-arch.h
36419         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36420         architecture check.
36422         * math/test-double.c (FUNC_TEST): New macro.
36423         * math/test-float.c: Likewise.
36424         * math/test-idouble.c: Likewise.
36425         * math/test-ifloat.c: Likewise.
36426         * math/test-ildoubl.c: Likewise.
36427         * math/test-ldouble.c: Likewise.
36428         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36430 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36432         * sysdeps/nacl/fdopendir.c: New file.
36434         * dirent/scandir-tail.c: New file.
36435         * dirent/scandir64-tail.c: New file.
36436         * dirent/Makefile (routines): Add them.
36437         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36438         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36439         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36440         [!SCANDIR] (SCANDIR_TAIL): New macro.
36441         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36442         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36443         (SCANDIRAT): Macro removed.
36444         (SCANDIR_TAIL): New macro.
36445         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36446         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36447         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36448         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36449         (READDIR): Macro removed.
36450         (SCANDIR_TAIL): New macro.
36451         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36452         (SCANDIR_TAIL): New macro.
36454         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36455         * dirent/scandir-cancel.c: ... to this new file.
36456         * dirent/Makefile (routines): Add it.
36457         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36458         * sysdeps/unix/sysv/linux/i386/scandir64.c
36459         (SKIP_SCANDIR_CANCEL): Macro removed.
36460         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36462         * dirent/tst-scandir.c: New file.
36463         * dirent/tst-scandir64.c: New file.
36464         * dirent/Makefile (tests): Add them.
36466 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36468         [BZ #18409]
36469         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36471 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36473         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36474         list.
36476 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36478         * benchtests/bench-strcoll.c: New benchmark.
36479         * benchtests/Makefile: Generate locales and run benchmark.
36480         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36481         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36482         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36483         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36484         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36485         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36486         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36487         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36488         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36489         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36490         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36491         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36492         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36493         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36494         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36495         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36496         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36497         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36498         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36499         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36500         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36501         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36502         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36503         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36505 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36507         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36508         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36510 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36512         * posix/uname-values.h: New file.
36513         * posix/uname.c: Include that instead of <config-name.h>.
36514         * sysdeps/nacl/uname-values.h: New file.
36515         * sysdeps/arm/nacl/uname-values.h: New file.
36517 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36519         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36520         splitting into fields.
36522 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36524         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36525         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36526         * locale/localeinfo.h: Add enum collation_encoding_type.
36527         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36528         * programs/ld-collate.c (collate_output): Add encoding type info.
36529         * string/strcoll_l.c (STRDIFF): New function.
36530         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36531         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36533 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36535         [BZ #18397]
36536         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36537         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36538         <fpu_control.h> instead of <math/fpu_control.c>.
36539         * sysdeps/mips/mips32/fpu/Makefile: New file.
36541 2015-05-11  Andreas Schwab  <schwab@suse.de>
36543         [BZ #18007]
36544         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36545         nss_endgrent.
36546         (_nss_compat_endgrent): Call nss_endgrent.
36547         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36548         nss_endpwent.
36549         (_nss_compat_endpwent): Call nss_endpwent.
36550         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36551         needent, call nss_setspent only if non-zero.
36552         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36553         (internal_endspent): Don't call nss_endspent.
36554         (_nss_compat_endspent): Call nss_endspent.
36555         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36556         Remove.  All uses removed.
36557         (internal_setent): Remove parameter stayopen, add parameter
36558         stream.  Use it instead of global variable.
36559         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36560         (internal_endent, internal_getent): Add parameter stream.  Use it
36561         instead of global variable.
36562         (CONCAT(_nss_files_end,ENTNAME))
36563         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36564         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36565         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36566         uses removed.
36567         (internal_setent, internal_endent): Add parameter stream.  Use it
36568         instead of global variable.
36569         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36570         stream.
36571         (get_next_alias): Add parameter stream.
36572         (_nss_files_getaliasent_r): Pass global stream.
36573         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36574         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36575         (_nss_files_gethostbyname4_r): Pass local stream to
36576         internal_setent, internal_getent and internal_endent.  Remove
36577         locking.
36579 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36581         * tst-strfmon1.c (tests): Update expected currency symbol.
36583 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36585         * sysdeps/nacl/gethostname.c: New file.
36587 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36589         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36590         and sinh.
36591         * math/auto-libm-test-out: Regenerated.
36592         * sysdeps/i386/fpu/libm-test-ulps: Update.
36593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36595 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36597         [BZ #18125]
36598         * stdlib/tst-setcontext3.c: New file.
36599         * stdlib/tst-setcontext3.sh: New file.
36600         * stdlib/Makefile (tests): Add tst-setcontext3.
36601         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36602         to verify test program created output file.
36603         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36604         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36605         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36606         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36608 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36610         [BZ #18383]
36611         * elf/tst-tlsalign.c: New file.
36612         * elf/tst-tlsalign-static.c: New file.
36613         * elf/tst-tlsalign-lib.c: New file.
36614         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36615         (tests-static): Add tst-tlsalign-static.
36616         (modules-names): Add tst-tlsalign-lib.
36617         (test-xfail-tst-tlsalign): New variable.
36618         (test-xfail-tst-tlsalign-static): New variable.
36620         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36621         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36623 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36625         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36626         csqrt, erfc, sin and sincos.
36627         * math/auto-libm-test-out: Regenerated.
36628         * sysdeps/i386/fpu/libm-test-ulps: Update.
36629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36631 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36633         * sysdeps/aarch64/libm-test-ulps: Update.
36635 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36637         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36638         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36639         * math/auto-libm-test-out: Regenerated.
36640         * sysdeps/i386/fpu/libm-test-ulps: Update.
36641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36643 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36645         [BZ #18265]
36646         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36647         (wcsncpy): Likewise.
36649 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36651         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36652         Assume __ASSUME_FALLOCATE is always true.
36653         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36654         (__posix_fallocate64_l64): Likewise.
36655         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36656         (posix_fallocate): Likewise.
36657         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36658         (__posix_fallocate64_l64): Likewise.
36659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36660         [!__ASSUME_FALLOCATE]: Add comment.
36662 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36664         * sysdeps/unix/sysv/linux/i386/Makefile
36665         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36666         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36667         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36668         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36669         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36670         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36671         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36673 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36675         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36676         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36677         tgamma.
36678         * math/auto-libm-test-out: Regenerated.
36679         * sysdeps/i386/fpu/libm-test-ulps: Update.
36680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36682 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36684         * math/auto-libm-test-in: Add more tests of tgamma.
36685         * math/auto-libm-test-out: Regenerated.
36686         * sysdeps/i386/fpu/libm-test-ulps: Update.
36687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36689         * math/auto-libm-test-in: Add more tests of tanh.
36690         * math/auto-libm-test-out: Regenerated.
36691         * sysdeps/i386/fpu/libm-test-ulps: Update.
36692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36694         * math/auto-libm-test-in: Add more tests of tan.
36695         * math/auto-libm-test-out: Regenerated.
36696         * sysdeps/i386/fpu/libm-test-ulps: Update.
36697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36699         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36700         * math/auto-libm-test-out: Regenerated.
36701         * sysdeps/i386/fpu/libm-test-ulps: Update.
36702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36704         * math/auto-libm-test-in: Add another test of pow.
36705         * math/auto-libm-test-out: Regenerated.
36706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36708         * math/auto-libm-test-in: Add more tests of lgamma.
36709         * math/auto-libm-test-out: Regenerated.
36710         * sysdeps/i386/fpu/libm-test-ulps: Update.
36711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36713         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36714         log1p.
36715         * math/auto-libm-test-out: Regenerated.
36716         * sysdeps/i386/fpu/libm-test-ulps: Update.
36717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36719 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36721         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36722         Elf64_Chdr structs and ELFCOMPRESS constants.
36724 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36726         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36727         expm1.
36728         * math/auto-libm-test-out: Regenerated.
36729         * sysdeps/i386/fpu/libm-test-ulps: Update.
36730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36732         * math/auto-libm-test-in: Add more tests of erf and erfc.
36733         * math/auto-libm-test-out: Regenerated.
36734         * sysdeps/i386/fpu/libm-test-ulps: Update.
36735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36737 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36739         * config.h.in (HAVE_AARCH64_BE): Add.
36741 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36743         * math/auto-libm-test-in: Add more tests of csqrt.
36744         * math/auto-libm-test-out: Regenerated.
36745         * sysdeps/i386/fpu/libm-test-ulps: Update.
36746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36748         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36749         * math/auto-libm-test-out: Regenerated.
36750         * sysdeps/i386/fpu/libm-test-ulps: Update.
36751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36753         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36755 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36757         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36758         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36760         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36761         (euidaccess, eaccess): Define as weak aliases.
36763         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36764         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36765         but __suseconds_t is often 'long int' so some sources assume that
36766         type is being used (e.g. they use %ld to print tv_usec).
36768 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36770         [BZ #18007]
36771         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36772         (CVE-2014-8121)
36773         * nss/tst-nss-getpwent.c: New file.
36774         * nss/Makefile (tests): Add new test.
36776 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36778         [BZ #18346]
36779         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36780         exponents less than 48 as cases where high part of mantissa needs
36781         examining to determine whether argument is integral.
36782         * math/libm-test.inc (round_test_data): Add more tests.
36784 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36786         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36788 2015-04-27  David S. Miller  <davem@davemloft.net>
36790         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36791         __tls_get_addr.
36792         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36794 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36796         [BZ #18333]
36797         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36799 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36801         [BZ #18333]
36802         * time/tzset.c (parse_tzname): Return error on memory allocation
36803         failure.
36804         * test-skeleton.c (struct temp_name_list): Change type of name
36805         member to non-const.
36806         (add_temp_file): Create a copy of the file name.
36807         (delete_temp_files): Deallocate memory.
36808         (create_temp_file): Add comment.
36810 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36812         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36813         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36815 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36817         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36818         * sysdeps/arm/configure: Regenerated.
36820 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36822         [BZ #17715]
36823         * time/tzfile.c (__tzfile_read): Check for large values of
36824         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36825         * time/tzset.c (__tzstring_len): New function, based on the old
36826         __tzstring function.
36827         (__tzstring): Call __tzstring_len.
36828         (parse_tzname): New helper function extracted from
36829         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36830         the input string.
36831         (parse_offset): New helper function extracted from
36832         __tzset_parse_tz.  Replace switch with fallthrough with
36833         initialization before sscanf.
36834         (parse_rule): Likewise.
36835         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36836         new-style function definition.
36837         * timezone/Makefile (tests): Add tst-tzset.
36838         (tst-tzset.out): Dependencies on time zone files.
36839         (tst-tzset-ENV): Set TZDIR.
36840         (testdata/XT%): Copy crafted time zone files.
36841         * timezone/README: Mention crafted time zone files.
36842         * timezone/testdata/XT1, timezone/testdata/XT2,
36843         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36844         files.
36845         * timezone/tst-tzset.c: New test.
36847 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36849         * Makeconfig (+gccwarn): Remove -Winline.
36851 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36853         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36855 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36857         * NEWS: Mention sysconf() cache information support for s390.
36858         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36860 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36862         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36863         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36864         (__nearbyint): Likewise.
36865         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36866         (copysignl): Likewise.
36868 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36870         [BZ #18287]
36871         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36872         based on padding.  (CVE-2015-1781)
36874 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36876         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36877         libc-vdso.h.
36878         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36879         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36880         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36881         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36882         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36883         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36884         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36886         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36887         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36888         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36889         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36890         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36891         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36892         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36893         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36894         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36895         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36896         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36897         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36898         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36899         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36900         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36902 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36904         * stdlib/setenv.c (__add_to_environ):
36905         Dump core quickly if setenv (..., NULL, ...) is called.
36906         This time, do it the right way, and pacify GCC with a pragma.
36908 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36910         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36911         IMAP->l_prev cannot be null, and #if out the code for the contrary
36912         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36913         believe that NS (&_dl_ns[NSID]) could point outside the array.
36915         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36916         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36917         before using NSID as an index.
36919 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36921         [BZ #17825]
36922         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36923         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36924         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36926 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36928         Add preliminary port to Google Native Client on ARM.
36929         * abi-tags (.*-.*-nacl.*): New entry.
36930         * sysdeps/arm/nacl: New directory.
36931         * sysdeps/nacl: New directory.
36933 2015-04-16  David S. Miller  <davem@davemloft.net>
36935         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36936         lowlevellock-futex.h
36938 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36940         * sysdeps/tile/configure.ac: New file.
36941         * sysdeps/tile/configure: Regenerated.
36943 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36945         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36946         conditionals for weak_alias and libc_hidden_weak.
36947         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36948         libc_hidden_weak and weak_alias.
36949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36950         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36951         and weak_alias for static one.
36953 2015-04-15  David S. Miller  <davem@davemloft.net>
36955         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36957 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36959         [BZ #18206]
36960         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36961           Use signed comparision instead of substraction to avoid
36962           overflow bug.
36963         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36964           Take the sign of ret.
36965         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36966           Do not expect precise return values. Only the sign matters.
36967         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36968         * wcsmbs/test-wcsncmp.c: New File.
36969         * string/test-strncmp.c: Add wcsncmp support.
36971 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36973         [BZ #6792]
36974         * math/w_log1p.c: New file.
36975         * math/w_log1pf.c: Likewise.
36976         * math/w_log1pl.c: Likewise.
36977         * math/Makefile (libm-calls): Add w_log1p.
36978         * math/s_log1pl.c (log1pl): Remove weak_alias.
36979         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36980         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36981         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36982         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36983         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36984         [NO_LONG_DOUBLE] (log1pl): Likewise.
36985         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36986         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36987         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36988         (log1p): Remove long_double_symbol.
36989         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36990         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36991         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36992         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36993         remove weak_alias for corresponding log1p function.
36994         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36995         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36996         * sysdeps/ia64/fpu/w_log1p.c: New file.
36997         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36998         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36999         * math/libm-test.inc (log1p_test_data): Add errno expectations.
37001 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
37003         [BZ #18247]
37004         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
37005         decimal exponent by 1.
37006         * stdlib/tst-strtod-round-data: Add more tests.
37007         * stdlib/tst-strtod-round.c (tests): Regenerated.
37009 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
37011         * math/auto-libm-test-in: Add more tests of clog and clog10.
37012         * math/auto-libm-test-out: Regenerated.
37013         * sysdeps/i386/fpu/libm-test-ulps: Update.
37014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37016 2015-04-09  Roland McGrath  <roland@hack.frob.com>
37018         * Makeconfig (module-cppflags): Exclude all .v.i files.
37019         (skip-module-cppflags): Variable removed.
37021         * configure.ac (libc_config_ok): Initialize before reading
37022         preconfigure scripts, not after.
37023         * configure: Regenerated.
37025         * test-skeleton.c (TIMEOUT): Move #define to top level.
37026         (main): Grok environment variable TEST_DIRECT.  If set, print
37027         test expectation details into that file and then behave as if
37028         given --direct.
37030 2015-04-09  Florian Weimer  <fweimer@redhat.com>
37032         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
37033         warning on 32-bit.
37035 2015-04-08  David S. Miller  <davem@davemloft.net>
37037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37039 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37041         * math/auto-libm-test-in: Add more tests of atanh.
37042         * math/auto-libm-test-out: Regenerated.
37043         * sysdeps/i386/fpu/libm-test-ulps: Update.
37044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37046         * math/auto-libm-test-in: Add more tests of atan.
37047         * math/auto-libm-test-out: Regenerated.
37048         * sysdeps/i386/fpu/libm-test-ulps: Update.
37049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37051 2015-04-08  Florian Weimer  <fweimer@redhat.com>
37053         * elf/pldd.c (main): Rewrite to use struct
37054         scratch_buffer instead of extend_alloca.
37055         * elf/pldd-xx.c (find_maps): Likewise.
37056         * grp/initgroups.c: Include <scratch_buffer.h> instead of
37057         <alloca.h>.
37058         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37059         scratch_buffer instead of extend_alloca.
37060         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
37061         grp/compat-initgroups.c.
37062         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
37063         Rewrite to use struct scratch_buffer instead of extend_alloca.
37064         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
37065         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37067 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37069         * math/auto-libm-test-in: Add more tests of cbrt.
37070         * math/auto-libm-test-out: Regenerated.
37071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37073         * math/auto-libm-test-in: Add more tests of cabs.
37074         * math/auto-libm-test-out: Regenerated.
37075         * sysdeps/i386/fpu/libm-test-ulps: Update.
37076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37078         [BZ #18210]
37079         [BZ #18211]
37080         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
37081         (__ieee754_atan2): Set FE_TONEAREST mode for internal
37082         computations.
37083         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
37084         clog10.
37085         * math/auto-libm-test-out: Regenerated.
37086         * sysdeps/i386/fpu/libm-test-ulps: Update.
37087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37089         [BZ #18197]
37090         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
37091         (atan): Set FE_TONEAREST mode for internal computations.
37092         * math/auto-libm-test-in: Add more tests of atan.
37093         * math/auto-libm-test-out: Regenerated.
37095 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
37097         [BZ #17930]
37098         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
37100 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37102         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37104 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37106         * include/scratch_buffer.h: New file.
37107         * malloc/scratch_buffer_grow.c: Likewise.
37108         * malloc/scratch_buffer_grow_preserve.c: Likewise.
37109         * malloc/scratch_buffer_set_array_size.c: Likewise.
37110         * malloc/tst-scratch_buffer.c: Likewise.
37111         * malloc/Makefile (routines): Add scratch_buffer_grow.
37112         (tests): Add test case.
37113         * malloc/Versions (GLIBC_PRIVATE): Export
37114         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37115         __libc_scratch_buffer_set_array_size.
37117 2015-04-06  Richard Henderson  <rth@redhat.com>
37119         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37120         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37122         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37123         unsigned int before printing.
37125 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37127         [BZ #17596]
37128         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37129         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37131 2015-04-02  Florian Weimer  <fweimer@redhat.com>
37133         * include/libc-internal.h (libc_max_align_t): Define.
37135 2015-04-02  Andreas Schwab  <schwab@suse.de>
37137         [BZ #16850]
37138         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37140 2015-04-02  Mel Gorman  <mgorman@suse.de>
37142         [BZ #17195]
37143         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37144         as well as the main arena.
37146 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37148         [BZ #18185]
37149         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37150         sharing L2 cache to 2 for Silvermont/Knights Landing.
37152 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37154         [BZ #17711]
37155         * config.make.in (have-protected-data): New.
37156         * configure.ac: Check linker support for protected data symbol.
37157         * configure: Regenerated.
37158         * elf/Makefile (modules-names): Add tst-protected1moda and
37159         tst-protected1modb if $(have-protected-data) is yes.
37160         (tests): Add tst-protected1a and tst-protected1b if
37161         $(have-protected-data) is yes.
37162         ($(objpfx)tst-protected1a): New.
37163         ($(objpfx)tst-protected1b): Likewise.
37164         (tst-protected1modb.so-no-z-defs): Likewise.
37165         * elf/tst-protected1a.c: New file.
37166         * elf/tst-protected1b.c: Likewise.
37167         * elf/tst-protected1mod.h: Likewise.
37168         * elf/tst-protected1moda.c: Likewise.
37169         * elf/tst-protected1modb.c: Likewise.
37171 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37173         [BZ #17711]
37174         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37175         indicates it is called from do_lookup_x on relocation against
37176         protected data, skip the data definion in the executable from
37177         copy reloc.
37178         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37179         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37180         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37181         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37182         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37183         otherwise to 0.
37184         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37185         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37186         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37187         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37188         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37189         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37191 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
37193         * sysdeps/nptl/pthread.h: Remove duplicate definition of
37194         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37196 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
37198         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37199         THREAD_SETMEM_NC.
37200         * sysdeps/x86_64/nptl/tls.h: Ditto.
37202 2015-03-27  Roland McGrath  <roland@hack.frob.com>
37204         * dlfcn/tststatic.c (main): Converted to ...
37205         (do_test): ... this.
37206         (TEST_FUNCTION): New macro.
37207         Include test-skeleton.c.
37209 2015-03-26  Alan Modra  <amodra@gmail.com>
37211         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37212         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
37213         zero for undefined weak.
37214         (elf_machine_plt_conflict): Similarly.
37216 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37218         * math/auto-libm-test-in: Add more tests of acosh, asinh and
37219         atanh.
37220         * math/auto-libm-test-out: Regenerated.
37221         * sysdeps/i386/fpu/libm-test-ulps: Update.
37222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37224         * math/auto-libm-test-in: Add another test of asin.
37225         * math/auto-libm-test-out: Regenerated.
37226         * sysdeps/i386/fpu/libm-test-ulps: Update.
37227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37230         Remove macro.
37231         (LLL_EBX_REG): Likewise.
37232         (LLL_ENTER_KERNEL): Likewise.
37234         * math/auto-libm-test-in: Add more tests of asin.
37235         * math/auto-libm-test-out: Regenerated.
37236         * sysdeps/i386/fpu/libm-test-ulps: Update.
37237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37239         [BZ #18138]
37240         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37241         libc_do_syscall_args): New structure.
37242         (INTERNAL_SYSCALL_MAIN_0): New macro.
37243         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37244         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37245         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37246         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37247         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37248         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37249         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37250         Replace conditional definitions by conditional definitions of ....
37251         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37252         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37253         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37254         (libpthread-sysdep_routines): Add libc-do-syscall.
37255         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37257         to __NR_futex not 240.
37259 2015-03-25  Alan Modra  <amodra@gmail.com>
37261         * NEWS: Advertise TLS optimization.
37262         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37263         (DT_PPC_NUM): Increment.
37264         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37265         (CHECK_STATIC_TLS): Use here.
37266         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37267         TLS descriptors.
37268         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37269         * sysdeps/powerpc/dl-tls.c: New file.
37270         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37271         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37272         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37273         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37278 2015-03-25  Alan Modra  <amodra@gmail.com>
37280         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37281         for overlapping .opd entries" to "support...".
37282         * sysdeps/powerpc/powerpc64/configure: Regenerate
37284 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37286         * math/auto-libm-test-in: Add more tests of acos.
37287         * math/auto-libm-test-out: Regenerated.
37288         * sysdeps/i386/fpu/libm-test-ulps: Update.
37289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37291         * math/auto-libm-test-in: Add more tests of expm1.
37292         * math/auto-libm-test-out: Regenerated.
37293         * sysdeps/i386/fpu/libm-test-ulps: Update.
37294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37296 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37298         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37299         * math/auto-libm-test-out: Regenerated.
37300         * sysdeps/i386/fpu/libm-test-ulps: Update.
37301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37303         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37306         * math/auto-libm-test-in: Add more tests of log2.
37307         * math/auto-libm-test-out: Regenerated.
37308         * sysdeps/i386/fpu/libm-test-ulps: Update.
37309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37311 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37313         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37314         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37315         _IO_IS_APPENDING bit in READ_WRITE instead.
37317 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37319         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37320         (__determine_cpumask_size): Replace extend_alloca with a
37321         variable-length array.  Do not treat res == 0 as an error.
37323 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37325         [BZ #18100]
37326         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37327         and integer overflow.
37328         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37329         (main): Add integer overflow tests.
37330         * manual/pattern.texi (Calling Wordexp): Document additional use
37331         for WRDE_SYNTAX.
37333 2015-03-23  Alan Modra  <amodra@gmail.com>
37335         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37336         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37337         and false branch of conditional.
37338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37339         Likewise.
37341 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37343         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37344         libc-modules.h
37345         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37346         unused declaration of _hurd_intr_rpc_msg_in_trap.
37347         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37348         defined instead of whether it is non-zero.
37349         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37350         input constraint instead of both input and output constraint.  Use ecx
37351         clobber instead of %ecx.
37352         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37353         mutex_unlock): Use a statement expression instead of an expression list.
37354         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37355         type to vm_size_t instead of vm_address_t.
37356         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37357         defined instead of whether it is non-zero.
37358         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37359         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37360         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37361         comparisons with mapaddr.
37362         * nscd/nscd-client.h: Include <time.h>.
37363         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37364         9th parameter to __vm_region instead of int.
37365         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37366         * scripts/check-local-headers.sh (exclude): Add device/,
37367         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37368         cthreads.h.
37370 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37372         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37373         to account for alignment padding.
37374         * sysdeps/arm/memmove.S: Likewise.
37376 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37378         * sysdeps/unix/sysv/linux/generic/README: New file.
37380 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37382         [BZ #18138]
37383         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37384         (futex_abstimed_wait)
37385         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37386         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37387         of lll_futex_timed_wait.
37389 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37391         [BZ #17542]
37392         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37394 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37396         [BZ #17090]
37397         [BZ #17620]
37398         [BZ #17621]
37399         [BZ #17628]
37400         * NEWS: Update.
37401         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37402         entries with Static TLS too.  Skip entries past the end of the
37403         allocated DTV, from Alan Modra.
37404         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37405         Static TLS DTV entry set up from...
37406         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37407         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37408         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37409         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37410         for Static TLS.
37411         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37412         that the slot we find is associated with the given map before
37413         using its generation count.
37414         * nptl_db/db_info.c: Include ldsodefs.h.
37415         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37416         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37417         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37418         (link_map::l_tls_offset): New struct field.
37419         (dtv_t::counter): Likewise.
37420         (rtld_global): New struct.
37421         (_rtld_global): New rtld variable.
37422         (dl_tls_dtv_slotinfo_list): New rtld global field.
37423         (dtv_slotinfo_list): New struct.
37424         (dtv_slotinfo): Likewise.
37425         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37426         (td_lookup): Rename to...
37427         (td_mod_lookup): ... this.  Use new mod parameter instead of
37428         LIBPTHREAD_SO.
37429         * nptl_db/td_thr_tlsbase.c: Include link.h.
37430         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37431         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37432         addresses even if the DTV is out of date or missing them.
37433         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37434         index zero-length arrays.
37435         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37436         (td_lookup): Make it a macro implemented in terms of...
37437         (td_mod_lookup): ... this declaration.
37438         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37439         (DB_MAIN_VARIABLE): Likewise.
37441 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37443         [BZ #18134]
37444         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37446 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37448         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37450 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37452         [BZ #18128]
37453         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37454         (atomic_add, atomic_increment_and_test)
37455         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37457 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37459         * stdlib/setenv.c (__add_to_environ):
37460         Dump core quickly if setenv (..., NULL, ...) is called.
37462 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37464         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37465         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37466         all the necessary asm magic in one place.
37467         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37468         using those.
37470 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37472         [BZ #14906]
37473         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37474         traced file mtime. Use consistent log message.
37475         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37476         (register_traced_file): Call install_watches. Always set mtime.
37477         (invalidate_cache): Iterate over all trace files. Call install_watches.
37478         (inotify_check_files): Don't inline. Handle watching parent
37479         directories and configuration file movement in and out.
37480         (handle_inotify_events): New function.
37481         (main_loop_poll): Call handle_inotify_events.
37482         (main_loop_epoll): Likewise.
37483         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37484         (struct traced_file): Use array of inotify fds. Add parent directory,
37485         and basename.
37486         (struct database_dyn): Remove unused file_mtime.
37487         (init_traced_file): New inline function.
37488         (define_traced_file): New macro.
37489         * nss/nss_db/db-init.c: Use define_traced_file.
37490         (_nss_db_init): Use init_traced_file.
37491         * nss/nss_files/files-init.c: Use define_traced_file.
37492         (_nss_files_init): Use init_traced_file.
37494 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37496         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37497         [_LIBC]: Do not include <stdlib.h>.
37498         [!_LIBC] (abort): Remove declaration.
37499         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37500         _FP_STATIC_ASSERT instead of conditionally calling abort.
37501         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37502         (_FP_EXTEND_CNAN): Likewise.
37503         (FP_TRUNC): Likewise.
37504         (__FP_CLZ): Likewise.
37505         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37507 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37509         * manual/string.texi (XPG basename): Fix prototype.
37511 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37513         [BZ #18080]
37514         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37515         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37516         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37517         (__setcontext): Likewise.
37518         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37519         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37520         Call rt_sigprocmask syscall one time to set new signal mask
37521         and retrieve the current signal mask instead of two calls.
37522         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37523         (__swapcontext): Likewise.
37524         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37525         * stdlib/tst-setcontext2.c: New file.
37527 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37529         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37531 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37533         [BZ #18093]
37534         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37535         the wrong size.
37537 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37539         [BZ #18043]
37540         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37542 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37544         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37545         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37546         Remove define.
37547         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37548         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37549         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37550         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37551         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37552         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37553         define.
37554         * nptl_db/td_symbol_list.c (td_lookup): Remove
37555         HAVE_ASM_GLOBAL_DOT_NAME code.
37556         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37557         HAVE_ASM_GLOBAL_DOT_NAME check.
37558         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37559         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37560         (DOT_LABEL): Remove define.
37561         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37562         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37563         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37564         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37565         (__TLS_GET_ADDR): Likewise.
37566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37567         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37569 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37571         [BZ #18111]
37572         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37573         (_FPU_SETCW): Initialize cw from fpsr before storing.
37574         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37575         (fesetexceptflag): Rewrite using fpu_control.h.
37576         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37578 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37580         [BZ #18110]
37581         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37582         asms.
37583         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37585 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37587         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37588         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37589         abort.
37590         (_FP_FMA): Likewise.
37591         (_FP_DIV): Likewise.
37593 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37595         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37596         with 0 in that case.
37597         * Makefile (summarize-tests): New canned sequence, factored out of
37598         commands for targets tests and xtests.  Display summary lines that
37599         don't start with PASS: or XFAIL: rather than ones that do start with
37600         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37601         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37602         do start with ERROR: or FAIL:.
37603         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37604         (except for [$(build-shared) = yes]).
37605         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37606         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37607         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37608         * nptl/Makefile: Revert 2015-03-04 changes.
37609         [$(CXX) empty] (tests-unsupported): New variable.
37610         * debug/Makefile: Likewise.
37612         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37613         gnulib file.  Replace __attribute with __attribute__ throughout.
37615 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37617         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37619 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37621         [BZ #18104]
37622         * math/auto-libm-test-in: Add another test of pow.
37623         * math/auto-libm-test-out: Regenerated.
37625 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37627         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37628         $(config-cflags-nofma).
37630 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37632         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37633         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37634         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37635         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37636         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37637         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37638         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37639         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37640         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37641         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37642         Add comment on closing #endif.
37644 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37646         * posix/wordexp.c (CHAR_IN_SET): New macro.
37647         (parse_param): Use it.
37649 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37651         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37653 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37655         [BZ #18043]
37656         * posix/wordexp.c (parse_param): Fix buffer overflow.
37657         * posix/wordexp-test.c (test_case): Add test case.
37659 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37661         [BZ #18042]
37662         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37663         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37665 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37667         [BZ #18043]
37668         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37669         (do_bz18043): Delete.
37670         (at_page_end): New.
37671         (testit): Refactor to have words at the edge of unreadable page.
37673 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37675         [BZ #16734]
37676         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37677         Cleanup read-only streams as well.
37678         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37680 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37682         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37683         <bits/libc-lockP.h>
37685 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37687         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37688         on [__KERNEL__].
37689         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37690         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37691         * soft-fp/op-common.h (_FP_DECL): Likewise.
37693 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37695         * elf/ifuncdep2.c (global): Replace
37696         __attribute__((visibility("protected"))) with
37697         asm (".protected global").
37698         * elf/ifuncmod1.c (global): Likewise.
37699         * elf/ifuncmod5.c (global): Likewise.
37701 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37703         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37704         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37706 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37708         * manual/install.texi (Configuring and compiling):
37709         Document test-wrapper-env-only.
37710         * INSTALL: Regenerated.
37712 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37714         [BZ #18043]
37715         * posix/wordexp.c (parse_param): Fix buffer overflow.
37716         * posix/wordexp-test.c (do_bz18043): Add test case.
37718 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37720         * time/tst-strptime2.c (do_test): Ensure failing tests are
37721         reported correctly.
37722         * time/tst-strptime3.c (do_test): Likewise.
37724 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37726         Fix aio_error thread-safety.
37727         * sysdeps/pthread/aio_error.c: New file
37728         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37729         synchronization.
37731 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37733         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37734         (group_number, vfprintf): Use it.
37735         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37736         (JUMP, REF): Use it.
37737         (WORK_BUFFER_SIZE): New enum constant.
37738         (process_arg, vfprintf): Use it.
37740 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37742         * manual/errno.texi (Error Messages): Complete example function
37743         by adding missing #define.
37744         (program_invocation_name): Add statement indicating GNU
37745         extension and reference which header file declares the variable.
37746         (program_invocation_short_name): Likewise.
37748 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37750         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37751         compatibility note.
37753 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37755         * Makeconfig (test-wrapper-env-only): New variable.
37756         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37757         then use that with $(test-wrapper-env-only) rather than using
37758         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37760 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37762         [BZ #18082]
37763         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37764         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37765         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37766         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37767         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37768         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37769         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37770         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37771         Likewise.
37772         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37773         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37774         Likewise.
37775         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37776         Likewise.
37777         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37778         Likewise.
37779         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37780         Likewise.
37781         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37782         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37783         Likewise.
37784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37785         Likewise.
37786         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37787         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37789 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37791         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37792         (ETH_ALEN): New macro.
37793         (struct ether_addr): Use it for length of ether_addr_octet.
37795         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37796         (setdb): Don't call __nss_configure_lookup for "rpc".
37797         (do_test): Don't call test_rpc.
37798         (output_rpcent, test_rpc): Functions moved ...
37799         * sunrpc/test-rpcent.c: ... to this new file.
37800         * sunrpc/Makefile (tests): Add it.
37802         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37803         __xpg_sigpause.
37804         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37805         * nptl/tst-signal6.c: Likewise.
37806         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37807         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37809         * configure.ac (libc_cv_cxx_link_ok): New check.
37810         Reset CXX to empty if it fails to link.
37811         * configure: Regenerated.
37812         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37813         bug-atexit3-lib only if $(CXX) is nonempty.
37814         * nptl/Makefile (tests): Likewise for tst-cancel24.
37815         (tests, tests-static): Likewise for tst-cancel24-static.
37816         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37817         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37818         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37819         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37821 2015-03-04  Andreas Schwab  <schwab@suse.de>
37823         [BZ #17631]
37824         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37825         for non-GCC compilers.
37826         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37827         Likewise.
37829 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37831         [BZ #17776]
37832         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37833         integer before bitwise and assembly operations.
37834         (feclearexcept): Likewise.
37835         * math/test-fenvinline.c: New file.
37836         * math/Makefile: Add test-fenvinline test.
37838 2015-03-03  Alan Modra  <amodra@gmail.com>
37840         [BZ #16512]
37841         * scripts/localplt.awk: Strip off symbol version.
37842         * NEWS: Mention bug fix.
37844 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37846         * sysdeps/pthread/timer_routines.c
37847         (timer_free_list, thread_free_list, thread_active_list): Make static.
37849 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37851         [BZ #17779]
37852         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37853         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37854         Undefine.
37855         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37856         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37857         Likewise.
37858         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37859         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37860         Likewise.
37862 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37864         [BZ #18036]
37865         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37866         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37868 2015-03-02  Andreas Schwab  <schwab@suse.de>
37870         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37871         variable name.
37873 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37875         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37876         Return error status.
37878 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37880         [BZ #15969]
37881         * locale/findlocale.c (_nl_find_locale): Introduce const
37882         version of loc_name and drop unsafe type casts.
37884 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37886         * dlfcn/tststatic2.c (main): Converted to ...
37887         (do_test): ... this.
37888         (TEST_FUNCTION): New macro.
37889         Include test-skeleton.c.
37891 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37893         [BZ #17711]
37894         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37895         (tests-pie): Add vismain.
37896         (CFLAGS-vismain.c): New.
37897         * elf/vismain.c: Add comments for PIE requirement.
37899 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37901         [BZ #18046]
37902         [BZ #18047]
37903         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37904         0x1p-56L as threshold for just returning the argument.
37905         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37906         0x1p-32L as threshold for just returning the argument.
37907         * math/auto-libm-test-in: Add more tests of atanh.
37908         * math/auto-libm-test-out: Regenerated.
37909         * sysdeps/i386/fpu/libm-test-ulps: Update.
37910         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37912 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37914         * string/bcopy.c (bcopy): Call memmove for performance.
37916 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37918         * string/bzero.c (__bzero): Call memset for performance.
37920 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37922         [BZ #18068]
37923         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37924         to 00100000.
37926 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37928         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37930 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37932         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37933         (__kernel_standard): Use CSTR macro when setting exc.name.
37934         * sysdeps/ieee754/Makefile [$(subdir) = math]
37935         (CFLAGS-k_standard.c): Remove variable.
37937         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37938         setting p and q from "else if" to "else".
37939         (qzero): Likewise.
37940         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37941         (qone): Likewise.
37942         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37943         (qzerof): Likewise.
37944         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37945         (qonef): Likewise.
37946         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37947         (qzero): Likewise.
37948         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37949         (qone): Likewise.
37951         [BZ #18038]
37952         [BZ #18039]
37953         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37954         return pi/2 for arguments below 0x1p-113L.
37955         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37956         return pi/2 for arguments below 0x1p-106L.
37957         * math/auto-libm-test-in: Add more tests of acos.
37958         * math/auto-libm-test-out: Regenerated.
37960         [BZ #16351]
37961         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37962         (MO): New macro.
37963         (__ieee754_asin): Force underflow exception for results with small
37964         absolute value.
37965         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37966         (MO): New macro.
37967         (__ieee754_asinf): Force underflow exception for results with
37968         small absolute value.
37969         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37970         (__ieee754_asin): Force underflow exception for results with small
37971         absolute value.
37972         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37973         (__ieee754_asinf): Force underflow exception for results with
37974         small absolute value.
37975         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37976         (__ieee754_asinl): Force underflow exception for results with
37977         small absolute value.
37978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37979         (__ieee754_asinl): Force underflow exception for results with
37980         small absolute value.
37981         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37982         (__ieee754_asinl): Force underflow exception for results with
37983         small absolute value.
37984         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37985         Include <math.h>.
37986         * math/auto-libm-test-in: Do not mark underflow exceptions as
37987         possibly missing for bug 16351.
37988         * math/auto-libm-test-out: Regenerated.
37990         [BZ #18030]
37991         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37992         of power of 2 down when low part has opposite sign.
37993         * math/libm-test.inc (logb_test_data): Add more tests.
37995 2015-02-26  Andreas Schwab  <schwab@suse.de>
37997         [BZ #18032]
37998         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37999         over collating symbol inside a bracket expression.  Minor cleanup.
38000         * posix/tst-fnmatch3.c (do_test): Add test case.
38002 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38004         [BZ #18029]
38005         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
38006         Adjust exponent of power of 2 down when low part has opposite
38007         sign.
38008         * math/libm-test.inc (ilogb_test_data): Add more tests.
38010 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
38012         [BZ #15969]
38013         * locale/findlocale.c (_nl_find_locale): Fix constness error in
38014         the previous change.
38016         [BZ #15969]
38017         * locale/findlocale.c (_nl_find_locale): Retry archive search
38018         after alias expansion.
38020 2015-02-25  Roland McGrath  <roland@hack.frob.com>
38022         * iconv/tst-iconv3.c (main): Converted to ...
38023         (do_test): ... this.
38024         (TEST_FUNCTION): New macro.
38025         Include test-skeleton.c.
38027         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
38028         (convert): Make function static.
38029         (test_unalign): Likewise.  Add const to argument pointee types.
38030         (main): Replace with static function do_test.
38031         Print "Succeeded." only if RET is zero.
38032         (TEST_FUNCTION): New macro.
38033         Include test-skeleton.c.
38035         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
38036         returns a null pointer.
38038 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38040         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
38041         to __memcpy_ppc only for static builds.
38043 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
38045         [BZ #18020]
38046         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
38047         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
38048         * math/auto-libm-test-in: Add more tests of asinh.
38049         * math/auto-libm-test-out: Regenerated.
38050         * sysdeps/i386/fpu/libm-test-ulps: Update.
38051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38053 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
38055         [BZ #15850]
38056         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
38057         and ip6_mtuinfo definitions here.
38058         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
38059         in this define too.  Update comment.
38061 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
38063         * elf/sprof.c (load_shobj): Tweak error message to match others.
38065 2015-02-24  Kevin Easton  <kevin@guarana.org>
38067         [BZ #16145] (partial fix)
38068         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
38069         to reduce lock contention.
38071 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
38073         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
38074         (struct timex): Update time comment.
38075         (ADJ_SETOFFSET): Define.
38077 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38079         [BZ #18019]
38080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38081         2**56 not 2**28 as threshold for log (2x) formula.
38082         * math/auto-libm-test-in: Add more tests of acosh.
38083         * math/auto-libm-test-out: Regenerated.
38084         * sysdeps/i386/fpu/libm-test-ulps: Update.
38085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38087 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38089         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
38090         parenthesis around the buf assignment.
38091         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
38093 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38095         [BZ #16783]
38096         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
38097         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
38098         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
38099         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38100         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38101         * math/libm-test.inc (scalb_test_data): Add more tests.
38103 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38105         [BZ #17916]
38106         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38107         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38109 2015-02-24  Eric Rannaud  <e@nanocritical.com>
38111         [BZ #17523]
38112         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38113         * io/bits/fcntl2.h (open): Use it.
38114         (openat): Likewise.
38115         * io/open.c (__libc_open): Likewise.
38116         * io/open64.c (__libc_open64): Likewise.
38117         * io/open64_2.c (__open64_2): Likewise.
38118         * io/open_2.c (__open_2): Likewise.
38119         * io/openat.c (__openat): Likewise.
38120         * io/openat64.c (__openat64): Likewise.
38121         * io/openat64_2.c (__openat64_2): Likewise.
38122         * io/openat_2.c (__openat_2): Likewise.
38123         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38124         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38125         * sysdeps/posix/open64.c (__libc_open64): Likewise.
38126         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38127         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38128         (__open_nocancel): Likewise.
38129         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38130         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38131         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38133 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38135         [BZ #14841]
38136         * resolv/gethnamaddr.c (getanswer): Skip logging if
38137         RES_USE_DNSSEC is set.
38138         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38140 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38142         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38144 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
38146         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38147         201304L, for Unicode 7.
38149 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
38151         [BZ #17836]
38152         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38153         shared library.  Add gmon-start.os otherwise.
38154         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38155         $(objpfx)gmon-start.os if builing shared library.
38156         ($(objpfx)g$(static-start-installed-name)): Likewise.
38158 2015-02-23  Andreas Schwab  <schwab@suse.de>
38160         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38162 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38164         [BZ #17269]
38165         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38166         (enlarge_userbuf): Likewise.
38168 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
38170         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38171         * math/atest-exp.c (TIMEOUT): Adjust to 200.
38172         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38173         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38175 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
38177         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38178         expression inside statement expression.
38180 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38182         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38183         <sysdeps/nptl/lowlevellock.h> and remove macros and
38184         functions that are now defined there.
38185         (SYS_futex): Remove.
38186         (lll_compare_and_swap): Remove.
38187         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38189 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
38191         [BZ #17999]
38192         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38193         instead of scandirat.
38194         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38195         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38196         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38197         __scandirat.
38198         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38199         (__scandirat): Declare.  Use libc_hidden_proto.
38200         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38201         Remove variable.
38202         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38204 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38206         [BZ #15319]
38207         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38208         (MO): New macro.
38209         (__ieee754_atan2): For results with small absolute value, force
38210         underflow exception and remove excess range and precision from
38211         return value.
38212         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38213         (MO): New macro.
38214         (__ieee754_atan2f): For results with small absolute value, force
38215         underflow exception and remove excess range and precision from
38216         return value.
38217         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38218         (MO): New macro.
38219         (__atan): For results with small absolute value, force underflow
38220         exception and remove excess range and precision from return value.
38221         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38222         (MO): New macro.
38223         (__atanf): For results with small absolute value, force underflow
38224         exception and remove excess range and precision from return value.
38225         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38226         <math.h>.
38227         (__ieee754_atan2): Force underflow exception for results with
38228         small absolute value.
38229         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38230         <math_private.h>.
38231         (atan): Force underflow exception for results with small absolute
38232         value.
38233         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38234         (__atanf): Force underflow exception for results with small
38235         absolute value.
38236         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38237         <math.h>.
38238         (__atanl): Force underflow exception for results with small
38239         absolute value.
38240         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38241         (__atanl): Force underflow exception for results with small
38242         absolute value.
38243         * sysdeps/x86/fpu/bits/mathinline.h
38244         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38245         (__ieee754_atan2): Only define inline for long double.
38246         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38247         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38248         * math/auto-libm-test-in: Do not mark underflow exceptions as
38249         possibly missing for bug 15319.  Add more tests of atan2.
38250         * math/auto-libm-test-out: Regenerated.
38251         * math/libm-test.inc (casin_test_data): Do not mark underflow
38252         exceptions as possibly missing for bug 15319.
38253         (casinh_test_data): Likewise.
38254         * sysdeps/i386/fpu/libm-test-ulps: Update.
38256 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38258         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38259         * sysdeps/mips/bits/endian.h: Fix comments.
38261 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38263         [BZ #17996]
38264         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38265         (hdestroy_r): Likewise.
38266         (hsearch_r): Likewise.
38267         (__hcreate_r): Declare and use libc_hidden_proto.
38268         (__hdestroy_r): Likewise.
38269         (__hsearch_r): Likewise.
38270         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38271         (hcreate): Call __hcreate_r instead of hcreate_r.
38272         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38273         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38274         as weak alias of __hcreate_r.
38275         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38276         __hdestroy_r.
38277         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38278         __hsearch_r.
38279         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38280         Remove variable.
38281         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38282         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38283         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38284         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38286 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38288         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38289         arena_lock into a single arena_get.
38291 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38293         * dl-reloc.c: Inlucde libc-internal.h.
38294         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38295         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38296         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38297         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38298         (grow_heap): Likewise.
38299         * malloc/malloc.c: Include libc-internal.h.
38300         (do_check_malloc): Call powerof2.
38301         (sysmalloc): Use pagesize. Call ALIGN_UP.
38302         (systrim): Use pagesize.
38303         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38304         (__libc_valloc): Use pagesize.
38305         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38307 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38309         [BZ #17991]
38310         * include/sys/resource.h (__getrlimit64): Declare.  Use
38311         libc_hidden_proto.
38312         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38313         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38314         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38315         getrlimit64.
38316         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38317         __getrlimit64.
38318         [!getrlimit64] (getrlimit64): Define as weak alias of
38319         __getrlimit64.  Use libc_hidden_weak.
38320         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38321         using __getrlimit64 not __new_getrlimit64.
38322         (__GI_getrlimit64): Likewise.
38323         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38324         Likewise.
38325         (__GI_getrlimit64): Likewise.
38326         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38328         (getrlimit): Add __getrlimit64 alias.
38329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38330         Likewise.
38331         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38332         Remove variable.
38333         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38334         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38336 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38338         * libio/fileops.c: Add missing sys/mman.h
38339         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38341 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38343         * manual/math.texi (Errors in Math Functions): Clarify goals
38344         regarding inexact and underflow exceptions.
38346 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38348         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38349         * sysdeps/mips/memset.S: Ditto.
38351 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38353         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38355 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38357         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38358         (__v1longjmp): Remove versioned symbol.
38359         (__v1siglongjmp): Remove alias and versioned symbol.
38360         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38361         (__v2siglongjmp): Likewise.
38363 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38365         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38367 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38369         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38371 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38373         [BZ #17987]
38374         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38375         zero result does not depend on the sign resulting from
38376         subtraction.
38377         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38378         Likewise.
38379         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38380         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38381         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38382         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38383         * math/libm-test.inc (remquo_test_data): Add more tests.
38385 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38387         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38388         Problem reported by J William Piggott.
38390 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38392         [BZ #17978]
38393         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38394         products 4 * y and 2 * y where those would overflow.
38395         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38396         Likewise.
38397         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38398         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38399         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38400         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38401         * math/libm-test.inc (remquo_test_data): Add more tests.
38403         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38405         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38406         [defined _COMPILING_NEWLIB].
38407         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38408         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38410         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38411         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38413 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38415         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38416         acquired.
38418 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38420         [BZ #17792]
38421         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38422         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38423         HOST_STACK_END_ADDR): Likewise.
38425 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38427         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38428         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38429         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38431 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38433         * sysdeps/generic/c++-types.data: New file.
38434         * sysdeps/generic/ld.abilist: New file.
38435         * sysdeps/generic/libBrokenLocale.abilist: New file.
38436         * sysdeps/generic/libanl.abilist: New file.
38437         * sysdeps/generic/libc.abilist: New file.
38438         * sysdeps/generic/libcrypt.abilist: New file.
38439         * sysdeps/generic/libdl.abilist: New file.
38440         * sysdeps/generic/libm.abilist: New file.
38441         * sysdeps/generic/libpthread.abilist: New file.
38442         * sysdeps/generic/libresolv.abilist: New file.
38443         * sysdeps/generic/librt.abilist: New file.
38445 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38447         [BZ #17569]
38448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38449         Compute absolute value of x as modified by fmod, not original
38450         value of x.
38451         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38452         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38453         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38454         RUN_TEST_ffI_f1_mod8.
38455         (remquo_test_data): Add more tests.
38457 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38459         * sysdeps/init_array/pt-crti.S: New file.
38461 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38463         [BZ #17967]
38464         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38465         __builtin_fmaf instead of relying on contraction of a * b + c.
38467 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38469         [BZ #17969]
38470         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38471         node.
38473 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38475         [BZ #17964]
38476         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38477         __builtin_fma instead of relying on contraction of a * b + c.
38479 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38481         * Makeconfig (ASFLAGS): Add -Werror=undef.
38482         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38483         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38484         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38486         * Makeconfig (after-link): New variable.
38487         (+link-pie, +link-pie-tests): Use it.
38488         (+link-static, +link-static-tests): Likewise.
38489         (+link, +link-tests): Likewise.
38490         * Makerules (build-module, build-module-asneeded): Likewise.
38491         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38492         Likewise.
38493         * elf/Makefile ($(objpfx)ld.so): Likewise.
38495 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38497         [BZ #17965]
38498         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38499         both struct timeval and struct timespec.
38501 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #16560]
38504         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38505         and redefine.
38506         (__ieee754_exp2l): Do not multiply small fractional parts by
38507         M_LN2l.
38508         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38509         small argument.
38510         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38511         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38512         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38513         * math/auto-libm-test-in: Add more tests of exp2.
38514         * math/auto-libm-test-out: Regenerated.
38516 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38518         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38519         unaligned path.
38521 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38523         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38524         little endian.
38526 2015-02-12  Andreas Schwab  <schwab@suse.de>
38528         [BZ #15790]
38529         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38530         Filter out elision flags from value returned in kind.
38531         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38532         * nptl/tst-pthread-mutexattr.c: New file.
38534 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38536         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38537         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38538         into gnu-gnu, and update comment to refer to abi-tags.
38540 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38542         [BZ #15467]
38543         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38544         (__sincos): Set errno to EDOM for infinite argument.
38545         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38546         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38547         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38548         (__sincosl): Set errno to EDOM for infinite argument.
38549         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38550         (__sincosl): Set errno to EDOM for infinite argument.
38551         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38552         (__sincosl): Set errno to EDOM for infinite argument.
38553         * math/libm-test.inc (sincos_test_data): Test errno setting.
38555 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38557         * string/strxfrm_l.c: Remove #define STRCMP.
38558         * string/strcoll_l.c: Remove #define STRLEN.
38559         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38560         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38562 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38564         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38565         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38566         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38567         * sysdeps/mips/mips64/Makefile: ... here.
38568         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38569         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38570         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38571         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38572         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38573         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38574         * sysdeps/mips/mips64/n64/Implies: Likewise.
38576 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38578         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38579         <sys/time.h>, <string.h>, and <errno.h>.
38580         (dest_offset, dest_address, value, zero): Remove unused variables.
38581         (ldouble): Remove typedef.
38582         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38583         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38584         1).  Fix code style.
38585         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38586         (check): Function removed.
38587         (CHECK): New macro.
38588         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38589         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38590         Don't call set_sigaction_FP and remove_sigaction_FP here.
38591         (ldouble_test): Just use 'long double' as macro argument, no need for
38592         the 'ldouble' typedef.
38593         (do_test): Set up SIGFPE handler at start, using plain signal rather
38594         than sigaction.  Fix code style.
38596 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38598         [BZ #17949]
38599         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38600         jump label.
38602 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38604         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38605         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38607         * sysdeps/powerpc/configure.ac: Remove file.
38608         * sysdeps/powerpc/configure: Likewise.
38610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38611         [sysdep_routines]: Remove wordcopy-power6 object.
38612         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38613         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38614         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38615         (__memmove_ppc32): Likewise.
38616         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38617         file.
38618         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38619         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38620         Remove preprocessor.
38622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38623         [sysdep_routines]: Remove wide chars objects.
38624         [wcsmbs]: New rule for wide char objects.
38626         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38627         Remove wordcopy-power6 obejct.
38628         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38629         Use local call for wordcopy and memcpy symbols.
38630         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38632         implementation for loader.
38633         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38635         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38636         Remove wordcopy-power7 object.
38637         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38638         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38639         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38640         (_wordcopy_fwd_dest_aligned): Likewise.
38641         (_wordcopy_bwd_aligned): Likewise.
38642         (_wordcopy_bwd_dest_aligned): Likewise.
38644         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38645         Rewrite to call __memmove_ppc instead of include default
38646         implementation.
38648         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38649         Remove wide chars objects.
38650         [wcsmbs]: New rule for wide char objects.
38652 2015-02-09  Andreas Schwab  <schwab@suse.de>
38654         [BZ #17912]
38655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38656         in terms of __O_DIRECTORY.
38658 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38660         * time/getdate.c: Include <stdbool.h>.
38661         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38662         call PTR_MANGLE.
38663         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38664         PTR_DEMANGLE.
38666 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38668         Add ersatz _Static_assert on older C hosts
38669         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38670         pre-C11 C platform that is not known to support _Static_assert.
38672 2015-02-07  Richard Braun  <rbraun@sceen.net>
38674         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38675         sigstate.
38676         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38678 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38680         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38681         priority against unexistent AIO_PRIO_DELTA_MAX.
38682         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38683         instead of int.
38684         * misc/fchflags.c (fchflags): Likewise.
38685         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38686         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38687         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38688         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38689         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38690         Declare macros.
38691         [__USE_MISC] (chflags, fchflags): Declare functions.
38692         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38693         EINVAL when nfds is greater than FD_SETSIZE.
38694         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38695         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38696         45.
38697         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38698         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38699         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38700         MACH_RCV_TIMED_OUT.
38701         * hurd/hurd/signal.h (_hurd_self_sigstate,
38702         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38703         Explicit casts from void *.
38704         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38705         * abi-tags: Rename gnu-gnu os into gnu.
38707         [BZ #4719]
38708         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38709         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38710         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38711         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38712         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38713         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38715         [BZ #17944]
38716         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38717         duplicates ADDR->sun_path with sockaddr LEN limitation.
38718         * sysdeps/mach/hurd/connect.c: Include <string.h>
38719         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38720         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38721         * sysdeps/mach/hurd/sendto.c: Likewise.
38722         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38723         implementing it by hand.
38725 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38727         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38728         Use sfi_breg on ldr.
38729         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38730         Likewise.
38732         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38733         it's defined.
38734         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38735         Test SIGSETXID only if it's defined.
38737         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38739         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38740         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38742         * nptl/tst-align2.c: Moved ...
38743         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38744         * nptl/Makefile (tests): Remove tst-align2.
38745         * sysdeps/unix/sysv/linux/Makefile
38746         [$(subdir) = nptl] (tests): Add tst-align-clone.
38747         * nptl/tst-getpid1.c: Moved ...
38748         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38749         * nptl/tst-getpid2.c: Moved ...
38750         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38751         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38752         * sysdeps/unix/sysv/linux/Makefile
38753         [$(subdir) = nptl] (tests): ... here.
38754         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38755         * sysdeps/unix/sysv/linux/Makefile
38756         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38758         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38759         Drop trailing \n from perror argument.  Use return rather than exit.
38761         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38762         on [SA_SIGINFO].
38763         * nptl/tst-cancel21.c (do_test): Likewise.
38764         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38765         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38766         [!SA_SIGINFO]: Make it a stub test.
38768         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38769         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38771         * posix/tst-getlogin.c: Move to ...
38772         * login/tst-getlogin.c: ... here.
38773         * posix/Makefile (tests): Move tst-getlogin to ...
38774         * login/Makefile (tests): ... here.
38776         * libio/tst-atime.c (do_test): Move local variables SV and E
38777         inside [ST_NOATIME] conditional.
38779         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38781         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38783         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38784         (wait_code): New function replaces macro.
38785         Call nanosleep rather than syscall.
38787         * nptl/pt-system.c: Rewritten.  Put everything under
38788         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38789         Use IFUNC to redirect when possible.
38791         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38792         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38793         Use IFUNC to redirect when possible.
38795         * nptl/pt-fork.c: Rewritten.  Put everything under
38796         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38797         Use IFUNC to redirect when possible.
38798         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38800         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38801         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38802         unconditionally nowadays.  This included the only reference to
38803         __vdso_clock_gettime that appears outside libc proper.
38804         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38805         Remove version set (containing only __vdso_clock_gettime).
38806         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38807         Add attribute_hidden.
38808         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38809         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38810         libc_hidden_data_def.
38811         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38812         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38814         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38815         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38816         setrpcent, and getrpcport to ...
38817         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38818         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38819         getrpcbynumber_r, and getrpcent_r to ...
38820         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38821         * inet/getrpcbyname.c: Moved ...
38822         * sunrpc/getrpcbyname.c: ... here.
38823         * inet/getrpcbyname_r.c: Moved ...
38824         * sunrpc/getrpcbyname_r.c: ... here.
38825         * inet/getrpcbynumber.c: Moved ...
38826         * sunrpc/getrpcbynumber.c: ... here.
38827         * inet/getrpcbynumber_r.c: Moved ...
38828         * sunrpc/getrpcbynumber_r.c: ... here.
38829         * inet/getrpcent.c: Moved ...
38830         * sunrpc/getrpcent.c: ... here.
38831         * inet/getrpcent_r.c: Moved ...
38832         * sunrpc/getrpcent_r.c: ... here.
38833         * inet/Makefile (routines): Move those to ...
38834         * sunrpc/Makefile (routines): ... here.
38835         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38836         the $(subdirs) list.
38837         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38838         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38839         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38840         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38842         * elf/Makefile (routines): Include $(all-dl-routines), not just
38843         $(dl-routines).
38844         (rtld-routines): Likewise.  Use = rather than :=.
38845         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38846         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38847         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38848         * sysdeps/arm/Makefile: Likewise.
38849         * sysdeps/i386/Makefile: Likewise.
38850         * sysdeps/x86_64/Makefile: Likewise.
38851         * sysdeps/hppa/Makefile [$(subdir) = elf]
38852         (sysdep_routines, sysdep-rtld-routines): Don't add
38853         $(sysdep-dl-routines) to these.
38854         * sysdeps/ia64/Makefile: Likewise.
38855         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38856         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38857         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38858         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38859         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38860         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38861         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38862         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38863         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38864         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38865         these; sysdep-dl-routines alone is enough.
38867 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38869         [BZ #17932]
38870         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38871         where multiplication results in zero and third argument is finite
38872         and nonzero.
38873         * math/auto-libm-test-in: Add more tests of fma.
38874         * math/auto-libm-test-out: Regenerated.
38876         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38877         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38878         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38879         (_FP_CMP_EQ): Likewise.
38880         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38882         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38883         extra argument CHECK_NAN.  Redefine as wrapper around
38884         _FP_EXTEND_CNAN.
38886 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38888         * version.h (RELEASE): Set to "stable".
38889         (VERSION): Set to "2.21"
38890         * include/features.h (__GLIBC_MINOR__): Set to 21.
38892         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38894 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38895             Paul Eggert  <eggert@cs.ucla.edu>
38897         [BZ #16618]
38898         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38899         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38900         size in bytes. Store needed elements in wpmax. Use needed size
38901         in bytes for extend_alloca.
38903 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38905         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38906         binutls 2.25, and texinfo 5.2.
38907         * INSTALL: Regenerate.
38908         * sysdeps/nios2/configure: Regenerate.
38909         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38910         * manual/contrib.texi: Update.
38911         * po/be.po: Update.
38912         * po/bg.po: Update.
38913         * po/ca.po: Update.
38914         * po/cs.po: Update.
38915         * po/da.po: Update.
38916         * po/de.po: Update.
38917         * po/el.po: Update.
38918         * po/eo.po: Update.
38919         * po/es.po: Update.
38920         * po/fi.po: Update.
38921         * po/fr.po: Update.
38922         * po/gl.po: Update.
38923         * po/hr.po: Update.
38924         * po/hu.po: Update.
38925         * po/ia.po: Update.
38926         * po/id.po: Update.
38927         * po/it.po: Update.
38928         * po/ja.po: Update.
38929         * po/ko.po: Update.
38930         * po/lt.po: Update.
38931         * po/nb.po: Update.
38932         * po/nl.po: Update.
38933         * po/pl.po: Update.
38934         * po/pt_BR.po: Update.
38935         * po/ru.po: Update.
38936         * po/rw.po: Update.
38937         * po/sk.po: Update.
38938         * po/sl.po: Update.
38939         * po/sv.po: Update.
38940         * po/tr.po: Update.
38941         * po/uk.po: Update.
38942         * po/vi.po: Update.
38943         * po/zh_CN.po: Update.
38944         * po/zh_TW.po: Update.
38946         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38947         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38948         * sysdeps/hppa/dl-irel.h: Remove #warning.
38949         * sysdeps/hppa/entry.h: Provide prototype for
38950         __canonicalize_funcptr_for_compare and cast argument.
38951         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38952         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38953         * sysdeps/hppa/sotruss-lib.c: New file.
38954         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38955         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38956         (atomic_compare_and_exchange_bool_acq): Likewise.
38957         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38958         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38960         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38961         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38962         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38964 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38966         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38967         called function in non-PIC case.
38969 2015-01-31  David S. Miller  <davem@davemloft.net>
38971         * sysdeps/sparc/sparc32/bits/atomic.h
38972         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38973         unlock not after it.
38974         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38975         volatile register usage warnings from the compiler.
38977         * sysdeps/sparc/nptl/sem_init.c: Delete.
38978         * sysdeps/sparc/nptl/sem_post.c: Delete.
38979         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38980         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38981         * sysdeps/sparc/sparc32/sem_init.c: New file.
38982         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38983         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38984         padding explicitly initialized.
38985         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38986         padding for in-semaphore spinlock.
38987         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38988         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38989         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38990         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38991         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38992         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38993         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38994         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38995         version.
38996         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38997         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38999 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
39001         [BZ #17801]
39002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39003         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
39004         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
39005         New.
39006         (index_AVX_Fast_Unaligned_Load): Likewise.
39007         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
39008         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
39009         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
39010         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
39011         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
39012         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
39013         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
39014         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
39015         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
39017 2015-01-29  Andreas Schwab  <schwab@suse.de>
39019         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
39021 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
39023         [BZ #17892]
39024         * nscd/nscd_stat.c (send_stats): Initialize DATA.
39026 2015-01-28  Martin Sebor  <msebor@redhat.com>
39028         * math/README.libm-test: Clarify. Add "How to read the test output."
39030 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
39032         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
39033         Define to 0.
39035 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
39037         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
39038         (__HAVE_64B_ATOMICS): Define to 0.
39040 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39042         [BZ #17885]
39043         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
39044         value to set as new flag.
39046         [BZ #16576]
39047         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
39048         and use _ARCH_PPCSQ instead.
39049         (__ieee754_sqrt): Likewise.
39050         (__ieee754_sqrtf): Likewise.
39051         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
39052         _ARCH_PPCSQ is defined.
39053         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
39054         fsqrt instruction.
39055         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
39056         _ARCH_PPCSQ is defined.
39057         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
39058         fsqrts instruction.
39059         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
39061 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39063         * iconv/loop.c: Suppress array out of bound warning caused by GCC
39064         bug (GCC BZ #64739).
39066 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
39068         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
39069         Mark _retval as used.
39070         (lll_futex_wake_unlock): Likewise.
39071         (lll_futex_timed_wait_requeue_pi): Likewise.
39073         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39074         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
39075         register variables.
39077         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39078         libm_hidden_def.
39080         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
39081         (__bswap_64): Mark as __always_inline.
39083 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
39085         [BZ #15378]
39086         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
39087         when none of the search directories exist.
39089 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39091         [BZ #17869]
39092         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
39093         power8 in .machine directive.
39095         [BZ #17868]
39096         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
39097         set dependency from opd value.
39099 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39102         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39103         architecture.
39105 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39107         [BZ #17870]
39108         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39109         with uint64_t.
39110         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39111         (uint64_t) 1.
39112         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39113         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39114         Replace 1UL with (uint64_t) 1.
39115         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39116         int with uint64_t.
39118 2015-01-23  Roland McGrath  <roland@hack.frob.com>
39120         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39121         (if_freenameindex): Likewise.
39123         * resource/getrlimit64.c: Add missing libc_hidden_def.
39125 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
39127         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39128         __label__.
39129         (_FP_FMA): Likewise.
39130         (_FP_TO_INT_ROUND): Likewise.
39131         (_FP_FROM_INT): Likewise.
39133 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39135         [BZ #16418]
39136         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39137         Make code racy and cancel safe.
39139 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
39141         * sysdeps/arm/unwind-resume.h: Fix copyright year.
39142         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39143         attribution.
39145         * pwd/tst-getpw.c: Rewrite.
39147         [BZ #17702]
39148         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39149         (modules-names): Add moddummy1 and moddummy2.
39150         ($(objpfx)tst-rec-dlopen): Define.
39151         * dlfcn/moddummy1.c: New file.
39152         * dlfcn/moddummy2.c: New file.
39153         * dlfcn/tst-rec-dlopen.c: New file.
39154         * elf/dl-cache.c (_dl_load_cache_lookup):
39155         Return char*. Copy result with alloca/strcpy/strdup.
39156         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39157         returns char*. Free cached. If not saving realname
39158         free cached.
39159         * elf/dl-open.c (dl_open_worker): Do not assert that
39160         _r_debug->r_state is RT_CONSISTENT.
39161         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39162         returns char*.
39164 2015-01-21  Torvald Riegel  <triegel@redhat.com>
39165             Carlos O'Donell  <carlos@redhat.com>
39167         [BZ #12674]
39168         * nptl/sem_waitcommon.c: New file.
39169         * nptl/sem_wait.c: Include sem_waitcommon.c.
39170         (__sem_wait_cleanup, do_futex_wait): Remove.
39171         (__new_sem_wait): Adapt.
39172         (__new_sem_trywait): New function.
39173         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39174         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39175         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39176         (sem_timedwait): Adapt.
39177         * nptl/sem_post.c (__new_sem_post): Adapt.
39178         (futex_wake): New function.
39179         (__old_sem_post): Add release MO fence.
39180         * nptl/sem_open.c (sem_open): Adapt.
39181         * nptl/sem_init.c (__new_sem_init): Adapt.
39182         (futex_private_if_supported): New function.
39183         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39184         (__old_sem_getvalue): Add using previous code.
39185         * sysdeps/nptl/internaltypes.h: Adapt.
39186         * nptl/tst-sem13.c (do_test): Adapt.
39187         * nptl/tst-sem11.c (main): Adapt.
39188         * nptl/sem_trywait.c: Remove.
39189         * nptl/DESIGN-sem.txt: Remove.
39190         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39191         (gen-as-const-headers): Remove structsem.sym.
39192         * nptl/structsem.sym: Remove.
39193         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39194         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39195         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39196         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39197         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39198         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39199         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39200         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39201         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39202         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39203         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39204         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39205         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39206         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39207         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39208         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39209         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39210         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39211         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39212         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39213         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39214         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39216 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
39218         * INSTALL: Regenerated.
39220         * po/libc.pot: Regenerated.
39222 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
39223             Sandra Loosemore  <sandra@codesourcery.com>
39224             Andrew Jenner  <andrew@codesourcery.com>
39225             Joseph Myers  <joseph@codesourcery.com>
39226             Nathan Sidwell  <nathan@codesourcery.com>
39228         * NEWS: Mention new Nios II port.
39229         * sysdeps/nios2/Implies: New file.
39230         * sysdeps/nios2/Makefile: New file.
39231         * sysdeps/nios2/Subdirs: New file.
39232         * sysdeps/nios2/Versions: New file.
39233         * sysdeps/nios2/__longjmp.S: New file.
39234         * sysdeps/nios2/abort-instr.h: New file.
39235         * sysdeps/nios2/backtrace.c: New file.
39236         * sysdeps/nios2/bits/endian.h: New file.
39237         * sysdeps/nios2/bits/fenv.h: New file.
39238         * sysdeps/nios2/bits/link.h: New file.
39239         * sysdeps/nios2/bits/setjmp.h: New file.
39240         * sysdeps/nios2/bsd-_setjmp.S: New file.
39241         * sysdeps/nios2/bsd-setjmp.S: New file.
39242         * sysdeps/nios2/configure: New generated file.
39243         * sysdeps/nios2/configure.ac: New file.
39244         * sysdeps/nios2/crti.S: New file.
39245         * sysdeps/nios2/crtn.S: New file.
39246         * sysdeps/nios2/dl-init.c: New file.
39247         * sysdeps/nios2/dl-machine.h: New file.
39248         * sysdeps/nios2/dl-sysdep.h: New file.
39249         * sysdeps/nios2/dl-tls.h: New file.
39250         * sysdeps/nios2/dl-trampoline.S: New file.
39251         * sysdeps/nios2/gccframe.h: New file.
39252         * sysdeps/nios2/gmp-mparam.h: New file.
39253         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39254         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39255         * sysdeps/nios2/ldsodefs.h: New file.
39256         * sysdeps/nios2/libc-tls.c: New file.
39257         * sysdeps/nios2/libm-test-ulps: New file.
39258         * sysdeps/nios2/machine-gmon.h: New file.
39259         * sysdeps/nios2/math-tests.h: New file.
39260         * sysdeps/nios2/math_private.h: New file.
39261         * sysdeps/nios2/memusage.h: New file.
39262         * sysdeps/nios2/nptl/Makefile: New file.
39263         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39264         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39265         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39266         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39267         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39268         * sysdeps/nios2/nptl/tls.h: New file.
39269         * sysdeps/nios2/preconfigure: New file.
39270         * sysdeps/nios2/s_fma.c: New file.
39271         * sysdeps/nios2/s_fmaf.c: New file.
39272         * sysdeps/nios2/setjmp.S: New file.
39273         * sysdeps/nios2/sfp-machine.h: New file.
39274         * sysdeps/nios2/sotruss-lib.c: New file.
39275         * sysdeps/nios2/stackguard-macros.h: New file.
39276         * sysdeps/nios2/stackinfo.h: New file.
39277         * sysdeps/nios2/start.S: New file.
39278         * sysdeps/nios2/sysdep.h: New file.
39279         * sysdeps/nios2/tls-macros.h: New file.
39280         * sysdeps/nios2/tst-audit.h: New file.
39281         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39282         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39283         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39284         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39285         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39286         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39287         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39288         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39289         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39290         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39291         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39292         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39293         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39294         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39295         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39296         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39297         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39298         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39299         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39300         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39301         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39302         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39303         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39304         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39305         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39306         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39307         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39308         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39309         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39310         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39311         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39312         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39313         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39314         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39315         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39316         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39317         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39318         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39319         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39320         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39321         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39322         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39323         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39324         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39326 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39328         [BZ #17844]
39329         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39330         (getutent): Use weak_alias in non SHARED case
39331         and default_symbol_version in SHARED case.
39332         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39333         (getutent_r, pututline): Likewise.
39334         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39335         (getutid): Likewise.
39336         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39337         (getutid_r): Likewise.
39338         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39339         (getutline): Likewise.
39340         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39341         (getutline_r): Likewise.
39342         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39343         (updwtmp): Likewise.
39345 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39347         [BZ #17848]
39348         * sysdeps/s390/s390-32/memcmp.S
39349         (memcmp_g5): Rename to __memcmp_g5.
39350         * sysdeps/s390/s390-32/memcpy.S
39351         (memcpy_g5): Rename to __memcpy_g5.
39352         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39353         (memcpy_mvcle) Rename to __memcpy_mvcle.
39354         * sysdeps/s390/s390-32/memset.S
39355         (memset_g5): Rename to __memset_g5.
39356         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39357         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39358         and use prefixed functions.
39359         * sysdeps/s390/s390-32/multiarch/memcmp.S
39360         (memcmp_z196): Rename to __memcmp_z196.
39361         (memcmp_z10): Rename to __memcmp_z10.
39362         (memcmp): Set alias to __memcmp_g5.
39363         (bcmp): Set alias to __memcmp_g5.
39364         * sysdeps/s390/s390-32/multiarch/memcpy.S
39365         (memcpy_z196): Rename to __memcpy_z196.
39366         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39367         (memcpy_z10): Rename to __memcpy_z10.
39368         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39369         (memcpy): Set alias to __memcpy_g5.
39370         * sysdeps/s390/s390-32/multiarch/memset.S
39371         (memset_z196): Rename to __memset_z196.
39372         Jump to __memset_mvcle instead of memset_mvcle.
39373         (memset_z10): Rename to __memset_z10.
39374         Jump to __memset_mvcle instead of memset_mvcle.
39375         (memset_mvcle) Rename to __memset_mvcle.
39376         (memset): Set alias to __memset_g5.
39377         * sysdeps/s390/s390-64/memcmp.S
39378         (memcmp_z900): Rename to __memcmp_z900.
39379         * sysdeps/s390/s390-64/memcpy.S
39380         (memcpy_z900): Rename to __memcpy_z900.
39381         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39382         (memcpy_mvcle) Rename to __memcpy_mvcle.
39383         * sysdeps/s390/s390-64/memset.S
39384         (memset_z900): Rename to __memset_z900.
39385         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39386         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39387         and use prefixed functions.
39388         * sysdeps/s390/s390-64/multiarch/memcmp.S
39389         (memcmp_z196): Rename to __memcmp_z196.
39390         (memcmp_z10): Rename to __memcmp_z10.
39391         (memcmp): Set alias to __memcmp_z900.
39392         (bcmp): Set alias to __memcmp_z900.
39393         * sysdeps/s390/s390-64/multiarch/memcpy.S
39394         (memcpy_z196): Rename to __memcpy_z196.
39395         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39396         (memcpy_z10): Rename to __memcpy_z10.
39397         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39398         (memcpy): Set alias to __memcpy_z900.
39399         * sysdeps/s390/s390-64/multiarch/memset.S
39400         (memset_z196): Rename to __memset_z196.
39401         Jump to __memset_mvcle instead of memset_mvcle.
39402         (memset_z10): Rename to __memset_z10.
39403         Jump to __memset_mvcle instead of memset_mvcle.
39404         (memset_mvcle) Rename to __memset_mvcle.
39405         (memset): Set alias to __memset_z900.
39407 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39409         [BZ #17748]
39410         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39411         __fesetenv instead of fesetenv.
39413 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39415         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39416         macro.
39418 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39420         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39421         regression on LE.
39423         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39424         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39426         strncmp-power8 object.
39427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39428         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39429         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39430         * NEWS: Update.
39432 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39433             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39435         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39436         trailing byte check.
39438 2015-01-13  David S. Miller  <davem@davemloft.net>
39440         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39442 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39444         * login/logout.c (logout): Use memset rather than bzero.
39445         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39446         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39447         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39448         (_gethtbyaddr): Likewise.
39449         * locale/programs/simple-hash.c (bcopy): Macro removed.
39451 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39453         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39454         Add strcmp-power8 object.
39455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39456         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39457         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39458         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39459         __strcmp_power8 implementation.
39460         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39461         * NEWS: Update.
39463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39464         Add strncpy-power8 and stpncpy-power8 objects.
39465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39466         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39467         implementations.
39468         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39469         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39470         __stpncpy_power8 implementation.
39471         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39472         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39473         __strncpy_power8 implementation.
39474         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39475         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39476         * NEWS: Update.
39478         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39479         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39480         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39483         strncat-power8 object.
39484         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39485         __strcat_power8 implementation.
39486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39487         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39488         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39489         optimized strcat for power8.
39491         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39492         strcpy-power8 and stpcpy-power8 objects.
39493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39494         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39495         implementations.
39496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39497         multiarch stpcpy implementation for POWER8.
39498         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39499         multiarch strcpy implementation for POWER8.
39500         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39501         __strcpy_power8 function.
39502         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39503         stpcpy for POWER8.
39504         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39505         strcpy for POWER8.
39506         * NEWS: Update.
39508 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39510         [BZ #16009]
39511         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39512         weights and rules. Use do_xfrm_cached if data fits in cache,
39513         do_xfrm otherwise.  Moved former main loop to...
39514         * (do_xfrm_cached): New function.
39515         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39516         find_idx, find_position and stack_push.
39517         * (find_idx): New function.
39518         * (find_position): Likewise.
39519         * localedata/sort-test.sh: Added test run for do_xfrm.
39520         * localedata/xfrm-test.c (main): Added command line option
39521         -nocache to run the test with strings that are too large for
39522         the STRXFRM cache.
39524 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39526         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39527         variable to lll_futex_wake call, not the value itself.
39529 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39531         [BZ #17803]
39532         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39533         twom64.  Adjust value to 0x1p-64L.
39534         (__scalblnl): Only return standard underflowing result for K <=
39535         -64 not K <= -63; adjust exponent for underflowing result by 64
39536         not 63.
39537         * math/libm-test.inc (scalbn_test_data): Add more tests.
39538         (scalbln_test_data): Likewise.
39540         [BZ #17834]
39541         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39542         0x1p63L.
39543         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39544         not HX.
39545         * math/libm-test.inc (scalbn_test_data): Add more tests.
39546         (scalbln_test_data): Likewise.
39548 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39549             Stefani Seibold  <stefani@seibold.net>
39551         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39552         (sysdep_routines): Add dl-vdso here, ...
39553         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39554         (sysdep_routines): ... not here.
39555         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39556         fallback when vDSO is not presented.
39557         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39558         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39559         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39560         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39561         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39562         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39563         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39564         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39565         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39566         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39567         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39568         fallback configurable symbol when vDSO is not available.
39569         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39570         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39571         be able to redefine fallback symbol when vDSO is not available.
39572         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39573         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39575 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39577         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39578         (TLS_INIT_TP): Add tm_capable initialization.
39579         (TLS_DEFINE_INIT_TP): Likewise.
39580         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39581         TCB.
39582         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39583         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39584         calculation.
39585         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39586         transactoion is lock elision is built and TCB tm_capable is set.
39587         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39589         (INTERNAL_SYSCALL_NCS): Likewise.
39590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39591         (INTERNAL_SYSCALL_NCS): Likewise.
39592         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39594         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39595         for powerpc.
39596         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39597         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39598         and remove it for 32 bits case.
39599         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39601         initialization.
39602         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39603         Disable lock elision with rdlocks if elision is not available.
39605         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39606         (sysdep_routines): Add lock elision objects.
39607         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39608         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39609         [pthread_mutex_t] (__elision): Add field.
39610         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39611         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39612         elision definitions for powerpc.
39613         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39614         implementation of lock elision for powerpc.
39615         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39616         implementation of timed lock elision for powerpc.
39617         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39618         implementation of trylock with lock elision for powerpc.
39619         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39620         implementaion of unlock for lock elision for powerpc.
39621         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39622         automatic enable lock elision for mutexes.
39623         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39624         transaction execution definitions for powerpc.
39625         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39626         definitions.
39627         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39628         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39629         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39630         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39631         * NEWS: Update.
39633 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39635         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39636         for #include of <shm-directory.h>.
39638 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39640         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39641         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39643 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39645         [BZ #17791]
39646         * NEWS: Mention bug fix.
39647         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39648         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39649         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39651 2015-01-09  Torvald Riegel <triegel@redhat.com>
39653         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39655 2015-01-09  Torvald Riegel <triegel@redhat.com>
39657         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39659 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39661         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39662         pointer and cast to uintptr_t.
39664 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39666         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39667         removed.
39668         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39670 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39672         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39673         of 0.
39675 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39677         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39678         <nptl/pthreadP.h> instead.
39679         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39681         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39682         already defined.
39683         [__SIGRTMIN] (init): Function removed.
39684         [__SIGRTMIN] (initialized): Variable removed.
39685         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39686         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39687         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39688         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39689         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39690         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39691         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39692         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39693         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39694         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39695         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39696         * sysdeps/nptl/allocrtsig.c: New file.
39697         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39698         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39699         * sysdeps/generic/testrtsig.h: File removed.
39701         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39702         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39704         * nptl/nptl-init.c (pthread_functions): Conditionalize
39705         .ptr__nptl_setxid initialization on [SIGSETXID].
39707         * sysdeps/nptl/sys/procfs.h: New file.
39708         * nptl_db/Makefile (headers): Add it.
39709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39711         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39712         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39713         * nptl/pthread_attr_setaffinity.c: Include it.
39714         * nptl/pthread_setattr_default_np.c: Likewise.
39715         * nptl/check-cpuset.h: New file.
39717 2015-01-08  Richard Henderson  <rth@redhat.com>
39719         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39720         (CFLAGS-tst-execstack-prog.c): Likewise.
39721         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39723 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39724             Sandra Loosemore  <sandra@codesourcery.com>
39725             Andrew Jenner  <andrew@codesourcery.com>
39726             Joseph Myers  <joseph@codesourcery.com>
39727             Nathan Sidwell  <nathan@codesourcery.com>
39729         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39730         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39731         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39732         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39733         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39734         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39735         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39736         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39737         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39738         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39739         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39740         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39741         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39742         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39743         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39744         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39745         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39747 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39749         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39750         timespec struct member in syscall macro.
39751         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39752         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39753         first timeval struct member in syscall macro.
39754         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39756 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39758         [BZ #17748]
39759         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39760         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39761         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39762         __feupdateenv and define as weak alias of __feupdateenv.  Use
39763         libm_hidden_weak.
39764         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39765         libm_hidden_def.
39766         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39767         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39768         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39769         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39770         libm_hidden_def.
39771         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39772         __feupdateenv and define as weak alias of __feupdateenv.  Use
39773         libm_hidden_weak.
39774         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39775         libm_hidden_def.
39776         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39777         __feupdateenv and define as weak alias of __feupdateenv.  Use
39778         libm_hidden_weak.
39779         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39780         libm_hidden_def.
39781         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39782         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39783         (__feupdateenv): Likewise.
39784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39785         __feupdateenv and define as weak alias of __feupdateenv.  Use
39786         libm_hidden_weak.
39787         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39788         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39789         libm_hidden_def.
39790         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39791         function.
39792         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39793         libm_hidden_def.
39794         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39795         __feupdateenv instead of feupdateenv.
39796         (default_libc_feupdateenv_test): Likewise.
39797         (libc_feresetround_ctx): Likewise.
39799 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39801         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39802         prototype.
39804 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39806         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39807         COLL_SYM in a couple of places to avoid uninitialized variable
39808         wanings on tilegx gcc 4.8.2.
39810 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39812         * sysdeps/aarch64/strcpy.S: New file.
39813         * sysdeps/aarch64/stpcpy.S: New file.
39814         * NEWS: Updated.
39816 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39818         * sysdeps/aarch64/strrchr.S: New file.
39819         * NEWS: Updated.
39821 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39823         [BZ #17658]
39824         * stdlib/setenv.c: Fix memory leak when setting large,
39825         duplicate string.
39827 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39829         [BZ #17273]
39830         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39831         and tabs from buffer before parsing fstab entry.
39832         * misc/tst-mntent.c (main): Add test for mount entry with
39833         trailing spaces and tabs.
39835 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39837         [BZ #17748]
39838         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39839         * math/fesetround.c (fesetround): Rename to __fesetround and
39840         define as weak alias of __fesetround.  Use libm_hidden_weak.
39841         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39842         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39843         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39844         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39845         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39846         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39847         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39848         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39849         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39850         __fesetround_inline.
39851         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39852         __fesetround_inline instead of __fesetround.
39853         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39854         __fesetround and define as weak alias of __fesetround.  Use
39855         libm_hidden_weak.  Call __fesetround_inline instead of
39856         __fesetround.
39857         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39858         __fesetround and define as weak alias of __fesetround.  Use
39859         libm_hidden_weak.
39860         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39861         Likewise.
39862         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39863         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39864         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39865         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39866         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39867         __fesetround and define as weak alias of __fesetround.  Use
39868         libm_hidden_weak.
39869         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39870         __fesetround instead of fesetround.
39871         (default_libc_feholdexcept_setround): Likewise.
39872         (libc_feholdsetround_ctx): Likewise.
39873         (libc_feholdsetround_noex_ctx): Likewise.
39875         [BZ #17748]
39876         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39877         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39878         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39879         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39880         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39881         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39882         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39883         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39884         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39885         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39886         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39887         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39888         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39889         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39890         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39891         libm_hidden_def.
39892         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39894         Likewise.
39895         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39896         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39897         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39898         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39899         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39900         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39901         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39902         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39903         __fesetenv instead of fesetenv.
39904         (libc_feresetround_noex_ctx): Likewise.
39905         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39906         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39907         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39908         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39909         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39910         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39911         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39912         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39913         (__feupdateenv): Likewise.
39914         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39915         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39916         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39917         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39919 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39921         [BZ #17806]
39922         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39923         addresses have been freed.
39925 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39927         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39928         and nservall.
39930 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39932         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39933         Clean up check_pf allocation pattern. addresses
39935 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39937         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39938         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39939         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39940         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39941         * nptl/pthread_join.c (pthread_join): Likewise.
39942         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39943         * sysdeps/posix/waitid.c (__waitid): Likewise.
39944         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39945         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39946         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39947         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39948         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39949         Likewise.
39950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39951         (__libc_pread64): Likewise.
39952         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39953         (__libc_pwrite): Likewise.
39954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39955         (__libc_pwrite64): Likewsie.
39956         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39957         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39958         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39959         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39960         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39961         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39962         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39964         Likewise.
39965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39966         (__libc_pread64): Likewise.
39967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39968         Likewise.
39969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39970         (__libc_pwrite64): Likewise.
39971         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39972         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39973         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39974         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39975         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39976         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39977         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39978         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39979         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39980         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39981         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39982         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39983         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39984         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39985         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39986         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39987         Likewise.
39989 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39991         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39992         (CFLAGS-test-double.c): Likewise.
39993         (CFLAGS-test-ldouble.c): Likewise.
39994         (CPPFLAGS-test-ifloat.c): Likewise.
39995         (CPPFLAGS-test-idouble.c): Likewise.
39996         (CPPFLAGS-test-ildoubl.c): Likewise.
39997         (CFLAGS-test-test-fenv.c): Remove variable.
39998         (CFLAGS-test-misc.c): Likewise.
40000 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
40002         [BZ #17797]
40003         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
40004         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
40005         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
40006         CLOCKS_PER_SEC == 1000000.
40007         * time/clocktest.c (main): Replace %ld with %jd and cast to
40008         intmax_t.
40010 2015-01-05  Roland McGrath  <roland@hack.frob.com>
40012         * sysdeps/generic/unwind-resume.h: New file.
40013         * sysdeps/gnu/unwind-resume.c: Include it.
40014         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
40015         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
40016         argument list.
40017         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
40018         global rather than static.
40019         (_Unwind_Resume): Update user.
40020         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
40021         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
40022         rather than static.  Add __attribute__ ((cold)).
40023         (_Unwind_Resume, __gcc_personality_v0): Update callers.
40024         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
40025         * sysdeps/arm/arm-unwind-resume.S: New file.
40026         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
40027         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
40028         * sysdeps/arm/Makefile [$(subdir) = csu]
40029         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
40030         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40031         Add rt-arm-unwind-resume.
40032         [$(subdir) = nptl]
40033         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40034         Add pt-arm-unwind-resume.
40035         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
40036         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
40038 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40040         [BZ #17748]
40041         * include/fenv.h (__feholdexcept): Declare.  Use
40042         libm_hidden_proto.
40043         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
40044         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
40045         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40046         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
40047         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
40048         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40049         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
40050         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40051         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
40052         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
40053         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40054         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
40055         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
40056         (feholdexcept): Likewise.
40057         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40058         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40059         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40060         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40061         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
40062         __feholdexcept instead of feholdexcept.
40063         (default_libc_feholdexcept_setround): Likewise.
40065 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40067         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
40068         to avoid using stl/str to align destination.
40070 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40072         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
40074 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40076         [BZ #17796]
40077         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
40078         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
40079         Define as weak alias not strong alias.
40081 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40083         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
40084         bltzal with addiupc.
40085         (RTLD_START): Ditto.
40087 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
40089         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
40090         for __vdso_* functions in declarations.
40091         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
40092         definitions.
40093         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
40094         INTERNAL_VSYSCALL): Use struct return types to check for error.
40096         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
40097         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
40098         function with cast from llround().
40099         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
40100         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
40101         Define.
40103 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40105         [BZ #17793]
40106         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40107         Define as weak alias not strong alias.
40109         [BZ #17635]
40110         * ctype/ctype-c99.c: New file.  isblank implementation moved from
40111         ...
40112         * ctype/ctype-extn.c: ... here.
40113         (__isblank_l): Move to ...
40114         * ctype/ctype-c99_l.c: ... here.  New file.
40115         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40116         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40117         Remove variable.
40118         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40119         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40120         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40121         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40122         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40124         [BZ #17777]
40125         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40126         (posix_fadvise64): Define as weak alias not strong alias.
40127         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40128         (posix_fallocate64): Likewise.
40129         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40130         Remove variable.
40131         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40132         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40133         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40134         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40135         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40137 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
40139         [BZ #16191]
40140         * NEWS: Mention bug fix.
40141         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40142         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40143         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40144         (HOST_STACK_END_ADDR): Likewise.
40146 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40148         [BZ #17748]
40149         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
40150         * math/fegetround.c (fegetround): Rename to __fegetround and
40151         define as weak alias of __fegetround.  Use libm_hidden_weak.
40152         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40153         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40154         * sysdeps/arm/fegetround.c (fegetround): Likewise.
40155         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40156         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40157         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40158         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40159         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40160         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40161         Undefine after rather than before function definition; use
40162         parentheses around function name in definition.
40163         (__fegetround): Also undefine macro after function definition.
40164         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40165         __fegetround and define as weak alias of __fegetround.  Use
40166         libm_hidden_weak.  Do not undefine as macro.
40167         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40168         Likewise.
40169         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40170         __fegetround and define as weak alias of __fegetround.  Use
40171         libm_hidden_weak.
40172         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40173         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40174         * sysdeps/tile/math_private.h (__fegetround): New inline function.
40175         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40176         __fegetround and define as weak alias of __fegetround.  Use
40177         libm_hidden_weak.
40178         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40179         __fegetround instead of fegetround.
40181         [BZ #17782]
40182         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40183         Condition macro definition on [__USE_MISC].
40185         [BZ #17781]
40186         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40187         (struct sigaction): Change type of sa_flags field to int.
40189         [BZ #17780]
40190         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40191         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40192         __glibc_reserved0.
40194         * nptl/version.c (banner): Use single year in copyright notice.
40196         * NEWS: Update copyright dates.
40197         * catgets/gencat.c (print_version): Likewise.
40198         * csu/version.c (banner): Likewise.
40199         * debug/catchsegv.sh: Likewise.
40200         * debug/pcprofiledump.c (print_version): Likewise.
40201         * debug/xtrace.sh (do_version): Likewise.
40202         * elf/ldconfig.c (print_version): Likewise.
40203         * elf/ldd.bash.in: Likewise.
40204         * elf/pldd.c (print_version): Likewise.
40205         * elf/sotruss.sh: Likewise.
40206         * elf/sprof.c (print_version): Likewise.
40207         * iconv/iconv_prog.c (print_version): Likewise.
40208         * iconv/iconvconfig.c (print_version): Likewise.
40209         * locale/programs/locale.c (print_version): Likewise.
40210         * locale/programs/localedef.c (print_version): Likewise.
40211         * login/programs/pt_chown.c (print_version): Likewise.
40212         * malloc/memusage.sh (do_version): Likewise.
40213         * malloc/memusagestat.c (print_version): Likewise.
40214         * malloc/mtrace.pl: Likewise.
40215         * manual/libc.texinfo: Likewise.
40216         * nptl/version.c (banner): Likewise.
40217         * nscd/nscd.c (print_version): Likewise.
40218         * nss/getent.c (print_version): Likewise.
40219         * nss/makedb.c (print_version): Likewise.
40220         * posix/getconf.c (main): Likewise.
40221         * scripts/test-installation.pl: Likewise.
40222         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40224 2015-01-02  Will Newton  <will.newton@linaro.org>
40226         * sysdeps/arm/armv7/configure: Removed.
40227         * sysdeps/arm/armv7/configure.ac: Likewise.
40229 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40231         * All files with FSF copyright notices: Update copyright dates
40232         using scripts/update-copyrights.
40233         * intl/plural.c: Regenerated.
40234         * locale/programs/charmap-kw.h: Likewise.
40235         * locale/programs/locfile-kw.h: Likewise.
40237 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40239         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40241 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40243         [BZ #17748]
40244         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40245         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40246         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40247         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40248         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40249         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40250         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40251         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40252         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40253         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40254         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40255         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40256         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40257         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40258         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40259         libm_hidden_def.
40260         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40261         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40262         Likewise.
40263         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40264         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40265         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40266         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40267         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40268         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40269         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40270         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40271         __fegetenv instead of fegetenv.
40272         (libc_feholdsetround_noex_ctx): Likewise.
40274 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40276         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40277         (Elf_MIPS_ABIFlags_v0): New structure.
40278         (EF_MIPS_FP64): Define.
40279         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40280         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40281         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40282         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40283         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40284         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40285         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40286         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40287         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40288         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40289         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40290         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40291         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40292         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40293         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40294         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40295         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40296         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40297         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40298         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40299         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40300         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40301         field.
40302         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40303         EF_MIPS_FP64.
40304         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40305         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40306         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40307         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40308         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40309         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40310         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40311         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40312         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40313         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40314         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40315         record the current FP ABI extension.
40316         (mips-mode-switch): Define to show if kernel headers support mode
40317         switching.
40318         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40319         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40320         supported SYSV ABI version to 3.
40321         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40322         feature.
40324 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40325             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40327         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40328         path.
40329         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40331 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40333         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40334         __fegetround and redefine to call __fegetround.  Remove condition
40335         on [!__NO_MATH_INLINES].
40336         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40337         function.
40338         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40339         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40340         Remove macro.
40341         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40342         instead of <fenv_libc.h>.
40343         (__llrintl): Call fegetround instead of __fegetround.
40344         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40345         instead of <fenv_libc.h>.
40346         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40347         (__lrintl): Call fegetround instead of __fegetround.
40348         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40349         instead of <fenv_libc.h>.
40350         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40351         (__rintl): Call fegetround instead of __fegetround.
40353 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40355         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40356         arrays.
40358 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40360         [BZ #17775]
40361         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40362         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40363         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40365 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40367         * sysdeps/i386/tls-macros.h: Include <features.h>.
40368         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40369         (TLS_IE): Likewise.
40370         (TLS_LD): Likewise.
40371         (TLS_GD): Likewise.
40372         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40373         define for GCC >= 5.0.
40375 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40377         * math/test-fenv.c (test_single_exception, set_single_exc,
40378         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40379         feexcp_mask_test, feenable_test, fe_single_test): Add
40380         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40381         case where they are not used.
40382         * math/libm-test.inc: Likewise.
40383         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40384         unused in the absence of FP rounding/exception support.
40385         * stdio-common/tst-printf-round.c: Likewise.
40386         * stdlib/tst-strtod-round.c: Likewise.
40387         * stdlib/tst-strtod-underflow.c: Likewise.
40389 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40391         [BZ #17723]
40392         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40393         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40394         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40395         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40396         libm_hidden_weak.
40397         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40398         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40399         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40400         libm_hidden_def.
40401         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40402         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40403         libm_hidden_weak.
40404         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40405         Likewise.
40406         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40407         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40408         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40409         libm_hidden_weak.
40410         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40411         libm_hidden_def.
40412         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40413         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40414         (__feraiseexcept): Likewise.
40415         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40416         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40417         libm_hidden_weak.
40418         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40419         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40420         libm_hidden_def.
40421         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40422         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40423         Use libm_hidden_def.
40424         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40425         libm_hidden_def.
40426         (feraiseexcept): Define as weak not strong alias.  Use
40427         libm_hidden_weak.
40428         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40429         New inline function.  Factored out of ...
40430         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40431         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40432         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40433         feraiseexcept.
40434         * math/w_acos.c (__acos): Likewise.
40435         * math/w_asin.c (__asin): Likewise.
40436         * math/w_ilogb.c (__ilogb): Likewise.
40437         * math/w_j0.c (y0): Likewise.
40438         * math/w_j1.c (y1): Likewise.
40439         * math/w_jn.c (yn): Likewise.
40440         * math/w_log.c (__log): Likewise.
40441         * math/w_log10.c (__log10): Likewise.
40442         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40443         * sysdeps/aarch64/fpu/math_private.h
40444         (libc_feupdateenv_test_aarch64): Likewise.
40445         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40446         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40447         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40448         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40449         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40450         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40451         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40452         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40453         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40454         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40456 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40458         [BZ #17732]
40459         * io/test-utime.c (main): Replace %ld with %jd and cast to
40460         intmax_t.
40461         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40462         * nptl/tst-mutex5.c: Include <stdint.h>.
40463         (do_test): Replace %ld with %jd and cast to intmax_t.
40464         * posix/tst-regex.c (run_test): Likewise.
40465         (run_test_backwards): Likewise.
40466         * rt/tst-clock.c: Include <stdint.h>.
40467         (clock_test): Replace %ld with %jd and cast to intmax_t.
40468         * rt/tst-cpuclock1.c: Include <stdint.h>.
40469         (do_test): Replace %lu with %ju and cast to uintmax_t.
40470         * rt/tst-cpuclock2.c: Include <stdint.h>.
40471         (do_test): Replace %lu with %ju and cast to uintmax_t.
40472         * rt/tst-mqueue1.c: Include <stdint.h>.
40473         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40474         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40475         intmax_t.
40476         * rt/tst-mqueue4.c (do_test): Likewise.
40477         * rt/tst-timer4.c: Include <stdint.h>.
40478         (check_ts): Replace %ld with %jd and cast to intmax_t.
40479         (do_test): Likewise.
40480         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40481         and cast to intmax_t.
40482         * sysdeps/pthread/tst-timer.c (main): Likewise.
40483         * time/clocktest.c (main): Likewise.
40484         * time/tst-posixtz.c (do_test): Likewise.
40485         * timezone/tst-timezone.c (main): Likewise.
40487 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40488             H.J. Lu  <hongjiu.lu@intel.com>
40490         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40491         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40492         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40493         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40494         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40495         version if bit_Fast_Unaligned_Load is set.
40496         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40497         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40498         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40499         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40500         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40501         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40502         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40503         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40504         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40505         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40506         to 4.
40507         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40508         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40509         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40510         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40512 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40514         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40515         instead of #if to avoid a Wundef warning.
40516         * stdlib/tst-limits.c (do_test): Likewise.
40518         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40519         parallel other exception macros.
40520         (fegetenv): Convert from macro to extern inline so that it applies
40521         retroactively to inline functions already seen by the compiler.
40522         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40524         * posix/Makefile (before-compile): Use $(objpfx) for
40525         posix-conf-vars-def.h.
40527 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40529         * posix/getconf.c (main): Use size_t for type of I.
40530         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40531         NSPEC.
40533         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40534         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40535         * posix/posix-envs.def: Likewise.
40536         * sysdeps/posix/sysconf.c: Likewise.
40537         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40538         (specs): Remove array.
40539         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40540         array.
40542         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40543         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40544         (__sysconf): Use CONF_IS_* macros.
40546         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40547         ($(objpfx)posix-conf-vars-def.h): New target.
40548         * posix/posix-conf-vars.list: New file.
40549         * posix/posix-conf-vars.h: New file.
40550         * posix/confstr.c: Include posix-conf-vars.h.
40551         (confstr): Use CONF_IS_* macros.
40552         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40553         CONF_IS_* macros.
40554         * scripts/gen-posix-conf-vars.awk: New file.
40556 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40558         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40559         fegetround): Add no-op macros to avoid linknamespace issues.
40561         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40562         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40564         * sysdeps/unix/sysv/linux/tile/sysdep.h
40565         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40566         assembly-specific section to avoid a redefinition warning.
40568         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40569         long before casting to pointer to avoid a cast warning.
40571 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40573         * sysdeps/tile/tilegx/Implies: New file.
40575 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40577         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40579 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40581         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40583 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40585         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40586         not define.
40587         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40588         <kernel-features.h>.
40589         (__utimes) [__NR_utimes]: Make code unconditional.
40590         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40591         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40592         (__ASSUME_UTIMES): Do not undefine.
40593         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40594         (__ASSUME_UTIMES): Likewise.
40595         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40596         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40597         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40598         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40600 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40602         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40604 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40606         [BZ #17747]
40607         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40608         alias to weak alias for j0l, y0l.
40609         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40610         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40612         [BZ #17746]
40613         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40614         conversion.
40616 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40618         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40619         to zero if not already defined.
40621 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40623         [BZ #17724]
40624         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40625         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40626         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40627         (char *) casts added.
40628         * sysdeps/ieee754/k_standardf.c: New file.
40629         * sysdeps/ieee754/k_standardl.c: Likewise.
40630         * math/Makefile (libm-support): Remove k_standard.
40631         (libm-calls): Add k_standard.
40633 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40635         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40636         Optimize to avoid an unnecessary FPCR read.
40638 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40640         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40641         Optimize to reduce FPCR/FPSR accesses.
40643 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40645         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40646         Call libc_fetestexcept_aarch64.
40648 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40650         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40651         Call libc_fesetround_aarch64.
40653 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40655         [BZ #17733]
40656         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40657         (__bind): Do not define as weak alias.
40658         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40659         define.
40660         (__getsockname): Do not define as weak alias.
40662 2014-12-22  Will Newton  <will.newton@linaro.org>
40664         * manual/install.texi: Document that we require bison 2.7
40665         or above.
40666         * INSTALL: Regenerate.
40667         * configure.ac: Use AC_CHECK_PROG_VER instead of
40668         AC_PATH_PROG when checking for bison and check for
40669         version 2.7 or above.
40670         * configure: Regenerate.
40672 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40674         [BZ #17745]
40675         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40676         * sysdeps/tile/ffsll.c (ffsll): To here.
40678         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40680 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40682         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40683         if not defined.
40684         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40685         definition.
40686         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40687         hidden ___tls_get_addr.
40688         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40689         hidden __tls_get_addr.
40690         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40691         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40692         Likewise.
40694 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40696         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40697         _dl_init call.
40699 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40701         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40702         from "call _dl_init@PLT".
40703         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40705 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40707         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40708         guarantees.
40710 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40712         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40714 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40716         [BZ #17744]
40717         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40718         strnlen.
40720 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40722         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40723         of multu on MIPSr6.
40724         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40725         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40726         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40727         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40728         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40730 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40732         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40733         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40734         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40735         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40736         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40737         mips32r6/mips64r6.
40738         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40740 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40742         * string/strncat.c (STRNCAT): Simplify implementation.
40744 2014-12-19  David S. Miller  <davem@davemloft.net>
40746         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40747         access the quad as both a long double and as a series of 4 words.
40749         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40750         link_map->l_info array access.
40752 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40754         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40756         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40757         * math/atest-exp2.c (TIMEOUT): Likewise.
40758         * math/atest-sincos.c (TIMEOUT): Likewise.
40760 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40762         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40763         -Wno-error with -fno-builtin-lround.
40765 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40767         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40768         Contains futex constants and functions moved over from ...
40769         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40770         <lowlevellock-futex.h>.
40771         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40772         (lll_timedwait_tid): Add comments and parentheses around macro
40773         arguments.
40775 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40777         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40778         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40779         (__lll_private_flag): Remove.
40780         (lll_futex_wait): Likewise.
40781         (lll_futex_timed_wait): Likewise.
40782         (lll_futex_wake): Likewise.
40783         (lll_futex_requeue): Likewise.
40784         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40785         (__lll_timedwait_tid): Spell out argument names.
40786         (lll_timedwait_tid): Add comments and parentheses around macro
40787         arguments.
40788         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40789         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40791 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40793         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40794         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40795         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40796         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40797         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40798         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40799         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40800         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40801         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40802         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40804         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40807         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40808         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40809         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40810         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40811         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40813 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40815         * sysdeps/x86_64/x32/Makefile: New file.
40817 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40819         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40820         1L with (mp_limb_t) 1.
40822 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40824         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40825         * nptl/libc_pthread_init.c: ... here.
40826         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40827         * nptl/register-atfork.c: ... here.
40829         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40830         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40831         Use assert_perror to check its return value.
40832         (__gai_create_helper_thread): Likewise.
40834         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40836         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40838 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40840         [BZ #17725]
40841         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40842         __profil_counter.
40843         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40844         Likewise.
40845         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40846         Likewise.
40847         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40848         Likewise.
40849         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40850         (profil_counter): Likewise.
40851         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40852         (profil_counter): Likewise.
40853         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40854         Likewise.
40855         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40856         Likewise.
40857         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40858         (profil_counter): Likewise.
40859         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40860         Likewise.
40861         [!__profil_counter] (profil_counter): Define as weak alias of
40862         __profil_counter.
40863         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40864         (profil_counter): Rename to __profil_counter.
40865         [!__profil_counter] (profil_counter): Define as weak alias of
40866         __profil_counter.
40867         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40868         (profil_counter): Rename to __profil_counter.
40869         [!__profil_counter] (profil_counter): Define as weak alias of
40870         __profil_counter.
40871         * sysdeps/posix/profil.c: Update comment referring to
40872         profil_counter.
40873         (__profil): Use __profil_counter instead of profil_counter.
40874         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40875         __profil_counter.  Use __profil_counter_ushort and
40876         __profil_counter_uint in definitions.
40877         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40878         instead of profil_counter_uint and profil_counter_ushort.
40880         [BZ #17722]
40881         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40882         define as weak alias of __inet_makeaddr.
40883         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40884         as weak alias of __inet_addr.
40885         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40886         as weak alias of __inet_pton.  Use libc_hidden_weak.
40887         * include/arpa/inet.h (__inet_pton): Declare.  Use
40888         libc_hidden_proto.
40889         (inet_makeaddr): Don't use libc_hidden_proto.
40890         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40891         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40892         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40893         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40894         Remove variable.
40895         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40896         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40898 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40900         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40902 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40904         * stdio-common/bug-vfprintf-nargs.c (do_test):
40905         Cast value to intptr_t to avoid format warning
40906         for usage with PRIdPTR printing macro.
40908 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40910         * libio/tst-widetext.c (do_test):
40911         Use format type %td instead of %Zd for ptrdiff_t
40912         in order to avoid format warning.
40914 2014-12-17  Andreas Schwab  <schwab@suse.de>
40916         * nscd/mem.c (gc): Add size_t cast to match printf format.
40918 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40920         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40921         (init): Apply PTR_MANGLE to pointers before storing them.
40922         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40923         before using them.
40925 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40927         [BZ #17719]
40928         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40929         define as weak alias of __memrchr.
40930         (__memrchr): Do not define as strong alias of memrchr.
40931         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40932         Remove variable.
40933         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40934         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40935         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40937         [BZ #17717]
40938         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40939         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40940         (if_indextoname): Rename to __if_indextoname and define as weak
40941         alias of __if_indextoname.  Use libc_hidden_weak.
40942         (if_freenameindex): Rename to __if_freenameindex and define as
40943         weak alias of __if_freenameindex.
40944         (if_nameindex): Rename to __if_nameindex and define as weak alias
40945         of __if_nameindex.
40946         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40947         __if_nametoindex and define as weak alias of __if_nametoindex.
40948         Use libc_hidden_weak.
40949         (if_freenameindex): Rename to __if_freenameindex and define as
40950         weak alias of __if_freenameindex.
40951         (if_nameindex): Rename to __if_nameindex and define as weak alias
40952         of __if_nameindex.
40953         (if_indextoname): Rename to __if_indextoname and define as weak
40954         alias of __if_indextoname.  Use libc_hidden_weak.
40955         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40956         __if_nametoindex and define as weak alias of __if_nametoindex.
40957         Use libc_hidden_weak.
40958         (if_freenameindex): Rename to __if_freenameindex and define as
40959         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40960         (if_nameindex_netlink): Use __if_freenameindex instead of
40961         if_freenameindex.
40962         (if_nameindex): Rename to __if_nameindex and define as weak alias
40963         of __if_nameindex.  Use libc_hidden_weak.
40964         (if_indextoname): Rename to __if_indextoname and define as weak
40965         alias of __if_indextoname.  Use libc_hidden_weak.
40966         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40967         libc_hidden_proto.
40968         [!_ISOMAC] (__if_freenameindex): Likewise.
40969         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40970         if_nametoindex.
40971         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40972         variable.
40973         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40974         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40975         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40976         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40977         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40978         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40979         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40981         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40982         Remove variable.
40983         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40984         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40986 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40988         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40989         subscript above bounds'
40991         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40992         bounds.
40994 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40996         * libio/tst-fopenloc.c: Use test-skeleton.c.
40998         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40999         (entry): Rename to ITEM.
41000         (do_test, comp): Adjust.
41002         * stdio-common/tst-fseek.c: Use test-skeleton.c.
41004 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41006         * string/tester.c: Include <libc-internal.h>.
41007         (test_memset): Ignore -Wmemset-transposed-args.
41009 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41011         * misc/tst-mntent2.c (do_test): Fix warning.
41013 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41015         * elf/tst-unique4lib.cc(a): Mark as used.
41017 2014-12-16  Florian Weimer  <fweimer@redhat.com>
41019         [BZ #17630]
41020         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
41021         names.
41023 2014-12-16  Allan McRae  <allan@archlinux.org>
41025         * stdio-common/Makefile (tests): Re-add bug26.
41027 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
41029         [BZ #17657]
41030         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
41031         static array.
41033 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
41035         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
41036         (__lll_lock_wait): Likewise.
41037         (__lll_timedlock_wait): Likewise.
41038         (__lll_timedwait_tid): Likewise.
41039         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
41040         (__lll_robust_timedlock_wait): Likewise.
41041         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
41042         (lll_cond_trylock): Likewise.
41043         (__lll_lock): Likewise.
41044         (__lll_robust_lock): Likewise.
41045         (__lll_cond_lock): Likewise.
41046         (lll_robust_cond_lock): Likewise.
41047         (__lll_timedlock): Likewise.
41048         (__lll_robust_timedlock): Likewise.
41049         (__lll_unlock): Likewise.
41050         (__lll_robust_unlock): Likewise.
41051         (lll_wait_tid): Likewise.
41052         (lll_timedwait_tid): Likewise.
41054 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41056         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
41058 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41060         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
41062 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41064         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
41065         * stdio-common/tst-sprintf.c: Likewise.
41067 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41069         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
41071 2014-12-15  Jeff Law  <law@redhat.com>
41073         [BZ #16617]
41074         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
41075         on the heap.  (CVE-2012-3406)
41076         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
41077         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
41078         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
41080 2014-12-15  Will Newton  <will.newton@linaro.org>
41082         * manual/install.texi: Bump required version of texinfo
41083         to 4.7 from 4.5.
41084         * INSTALL: Regenerated.
41085         * configure.ac: Check for makeinfo version 4.7 and above.
41086         * configure: Regenerated.
41088 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41090         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
41091         PREFIX, string constant to insert between directory and name.
41092         * sysdeps/posix/shm_open.c: Update caller.
41093         * sysdeps/posix/shm_unlink.c: Likewise.
41094         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
41095         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
41096         (SEM_SHM_PREFIX): New macro.
41097         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41098         [$(have-thread-library) = no].
41099         * nptl/Makefile (libpthread-routines): Add shm-directory.
41100         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
41101         * sysdeps/nptl/shm-directory.h: New file.
41102         * sysdeps/posix/shm-directory.c
41103         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41104         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41105         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41106         INTERNAL_SYSCALL.
41107         (__where_is_shmfs): Function removed.
41108         (mountpoint, defaultmount, defaultdir, __namedsem_once):
41109         Variables removed.
41110         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41111         Use SHM_GET_NAME.
41112         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
41114         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41115         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41116         unconditional for use inside libpthread.
41117         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41119 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41121         * nptl/pthread_getaffinity.c: New file.
41122         * nptl/pthread_setaffinity.c: New file.
41123         * nptl/pthread_getname.c: New file.
41124         * nptl/pthread_setname.c: New file.
41126         * nptl/pthread_create.c (START_THREAD_DEFN)
41127         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41129 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41130             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41132         * resolv/res_send.c (send_vc): Disable warning resplen may
41133         be used uninitialized.
41135 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41137         * nptl/tst-mutex6.c
41138         (ATTR_NULL): New define checks ATTR against NULL.
41139         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41140         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41142 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
41144         [BZ #17581]
41145         * malloc/hooks.c
41146         (mem2mem_check): Revert my previous change.
41147         (malloc_check_get_size): Revert my previous change.
41148         (mem2chunk_check): Revert my previous change.
41150 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41152         * sysdeps/posix/shm-directory.c: New file.
41153         * sysdeps/posix/shm-directory.h: New file.
41154         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41155         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41156         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
41157         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41158         Transmute EPERM to EACCES.
41159         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41160         from ...
41161         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
41162         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41164 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41166         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41167         pointer and cast to uintptr_t.
41168         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41169         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41170         Add cast to avoid warning.
41171         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41173 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41175         * nptl/semaphore.h: Move to ...
41176         * sysdeps/pthread/semaphore.h: ... here.
41177         * Makefile (installed-headers): Change nptl/semaphore.h to
41178         sysdeps/pthread/semaphore.h.
41180 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41182         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41183         generated error format strings.
41185         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41186         -Wformat-extra-args warnings for scanf formats.
41187         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41188         test of zero-length format (duh).
41189         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41190         corner-case scanf format test.
41191         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41192         generated fprintf format string.
41193         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41194         corner-case sprintf format tests.
41195         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41196         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41197         -Wformat-extra-args warnings throughout.
41198         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41199         (CFLAGS-scanf4.c): Likewise.
41200         (CFLAGS-scanf7.c): Likewise.
41201         (CFLAGS-tst-sprintf.c): Likewise.
41202         (CFLAGS-tst-printf.c): Likewise.
41203         (CFLAGS-tst-printfsz.c): Likewise.
41205 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41207         * include/cpio.h: New file.
41208         * include/fmtmsg.h: Likewise.
41210         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
41211         corresponding format argument to size_t.
41212         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
41213         arguments.
41214         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
41215         corresponding format argument to size_t.
41216         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
41217         arguments.
41218         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
41219         corresponding format argument to size_t.
41220         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41221         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41222         (CFLAGS-tst-mbswcs2.c): Likewise.
41223         (CFLAGS-tst-mbswcs3.c): Likewise.
41224         (CFLAGS-tst-mbswcs4.c): Likewise.
41225         (CFLAGS-tst-mbswcs5.c): Likewise.
41226         (CFLAGS-tst-trans.c): Likewise.
41228 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41230         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41231         rather than assuming they won't contain any '%'s.
41233 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41235         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41236         inhibit_loop_to_libcall to avoid recursive calls.
41237         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41238         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41240 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41242         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41243         prototype.
41245 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41247         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41248         integer value instead of boolean.
41250 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41252         * malloc/malloc.c: Fix powerof2 check.
41254 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41256         * locale/programs/locfile.h (maybe_swap_uint32):
41257         Remove inline and add unused attribute.
41259 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41261         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41262         Truncating assembler expression to a .long expression.
41264 2014-12-11  Andreas Schwab  <schwab@suse.de>
41266         * elf/rtld.c (struct map_args): Constify str member.
41267         (do_preload): Constify fname argument.
41269 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41271         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41272         constants definition.
41274 2014-12-11  Andreas Schwab  <schwab@suse.de>
41276         [BZ #16657]
41277         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41278         FORCE_ELISION instead of DO_ELISION.
41279         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41280         Remove.
41281         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41282         Likewise.
41284         * iconvdata/gconv-modules: Remove duplicate entry.
41286 2014-12-11  Will Newton  <will.newton@linaro.org>
41288         Merge gettext 0.19.3 into intl/.
41290         This involves a number of cosmetic changes to comments
41291         and ANSI function definitions and prototypes throughout
41292         all the files. The gettext copyright header is used but
41293         with the date ranges taken from the glibc copy.
41295         * NEWS: Add gettext merge to 2.21.
41296         * intl/bindtextdom.c: Switch to gettext copyright.
41297         Use ANSI definitions and prototypes.
41298         Use gl_* locking primitives rather than __libc_* ones.
41299         Use __builtin_expect rather than __glibc_likely/unlikely.
41300         * intl/dcgettext.c: Switch to gettext copyright.
41301         Use ANSI definitions and prototypes.
41302         * intl/dcigettext.c: Switch to gettext copyright.
41303         Use ANSI definitions and prototypes.
41304         (INTDIV0_RAISES_SIGFPE): New define.
41305         Use gl_* locking primitives rather than __libc_* ones.
41306         Include eval-plural.h instead of plural-eval.c.
41307         Use __builtin_expect rather than __glibc_likely/unlikely.
41308         * intl/dcngettext.c: Switch to gettext copyright.
41309         Use ANSI definitions and prototypes.
41310         * intl/dgettext.c: Likewise.
41311         * intl/dngettext.c: Likewise.
41312         * intl/plural-eval.c: Renamed to...
41313         * intl/eval-plural.h: ...this.
41314         * intl/explodename.c: Switch to gettext copyright.
41315         Use ANSI definitions and prototypes.
41316         (_nl_explode_name): Use strchr instead of __rawmemchr.
41317         * intl/finddomain.c: Switch to gettext copyright.
41318         Use ANSI definitions and prototypes.
41319         Use gl_* locking primitives rather than __libc_* ones.
41320         (_nl_find_domain): Use malloc rather than alloca for
41321         allocation of temporary locale name.
41322         * intl/gettext.c: Switch to gettext copyright.
41323         Use ANSI definitions and prototypes.
41324         * intl/gettextP.h: Switch to gettext copyright.
41325         Use ANSI definitions and prototypes.
41326         Use gl_* locking primitives rather than __libc_* ones.
41327         * intl/gmo.h: Switch to gettext copyright.
41328         (struct sysdep_string): Move struct segment_pair outside of
41329         struct definition.
41330         * intl/hash-string.c: Use ANSI definitions and prototypes.
41331         * intl/hash-string.h: Switch to gettext copyright.
41332         Use ANSI definitions and prototypes.
41333         * intl/l10nflist.c: Switch to gettext copyright.
41334         Use ANSI definitions and prototypes.
41335         (_nl_normalize_codeset): Avoid integer overflow.
41336         * intl/loadinfo.h: Switch to gettext copyright.
41337         Use ANSI definitions and prototypes.
41338         (LIBINTL_DLL_EXPORTED): New define.
41339         (PATH_SEPARATOR): New define.
41340         * intl/loadmsgcat.c: Switch to gettext copyright.
41341         * intl/localealias.c: Switch to gettext copyright.
41342         Use ANSI definitions and prototypes.
41343         (_nl_expand_alias): Use PATH_SEPARATOR.
41344         * intl/ngettext.c: Switch to gettext copyright.
41345         Use ANSI definitions and prototypes.
41346         * intl/plural-exp.c: Likewise.
41347         * intl/plural-exp.h: Switch to gettext copyright.
41348         Use ANSI definitions and prototypes.
41349         (struct expression): Move definition of enum operator outside
41350         of struct definition.
41351         * intl/plural.c: Regenerate.
41352         * intl/plural.y: Switch to gettext copyright.
41353         Use ANSI definitions and prototypes.
41354         Port to bison 3.0.
41355         * intl/textdomain.c: Switch to gettext copyright.
41356         Use ANSI definitions and prototypes.
41357         Use gl_* locking primitives rather than __libc_* ones.
41359 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41361         * debug/warning-nop.c: Add used atrribute.
41363 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41365         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41367         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41368         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41369         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41371 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41372             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41374         [BZ #17634]
41375         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41376         Undefine after defining function.  Define as weak alias of
41377         __wcschr.  Use libc_hidden_weak.
41378         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41379         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41380         (libc_hidden_def): Also define __GI___wcschr alias.
41381         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41382         __wcschr and define as weak alias of __wcschr.
41383         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41384         __wcschr.
41385         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41386         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41387         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41388         libc_hidden_weak.  Do not use libc_hidden_def.
41389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41390         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41391         __GI___wcschr alias.
41392         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41393         [IS_IN (libc)] (wcschr): Define as macro expanding to
41394         __redirect_wcschr.
41395         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41396         [IS_IN (libc)] (__wcschr_power6): Likewise.
41397         [IS_IN (libc)] (__wcschr_power7): Likewise.
41398         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41399         instead of wcschr.
41400         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41401         __libc_wcschr.
41402         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41403         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41404         __wcschr and define as weak alias of __wcschr.  Use
41405         libc_hidden_builtin_def.
41406         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41407         as weak alias of __wcschr.  Use libc_hidden_weak.
41408         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41409         wcschr.
41410         * time/era.c (_nl_init_era_entries): Likewise.
41411         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41412         variable.
41413         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41414         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41416 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41418         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41419         format for long int variable.
41421 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41423         [BZ #10672]
41424         * manual/search.texi: (Array Sort Function): Remove claim how to make
41425         qsort stable.
41427 2014-12-10  Andreas Schwab  <schwab@suse.de>
41429         [BZ #12847]
41430         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41431         user-controlled locks.
41433 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41435         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41436         register.
41438 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41440         * configure.ac (--disable-werror): New configure option.
41441         (enable_werror): New AC_SUBST.
41442         * configure: Regenerated.
41443         * config.make.in (enable-werror): New variable.
41444         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41445         -Wno-error=undef.
41446         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41447         * manual/install.texi (Configuring and compiling): Document
41448         --disable-werror.
41449         * INSTALL: Regenerated.
41450         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41451         (CFLAGS-tst-chk2.c): Likewise.
41452         (CFLAGS-tst-chk3.c): Likewise.
41453         (CFLAGS-tst-chk4.cc): Likewise.
41454         (CFLAGS-tst-chk5.cc): Likewise.
41455         (CFLAGS-tst-chk6.cc): Likewise.
41456         (CFLAGS-tst-lfschk1.c): Likewise.
41457         (CFLAGS-tst-lfschk2.c): Likewise.
41458         (CFLAGS-tst-lfschk3.c): Likewise.
41459         (CFLAGS-tst-lfschk4.cc): Likewise.
41460         (CFLAGS-tst-lfschk5.cc): Likewise.
41461         (CFLAGS-tst-lfschk6.cc): Likewise.
41463         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41464         (main): Disable -Wdeprecated-declarations around calls to
41465         register_printf_function.
41467         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41468         (do_test): Disable -Wdiv-by-zero around some calls to
41469         fwrite_unlocked and fread_unlocked.
41471         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41472         (DIAG_POP_NEEDS_COMMENT): Likewise.
41473         (_DIAG_STR1): Likewise.
41474         (_DIAG_STR): Likewise.
41475         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41476         * stdio-common/bug21.c: Include <libc-internal.h>.
41477         (do_test): Disable -Wformat around call to sscanf.
41478         * stdio-common/scanf14.c: Include <libc-internal.h>.
41479         (main): Disable -Wformat around some calls to scanf functions.
41481 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41483         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41485 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41487         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41488         stack variable alignment.
41490 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41492         [BZ #17682]
41493         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41494         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41495         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41496         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41497         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41498         __getrlimit instead of getrlimit.
41499         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41500         __gettimeofday instead of gettimeofday.
41501         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41502         Likewise.
41503         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41504         Likewise.
41505         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41506         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41507         Remove variable.
41508         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41509         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41511 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41513         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41514         for wide-character tests.
41516 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41518         * io/openat64.c: #include <libc-internal.h>
41519         (__openat64): Prototypify.  Use ignore_value on MODE.
41520         * io/openat.c: Likewise.
41521         * misc/reboot.c: #include <libc-internal.h>
41522         (reboot): Prototypify.  Use ignore_value on HOWTO.
41523         * misc/ptrace.c: #include <libc-internal.h>
41524         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41526 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41528         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41529         XPG4, UNIX98 and XOPEN2K.
41530         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41531         Remove variable.
41532         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41534 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41536         * libio/fileops.c: Use ISO C style for function definitions.
41537         * libio/iofopen.c: Likewise.
41538         * libio/wfileops.c: Likewise.
41540         [BZ #17653]
41541         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41542         offset on EOF.
41543         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41544         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41545         (fgets_func): Function pointer to fgets and fgetws.
41546         (do_ftell_test): Add test to verify ftell value after read
41547         EOF.
41548         (do_test): Set fgets_func.
41550         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41551         O_TRUNC flag for w and w+ modes.
41552         (do_rewind_test): Likewise.
41553         (do_ftell_test): Likewise.
41554         (do_write_test): Likewise.
41556         [BZ #17647]
41557         * libio/fileops.c (do_ftell): Seek only when there are
41558         unflushed writes.
41559         * libio/wfileops.c (do_ftell_wide): Likewise.
41560         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41561         test case.
41562         (do_one_test): Call it.
41564 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41566         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41567         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41568         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41569         Remove variable.
41570         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41571         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41572         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41574 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41576         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41577         Remove variable.
41578         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41580         [BZ #17668]
41581         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41582         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41583         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41584         __freeifaddrs.  Use libc_hidden_weak.
41585         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41586         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41587         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41588         __freeifaddrs.  Use libc_hidden_weak.
41589         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41590         __getifaddrs and define as weak alias of __getifaddrs.  Use
41591         libc_hidden_weak.
41592         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41593         __freeifaddrs.  Use libc_hidden_weak.
41594         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41595         Remove variable.
41596         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41597         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41599 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41601         [BZ #17601]
41602         * sysdeps/mips/start.S (__start): Use indirect jump to call
41603         __libc_start_main.
41605 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41607         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41609         * nptl/tst-mutex1.c: Include <stdbool.h>.
41610         [!ATTR] (ATTR_NULL): New macro.
41611         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41612         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41613         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41615         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41616         to char *.
41618         [BZ #17665]
41619         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41620         Change conditional to [__USE_MISC].
41622         [BZ #17664]
41623         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41624         fgets_unlocked.
41625         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41626         __fgets_unlocked.
41627         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41628         fgets_unlocked.
41629         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41630         Remove variable.
41631         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41632         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41633         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41634         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41635         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41636         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41637         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41638         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41639         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41641         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41643 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41645         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41646         Remove strpbrk objects.
41647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41648         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41649         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41650         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41651         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41652         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41654         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41655         Remove strcspn objects.
41656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41657         (__libc_ifunc_impl_list): Remove strcspn implementation.
41658         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41659         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41660         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41661         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41663         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41664         Remove strspn objetcs.
41665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41666         (__libc_ifunc_impl_list): Remove strspn implementation.
41667         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41668         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41669         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41670         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41672 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41674         [BZ #17581]
41675         * malloc/hooks.c
41676         (mem2mem_check): Add a terminator to the chain of checking blocks.
41677         (malloc_check_get_size): Use it here.
41678         (mem2chunk_check): Ditto.
41680 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41682         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41683         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41685 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41687         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41689         * nptl/nptl-init.c: Include libc-internal.h.
41690         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41692         * elf/ldconfig.c (search_dir): Expand comment.
41694 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41696         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41697         variable.
41698         (linknamespace-symlist-stdlibs-tests): Likewise.
41699         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41700         instead of $(objpfx)symlist-stdlibs.
41701         (linknamespace-libs-isoc): New variable.
41702         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41703         (linknamespace-libs-ISO): New variable.
41704         (linknamespace-libs-ISO99): Likewise.
41705         (linknamespace-libs-ISO11): Likewise.
41706         (linknamespace-libs-XPG3): Likewise.
41707         (linknamespace-libs-XPG4): Likewise.
41708         (linknamespace-libs-POSIX): Likewise.
41709         (linknamespace-libs-UNIX98): Likewise.
41710         (linknamespace-libs-XOPEN2K): Likewise.
41711         (linknamespace-libs-POSIX2008): Likewise.
41712         (linknamespace-libs-XOPEN2K8): Likewise.
41713         ($(objpfx)symlist-stdlibs): Replace by
41714         $(linknamespace-symlist-stdlibs-tests).  Use
41715         $(linknamespace-libs-$*) as set of libraries.
41716         ($(linknamespace-header-tests)): Update dependencies.  Use
41717         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41718         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41719         * conform/linknamespace.pl: Remove comment about considering
41720         definitions of symbols from irrelevant libraries.
41722 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41724         [BZ #13862]
41725         * elf/dl-tls.c: Include <atomic.h>.
41726         (oom): Remove #ifdef SHARED/#endif.
41727         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41728         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41729         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41730         big enough.
41731         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41732         * nptl/Makefile (tests): Add tst-stack4.
41733         (modules-names): Add tst-stack4mod.
41734         ($(objpfx)tst-stack4): New.
41735         (tst-stack4mod.sos): Likewise.
41736         ($(objpfx)tst-stack4.out): Likewise.
41737         ($(tst-stack4mod.sos)): Likewise.
41738         (clean): Likewise.
41739         * nptl/tst-stack4.c: New file.
41740         * nptl/tst-stack4mod.c: Likewise.
41742 2014-11-27  J. Brown  <jb999@gmx.de>
41744         * sysdeps/x86/bits/string.h: Add recent CPUs.
41746 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41748         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41749         sigblock.
41751         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41752         feof.
41754         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41755         variable.
41757 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41759         * nscd/connections.c: Include libc-internal.h because of macro
41760         usage ignore_value.
41762 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41764         * string/bits/string3.h (__warn_memset_zero_len): Don't
41765         declare for gcc newer than 5.0.
41766         (memset): Don't test for zero-length __LEN for gcc newer than
41767         5.0.
41769 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41771         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41772         size_t for %zu format.
41774         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41775         difference, not %ju.
41777 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41779         * include/libc-internal.h (ignore_value): New macro.
41780         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41781         with ignore_value.
41783         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41784         definition.
41786         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41787         pthread_cleanup_push to void *.
41789         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41790         Undefine.
41792         [BZ #16619]
41793         [BZ #16740]
41794         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41795         instead of 1L << 52.
41797         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41798         * libio/bug-rewind2.c (do_test): Likewise.
41800         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41801         * debug/test-strcpy_chk-ifunc.c: Likewise.
41802         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41803         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41804         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41805         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41806         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41807         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41808         * Rules [$(multi-arch) = no] (tests): Do not filter out
41809         $(tests-ifunc).
41810         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41811         * debug/Makefile (tests-ifunc): Remove variable.
41812         (tests): Do not add $(tests-ifunc).
41813         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41814         (tests): Do not add $(tests-ifunc).
41815         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41816         [TEST_IFUNC]: Remove conditionals.
41817         * string/test-string.h (TEST_IFUNC): Remove macro.
41818         [TEST_IFUNC]: Remove conditionals.
41820         * string/test-strchr.c [!WIDE] (L): New macro.
41821         [WIDE] (L): Likewise.
41822         (check1): Use CHAR instead of char.  Use L on string and character
41823         constants.
41825 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41827         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41828         tests.
41829         * sysdeps/powerpc/bits/atomic.h
41830         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41831         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41832         (atomic_exchange_and_add_acq): Likewise.
41833         (atomic_exchange_and_add_rel): Likewise.
41834         * sysdeps/powerpc/powerpc32/bits/atomic.h
41835         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41836         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41837         * sysdeps/powerpc/powerpc64/bits/atomic.h
41838         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41839         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41841 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41843         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41844         Change synchronization of __sched_fifo_min_prio and
41845         __sched_fifo_max_prio.
41846         * nptl/pthread_mutexattr_getprioceiling.c
41847         (pthread_mutexattr_getprioceiling): Likewise.
41848         * nptl/pthread_mutexattr_setprioceiling.c
41849         (pthread_mutexattr_setprioceiling): Likewise.
41850         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41851         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41852         Likewise.
41854 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41856         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41857         void.
41859 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41861         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41862         third argument const.
41864 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41866         fnmatch: work around GCC compiler warning bug with uninit var
41867         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41868         This works around a bug with x86-64 GCC 4.9.2 and earlier
41869         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41870         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41871         used uninitialized in this function [-Wmaybe-uninitialized]".
41873 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41875         * posix/bug-regex31.c (main): Return RES not 0.
41877 2014-11-25  Anton Blanchard <anton@samba.org>
41879         * sysdeps/powerpc/bits/atomic.h
41880         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41882 2014-11-24  Sterling Augustine  <saugustine@google.com>
41884         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41886 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41888         [BZ #17608]
41889         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41891 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41893         [BZ #17633]
41894         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41895         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41896         variable.
41897         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41898         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41900 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41902         * string/strncpy.c (strncpy): Improve performance by using memset.
41904 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41906         * string/strcpy.c (strcpy):
41907         Improve performance by using strlen and memcpy.
41909 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41911         * string/strcoll_l.c (get_next_seq): __always_inline.
41912         * string/strcoll_l.c (do_compare): __always_inline.
41914 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41916         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41917         defined.
41918         * include/mqueue.h: Likewise.
41919         * include/stdlib.h: Likewise.
41921         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41922         (get_null_defines): Adjust.
41923         * sunrpc/Makefile: Adjust comment.
41924         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41925         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41926         (CFLAGS-interp.c): Likewise.
41927         (CFLAGS-ldconfig.c): Likewise.
41928         (CPPFLAGS-.os): Likewise.
41929         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41930         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41931         * extra-modules.mk (extra-modules.mk): Likewise.
41932         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41933         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41934         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41935         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41936         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41937         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41938         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41939         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41940         * iconvdata/Makefile (CPPFLAGS): Likewise.
41941         (cpp-srcs-left): Add libof for all iconvdata routines.
41942         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41943         * include/assert.h: Likewise.
41944         * include/ctype.h: Likewise.
41945         * include/errno.h: Likewise.
41946         * include/libc-symbols.h: Likewise.
41947         * include/math.h: Likewise.
41948         * include/netdb.h: Likewise.
41949         * include/resolv.h: Likewise.
41950         * include/stdio.h: Likewise.
41951         * include/stdlib.h: Likewise.
41952         * include/string.h: Likewise.
41953         * include/sys/stat.h: Likewise.
41954         * include/wctype.h: Likewise.
41955         * intl/l10nflist.c: Likewise.
41956         * libidn/idn-stub.c: Likewise.
41957         * libio/libioP.h: Likewise.
41958         * nptl/libc_multiple_threads.c: Likewise.
41959         * nptl/pthreadP.h: Likewise.
41960         * posix/regex_internal.h: Likewise.
41961         * resolv/res_hconf.c: Likewise.
41962         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41963         * sysdeps/arm/memmove.S: Likewise.
41964         * sysdeps/arm/sysdep.h: Likewise.
41965         * sysdeps/generic/_itoa.h: Likewise.
41966         * sysdeps/generic/symbol-hacks.h: Likewise.
41967         * sysdeps/gnu/errlist.awk: Likewise.
41968         * sysdeps/gnu/errlist.c: Likewise.
41969         * sysdeps/i386/i586/memcpy.S: Likewise.
41970         * sysdeps/i386/i586/memset.S: Likewise.
41971         * sysdeps/i386/i686/memcpy.S: Likewise.
41972         * sysdeps/i386/i686/memmove.S: Likewise.
41973         * sysdeps/i386/i686/mempcpy.S: Likewise.
41974         * sysdeps/i386/i686/memset.S: Likewise.
41975         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41976         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41977         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41978         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41979         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41980         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41981         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41982         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41983         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41984         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41985         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41986         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41987         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41988         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41989         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41990         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41991         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41992         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41993         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41994         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41995         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41996         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41997         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41998         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41999         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42000         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42001         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
42002         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42003         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
42004         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42005         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42007         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42008         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42009         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42010         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42011         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42012         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42013         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42014         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42015         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42016         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42017         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42018         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42019         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42020         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42021         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
42022         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
42023         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42024         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42025         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42026         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
42027         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
42028         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42029         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42030         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
42031         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42032         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
42033         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
42034         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42035         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42036         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42037         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
42038         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42039         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42040         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
42041         * sysdeps/posix/closedir.c: Likewise.
42042         * sysdeps/posix/opendir.c: Likewise.
42043         * sysdeps/posix/readdir.c: Likewise.
42044         * sysdeps/posix/rewinddir.c: Likewise.
42045         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
42046         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
42047         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42048         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42049         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42050         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
42051         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
42052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
42053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
42054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
42055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
42056         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
42057         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
42058         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
42059         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
42060         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
42061         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
42062         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
42063         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
42064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
42065         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
42066         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
42067         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
42068         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
42069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
42070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
42071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
42072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
42073         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
42074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
42075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
42076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
42077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
42078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
42079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
42080         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
42081         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42082         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42083         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
42084         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
42085         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
42086         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
42087         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
42088         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
42089         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
42090         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
42091         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
42092         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
42093         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
42094         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
42095         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
42096         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
42097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
42098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
42099         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
42100         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
42101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42102         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42103         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42104         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42105         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42106         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42107         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42108         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42109         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42110         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42111         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42112         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42113         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42114         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42115         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42116         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42117         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42118         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42119         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42120         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42121         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42122         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42123         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42124         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42125         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42126         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42127         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42129         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42131         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42132         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42133         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42134         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42135         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42136         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42137         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42141         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42143         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42144         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42145         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42146         * sysdeps/unix/alpha/sysdep.S: Likewise.
42147         * sysdeps/unix/alpha/sysdep.h: Likewise.
42148         * sysdeps/unix/make-syscalls.sh: Likewise.
42149         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42151         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42152         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42153         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42154         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42155         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42156         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42157         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42158         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42159         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42160         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42161         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42162         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42163         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42164         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42165         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42166         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42167         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42168         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42169         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42170         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42171         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42172         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42173         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42174         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42175         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42178         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42179         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42183         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42187         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42188         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42189         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42190         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42191         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42192         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42193         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42194         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42196         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42199         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42200         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42201         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42202         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42203         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42205         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42207         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42208         * sysdeps/x86_64/memcpy.S: Likewise.
42209         * sysdeps/x86_64/memmove.c: Likewise.
42210         * sysdeps/x86_64/memset.S: Likewise.
42211         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42212         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42213         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42214         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42215         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42216         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42217         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42218         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42219         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42220         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42221         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42222         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42223         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42224         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42225         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42226         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42227         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42228         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42229         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42230         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42231         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42232         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42233         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42234         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42235         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42236         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42237         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42238         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42239         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42240         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42241         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42242         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42243         * sysdeps/x86_64/strcmp.S: Likewise.
42245         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42247         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42248         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42249         * elf/rtld-Rules: Likewise.
42250         * elf/setup-vdso.h: Likewise.
42251         * include/assert.h: Likewise.
42252         * include/bits/stdlib-float.h: Likewise.
42253         * include/errno.h: Likewise.
42254         * include/sys/stat.h: Likewise.
42255         * include/unistd.h: Likewise.
42256         * sysdeps/aarch64/setjmp.S: Likewise.
42257         * sysdeps/alpha/setjmp.S: Likewise.
42258         * sysdeps/arm/__longjmp.S: Likewise.
42259         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42260         * sysdeps/arm/setjmp.S: Likewise.
42261         * sysdeps/arm/sysdep.h: Likewise.
42262         * sysdeps/generic/_itoa.h: Likewise.
42263         * sysdeps/generic/dl-sysdep.h: Likewise.
42264         * sysdeps/generic/ldsodefs.h: Likewise.
42265         * sysdeps/i386/dl-tls.h: Likewise.
42266         * sysdeps/i386/setjmp.S: Likewise.
42267         * sysdeps/m68k/setjmp.c: Likewise.
42268         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42269         * sysdeps/mach/hurd/opendir.c: Likewise.
42270         * sysdeps/posix/getcwd.c: Likewise.
42271         * sysdeps/posix/opendir.c: Likewise.
42272         * sysdeps/posix/profil.c: Likewise.
42273         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42274         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42275         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42276         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42277         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42278         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42279         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42280         * sysdeps/s390/dl-tls.h: Likewise.
42281         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42282         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42283         * sysdeps/sh/sh3/setjmp.S: Likewise.
42284         * sysdeps/sh/sh4/setjmp.S: Likewise.
42285         * sysdeps/unix/alpha/sysdep.h: Likewise.
42286         * sysdeps/unix/arm/sysdep.S: Likewise.
42287         * sysdeps/unix/i386/sysdep.S: Likewise.
42288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42289         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42290         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42293         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42294         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42295         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42296         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42297         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42298         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42299         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42300         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42303         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42306         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42308         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42310         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42311         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42312         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42316         * sysdeps/x86_64/setjmp.S: Likewise.
42318         * include/math.h: Use IS_IN instead of IS_IN_libm.
42319         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42329         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42331         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42333         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42334         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42335         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42336         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42338         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42339         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42340         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42341         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42342         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42343         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42344         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42345         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42346         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42347         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42348         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42349         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42350         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42351         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42353         Likewise.
42354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42355         Likewise.
42356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42357         Likewise.
42358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42359         Likewise.
42360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42361         Likewise.
42362         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42363         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42364         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42365         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42366         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42367         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42373         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42374         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42375         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42376         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42377         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42378         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42380         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42381         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42382         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42383         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42386         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42388         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42390         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42391         * nptl/pthreadP.h: Likewise.
42392         * nptl_db/structs.def: Likewise.
42393         * sysdeps/arm/sysdep.h: Likewise.
42394         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42395         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42396         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42397         * sysdeps/unix/alpha/sysdep.h: Likewise.
42398         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42400         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42401         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42402         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42403         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42404         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42405         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42406         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42407         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42408         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42409         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42410         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42411         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42416         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42417         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42419         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42420         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42421         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42422         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42423         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42425         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42426         * nptl/pthreadP.h: Likewise.
42427         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42428         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42429         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42430         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42431         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42432         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42433         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42434         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42435         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42436         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42437         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42438         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42440         Likewise.
42441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42442         Likewise.
42443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42445         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42448         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42449         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42450         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42452         * dlfcn/dladdr.c: Use IS_IN.
42453         * dlfcn/dladdr1.c: Likewise.
42454         * dlfcn/dlclose.c: Likewise.
42455         * dlfcn/dlerror.c: Likewise.
42456         * dlfcn/dlinfo.c: Likewise.
42457         * dlfcn/dlmopen.c: Likewise.
42458         * dlfcn/dlopen.c: Likewise.
42459         * dlfcn/dlsym.c: Likewise.
42460         * dlfcn/dlvsym.c: Likewise.
42462         * include/ifaddrs.h: Use IS_IN.
42463         * inet/check_pf.c: Likewise.
42464         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42465         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42467         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42468         IS_IN_ldconfig.
42469         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42470         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42472         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42473         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42474         IS_IN (libc).
42476         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42478         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42479         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42480         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42481         * include/libc-symbols.h (IS_IN_LIB): New macro.
42482         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42483         * include/netdb.h: Likewise.
42484         * include/stap-probe.h: Remove all uses of IN_LIB.
42486         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42487         instead of IN_MODULE.
42488         * include/libc-symbols.h (IN_MODULE): Define using
42489         MODULE_NAME.
42490         (PASTE_NAME, PASTE_NAME1): New macros.
42491         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42492         of IN_LIB.
42493         (STAP_PROBE_ASM): Likewise.
42495 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42497         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42498         __mach_init in dlopened libc.
42500 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42502         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42503         * sysdeps/arm/preconfigure: Regenerate.
42505 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42507         * nptl/pthread_create.c (__pthread_create_2_1): Set
42508         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42509         when copying values from IATTR into PD.
42511 2014-11-21  Will Newton  <will.newton@linaro.org>
42512             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42514         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42515         Refactor inline-asm.  Also add comment.
42517         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42518         ElfW macro instead of hardcoded Elf64 types.
42519         (la_aarch64_gnu_pltenter): Likewise.
42520         * sysdeps/aarch64/dl-machine.h
42521         (elf_machine_runtime_setup): Use ElfW(Addr).
42523         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42524         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42525         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42526         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42527         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42528         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42529         (R_AARCH64_TLS_DTPMOD): This.
42530         (R_AARCH64_TLS_DTPREL64): Rename to ...
42531         (R_AARCH64_TLS_DTPREL): This.
42532         (R_AARCH64_TLS_TPREL64): Rename to ...
42533         (R_AARCH64_TLS_TPREL): This.
42534         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42535         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42536         R_AARCH64_TLS_TPREL64.
42537         (elf_machine_rela): Likewise.
42539 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42541         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42542         by setting it to 0.  64b atomics are not supported currently.
42544 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42546         [BZ #16469]
42547         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42548         search domain names.
42550 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42552         [BZ #16469]
42553         * NEWS: Update.
42554         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42555         trailing dot.
42556         * posix/tst-getaddrinfo5.c: New.
42557         * posix/Makefile (tests): Add it.
42559 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42561         [BZ #14498]
42562         * NEWS: Fixed.
42563         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42564         after parsing line but before break_if_match.
42565         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42566         if there is a protocol mismatch.
42568 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42570         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42571         because the potential race is on the user-supplied stream.
42573 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42575         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42576         string literal if not passed a buffer.
42577         * manual/job.texi (ctermid): Update reasoning, note deviation
42578         from posix, suggest mtasurace when not passed a buffer, for
42579         future non-preliminary safety notes.
42581 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42583         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42584         of not passing it a buffer.
42585         Reported by Peng Haitao.
42587 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42589         * manual/Makefile ($(objpfx)stamp-summary): Require
42590         check-safety.sh to pass.
42591         * manual/check-safety.sh: Wish for verification that every
42592         @deftypefn and @deftypefun is followed by a @safety remark.
42594 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42596         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42598         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42599         PTHREAD_CANCEL_ASYNCHRONOUS.
42600         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42601         send SIGCANCEL.
42603         * nptl/default-sched.h: New file.
42604         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42605         * nptl/pthread_create.c: Include it.
42606         (__pthread_create_2_1): Use collect_default_sched instead of making
42607         Linux syscalls here directly.
42609 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42611         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42612         __pthread_once): Use C11 atomics.
42614 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42616         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42618 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42620         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42621         atomic_thread_fence_acquire, atomic_thread_fence_release,
42622         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42623         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42624         atomic_compare_exchange_weak_relaxed,
42625         atomic_compare_exchange_weak_acquire,
42626         atomic_compare_exchange_weak_release,
42627         atomic_exchange_acquire, atomic_exchange_release,
42628         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42629         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42630         atomic_fetch_and_acquire,
42631         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42633 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42635         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42636         USE_ATOMIC_COMPILER_BUILTINS): Define.
42637         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42639         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42641         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42643         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42645         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42647         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42649         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42651         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42653         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42655         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42657         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42658         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42659         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42660         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42661         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42662         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42663         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42664         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42665         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42666         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42667         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42668         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42669         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42670         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42671         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42672         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42673         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42674         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42675         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42676         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42678 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42680         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42681         the sched_priority value here.  It was already checked when the user
42682         called pthread_attr_setschedparam.
42684         * nptl/tst-bad-schedattr.c: New file.
42685         * nptl/Makefile (tests): Add it.
42687 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42688             Florian Weimer  <fweimer@redhat.com>
42689             Joseph Myers  <joseph@codesourcery.com>
42690             Adam Conrad  <adconrad@0c3.net>
42691             Andreas Schwab  <schwab@suse.de>
42692             Brooks  <bmoses@google.com>
42694         [BZ #17625]
42695         * wordexp-test.c (__dso_handle): Add prototype.
42696         (__register_atfork): Likewise.
42697         (__app_register_atfork): New function.
42698         (registered_forks): New global.
42699         (register_fork): New function.
42700         (test_case): Add 3 new tests for WRDE_CMDSUB.
42701         (main): Call __app_register_atfork.
42702         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42703         fork count is non-zero fail the test.
42704         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42705         is set.
42706         (parse_dollars): Remove check for WRDE_NOCMD.
42707         (parse_dquote): Likewise.
42709 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42711         * Makeconfig (built-modules): List non-library modules to be
42712         built.
42713         (module-cppflags): Include libc-modules.h for
42714         everything except shlib-versions.v.i.
42715         (CPPFLAGS): Use it.
42716         (before-compile): Add libc-modules.h.
42717         ($(common-objpfx)libc-modules.h,
42718         $(common-objpfx)libc-modules.stmp): New targets.
42719         (common-generated): Add libc-modules.h and libc-modules.stmp.
42720         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42721         * include/libc-symbols.h: Don't include libc-modules.h.
42722         * include/libc-modules.h: Remove file.
42723         * scripts/gen-libc-modules.awk: New script to generate
42724         libc-modules.h.
42725         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42726         Depend on libc-modules.stmp.
42728         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42730         * Makeconfig (in-module): Get value of libof set for the
42731         translation unit.
42732         (CPPFLAGS): Use $(in-module).
42733         * Makerules: Don't suffix routine names for nonlib.
42734         * include/libc-modules.h: New file.
42735         * include/libc-symbols.h: Include libc-modules.h
42736         (IS_IN): New macro to replace IS_IN_* macros.
42737         * elf/Makefile: Set libof-* for each routine.
42738         * elf/rtld-Rules: Likewise.
42739         * extra-modules.mk: Likewise.
42740         * iconv/Makefile: Likewise.
42741         * iconvdata/Makefile: Likewise.
42742         * locale/Makefile: Likewise.
42743         * malloc/Makefile: Likewise.
42744         * nss/Makefile: Likewise.
42745         * sysdeps/gnu/Makefile: Likewise.
42746         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42747         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42748         * sysdeps/s390/s390-64/Makefile: Likewise.
42749         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42750         CPPFLAGS for nscd instead of nonlib.
42752 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42754         * nptl/createthread.c: New file.
42756         * nptl/createthread.c: Moved ...
42757         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42759         * nptl/createthread.c: Add proper top-line comment.
42760         (do_clone): Folded into ...
42761         (create_thread): ... here.  Take new arguments STOPPED_START and
42762         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42763         increment __nptl_threads, do event-reporting logic, do
42764         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42765         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42766         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42767         just send SIGCANCEL.
42768         * nptl/pthread_create.c: Forward-declare create_thread before
42769         including createthread.c.
42770         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42771         declaration, and new macro START_THREAD_SELF to replace argument.
42772         Remove return statement.
42773         (report_thread_creation): New function.
42774         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42775         synchronization logic, and __nptl_nthreads increment here, around
42776         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42777         PD->parent_cancelhandling here, before create_thread.  When
42778         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42779         __deallocate_stack, and ENOMEM translation here.
42781 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42783         [BZ #17616]
42784         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42785         (mptwo): Rename to __mptwo.
42786         (__inv): Use __mptwo instead of mptwo.
42787         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42788         (mptwo): Rename to __mptwo.
42789         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42790         of mpone and __mptwo instead of mptwo.
42791         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42792         instead of mpone.
42793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42794         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42795         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42796         of mpone and __mptwo instead of mptwo.
42797         (__mpranred): Use __mpone instead of mpone.
42798         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42799         variable.
42800         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42801         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42802         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42803         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42804         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42805         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42806         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42807         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42808         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42809         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42810         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42811         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42812         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42813         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42814         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42815         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42816         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42817         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42818         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42820 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42822         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42823         replace BSD Handler xref with BSD Signal Handling.
42825 2014-11-17  Richard Henderson  <rth@redhat.com>
42827         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42828         (_FP_PACK_RAW_2): Remove.
42829         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42830         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42831         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42832         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42833         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42834         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42835         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42836         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42837         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42838         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42839         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42840         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42841         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42842         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42843         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42844         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42846 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42848         * signal/signal.h [__USE_MISC]
42849         (struct sigvec): Remove type.
42850         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42851         (sigvec): Remove declaration.
42852         * sysdeps/posix/sigvec.c: Moved ...
42853         * signal/sigvec.c: ... here, replacing old file.
42854         (struct sigvec): New type, copied from old signal.h definition.
42855         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42856         (__sigvec): Convert definition to prototype.
42857         (sigvec): Replace weak_alias with compat_symbol.
42858         * signal/Versions (libc: GLIBC_2.21): New version set.
42859         * include/signal.h: Remove __sigvec declaration.
42860         * sysdeps/unix/bsd/sigvec.c: Remove file.
42861         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42862         * manual/signal.texi (BSD Handler): Remove subsection.
42863         Move siginterrupt up to ...
42864         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42865         (Blocking in BSD): Fold subsection into its parent.
42866         * NEWS: Mention sigvec removal.
42868 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42870         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42871         (DLA_FMS): Make definition conditional only on [__FMA4__].
42872         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42873         definition.
42875         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42876         Make definition conditional only on [PROF].
42877         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42878         definition.
42879         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42880         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42882         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42883         !__GNUC__].
42884         * include/signal.h (__sigpause): Move declaration above call to
42885         libc_hidden_proto.
42886         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42887         variable.
42888         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42889         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42891 2014-11-14  David S. Miller  <davem@davemloft.net>
42893         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42894         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42896 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42898         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42899         * configure: Regenerated.
42900         * manual/install.texi (Tools for Compilation): Document a
42901         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42902         compiler verified to work.
42903         * INSTALL: Regenerated.
42905         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42906         redeclare with asm name.
42907         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42908         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42909         including <string.h>.
42910         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42911         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42912         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42913         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42914         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42915         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42916         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42918 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42920         * stdlib/strtol.c (__strtol): Use prototype definition.
42922         [BZ #17594]
42923         * stdlib/strtol.c (SYM__): New macro.
42924         (SYM__1): Likewise.
42925         (__strtol): Likewise.
42926         (strtol): Rename to __strtol and define as weak alias of
42927         __strtol.  Use libc_hidden_weak.
42929 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42931         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42932         Use numbered labels in inline assembly.
42934 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42936         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42937         Add setjmp LIBC_PROBE.
42938         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42939         Likewise.
42940         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42941         Add longjmp, longjmp_target LIBC_PROBE.
42942         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42943         Likewise.
42945 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42947         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42948         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42949         to get rid of unused variable warning.
42951 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42953         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42954         Check for unwind_backtrace ==  NULL only in SHARED case.
42955         (__backchain_backtrace): Compile only in SHARED case.
42956         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42957         Likewise.
42958         (__backchain_backtrace): Declare as static.
42960 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42962         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42963         (__libc_multiple_threads_ptr): Variable moved ...
42964         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42966 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42968         * conform/GlibcConform.pm: New file.
42969         * conform/conformtest.pl: Use GlibcConform module.
42970         * conform/linknamespace.pl: New file.
42971         * conform/list-header-symbols.pl: Likewise.
42972         * conform/Makefile (linknamespace-symlists-base): New variable.
42973         (linknamespace-symlists-tests): Likewise.
42974         (linknamespace-header-base): Likewise.
42975         (linknamespace-header-tests): Likewise.
42976         (tests-special): Add new tests.
42977         ($(linknamespace-symlists-tests)): New rule.
42978         (linknamespace-libs): New variable.
42979         ($(objpfx)symlist-stdlibs): New rule.
42980         ($(linknamespace-header-tests)): Likewise.
42981         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42982         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42983         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42984         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42985         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42986         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42987         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42988         (test-xfail-ISO/math.h/linknamespace): Likewise.
42989         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42990         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42991         (test-xfail-ISO/time.h/linknamespace): Likewise.
42992         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42993         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42994         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42995         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42996         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42997         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42998         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42999         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
43000         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43001         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43002         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43003         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43004         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
43005         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
43006         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
43007         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43008         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
43009         (test-xfail-XPG3/search.h/linknamespace): Likewise.
43010         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
43011         (test-xfail-XPG3/time.h/linknamespace): Likewise.
43012         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
43013         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
43014         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
43015         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
43016         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
43017         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
43018         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
43019         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
43020         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43021         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
43022         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
43023         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
43024         (test-xfail-XPG4/search.h/linknamespace): Likewise.
43025         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
43026         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
43027         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
43028         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
43029         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
43030         (test-xfail-XPG4/time.h/linknamespace): Likewise.
43031         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
43032         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
43033         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
43034         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
43035         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
43036         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43037         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
43038         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
43039         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
43040         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
43041         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
43042         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43043         (test-xfail-POSIX/time.h/linknamespace): Likewise.
43044         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
43045         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
43046         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
43047         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
43048         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
43049         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
43050         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
43051         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
43052         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
43053         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43054         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
43055         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
43056         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
43057         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
43058         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
43059         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
43060         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
43061         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
43062         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
43063         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
43064         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43065         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43066         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
43067         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
43068         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
43069         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
43070         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
43071         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
43072         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43073         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
43074         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
43075         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
43076         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
43077         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
43078         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
43079         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43080         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
43081         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
43082         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
43083         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
43084         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43085         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
43086         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
43087         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
43088         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
43089         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
43090         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
43091         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43092         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43093         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
43094         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
43095         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43096         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43097         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
43098         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
43099         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
43100         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
43101         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43102         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43103         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43104         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43105         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43106         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43107         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43108         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43109         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43110         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43111         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43112         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43113         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43114         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43115         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43116         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43117         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43118         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43119         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43120         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43121         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43122         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43123         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43124         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43125         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43126         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43127         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43128         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43129         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43130         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43131         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43132         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43133         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43134         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43135         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43136         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43137         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43138         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43139         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43140         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43141         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43143         [BZ #17589]
43144         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43145         of fgets_unlocked.
43147         [BZ #17585]
43148         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43149         (memmem): Rename to __memmem and define as weak alias of
43150         __memmem.  Use libc_hidden_weak.
43151         (__memmem): Use libc_hidden_def.
43152         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
43153         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43154         memmem.
43156         [BZ #17582]
43157         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43158         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
43159         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43160         and define as weak alias of __fgets_unlocked.  Use
43161         libc_hidden_weak.
43162         (__fgets_unlocked): Use libc_hidden_def.
43163         * include/stdio.h (__fgets_unlocked): Declare.  Use
43164         libc_hidden_proto.
43165         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43166         __fgets_unlocked instead of fgets_unlocked.
43167         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43168         (GET_NPROCS_CONF_PARSER): Likewise.
43169         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43170         (GET_NPROCS_CONF_PARSER): Likewise.
43172         [BZ #17574]
43173         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43174         weak alias of __wmemset.  Use libc_hidden_weak.
43175         (__wmemset): Use libc_hidden_def.
43176         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
43177         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43178         of wmemset.
43180         [BZ #17573]
43181         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43182         with asm name __mempcpy.
43183         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43185         [BZ #17572]
43186         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43187         and define as weak alias of __rawmemchr.
43188         (__rawmemchr): Do not define as strong alias of rawmemchr.
43190         [BZ #17571]
43191         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43192         alias of __qsort_r.
43193         (qsort): Call __qsort_r instead of qsort_r.
43194         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43195         (__qsort_r): Declare.  Call libc_hidden_proto.
43196         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43197         instead of qsort_r.
43198         * nscd/gai.c (__qsort_r): Define to qsort_r.
43199         * posix/tst-rfc3484.c (__qsort_r): Likewise.
43200         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43201         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43203         [BZ #17570]
43204         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43205         define as weak alias of __malloc_info.
43207         [BZ #17584]
43208         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43209         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43210         (__rewinddir): Use libc_hidden_def.
43211         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43212         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43213         (__rewinddir): Use libc_hidden_def.
43214         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43215         weak alias of __rewinddir.  Don't use libc_hidden_def.
43216         (__rewinddir): Use libc_hidden_def.
43217         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43218         (__rewinddir): Use libc_hidden_proto.
43219         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43220         rewinddir.
43221         (__getcwd): Use __rewinddir instead of rewinddir.
43223         [BZ #17583]
43224         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43225         alias of __fileno.  Use libc_hidden_weak.
43226         (__fileno): Use libc_hidden_def.
43227         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43228         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43229         alias of __ftello.
43230         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43231         __ftello.
43232         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43233         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43234         libc_hidden_def.
43235         (fread_unlocked): Don't use libc_hidden_ver.
43236         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43237         and define as weak alias of __fread_unlocked.  Don't use
43238         libc_hidden_def.
43239         (__fread_unlocked): Use libc_hidden_def.
43240         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43241         (ftello): Don't use libc_hidden_proto.
43242         (__ftello): Declare.  Use libc_hidden_proto.
43243         (fread_unlocked): Don't use libc_hidden_proto.
43244         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43245         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43246         and __ftello instead of fileno, fread_unlocked and ftello.
43248 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43250         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43251         GOT12.
43252         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43253         Likewise.
43254         (_dl_start_user): Likewise.
43255         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43257 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43258             Siddhesh Poyarekar  <siddhesh@redhat.com>
43260         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43261         Move argv and envp down instead of moving argc up.
43262         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43264 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43266         [BZ #17506]
43267         * test-skeleton.c (main): Return successful if one of
43268         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43269         * string/tst-strcoll-overflow.c: Define expected status.
43271 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43273         [BZ #17475]
43274         * locale/iso-639.def: Define Bhili and Tulu language codes.
43276 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43278         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43280 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43282         [BZ #17555]
43283         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43285 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43287         * configure.ac: Updated check of minimal required version to
43288         2.22.
43289         * manual/install.texi (Tools for Compilation): Updated version
43290         number.
43291         * configure: Regenerated.
43292         * INSTALL: Likewise.
43294 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43296         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43297         __tls_get_addr.
43299 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43301         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43302         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43303         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43304         libc_hidden_weak.
43305         (waitpid): Define as alias of __waitpid.
43306         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43307         __waitpid.
43308         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43309         libc_hidden_weak.
43310         (waitpid): Define as alias of __waitpid.
43311         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43312         __libc_waitpid alias.
43313         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43314         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43315         Likewise.
43316         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43317         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43318         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43319         alias.
43320         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43321         __waitpid.
43322         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43323         libc_hidden_weak.
43324         (waitpid): Define as alias of __waitpid.
43326 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43328         * manual/llio.texi: Add comment that write safety has been
43329         fixed in Linux.
43331         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43332         (localplt-build-dso): Add elf/ld.so.
43333         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43334         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43335         and free for ld.so.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43337         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43339         Likewise.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43341         Likewise.
43342         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43343         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43344         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43345         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43346         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43347         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43348         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43349         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43350         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43351         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43352         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43354 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43356         [BZ #14132]
43357         * include/libc-symbols.h (INTUSE): Remove macro.
43358         (INTDEF): Likewise.
43359         (INTVARDEF): Likewise.
43360         (_INTVARDEF): Likewise.
43361         (INTDEF2): Likewise.
43362         (INTVARDEF2): Likewise.
43363         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43364         rtld_hidden_def instead of INTVARDEF.
43365         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43366         (_dl_starting_up_internal): Remove declaration.
43367         (_dl_starting_up): Use rtld_hidden_proto.
43368         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43369         declaration.
43370         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43371         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43372         _dl_starting_up.
43373         * elf/dl-writev.h (_dl_writev): Likewise.
43374         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43375         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43376         _dl_starting_up_internal.
43378 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43380         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43381         test-skeleton.c.
43383 2014-11-05  Will Newton  <will.newton@linaro.org>
43385         * benchtests/Makefile: (bench-malloc): Add malloc thread
43386         scalability benchmark.
43387         * benchtests/bench-malloc-threads.c: New file.
43389 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43391         * sysdeps/aarch64/strchrnul.S: New file.
43393 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43395         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43396         definition.
43397         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43398         Likewise.
43399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43400         Likewise.
43401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43402         Likewise.
43403         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43404         Likewise.
43405         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43406         Likewise.
43408 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43410         * catgets/test-gencat.c: Use test-skeleton.c.
43411         * catgets/tst-catgets.c: Likewise.
43412         * csu/tst-empty.c: Likewise.
43413         * elf/tst-audit2.c: Likewise.
43414         * elf/tst-global1.c: Likewise.
43415         * elf/tst-pathopt.c: Likewise.
43416         * elf/tst-piemod1.c: Likewise.
43417         * elf/tst-tls10.c: Likewise.
43418         * elf/tst-tls11.c: Likewise.
43419         * elf/tst-tls12.c: Likewise.
43420         * gnulib/tst-gcc.c: Likewise.
43421         * iconvdata/tst-e2big.c: Likewise.
43422         * iconvdata/tst-loading.c: Likewise.
43423         * iconv/tst-iconv1.c: Likewise.
43424         * iconv/tst-iconv2.c: Likewise.
43425         * inet/test-inet6_opt.c: Likewise.
43426         * inet/tst-gethnm.c: Likewise.
43427         * inet/tst-network.c: Likewise.
43428         * inet/tst-ntoa.c: Likewise.
43429         * intl/tst-codeset.c: Likewise.
43430         * intl/tst-gettext2.c: Likewise.
43431         * intl/tst-gettext3.c: Likewise.
43432         * intl/tst-ngettext.c: Likewise.
43433         * intl/tst-translit.c: Likewise.
43434         * io/test-stat.c: Likewise.
43435         * libio/test-fmemopen.c: Likewise.
43436         * libio/tst-freopen.c: Likewise.
43437         * libio/tst-sscanf.c: Likewise.
43438         * libio/tst-ungetwc1.c: Likewise.
43439         * libio/tst-ungetwc2.c: Likewise.
43440         * libio/tst-widetext.c: Likewise.
43441         * localedata/tst-ctype.c: Likewise.
43442         * localedata/tst-digits.c: Likewise.
43443         * localedata/tst-leaks.c: Likewise.
43444         * localedata/tst-mbswcs1.c: Likewise.
43445         * localedata/tst-mbswcs2.c: Likewise.
43446         * localedata/tst-mbswcs3.c: Likewise.
43447         * localedata/tst-mbswcs4.c: Likewise.
43448         * localedata/tst-mbswcs5.c: Likewise.
43449         * localedata/tst-setlocale.c: Likewise.
43450         * localedata/tst-trans.c: Likewise.
43451         * localedata/tst-wctype.c: Likewise.
43452         * localedata/tst-xlocale1.c: Likewise.
43453         * login/tst-grantpt.c: Likewise.
43454         * malloc/tst-calloc.c: Likewise.
43455         * malloc/tst-malloc.c: Likewise.
43456         * malloc/tst-mallocstate.c: Likewise.
43457         * malloc/tst-mcheck.c: Likewise.
43458         * malloc/tst-mtrace.c: Likewise.
43459         * malloc/tst-obstack.c: Likewise.
43460         * math/atest-exp2.c: Likewise.
43461         * math/atest-exp.c: Likewise.
43462         * math/atest-sincos.c: Likewise.
43463         * math/test-matherr.c: Likewise.
43464         * math/test-misc.c: Likewise.
43465         * math/test-powl.c: Likewise.
43466         * math/tst-definitions.c: Likewise.
43467         * misc/tst-dirname.c: Likewise.
43468         * misc/tst-efgcvt.c: Likewise.
43469         * misc/tst-fdset.c: Likewise.
43470         * misc/tst-hsearch.c: Likewise.
43471         * misc/tst-mntent2.c: Likewise.
43472         * nptl/tst-sem7.c: Likewise.
43473         * nptl/tst-sem8.c: Likewise.
43474         * nptl/tst-sem9.c: Likewise.
43475         * nss/test-netdb.c: Likewise.
43476         * posix/tst-fnmatch.c: Likewise.
43477         * posix/tst-getlogin.c: Likewise.
43478         * posix/tst-gnuglob.c: Likewise.
43479         * posix/tst-mmap.c: Likewise.
43480         * pwd/tst-getpw.c: Likewise.
43481         * resolv/tst-inet_ntop.c: Likewise.
43482         * rt/tst-timer.c: Likewise.
43483         * stdio-common/test-fseek.c: Likewise.
43484         * stdio-common/test-popen.c: Likewise.
43485         * stdio-common/test-vfprintf.c: Likewise.
43486         * stdio-common/tst-cookie.c: Likewise.
43487         * stdio-common/tst-fileno.c: Likewise.
43488         * stdio-common/tst-gets.c: Likewise.
43489         * stdio-common/tst-obprintf.c: Likewise.
43490         * stdio-common/tst-perror.c: Likewise.
43491         * stdio-common/tst-sprintf2.c: Likewise.
43492         * stdio-common/tst-sprintf3.c: Likewise.
43493         * stdio-common/tst-sprintf.c: Likewise.
43494         * stdio-common/tst-swprintf.c: Likewise.
43495         * stdio-common/tst-tmpnam.c: Likewise.
43496         * stdio-common/tst-unbputc.c: Likewise.
43497         * stdio-common/tst-wc-printf.c: Likewise.
43498         * stdlib/tst-environ.c: Likewise.
43499         * stdlib/tst-fmtmsg.c: Likewise.
43500         * stdlib/tst-limits.c: Likewise.
43501         * stdlib/tst-rand48-2.c: Likewise.
43502         * stdlib/tst-rand48.c: Likewise.
43503         * stdlib/tst-random2.c: Likewise.
43504         * stdlib/tst-random.c: Likewise.
43505         * stdlib/tst-strtol.c: Likewise.
43506         * stdlib/tst-strtoll.c: Likewise.
43507         * stdlib/tst-tls-atexit.c: Likewise.
43508         * stdlib/tst-xpg-basename.c: Likewise.
43509         * string/test-ffs.c: Likewise.
43510         * string/tst-bswap.c: Likewise.
43511         * string/tst-inlcall.c: Likewise.
43512         * string/tst-strtok.c: Likewise.
43513         * string/tst-strxfrm.c: Likewise.
43514         * sysdeps/x86_64/tst-audit10.c: Likewise.
43515         * sysdeps/x86_64/tst-audit3.c: Likewise.
43516         * sysdeps/x86_64/tst-audit4.c: Likewise.
43517         * sysdeps/x86_64/tst-audit5.c: Likewise.
43518         * time/tst-ftime_l.c: Likewise.
43519         * time/tst-getdate.c: Likewise.
43520         * time/tst-mktime3.c: Likewise.
43521         * time/tst-mktime.c: Likewise.
43522         * time/tst-posixtz.c: Likewise.
43523         * time/tst-strptime2.c: Likewise.
43524         * time/tst-strptime3.c: Likewise.
43525         * wcsmbs/tst-btowc.c: Likewise.
43526         * wcsmbs/tst-mbrtowc.c: Likewise.
43527         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43528         * wcsmbs/tst-wchar-h.c: Likewise.
43529         * wcsmbs/tst-wcpncpy.c: Likewise.
43530         * wcsmbs/tst-wcrtomb.c: Likewise.
43531         * wcsmbs/tst-wcsnlen.c: Likewise.
43532         * wcsmbs/tst-wcstof.c: Likewise.
43534 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43536         [BZ #14132]
43537         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43538         INTDEF.
43539         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43540         declaration.
43541         (_dl_mcount): Use rtld_hidden_proto.
43542         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43543         _dl_mcount.
43544         * elf/rtld.c (_rtld_global_ro): Likewise.
43546         [BZ #14132]
43547         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43548         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43549         of _dl_init_internal.
43550         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43551         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43552         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43553         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43554         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43555         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43556         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43557         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43558         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43559         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43560         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43561         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43562         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43563         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43564         * sysdeps/tile/dl-start.S (_start): Likewise.
43565         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43566         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43568         [BZ #14132]
43569         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43570         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43571         (rtld_progname): Make macro definition unconditional.
43572         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43573         INTDEF.
43574         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43575         (dl_main): Likewise.
43576         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43577         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43578         instead of _dl_argv_internal.
43579         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43580         __GI__dl_argv instead of INTUSE(_dl_argv).
43581         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43582         __GI__dl_argv instead of _dl_argv_internal.
43584         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43585         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43586         macro.
43587         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43588         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43589         New macro.
43590         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43591         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43592         macro.
43593         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43594         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43596 2014-11-04  Andreas Schwab  <schwab@suse.de>
43598         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43600 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43602         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43603         mtvsrd instruction in binary form.
43605 2014-11-03  Andreas Schwab  <schwab@suse.de>
43607         [BZ #17522]
43608         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43609         for less than MB_LEN_MAX use a local buffer of that size.
43610         * libio/tst-fputws.c: New file.
43611         * libio/Makefile (tests): Add tst-fputws.
43613 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43615         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43616         the size of the fpu_fr.fpu_dregs[] array.
43618 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43620         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43621         (__nanosleep): Do not define as alias.
43622         (nanosleep): Define as alias of __nanosleep.
43623         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43624         __libc_nanosleep name.
43626 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43628         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43629         install.texi in comment.
43631 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43633         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43634         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43635         ... add here and use lwsync or sync ...
43636         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43637         ... and add here using lwsync.
43639 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43641         * elf/dl-machine-reject-phdr.h: New file.
43642         * elf/dl-load.c: #include that.
43643         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43644         if that returned true.
43646 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43648         [BZ #17496]
43649         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43650         gen-as-const-headers chunk.  Add a big scare comment after the last
43651         safe place to touch before-compile.
43653 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43655         * manual/install.texi (Tools for Compilation): Update autoconf
43656         version requirements.
43657         * INSTALL: Regenerated.
43659         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43660         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43661         (__libc_pselect): Likewise.
43663         [BZ #14138]
43664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43669 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43671         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43672         correct barrier instruction.
43673         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43674         Likewise.
43675         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43676         Likewise.
43678 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43680         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43681         after defining inlines.  Instead, just use parens to defeat macro
43682         expansion of __isctype in its declaration.
43684 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43686         * include/sys/uio.h (__libc_readv): Remove declaration.
43687         (__libc_writev): Likewise.
43688         * misc/readv.c (__libc_readv): Rename to __readv.
43689         (__readv): Do not define as alias.
43690         (readv): Define as alias of __readv.
43691         * misc/writev.c (__libc_writev): Rename to __writev.
43692         (__writev): Do not define as alias.
43693         (writev): Define as alias of __writev.
43694         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43695         (__readv): Do not define as alias.
43696         (readv): Define unconditionally as alias of __readv.
43697         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43698         (__writev): Do not define as alias.
43699         (writev): Define unconditionally as alias of __writev.
43700         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43701         name.
43702         (writev): Do not define __libc_writev name.
43704 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43706         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43707         (convert_charseq): New function, broken out of ...
43708         (use_from_charmap): ... here.  Call it.
43709         (use_to_charmap): Use convert_charseq and free instead of duplicating
43710         its code with a variable-length stack struct.
43712 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43714         * include/fcntl.h (__libc_creat): Remove declaration.
43715         * io/creat.c (__libc_creat): Rename to creat.
43716         (creat): Do not define as alias.
43717         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43718         of creat instead of __libc_creat.
43719         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43720         to creat.
43721         (creat): Do not define as alias.
43722         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43723         __libc_creat.
43724         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43725         __libc_creat name.
43726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43727         Likewise.
43729 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43731         * manual/llio.texi: Add comments discussing why write() may be
43732         considered MT-unsafe on Linux.
43734 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43736         * dl-load.c (local_strdup): Remove.
43737         (expand_dynamic_string_token): Use __strdup.
43738         (decompose_rpath): Likewise.
43739         (_dl_map_object): Likewise.
43741 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43743         [BZ #14132]
43744         * sysdeps/generic/unwind-dw2-fde.c
43745         (__register_frame_info_bases_internal): Do not declare.
43746         (__register_frame_info_table_bases_internal): Likewise.
43747         (__deregister_frame_info_bases_internal): Likewise.
43748         (__register_frame_info_bases): Declare and use hidden_proto before
43749         definition.  Use hidden_def instead of INTDEF.
43750         (__register_frame_info_table_bases): Likewise.
43751         (__deregister_frame_info_bases): Likewise.
43752         (__register_frame_info): Do not use INTUSE.
43753         (__register_frame): Likewise.
43754         (__register_frame_info_table): Likewise.
43755         (__register_frame_table): Likewise.
43756         (__deregister_frame_info): Likewise.
43757         (__deregister_frame): Likewise.
43759 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43761         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43762         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43763         not undefine.
43764         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43765         Likewise.
43766         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43767         Likewise.
43769 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43771         [BZ #14138]
43772         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43773         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43774         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43775         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43776         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43777         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43778         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43779         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43780         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43781         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43782         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43783         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43784         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43785         syscall.
43786         (setfsuid): Likewise.
43787         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43788         (setfsuid): Likewise.
43789         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43790         (setfsuid): Likewise.
43791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43792         Likewise.
43793         (setfsuid): Likewise.
43794         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43795         (setfsuid): Likewise.
43796         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43797         Likewise.
43798         (setfsuid): Likewise.
43800 2014-10-27  Andreas Schwab  <schwab@suse.de>
43802         [BZ #17501]
43803         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43804         check for Slow_SSE4_2 feature bit.
43805         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43806         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43807         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43808         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43810 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43812         * configure.ac: Validate compiler version with a empirical test of
43813         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43814         $CC -v output.
43815         * configure: Regenerated.
43817         * inet/htons.c (htons): Prototypify.
43818         * inet/htonl.c (htonl): Likewise.
43820 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43822         * string/strncat.c (strncat): Improve performance by using strlen.
43824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43826         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43828 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43830         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43831         Call libc_fetestexcept_aarch64.
43833 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43835         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43836         Call libc_feholdexcept_aarch64.
43838 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43840         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43841         Call get_rounding_mode.
43843 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43845         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43846         Simplify logic.
43848 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43850         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43851         Simplify logic.
43853 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43855         [BZ #14138]
43856         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43857         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43858         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43859         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43860         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43861         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43862         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43863         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43864         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43865         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43866         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43867         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43868         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43869         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43870         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43871         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43872         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43873         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43874         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43875         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43876         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43877         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43878         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43879         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43880         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43881         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43882         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43883         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43884         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43885         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43886         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43887         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43888         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43889         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43890         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43891         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43892         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43893         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43894         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43895         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43896         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43897         syscall.
43898         (geteuid): Likewise.
43899         (getgid): Likewise.
43900         (getuid): Likewise.
43901         (getresgid): Likewise.
43902         (getresuid): Likewise.
43903         (getgroups): Likewise.
43904         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43905         (geteuid): Likewise.
43906         (getgid): Likewise.
43907         (getuid): Likewise.
43908         (getresgid): Likewise.
43909         (getresuid): Likewise.
43910         (getgroups): Likewise.
43911         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43912         (geteuid): Likewise.
43913         (getgid): Likewise.
43914         (getuid): Likewise.
43915         (getresgid): Likewise.
43916         (getresuid): Likewise.
43917         (getgroups): Likewise.
43918         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43919         Likewise.
43920         (geteuid): Likewise.
43921         (getgid): Likewise.
43922         (getuid): Likewise.
43923         (getresgid): Likewise.
43924         (getresuid): Likewise.
43925         (getgroups): Likewise.
43926         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43927         (geteuid): Likewise.
43928         (getgid): Likewise.
43929         (getuid): Likewise.
43930         (getresgid): Likewise.
43931         (getresuid): Likewise.
43932         (getgroups): Likewise.
43933         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43934         Likewise.
43935         (geteuid): Likewise.
43936         (getgid): Likewise.
43937         (getuid): Likewise.
43938         (getgroups): Likewise.
43940         [BZ #14138]
43941         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43942         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43943         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43944         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43945         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43947         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43948         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43949         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43950         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43951         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43952         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43953         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43954         __chown.
43955         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43956         (lchown): Likewise.
43957         (fchown): Likewise.
43958         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43959         Likewise.
43960         (lchown): Likewise.
43961         (fchown): Likewise.
43962         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43963         (lchown): Likewise.
43964         (fchown): Likewise.
43965         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43966         Likewise.
43967         (lchown): Likewise.
43968         (fchown): Likewise.
43970 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43972         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43973         Simplify logic.
43975 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43977         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43978         Cleanup logic.
43980 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43982         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43983         Remove unused include.
43985 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43987         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43988         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43989         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43990         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43992 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43993             Helge Deller <deller@gmx.de>
43995         [BZ #17508]
43996         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43997         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43998         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
44000 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
44002         [BZ #14132]
44003         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
44004         Remove macro definition.
44005         (__ashrdi3_v_glibc20): Likewise.
44006         (__lshrdi3_v_glibc20): Likewise.
44007         (__cmpdi2_v_glibc20): Likewise.
44008         (__ucmpdi2_v_glibc20): Likewise.
44009         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
44010         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44011         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44012         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44013         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44014         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
44016 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44018         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
44019         old GNU extension [0] syntax.
44020         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
44021         alloca rather than an array member with variable length.
44022         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
44023         * nscd/nscd.c (invalidate_db): New function, broken out of ...
44024         (parse_opt): ... here.  Likewise use alloca there.
44025         Validate the -i argument before checking for rootness.
44026         (send_shutdown): New function, broken out of ...
44027         (parse_opt): ... here.
44029 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44031         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
44032         macro to get at the _rt_local_ro field.
44033         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
44034         ([PIC] case) or _dl_hwcap ([!PIC] case).
44035         * sysdeps/arm/setjmp.S: Likewise.
44037         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
44038         * sysdeps/arm/configure.ac: New check to define it.
44039         * sysdeps/arm/configure: Regenerated.
44040         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
44041         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
44042         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
44043         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
44044         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
44045         Use move/movt pair instead of a load.
44046         (LDST_GLOBAL): Macro removed.
44047         (LDR_GLOBAL): New macro replaces it.
44048         (LDR_HIDDEN): New macro.
44049         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
44050         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
44052         * setjmp/tst-setjmp-static.c: New file.
44053         * setjmp/Makefile (tests): Add it.
44054         (tests-static): New variable.
44056 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
44058         [BZ #17485]
44059         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
44061 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
44063         [BZ #14132]
44064         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
44066 2014-10-21  Roland McGrath  <roland@hack.frob.com>
44068         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
44070 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44072         * io/fts.c (dirent_not_directory): New function.
44073         (fts_build): Call it.
44075 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44077         * nptl/version.c (__nptl_main): Use normal __write rather than
44078         INTERNAL_SYSCALL.
44079         (banner): Update copyright years.
44081         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
44082         gettimeofday.
44083         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44084         * nptl/pthread_cond_timedwait.c: Likewise.
44085         * nptl/pthread_mutex_timedlock.c: Likewise.
44086         * nptl/sem_timedwait.c: Likewise.
44088         * sysdeps/nptl/bits/libc-lock.h
44089         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44090         (__libc_lock_init_recursive): Return void, not 0.
44091         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
44092         (__libc_rwlock_init): Likewise.
44093         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
44095 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44097         [BZ #15215]
44098         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
44099         (__pthread_once_slow): ... here.
44100         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
44101         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44103 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44105         [BZ #15215]
44106         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44107         __PTHREAD_ONCE_FORK_GEN_INCR): New.
44108         * sysdeps/nptl/fork.c (__libc_fork): Use them.
44109         * nptl/pthread_once.c (__pthread_once): Likewise.
44110         Update comments.
44112 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
44114         [BZ #14138]
44115         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44116         name.
44117         (writev): Use __libc_writev as strong name.
44118         * sysdeps/unix/sysv/linux/readv.c: Remove file.
44119         * sysdeps/unix/sysv/linux/writev.c: Likewise.
44121 2014-10-17  Roland McGrath  <roland@hack.frob.com>
44123         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44125         * sysdeps/i386/nptl/tls.h
44126         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44127         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44128         New macros.
44129         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44130         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44131         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44132         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44133         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44134         Call CHECK_THREAD_SYSINFO instead of doing an assert.
44136         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44137         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44138         on [__NR_futex].
44139         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44140         broken out of ...
44141         (__pthread_mutex_init): ... here.  Call it.
44142         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44143         Conditionalize PI cases on [__NR_futex].
44144         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44145         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44146         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44148         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44149         conditional on [SIGSETXID].
44150         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44151         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44152         is defined.  Likewise for SIGSETXID.
44153         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44154         Conditionalize definitions on [SIGSETXID].
44155         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44156         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44157         unblocking on [SIGCANCEL].
44159         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44160         [__NR_set_robust_list].
44162 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44164         * string/strcoll_l.c (get_next_seq): Fix up formatting.
44165         (do_compare): Likewise.
44167 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
44169         [BZ #15884]
44170         * string/strcoll_l.c: Don't include stdio.h.
44171         (coll_seq): Remove members idxarr and rulearr.
44172         (get_next_seq_cached): Remove function.
44173         (get_next_seq): Likewise.
44174         (get_next_seq_nocache): Rename to get_next_seq.
44175         (do_compare): Remove function.
44176         (do_compare_nocache): Rename to do_compare.
44177         (STRCOLL): Remove weight and rules cache.
44179 2014-10-16  Roland McGrath  <roland@hack.frob.com>
44181         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44182         * sysdeps/arm/sfp-machine.h: ... to here.
44183         * sysdeps/arm/Implies: Remove arm/soft-fp.
44185 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
44187         * conform/data/sys/utsname.h-data (*_t): Allow.
44188         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44189         [POSIX] (WEXITED): Do not expect constant.
44190         [POSIX] (WSTOPPED): Likewise.
44191         [POSIX] (WNOHANG): Likewise.
44192         [POSIX] (WNOWAIT): Likewise.
44193         [POSIX] (siginfo_t): Do not expect type or elements.
44194         [POSIX] (pid_t): Do not expect type.
44195         [POSIX] (signal.h): Do not allow header.
44196         [POSIX] (sys/resource.h): Likewise.
44197         [POSIX] (si_*): Do not allow pattern.
44198         [POSIX] (W*): Likewise.
44199         [POSIX] (P_*): Likewise.
44200         [POSIX] (BUS_*): Likewise.
44201         [POSIX] (CLD_*): Likewise.
44202         [POSIX] (FPE_*): Likewise.
44203         [POSIX] (ILL_*): Likewise.
44204         [POSIX] (POLL_*): Likewise.
44205         [POSIX] (SEGV_*): Likewise.
44206         [POSIX] (SI_*): Likewise.
44207         [POSIX] (TRAP_*): Likewise.
44208         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44209         variable.
44211 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
44213         [BZ #12926]
44214         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44215         infinite loop when __recvmsg returns 0.
44217 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
44219         * CANCEL-FCT-WAIVE: Remove file.
44220         * CANCEL-FILE-WAIVE: Likewise.
44222         [BZ #14132]
44223         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44224         instead of INTVARDEF.
44225         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44226         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44227         rtld_hidden_data_def instead of INTVARDEF.
44228         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44229         * elf/dl-deps.c (expand_dst): Likewise.
44230         * elf/dl-load.c (_dl_dst_count): Likewise.
44231         (_dl_dst_substitute): Likewise.
44232         (decompose_rpath): Likewise.
44233         (_dl_init_paths): Likewise.
44234         (open_path): Likewise.
44235         (_dl_map_object): Likewise.
44236         * elf/rtld.c (dl_main): Likewise.
44237         (process_dl_audit): Likewise.
44238         (process_envvars): Likewise.
44239         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44240         Remove declaration.
44241         (__libc_enable_secure): Use rtld_hidden_proto.
44243 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44245         * elf/dl-load.c
44246         (add_path): New function broken out of _dl_rtld_di_serinfo.
44247         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44249 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44251         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44252         parentheses around macro arguments.
44253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44256         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44264         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44265         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44266         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44267         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44268         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44269         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44274         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44276         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44277         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44278         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44279         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44280         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44281         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44282         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44283         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44284         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44285         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44286         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44287         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44288         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44289         Likewise.
44290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44297         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44301         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44302         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44307         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44311         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44312         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44313         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44314         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44315         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44316         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44317         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44318         (_FP_FRAC_SRS_1): Likewise.
44319         (_FP_FRAC_CLZ_1): Likewise.
44320         (_FP_MUL_MEAT_1_imm): Likewise.
44321         (_FP_MUL_MEAT_1_wide): Likewise.
44322         (_FP_MUL_MEAT_1_hard): Likewise.
44323         (_FP_SQRT_MEAT_1): Likewise.
44324         (_FP_FRAC_ASSEMBLE_1): Likewise.
44325         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44326         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44327         (__FP_CLZ_2): Likewise.
44328         (_FP_MUL_MEAT_2_wide): Likewise.
44329         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44330         (_FP_MUL_MEAT_2_gmp): Likewise.
44331         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44332         (_FP_SQRT_MEAT_2): Likewise.
44333         (_FP_FRAC_ASSEMBLE_2): Likewise.
44334         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44335         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44336         (_FP_FRAC_CLZ_4): Likewise.
44337         (_FP_MUL_MEAT_4_wide): Likewise.
44338         (_FP_MUL_MEAT_4_gmp): Likewise.
44339         (_FP_SQRT_MEAT_4): Likewise.
44340         (_FP_FRAC_ASSEMBLE_4): Likewise.
44341         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44342         * soft-fp/op-common.h (_FP_CMP): Likewise.
44343         (_FP_CMP_EQ): Likewise.
44344         (_FP_CMP_UNORD): Likewise.
44345         (_FP_TO_INT): Likewise.
44346         (_FP_FROM_INT): Likewise.
44347         [!__FP_CLZ] (__FP_CLZ): Likewise.
44348         (_FP_DIV_HELP_imm): Likewise.
44349         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44350         Likewise.
44351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44362         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44366         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44367         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44380         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44384         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44385         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44386         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44387         (FP_UNPACK_RAW_SP): Likewise.
44388         (FP_PACK_RAW_S): Likewise.
44389         (FP_PACK_RAW_SP): Likewise.
44390         (FP_UNPACK_S): Likewise.
44391         (FP_UNPACK_SP): Likewise.
44392         (FP_UNPACK_SEMIRAW_S): Likewise.
44393         (FP_UNPACK_SEMIRAW_SP): Likewise.
44394         (FP_PACK_S): Likewise.
44395         (FP_PACK_SP): Likewise.
44396         (FP_PACK_SEMIRAW_S): Likewise.
44397         (FP_PACK_SEMIRAW_SP): Likewise.
44398         (_FP_SQRT_MEAT_S): Likewise.
44399         (FP_CMP_S): Likewise.
44400         (FP_CMP_EQ_S): Likewise.
44401         (FP_CMP_UNORD_S): Likewise.
44402         (FP_TO_INT_S): Likewise.
44403         (FP_FROM_INT_S): Likewise.
44405         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44407         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44408         (FP_EX_INVALID_IMZ): Likewise.
44409         (FP_EX_INVALID_IMZ_FMA): Likewise.
44410         (FP_EX_INVALID_ISI): Likewise.
44411         (FP_EX_INVALID_ZDZ): Likewise.
44412         (FP_EX_INVALID_IDI): Likewise.
44413         (FP_EX_INVALID_SQRT): Likewise.
44414         (FP_EX_INVALID_CVI): Likewise.
44415         (FP_EX_INVALID_VC): Likewise.
44416         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44417         "invalid" exceptions.
44418         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44419         (_FP_ADD_INTERNAL): Likewise.
44420         (_FP_MUL): Likewise.
44421         (_FP_FMA): Likewise.
44422         (_FP_DIV): Likewise.
44423         (_FP_CMP_CHECK_NAN): Likewise.
44424         (_FP_SQRT): Likewise.
44425         (_FP_TO_INT): Likewise.
44426         (FP_EXTEND): Likewise.
44428 2014-10-09  Allan McRae  <allan@archlinux.org>
44430         * po/fr.po: Update French translation from translation project.
44432 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44434         [BZ #14132]
44435         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44436         of INTDEF.
44437         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44438         (__cxa_atexit): Use libc_hidden_proto.
44439         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44441         [BZ #14132]
44442         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44443         declaration.
44444         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44445         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44446         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44447         [!_ISOMAC] (__iswctype_internal): Likewise.
44448         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44449         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44450         alias.
44451         (fcntl): Remove __fcntl_internal alias.
44452         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44453         __connect_internal alias.
44454         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44455         Likewise.
44457         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44458         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44459         FP_DENORM_ZERO.
44460         (_FP_CHECK_FLUSH_ZERO): New macro.
44461         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44462         (_FP_CMP): Likewise.
44463         (_FP_CMP_EQ): Likewise.
44464         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44465         FP_DENORM_ZERO.
44466         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44467         (FP_TRUNC): Likewise.
44469         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44470         treated as invalid conversion, not as normal exponent.
44472         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44473         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44474         (_FP_CMP_EQ): Likewise.
44475         (_FP_CMP_UNORD): Likewise.
44476         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44477         (FP_CMP_EQ_D): Likewise.
44478         (FP_CMP_UNORD_D): Likewise.
44479         * soft-fp/extended.h (FP_CMP_E): Likewise.
44480         (FP_CMP_EQ_E): Likewise.
44481         (FP_CMP_UNORD_E): Likewise.
44482         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44483         (FP_CMP_EQ_Q): Likewise.
44484         (FP_CMP_UNORD_Q): Likewise.
44485         * soft-fp/single.h (FP_CMP_S): Likewise.
44486         (FP_CMP_EQ_S): Likewise.
44487         (FP_CMP_UNORD_S): Likewise.
44488         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44489         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44490         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44491         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44492         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44493         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44494         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44495         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44496         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44497         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44498         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44499         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44500         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44501         to FP_CMP_Q.
44502         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44503         FP_CMP_Q.
44504         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44505         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44506         FP_CMP_EQ_Q.
44507         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44508         FP_CMP_Q.
44509         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44510         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44511         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44512         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44513         FP_CMP_EQ_Q.
44514         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44515         FP_CMP_Q.
44516         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44517         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44518         FP_CMP_EQ_Q.
44519         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44520         FP_CMP_Q.
44521         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44522         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44523         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44524         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44525         FP_CMP_EQ_Q.
44527         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44528         a subnormal result, set the underflow exception if trapping on
44529         underflow is enabled.
44530         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44531         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44532         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44533         redefine to 0.
44534         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44535         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44536         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44537         * soft-fp/extendxftf2.c (__extendxftf2): Use
44538         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44540         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44541         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44542         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44543         FP_HANDLE_EXCEPTIONS.
44544         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44545         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44546         FP_HANDLE_EXCEPTIONS.
44547         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44548         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44549         FP_HANDLE_EXCEPTIONS.
44550         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44551         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44552         FP_HANDLE_EXCEPTIONS.
44554 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44556         [BZ #14132]
44557         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44558         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44559         use INTUSE.
44560         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44561         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44562         Remove alias.
44563         (__adjtimex): Define using libc_hidden_ver.
44564         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44565         Remove declaration.
44566         (ntp_gettime): Call __adjtimex directly.
44567         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44568         Remove declaration.
44569         (ntp_gettimex): Call __adjtimex directly.
44570         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44571         __adjtimex_internal alias.
44573 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44575         [BZ #17460]
44576         * nscd/nscd.c (more_help): Rewrite list of tables collection
44577         using xstrdup and asprintf.
44579         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44581 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44582             Roland McGrath  <roland@hack.frob.com>
44584         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44585         (do_lookup_unique): ... local function 'enter' here; update callers.
44587 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44589         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44590         compat_symbol calls on [SHARED].
44591         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44592         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44593         Remove.
44594         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44595         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44596         (oldsetrlimit): Remove.
44597         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44599         (lchown): New syscall entry.
44600         (oldsetrlimit): Remove.
44601         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44603         (oldsetrlimit): Remove.
44604         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44606         [BZ #14138]
44607         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44608         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44609         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44610         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44611         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44612         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44613         (fchown): Likewise.
44614         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44615         (fchown): Likewise.
44616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44617         Likewise.
44619 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44621         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44622         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44623         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44624         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44625         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44626         Likewise.
44627         (__old_sem_post): Likewise.
44629 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44631         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44632         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44633         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44634         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44635         Use INLINE_VSYSCALL macro.
44636         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44637         __vdso_clock_gettime.
44638         * sysdeps/unix/sysv/linux/tile/init-first.c
44639         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44640         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44641         __vdso_clock_gettime.
44643         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44644         to set up frame more cleanly.
44646         * sysdeps/tile/memcmp.c: New file.
44648         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44650         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44651         * sysdeps/tile/tilegx/strcasestr.c: New file.
44652         * sysdeps/tile/tilegx/strnlen.c: New file.
44653         * sysdeps/tile/tilegx/strstr.c: New file.
44655         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44657 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44659         * nptl/tst-setuid3.c: Write errors to stdout.
44661 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44663         * elf/dl-deps.c
44664         (preload): New functions broken out of _dl_map_object_deps.
44665         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44667 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44669         [BZ #14138]
44670         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44671         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44673 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44675         * sysdeps/mips/strcmp.S: New.
44677 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44679         [BZ #14138]
44680         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44681         (linkat): Likewise.
44682         (mkdirat): Likewise.
44683         (readlinkat): Likewise.
44684         (renameat): Likewise.
44685         (symlinkat): Likewise.
44686         (unlinkat): Likewise.
44687         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44688         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44689         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44690         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44691         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44692         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44693         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44695 2014-09-30  Will Newton  <will.newton@linaro.org>
44697         * math/math.h: Define long double math functions if
44698         _LIBC_TEST is defined.
44699         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44701         * localedata/Makefile: Move assignment to tests-special
44702         into an ifdef testing run-built-tests.
44703         * timezone/Makefile: Likewise.
44705 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44707         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44708         with $(BASH) not $(SHELL).
44710 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44711             Matthew LeGendre  <legendre1@llnl.gov>
44713         [BZ #17411]
44714         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44715         l_reloc_result.
44717 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44719         * stdio-common/printf_fp.c
44720         (hack_digit): New function, broken out of ...
44721         (__printf_fp): ... local function here.  Update call sites.
44722         hack_digit now takes an additional parameter that is a pointer
44723         to a struct of the referenced locals.  Those locals moved inside
44724         the struct and references updated.
44726 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44728         * aclocal.m4: Require autoconf 2.69.
44729         * configure: Regenerated.
44730         * sysdeps/aarch64/configure: Likewise.
44731         * sysdeps/alpha/configure: Likewise.
44732         * sysdeps/arm/armv7/configure: Likewise.
44733         * sysdeps/arm/configure: Likewise.
44734         * sysdeps/ia64/configure: Likewise.
44735         * sysdeps/mach/configure: Likewise.
44736         * sysdeps/mips/configure: Likewise.
44737         * sysdeps/s390/configure: Likewise.
44738         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44741         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44742         file.
44743         * sysdeps/ia64/configure.ac: Likewise.
44745 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44748         specify symbol version for ld.so.  Do not include entry for
44749         libpthread.
44750         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44751         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44752         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44754         [BZ #14171]
44755         * Makeconfig [$(build-shared) = yes]
44756         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44757         makefiles.
44758         [$(build-shared) = yes && $(soversions.mk-done) = t]
44759         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44760         [$(build-shared) = yes && $(soversions.mk-done) = t]
44761         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44762         to Makerules.
44763         [$(build-shared) = yes && $(soversions.mk-done) = t]
44764         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44765         here.
44766         [$(build-shared) = yes && $(soversions.mk-done) = t]
44767         (common-generated): Don't append gnu/lib-names.h and
44768         gnu/lib-names.stmp here.
44769         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44770         (lib-names-h-abi): New variable.
44771         [$(build-shared) = yes && $(soversions.mk-done) = t]
44772         (lib-names-stmp-abi): Likewise.
44773         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44774         abi-variants] (before-compile): Append
44775         $(common-objpfx)$(lib-names-h-abi).
44776         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44777         abi-variants] (common-generated): Append gnu/lib-names.h.
44778         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44779         abi-variants] (install-others-nosubdir): Depend on
44780         $(inst_includedir)/$(lib-names-h-abi).
44781         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44782         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44783         [$(build-shared) = yes && $(soversions.mk-done) = t]
44784         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44785         [$(build-shared) = yes && $(soversions.mk-done) = t]
44786         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44787         [$(build-shared) = yes && $(soversions.mk-done) = t]
44788         (common-generated): Append $(lib-names-h-abi) and
44789         $(lib-names-stmp-abi).
44790         * scripts/lib-names.awk: Do not handle multi being set.
44791         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44792         Remove variable.
44793         (abi-lp64_be-ld-soname): Likewise.
44794         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44795         Likewise.
44796         (abi-hard-ld-soname): Likewise.
44797         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44798         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44799         Remove variable.
44800         (abi-o32_hard-ld-soname): Likewise.
44801         (abi-o32_soft_2008-ld-soname): Likewise.
44802         (abi-o32_hard_2008-ld-soname): Likewise.
44803         (abi-n32_soft-ld-soname): Likewise.
44804         (abi-n32_hard-ld-soname): Likewise.
44805         (abi-n32_soft_2008-ld-soname): Likewise.
44806         (abi-n32_hard_2008-ld-soname): Likewise.
44807         (abi-n64_soft-ld-soname): Likewise.
44808         (abi-n64_hard-ld-soname): Likewise.
44809         (abi-n64_soft_2008-ld-soname): Likewise.
44810         (abi-n64_hard_2008-ld-soname): Likewise.
44811         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44812         Likewise.
44813         (abi-64-v2-ld-soname): Likewise.
44814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44815         ld.so entries.
44816         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44817         variable.
44818         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44819         entry.
44820         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44821         variable.
44822         (abi-64-ld-soname): Likewise.
44823         (abi-x32-ld-soname): Likewise.
44824         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44825         entry.
44826         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44828 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44830         [BZ #14138]
44831         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44832         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44833         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44834         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44835         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44836         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44837         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44838         syscall entry for GLIBC_2.2 symbol version.
44839         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44840         Likewise.
44841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44842         (setrlimit): Likewise.
44843         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44844         Likewise.
44846 2014-09-23  Will Newton  <will.newton@linaro.org>
44848         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44849         _LINUX_ARM_SYSDEP_H include guard too.
44850         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44851         define.
44853 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44855         * sysdeps/unix/sysv/linux/eventfd.c:
44856         Make first argument unsigned.
44857         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44858         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44860 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44862         [BZ #16852]
44863         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44864         * socket/sys/socket.h: Likewise.
44865         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44867 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44869         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44871 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44873         * time/tst-ftime.c: New test.
44874         * time/Makefile (tests): Add tst-ftime.
44876 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44878         * soft-fp/extended.h: Fix comment formatting.
44879         * soft-fp/op-1.h: Likewise.
44880         * soft-fp/op-2.h: Likewise.
44881         * soft-fp/op-4.h: Likewise.
44882         * soft-fp/op-8.h: Likewise.
44883         * soft-fp/op-common.h: Likewise.
44884         * soft-fp/soft-fp.h: Likewise.
44886         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44888 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44890         [BZ #6652]
44891         * Makeconfig (soversions-default-setname): Remove variable.
44892         ($(common-objpfx)soversions.i): Don't pass default_setname to
44893         soversions.awk.
44894         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44895         oldest_abi to abi-versions.awk.
44896         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44897         * config.make.in (oldest-abi): Remove variable.
44898         * configure.ac (--enable-oldest-abi): Remove configure option.
44899         * configure: Regenerated.
44900         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44901         text.
44902         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44903         * scripts/soversions.awk: Do not handle default_setname variable.
44904         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44905         variable.
44906         * sysdeps/mach/hurd/configure: Regenerated.
44907         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44908         variable.
44909         * sysdeps/unix/sysv/linux/configure: Regenerated.
44911 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44913         * elf/Makefile (CFLAGS-interp.c): Remove.
44914         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44915         path string.
44916         * elf/interp.c: Include generated runtime-linker.h
44918         * Makerules (lib%.so): Don't include $(+interp) in
44919         prerequisites.
44920         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44921         * dlfcn/eval.c: Remove file.
44923         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44924         macros.
44926         [BZ #17266]
44927         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44928         4.2 and newer.
44930         [BZ #17370]
44931         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44933 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44934             Jakub Jelinek  <jakub@redhat.com>
44936         [BZ #17266]
44937         * libio/stdio.h: Check definition of __fortify_function
44938         instead of __extern_always_inline to include bits/stdio2.h.
44939         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44940         check if __extern_always_inline is defined.
44941         [__USE_MISC || __USE_XOPEN]: Likewise.
44942         [__USE_ISOC99] Likewise.
44943         * misc/sys/cdefs.h (__fortify_function): Define only if
44944         __extern_always_inline is defined.
44945         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44946         __extern_always_inline and __extern_inline only for g++-4.3
44947         and newer or a compatible gcc.
44949 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44951         [BZ #17371]
44952         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44953         last change to handle zero prefix length.
44955 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44957         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44958         _SC_REGEX_VERSION.
44960         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44961         _POSIX_RAW_SOCKETS.
44963 2014-09-13  Allan McRae  <allan@archlinux.org>
44965         * po/ru.po: Update Russian translation from translation project.
44967 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44969         * locale/programs/locale.c (show_locale_vars): Inline local function
44970         into its sole call site.  Clean up some style nits.
44971         (print_item): New function, broken out of ...
44972         (show_info): ... local function here.  Clean up style nits.
44974         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44975         out of ...
44976         (set_class_defaults): ... local function set_default here.
44977         Define set_default as a macro locally to pass constant parameters.
44978         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44979         rather than a shared local.
44981         * stdlib/rpmatch.c (try): New function, broken out of ...
44982         (rpmatch): ... local function here.  Also, prototypify definition.
44984 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44986         * scripts/soversions.awk: Do not handle configuration names.
44987         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44988         vendor and os variables to soversions.awk.
44989         * configure.ac: Do not modify gnu-* host_os.
44990         * configure: Regenerated
44991         * shlib-versions: Remove first column with configuration names.
44992         * nptl/shlib-versions: Likewise.
44993         * nptl_db/shlib-versions: Likewise.
44994         * sysdeps/hppa/shlib-versions: Likewise.
44995         * sysdeps/m68k/shlib-versions: Likewise.
44996         * sysdeps/mach/hurd/shlib-versions: Likewise.
44997         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44998         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44999         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
45000         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
45001         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
45002         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
45003         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
45004         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
45005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45006         Likewise.
45007         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45008         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45009         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45010         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45011         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45012         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
45013         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45014         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45017         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
45018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45019         Regenerated.
45020         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
45021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45022         Condition symbol version definitions on [HAVE_ELFV2_ABI].
45024         * shlib-versions: Remove OS-specific entries.  Moved to files in
45025         sysdeps.
45026         * sysdeps/mach/hurd/shlib-versions: New file.
45027         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45029         * nptl/shlib-versions: Remove architecture-specific entries.
45030         Moved to files in sysdeps.
45031         * shlib-versions: Likewise.
45032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
45033         file.
45034         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45035         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45036         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45037         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45039         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
45040         (UDP_NO_CHECK6_RX): Likewise.
45042 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45044         * sysdeps/posix/sysconf.c (__sysconf): Spell
45045         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
45047 2014-08-12  Florian Weimer  <fweimer@redhat.com>
45049         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
45050         loading.
45051         * iconv/Versions (__gconv_transliterate): Export for use from
45052         gconv modules.
45053         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
45054         (struct __gconv_trans_data, __gconv_trans_fct,
45055         __gconv_trans_context_fct, __gconv_trans_query_fct,
45056         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
45057         definitions.
45058         (struct __gconv_step_data): Remove __trans member.
45059         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
45060         longer hidden.  Remove unused trans_data argument.
45061         * iconv/gconv_int.h (struct trans_struct): Remove definition.
45062         (__gconv_translit_find): Remove declaration.
45063         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
45064         prototype.
45065         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45066         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
45067         trans_data argument.  Add hidden definition.
45068         (__gconv_translit_find): Remove.
45069         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
45070         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45071         * iconv/skeleton.c: Remove transliteration initialization.
45072         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
45073         __gconv_step_data initialization.
45074         * libio/iofwide.c (__libio_translit_): Remove.
45075         (_IO_fwide): Adjust struct __gconv_step_data initialization.
45076         * wcsmbs/btowc.c (__btowc): Likewise.
45077         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45078         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45079         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
45080         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45081         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
45082         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
45083         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
45084         * wcsmbs/wctob.c (wctob): Likewise.
45086 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45088         [BZ #16194]
45089         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
45090         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
45091         register usage.
45092         * sysdeps/x86/Makefile: Adjust.
45094 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45095             Roland McGrath  <roland@hack.frob.com>
45097         * locale/weight.h: Add include guard.
45098         (findidx): Make static rather than auto; take new parameters
45099         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
45100         * locale/weightwc.h: Likewise.
45101         * posix/fnmatch_loop.c
45102         (FCT): Change type of EXTRA from int32_t to wint_t.
45103         Don't include either header inside the function.
45104         Call FINDIDX rather than findidx, and pass new arguments.
45105         #undef FINDIDX at the end of the file.
45106         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45107         FINDIDX before including fnmatch_loop.c for the non-wide version.
45108         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45109         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45110         for the wide version.
45111         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45112         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45113         Pass new arguments to findidx.
45114         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45115         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45116         Don't #include it inside the function.  Pass new arguments to findidx.
45117         * posix/regex_internal.h
45118         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45119         (re_string_elem_size_at): Don't #include it inside the function.
45120         Pass new arguments to findidx.
45121         * string/strcoll_l.c: #include WEIGHT_H at top level.
45122         (get_next_seq): Don't #include it inside the function.
45123         Pass new arguments to findidx.
45124         (get_next_seq_nocache): Likewise.
45125         * string/strxfrm_l.c: #include WEIGHT_H at top level.
45126         (STRXFRM): Don't #include it inside the function.
45127         Pass new arguments to findidx.
45129 2014-09-11  Florian Weimer  <fweimer@redhat.com>
45131         [BZ #17344]
45132         * malloc/malloc.c (unlink): Turn asserts into a call to
45133         malloc_printerr.
45135 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
45137         [BZ #17370]
45138         * libio/wfileops (do_ftell_wide): Free OUT.
45140 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
45142         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45144 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45146         [BZ #17363]
45147         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45148         group if the current group is empty.
45150 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45152         * benchtests/bench-memset.c (test_main): Add more test from size
45153         from 32 to 512 bytes.
45154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45155         Add POWER8 memset object.
45156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45157         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45158         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45159         implementation.
45160         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45161         Likewise.
45162         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45163         multiarch POWER8 memset optimization.
45164         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45165         POWER8 memset optimization.
45167         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45168         Remove bzero multiarch objects.
45169         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45170         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45171         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45172         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45173         Remove define.
45174         [__bzero]: Redefine to specific name.
45175         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45176         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45177         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45178         define.
45179         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45180         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45182 2014-09-10  Florian Weimer  <fweimer@redhat.com>
45184         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45185         warnings into errors.
45187         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45188         __cxa_thread_atexit_impl prototype.
45190 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45192         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45193         Fix capitalization of error message.
45195 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45197         * sysdeps/mips/preconfigure: Modify ABI tests.
45199 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
45201         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45203 2014-09-07  Roland McGrath  <roland@hack.frob.com>
45204             Carlos O'Donell  <carlos@systemhalted.org>
45206         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45207         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45208         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45209         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45210         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45211         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45212         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45213         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45214         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45217         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45219         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45221         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45223         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45225         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45227         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45228         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45229         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45230         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45231         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45232         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45233         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45234         Deconditionalize the code that was previously under [RESET_PID].
45235         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45236         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45237         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45238         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45239         include sysdep.h.
45241 2014-09-08  Allan McRae  <allan@archlinux.org>
45243         * version.h (RELEASE): Set to "development".
45244         (VERSION): Set to "2.20.90"
45246 2014-09-07  Allan McRae  <allan@archlinux.org
45248         * version.h (RELEASE): Set to "stable".
45249         (VERSION): Set to "2.20"
45250         * include/features.h (__GLIBC_MINOR__): Set to 20.
45252         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45253         Liebler.
45255         * po/ko.po: Update Korean translation from translation project.
45257 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45259         [BZ #17354]
45260         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45261         macro for handling signed relocations.
45263 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45265         [BZ #17325]
45266         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45267         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45268         assert.
45269         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45270         * iconvdata/ibm935.c (BODY): Likewise.
45271         * iconvdata/ibm937.c (BODY): Likewise.
45272         * iconvdata/ibm939.c (BODY): Likewise.
45273         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45274         assert.
45275         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45276         script.
45277         * iconvdata/run-iconv-test.sh: New test loop for checking for
45278         decoder crashers.
45280 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45282         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45283         libm_hidden_ver.
45285 2014-09-01  Allan McRae  <allan@archlinux.org>
45287         * po/eo.po: Update Esperanto translation from translation project.
45289         * po/ca.po: Update Catalan translation from translation project.
45291 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45293         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45294         __proc_dostop call.
45296 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45298         [BZ #17319]
45299         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45300         to call set_thread_area instead of hand written asm.
45301         (__NR_set_thread_area): Removed define.
45302         (TLS_FLAG_WRITABLE): Likewise.
45303         (__ASSUME_SET_THREAD_AREA): Remove check.
45304         (TLS_EBX_ARG): Remove define.
45305         (TLS_LOAD_EBX): Likewise.
45307 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45309         Simplify atomicity of socket creation in bind.
45311         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45312         looking up the name after linking the file.
45314 2014-08-27  Allan McRae  <allan@archlinux.org>
45316         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45318 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45320         [BZ #17187]
45321         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45322         trans_compare, open_translit, __gconv_translit_find):
45323         Remove module loading code.
45325 2014-08-26  Allan McRae  <allan@archlinux.org>
45327         * po/vi.po: Update Vietnamese translation from translation project.
45329         * po/uk.po: Update Ukrainian translation from translation project.
45331         * po/fr.po: Update French translation from translation project.
45333         * po/ru.po: Update Russian translation from translation project.
45335         * po/pl.po: Update Polish translation from translation project.
45337         * po/cs.po: Update Czech translation from translation project.
45339         * po/de.po: Update German translation from translation project.
45341         * po/bg.po: Update Bulgarian translation from translation project.
45343         * po/sv.po: Update Sweedish translation from translation project.
45345         * po/nl.po: Update Dutch translation from translation project.
45347         * po/es.po: Update Spanish translation from translation project.
45349 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45351         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45353         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45354         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45355         (CPPFLAGS-iconvconfig): Likewise.
45356         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45358         * include/libc-symbols.h: Remove unnecessary check for
45359         NOT_IN_libc.
45360         * nptl/pthreadP.h: Likewise.
45361         * sysdeps/aarch64/setjmp.S: Likewise.
45362         * sysdeps/alpha/setjmp.S: Likewise.
45363         * sysdeps/arm/sysdep.h: Likewise.
45364         * sysdeps/i386/setjmp.S: Likewise.
45365         * sysdeps/m68k/setjmp.c: Likewise.
45366         * sysdeps/posix/getcwd.c: Likewise.
45367         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45368         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45369         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45370         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45371         * sysdeps/sh/sh3/setjmp.S: Likewise.
45372         * sysdeps/sh/sh4/setjmp.S: Likewise.
45373         * sysdeps/unix/alpha/sysdep.h: Likewise.
45374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45376         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45377         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45382         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45384         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45385         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45387         * sysdeps/x86_64/setjmp.S: Likewise.
45389 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45391         [BZ #17263]
45392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45393         <stdint.h>.
45394         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45395         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45397 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45399         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45401         [BZ #17262]
45402         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45403         and __x86_64__ when disabling x87 inline functions.
45405 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45407         [BZ #17259]
45408         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45409         asm statement with __cpuid_count.
45411 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45413         * configure.ac: Change __ehdr_start code to dereference the struct.
45414         Run readelf on the output to look for relocations.
45415         * configure: Regenerated.
45417 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45419         [BZ #17261]
45420         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45421         value to 0.
45422         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45424 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45426         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45428 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45430         [BZ #16892]
45431         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45432         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45434 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45436         * malloc/malloc.c: Fix typo in comment.
45438 2014-08-09  Allan McRae  <allan@archlinux.org>
45440         * Regenerate libc.po.
45442 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45444         * intl/tst-gettext2.sh: Check every lang file for creation.
45446 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45448         * sysdeps/aarch64/fpu/math_private.h
45449         (libc_feholdsetround_noex_aarch64_ctx): New function.
45451 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45453         * sysdeps/arm/armv6/strcpy.S (strcpy):
45454         Fix performance issue in misaligned cases.
45456 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45458         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45459         Move definition from termios.h.
45460         (struct termio): Likewise.
45461         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45462         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45463         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45464         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45465         Likewise.
45466         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45467         Move definition to ioctl-types.h
45468         (struct termio): Likewise.
45469         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45470         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45471         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45472         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45473         Likewise.
45475 2014-08-05  Richard Henderson  <rth@redhat.com>
45477         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45478         exceptions.
45479         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45480         Add fraiseexcpt.
45481         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45482         Use __feraiseexcept.
45483         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45484         Protect libm symbols with IS_IN_libm.
45486         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45488 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45490         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45492 2014-08-04  Will Newton  <will.newton@linaro.org>
45494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45495         file.
45497 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45499         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45500         variants for each function.
45502 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45504         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45505         appended ...
45506         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45507         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45508         appended ...
45509         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45510         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45511         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45512         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45513         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45514         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45515         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45516         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45517         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45518         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45519         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45520         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45521         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45522         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45523         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45524         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45525         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45526         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45527         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45528         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45529         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45530         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45531         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45532         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45533         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45534         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45535         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45536         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45537         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45538         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45539         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45540         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45541         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45542         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45543         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45544         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45545         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45546         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45547         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45548         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45549         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45551         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45553         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45555         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45557         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45558         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45559         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45560         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45561         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45562         Update #include.
45563         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45564         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45566 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45568         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45569         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45570         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45571         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45572         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45573         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45575 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45577         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45578         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45579         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45580         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45582 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45584         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45585         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45586         (__libc_vfork): Define function under this name.
45587         (__vfork): Define as an alias.
45588         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45589         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45591 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45593         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45594         that was previously under [RESET_PID].
45595         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45597 2014-08-04  Andreas Schwab  <schwab@suse.de>
45599         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45601 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45603         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45604         (main): Likewise.
45606 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45608         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45610 2014-08-01  Richard Henderon  <rth@redhat.com>
45612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45613         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45614         typo in exact zero test.
45615         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45619 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45621         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45622         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45623         * sysdeps/arm/sysdep.h: ... here.
45624         [!__ASSEMBLER__]: Include <stdint.h>.
45626 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45628         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45629         (HAVE_WCTYPE_H): Likewise.
45630         (HAVE_ISWCTYPE): Likewise.
45631         (ENABLE_NLS): Likewise.
45632         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45633         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45635         * posix/regex_internal.c: Check if DEBUG is defined and is
45636         set.
45638         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45639         (HAVE_MBSRTOWCS): Likewise.
45640         * posix/fnmatch.c: Include string.h unconditionally.
45642 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45644         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45645         reversal.
45647 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45649         * sysdeps/generic/safe-fatal.h: New file.
45650         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45651         * nptl/forward.c: Include it.
45652         (__pthread_unwind): Use __safe_fatal as default action, rather
45653         than a bogus use of INTERNAL_SYSCALL that could never work.
45655         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45656         * configure.ac (libc_cv_builtin_trap): New test.
45657         * configure: Regenerated.
45658         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45659         (ABORT_INSTRUCTION): Define using __builtin_trap.
45661         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45662         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45663         * sysdeps/nptl/nptl-signals.h: New file.
45664         * nptl/pthreadP.h: Include <nptl-signals.h>.
45666 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45668         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45669         (ONE_DIRECTION): Define.
45670         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45671         (ONE_DIRECTION): Define.
45672         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45673         (ONE_DIRECTION): Define.
45675 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45677         * sysdeps/s390/Makefile: Delete file.
45678         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45679         * sysdeps/s390/__longjmp.c: Delete file.
45680         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45681         Remove fields __flags and __reserved.
45682         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45683         and add versioning.
45684         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45685         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45686         * sysdeps/s390/rtld-setjmp.S: Likewise.
45687         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45688         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45689         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45690         * sysdeps/s390/s390-32/setjmp.S: ... here.
45691         Add versioning.
45692         (__sigsetjmp): Remove setting __flags field.
45693         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45694         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45695         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45696         * sysdeps/s390/s390-64/setjmp.S: ... here.
45697         Add versioning.
45698         (__sigsetjmp): Remove setting __flags field.
45699         * sysdeps/s390/setjmp.S: Delete file.
45700         * sysdeps/s390/sigjmp.c: Likewise.
45701         * sysdeps/s390/v1-longjmp.c: Likewise.
45702         * sysdeps/s390/v1-setjmp.h: Likewise.
45703         * sysdeps/s390/v1-sigjmp.c: Likewise.
45704         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45705         Remove v1-longjmp_chk.
45706         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45707         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45708         Include debug/longjmp_chk.c and add versioning.
45709         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45710         Include nptl/pt-longjmp.c and add versioning.
45711         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45712         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45713         Include __longjmp.c.
45714         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45715         Move to ...
45716         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45717         (__getcontext): Remove setting __flags field.
45718         Add versioning.
45719         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45720         Don't restore upper high grps.
45721         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45722         Likewise.
45723         (__swapcontext): Remove setting uc_flags field.
45724         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45725         Delete file.
45726         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45727         Include __longjmp.c.
45728         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45729         Move to ...
45730         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45731         (__getcontext): Remove setting __flags field.
45732         Add versioning.
45733         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45734         (__swapcontext): Remove setting uc_flags field.
45735         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45736         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45737         Remove fields uc_high_gprs and __reserved.
45738         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45739         New file with reverted content.
45740         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45741         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45742         Regenerated.
45743         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45744         Regenerated.
45746 2014-07-31  Andreas Schwab  <schwab@suse.de>
45748         * config.h.in (HAVE_IFUNC): Define to 0.
45749         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45750         definedness.
45752 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45755         memmove-avx-unaligned, memcpy-avx-unaligned and
45756         mempcpy-avx-unaligned.
45757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45758         Add tests for AVX memcpy functions.
45759         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45760         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45761         memcpy_chk.
45762         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45763         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45764         memmove_chk.
45765         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45766         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45767         mempcpy_chk.
45768         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45769         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45770         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45772 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45774         [BZ #17213]
45775         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45776         powerpc64le.
45778 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45780         [BZ #16839]
45781         * manual/llio.texi: Add section about open file description locks.
45782         * manual/examples/ofdlocks.c: Example of open file description
45783         lock usage.
45784         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45785         F_OFD_SETLK, and F_OFD_SETLKW.
45787 2014-07-23  Allan McRae  <allan@archlinux.org>
45789         * po/es.po: Update Spanish translation from translation project.
45791 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45793         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45795 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45797         [BZ #17078]
45798         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45799         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45800         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45802 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45804         [BZ #17088]
45805         * math/fesetenv.c (__fesetenv)
45806         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45807         * math/feupdateenv.c (__feupdateenv)
45808         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45810         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45811         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45812         (__ASSUME_SOCKETCALL): Do not define.
45814         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45815         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45816         (__ASSUME_SOCKETCALL): Do not define.
45817         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45818         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45819         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45820         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45821         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45822         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45823         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45824         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45826         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45827         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45828         (__ASSUME_SOCKETCALL): Do not define.
45829         (__ASSUME_IPC64): Define unconditionally.
45830         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45831         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45832         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45833         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45834         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45836         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45837         Likewise.
45839         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45840         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45841         (__ASSUME_SOCKETCALL): Do not define.
45842         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45843         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45844         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45845         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45846         (__ASSUME_REQUEUE_PI): Define unconditionally.
45847         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45848         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45849         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45850         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45851         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45852         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45854         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45855         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45856         (__ASSUME_SOCKETCALL): Do not define.
45857         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45859         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45860         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45861         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45862         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45864         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45865         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45866         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45867         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45868         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45869         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45870         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45871         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45872         (__ASSUME_GETCPU_SYSCALL): Likewise.
45874         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45875         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45876         cases for individual architectures.
45877         * sysdeps/gnu/configure: Regenerated.
45878         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45879         LIBC_SLIBDIR_RTLDDIR.
45880         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45881         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45882         LIBC_SLIBDIR_RTLDDIR.
45883         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45885         LIBC_SLIBDIR_RTLDDIR.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45887         Regenerated.
45888         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45889         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45890         file.
45891         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45892         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45893         file.
45894         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45895         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45896         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45897         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45899         * sysdeps/aarch64/shlib-versions: Move to ...
45900         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45901         * sysdeps/alpha/shlib-versions: Move to ...
45902         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45903         * sysdeps/arm/shlib-versions: Move to ...
45904         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45905         * sysdeps/hppa/shlib-versions: Move all contents except for
45906         libgcc_s entry to ...
45907         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45908         entry from ...
45909         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45910         * sysdeps/ia64/shlib-versions: Move to ...
45911         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45912         entry from ...
45913         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45914         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45915         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45916         * sysdeps/microblaze/shlib-versions: Move to ...
45917         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45918         * sysdeps/mips/shlib-versions: Move to ...
45919         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45920         entry from ...
45921         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45922         * sysdeps/tile/shlib-versions: Move to ...
45923         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45924         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45925         from ...
45926         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45927         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45928         entry from ...
45929         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45931 2014-07-17  Will Newton  <will.newton@linaro.org>
45933         * sysdeps/arm/bits/atomic.h
45934         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45935         (__arch_compare_and_exchange_bool_16_int): Likewise.
45936         (__arch_compare_and_exchange_bool_64_int): Likewise.
45938         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45939         into an #else block.
45941 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45943         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45944         just Linux configurations.  Test empirically that the compiler sets
45945         __ARM_EABI__, rather than using the tuple to decide.
45946         * sysdeps/arm/preconfigure: Regenerated.
45947         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45948         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45949         contents appended ...
45950         * sysdeps/arm/configure.ac: ... here.
45951         * sysdeps/arm/configure: Regenerated.
45953 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45955         * nptl/pthread_kill.c: New file.
45956         * nptl/pthread_sigmask.c: New file.
45957         * nptl/pthread_sigqueue.c: New file.
45959         * sysdeps/nptl/lowlevellock.h: New file.
45960         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45961         * sysdeps/nptl/lowlevellock-futex.h: New file.
45963         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45964         Remove dead declarations.
45966 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45968         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45969         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45970         config-cflags-avx2.
45971         * sysdeps/x86_64/configure.ac: Likewise.
45972         * sysdeps/i386/configure: Regenerated.
45973         * sysdeps/x86_64/configure: Likewise.
45974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45975         memset-avx2 only if config-cflags-avx2 is yes.
45976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45977         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45978         defined.
45979         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45980         only if HAVE_AVX2_SUPPORT is defined.
45981         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45983 2014-07-14  Alan Modra  <amodra@gmail.com>
45985         [BZ #17153]
45986         * elf/elf.h (DT_PPC64_NUM): Correct value.
45987         * NEWS: Add to fixed bug list.
45989 2014-07-13  Jim Meyering  <meyering@fb.com>
45991         [BZ 17150]
45992         regex: don't deref NULL upon heap allocation failure
45993         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45994         failure in one more place.
45995         To trigger the segfault, configure grep -with-included-regex,
45996         build it, and run these commands:
45997         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45999 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
46001         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46003 2014-07-11  Richard Henderson  <rth@redhat.com>
46005         * sysdeps/aarch64/libm-test-ulps: Update.
46007 2014-07-10  Florian Weimer  <fweimer@redhat.com>
46009         [BZ #17135]
46010         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46011         * nptl/allocatestack.c (__nptl_setxid_error): New function.
46012         (__nptl_setxid): Initialize error member.  Call
46013         __nptl_setxid_error.
46014         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
46015         * nptl/descr.h (struct xid_command): Add error member.
46016         * nptl/tst-setuid3.c: New file.
46017         * nptl/Makefile (tests): Add it.
46019 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
46022         New define.
46023         (__lll_trylock): Use __lll_base_trylock.
46024         (__lll_cond_trylock): Likewise.
46026 2014-07-10  Roland McGrath  <roland@hack.frob.com>
46028         * nptl/pthread_create.c (start_thread): Use atomic_or and
46029         lll_futex_wake directly rather than lll_robust_dead.
46030         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46031         (lll_robust_dead): Macro removed.
46032         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
46033         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46034         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46035         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46037         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46038         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46039         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46040         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46042         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46043         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46045         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46048         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
46049         Use atomic_compare_and_exchange_val_acq directly rather than
46050         lll_robust_trylock.
46051         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46052         (__lll_robust_trylock, lll_robust_trylock): Removed.
46053         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46054         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46055         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46056         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46057         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46058         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46060         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46061         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46062         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46063         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46064         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46065         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46066         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46068 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46070         * manual/locale.texi (Locale Names): New section documenting
46071         locale name syntax.  Adjust menu and node chaining accordingly.
46072         (Choosing Locale): Reference Locale Names, Locale Categories.
46073         Mention setting LC_ALL=C.  Reflect that name syntax is now
46074         documented.
46075         (Locale Categories): New section title.  Reference Locale Names.
46076         LC_ALL is an environment variable, but not a category.
46077         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
46078         description, now in Locale Name.  Reference that section.  Locale
46079         name syntax is now documented.
46081 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46083         [BZ #17137]
46084         * locale/findlocale.c (name_present, valid_locale_name): New
46085         functions.
46086         (_nl_find_locale): Use the loc_name variable to store name
46087         candidates.  Call name_present and valid_locale_name to check and
46088         validate locale names.  Return an error if the locale is invalid.
46090 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46092         * locale/setlocale.c (setlocale): Use strdup for allocating
46093         composite name copy.
46095 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46097         Sync up with gnulib.
46098         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
46099         [!_LIBC && ENABLE_NLS]: Include gettext.h.
46100         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
46101         and _GL_ARG_NONNULL.
46102         [USE_UNLOCKED_IO]: Include unlocked-io.h.
46103         [!_LIBC]: Include code for Windows and Cygwin.
46104         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46105         Include prototype for int strerror_r.
46106         [!_LIBC] (is_open): New function.
46107         (flush_stdout): New function.
46108         (print_errno_message): Use it.
46109         (error): Likewise.
46110         (error_at_line): Likewise.
46111         (error_tail) Add function attribute macros.  Use
46112         __builtin_expect.
46114         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46116         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46118         * io/ftw.c: Include sys/param.h unconditionally.
46120         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46122         [BZ #17125]
46123         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46124         libc_freeres_ptr.
46125         (freecache): New function to free CACHE on exit.
46127         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46128         initialization.
46130 2014-07-09  David S. Miller  <davem@davemloft.net>
46132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46134         * sysdeps/sparc/nptl/internaltypes.h: Delete.
46135         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46136         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46137         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46138         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46139         * sysdeps/sparc/nptl/sem_init.c: Likewise.
46140         * sysdeps/sparc/nptl/sem_post.c: Likewise.
46141         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46142         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46143         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46144         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46145         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46146         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46148 2014-07-09  Andreas Schwab  <schwab@suse.de>
46150         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46151         output.
46152         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46153         (do_test): Likewise.
46155         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46157 2014-07-09  Will Newton  <will.newton@linaro.org>
46159         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46160         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46161         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46162         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46163         * sysdeps/hppa/start.S (_start): Likewise.
46165 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46167         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46169         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46170         defined.
46172 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46174         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46175         after checking that it is non-NULL.
46177         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46179 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46181         * sysdeps/powerpc/memmove.c: Remove file.
46182         * sysdeps/powerpc/powerpc32/power4/memcopy.h
46183         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46185         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46186         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46187         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46188         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46189         string memmove instead of removed powerpc one.
46191         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46192         [weak_alias]: Fix compiler warning due trailing data.
46193         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46194         [weak_alias]: Likewise.
46195         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46196         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46199         (__libc_ifunc_impl_list): Add memmove functions.
46201 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46203         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46204         Remove code.
46205         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46206         Likewise.
46207         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46208         Likewise.
46209         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46210         Likewise.
46211         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46212         Likewise.
46213         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46214         Likewise.
46215         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46216         Likewise.
46217         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46218         Likewise.
46219         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46220         Likewise.
46221         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46222         Likewise.
46223         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46224         Likewise.
46225         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46226         Likewise.
46227         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46228         Likewise.
46229         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46230         Likewise.
46231         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46232         Likewise.
46233         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46234         Likewise.
46235         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46236         Likewise.
46238 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46240         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46241         to avoid alignment traps in non-cacheable memory.
46242         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46245         multiarch objects.
46246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46247         file: multiarch power7 memmove.
46248         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46249         multiarch default memmove.
46250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46251         multiarch memove for powerpc32/power4.
46253         * string/bcopy.c: Use full path to include memmove.c.
46254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46255         multiarch objects.
46256         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46257         bcopy for powerpc64.
46258         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46259         bcopy for powerpc64.
46260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46261         and memmove implementations.
46262         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46263         optimized multiarch memmove for POWER7/powerpc64.
46264         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46265         default multiarch memmove for powerpc64.
46266         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46267         multiarch for powerpc64.
46268         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46269         for POWER7/powerpc64.
46270         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46271         memmove for POWER7/powerpc64.
46273         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46274         glibc default one.
46276         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46277         __ELF_NATIVE_CLASS equal to 64.
46279 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46281         * sysdeps/nptl/lowlevellock.h: File removed.
46283         * NEWS: NPTL is no longer an add-on!
46284         * nptl/internaltypes.h: Moved ...
46285         * sysdeps/nptl/internaltypes.h: ... here.
46286         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46287         * sysdeps/nptl/fork.c: Likewise.
46288         * sysdeps/nptl/gai_misc.h: Likewise.
46289         * sysdeps/nptl/librt-cancellation.c: Likewise.
46290         * sysdeps/nptl/jmp-unwind.c: Likewise.
46291         * sysdeps/nptl/setxid.h: Likewise.
46292         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46293         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46294         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46295         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46296         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46297         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46298         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46299         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46300         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46301         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46302         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46303         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46304         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46305         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46306         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46307         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46308         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46309         * nptl/Makeconfig: Moved ...
46310         * sysdeps/nptl/Makeconfig: ... here.
46311         * nptl/configure: File removed.
46312         * nptl/ANNOUNCE: File removed.
46313         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46314         * sysdeps/unix/sysv/linux/configure: Regenerated.
46316         * nptl/Makefile (routines): Add libc_pthread_init,
46317         libc_multiple_threads, register-atfork and unregister-atfork.
46318         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46319         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46320         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46321         pthread-pi-defines.sym, structsem.sym.
46322         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46323         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46324         [$(subdir) = nptl] (tests): Add tst-setgetname.
46325         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46326         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46327         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46328         [!LIBC_SIGACTION]: Remove aliases.
46329         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46330         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46331         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46332         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46333         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46334         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46336         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46337         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46338         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46339         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46340         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46341         __libc_allocate_rtsig_private.
46342         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46343         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46344         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46345         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46346         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46347         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46348         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46349         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46350         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46351         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46352         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46353         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46354         * nptl/internaltypes.h: ... here.
46355         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46356         * sysdeps/nptl/jmp-unwind.c: ... here.
46357         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46358         * nptl/libc-lowlevellock.c: ... here.
46359         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46360         * nptl/libc_multiple_threads.c: ... here.
46361         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46362         * nptl/libc_pthread_init.c: ... here.
46363         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46364         * nptl/lowlevelbarrier.sym: ... here.
46365         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46366         * nptl/lowlevelcond.sym: ... here.
46367         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46368         * nptl/lowlevellock.c: ... here.
46369         * nptl/lowlevellock.h: Moved ...
46370         * sysdeps/nptl/lowlevellock.h: ... here.
46371         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46372         * nptl/lowlevelrobustlock.c: ... here.
46373         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46374         * nptl/lowlevelrobustlock.sym: ... here.
46375         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46376         * nptl/lowlevelrwlock.sym: ... here.
46377         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46378         * nptl/pt-fork.c: ... here.
46379         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46380         * nptl/pthread-pi-defines.sym: ... here.
46381         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46382         * nptl/pthread_attr_getaffinity.c: ... here.
46383         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46384         * nptl/pthread_attr_setaffinity.c: ... here.
46385         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46386         * nptl/pthread_mutex_cond_lock.c: ... here.
46387         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46388         Update #include.
46389         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46390         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46391         * nptl/pthread_once.c: ... here, replacing old file.
46392         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46393         * nptl/pthread_yield.c: ... here.
46394         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46395         * nptl/register-atfork.c: ... here.
46396         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46397         * nptl/sem_post.c: ... here.
46398         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46399         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46400         * nptl/sem_timedwait.c: ... here.
46401         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46402         * nptl/sem_trywait.c: ... here.
46403         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46404         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46405         * nptl/sem_wait.c: ... here.
46406         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46407         * nptl/structsem.sym: ... here.
46408         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46409         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46410         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46411         * nptl/unregister-atfork.c: ... here.
46412         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46413         * nptl/unwindbuf.sym: ... here.
46414         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46415         * sysdeps/nptl/fork.c: ... here.
46416         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46417         * sysdeps/nptl/fork.h: ... here.
46418         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46419         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46420         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46421         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46422         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46423         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46424         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46425         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46426         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46427         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46428         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46429         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46430         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46431         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46432         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46433         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46434         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46435         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46436         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46437         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46438         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46439         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46440         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46441         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46442         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46443         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46444         * sysdeps/unix/sysv/linux/raise.c: ... here.
46445         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46446         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46447         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46448         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46449         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46450         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46451         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46452         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46453         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46454         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46455         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46456         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46457         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46458         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46459         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46461 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46463         * sysdeps/generic/memcopy.h: Add comment for
46464         MEMCPY_OK_FOR_FWD_MEMMOVE.
46466 2014-07-04  Will Newton  <will.newton@linaro.org>
46468         * string/memchr.c: Merge from gnulib.
46469         [_LIBC]: Remove conditionals.
46470         (__ptr_t): Remove define.
46471         (LONG_MAX_32_BITS): Likewise.
46472         (LONG_MAX): Likewise.
46473         (MEMCHR): Use ANSI prototype and optimize algorithm.
46475         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46477 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46479         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46480         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46482         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46483         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46484         in a bare environment with no <stdlib.h> installed.
46485         * sysdeps/nptl/configure: Regenerated.
46487         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46489         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46490         AC_EGREP_CPP for kernel header checks, so they only succeed if
46491         including <linux/version.h> actually works right.
46492         * sysdeps/unix/sysv/linux/configure: Regenerated.
46494         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46495         value so it's not diagnosed as unused.
46497         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46498         thing) with "ifeq ($(subdir),rt)".
46500 2014-07-03  Richard Henderson  <rth@redhat.com>
46502         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46503         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46504         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46506         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46507         (math_force_eval): New.
46509         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46510         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46512         * sysdeps/alpha/fpu/s_round.c: Remove file.
46513         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46515         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46516         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46517         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46518         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46519         (_dl_start, print_statistics): Likewise.
46520         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46521         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46523         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46524         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46525         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46526         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46527         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46528         (HP_SMALL_TIMING_AVAIL): Define.
46529         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46530         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46531         (HP_SMALL_TIMING_AVAIL): Define.
46532         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46533         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46535         * sysdeps/aarch64/hp-timing.h: New file.
46537         * sysdeps/generic/hp-timing.h: Remove dead comment.
46538         * sysdeps/generic/hp-timing-common.h: New file.
46539         * sysdeps/alpha/hp-timing.h: Include it.
46540         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46541         * sysdeps/i386/i686/hp-timing.h: Likewise.
46542         * sysdeps/ia64/hp-timing.h: Likewise.
46543         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46544         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46546         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46547         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46548         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46549         (hp_timing_t): New.
46551         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46552         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46553         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46554         * elf/rtld.c (_dl_start_final): Likewise.
46555         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46556         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46557         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46558         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46559         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46561         (HP_TIMING_DIFF_INIT): Remove.
46562         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46563         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46564         (HP_TIMING_DIFF_INIT): Remove.
46565         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46566         * sysdeps/i386/i686/hp-timing.c: Remove file.
46567         * sysdeps/x86_64/hp-timing.c: Remove file.
46568         * sysdeps/ia64/hp-timing.c: Remove file.
46569         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46570         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46572         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46574         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46575         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46576         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46577         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46579         (HP_TIMING_ACCUM): Remove.
46580         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46581         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46582         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46584         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46585         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46586         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46587         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46588         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46589         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46590         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46591         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46593         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46595 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46597         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46599 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46601         Sync up with gettext.
46602         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46603         [_MSC_VER]: Include malloc.h
46604         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46605         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46606         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46607         TEMP_FAILURE_RETRY.  Cast return of alloca.
46608         [!_LIBC] Call gl_rwlock_init.
46609         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46611 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46613         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46614         before checking its value.
46616 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46618         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46620         * debug/memcpy_chk.c: Don't include pagecopy.h.
46621         * debug/mempcpy_chk.c: Likewise.
46622         * string/memcpy.c: Likewise.
46623         * string/memmove.c: Likewise.
46624         * sysdeps/powerpc/memmove.c: Likewise.
46625         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46626         definition of PAGE_COPY_FWD_MAYBE here...
46627         * sysdeps/generic/pagecopy.h: ... from here.
46628         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46630 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46631             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46633         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46635         optimizations.
46636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46637         (__libc_ifunc_impl_list): Likewise.
46638         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46639         multiarch strcat for PPC64.
46640         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46641         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46643 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46645         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46647 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46649         * intl/loadmsgcat.c: Remove declaration of
46650         get_sysdep_segment_value.
46651         (get_sysdep_segment_value): Use ISO C style.
46652         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46653         semicolon.  Fix typo and formatting in comment.
46654         (_nl_unload_domain): Use ISO C style.
46656         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46658 2014-07-02  Will Newton  <will.newton@linaro.org>
46660         * malloc/obstack.c: Merge from gnulib master.
46661         [HAVE_CONFIG_H]: Remove conditional code.
46662         [!_LIBC]: Include config.h.
46663         [!ELIDE_CODE]: Don't include inttypes.h, include
46664         stdint.h unconditionally.
46665         (print_and_abort): Mark as _Noreturn.
46666         (_obstack_allocated_p): Mark as __attribute_pure__.
46667         (obstack_free): Rename to __obstack_free.
46668         [!__attribute__]: Remove conditional code.
46669         * malloc/obstack.h: Merge from gnulib master.
46670         [__cplusplus]: Move conditional down.
46671         [!__attribute_pure__]: Define __attribute_pure__ here
46672         if it is not already defined.
46673         (_obstack_memory_used): Mark as __attribute_pure__.
46674         [!__obstack_free]: Define as obstack_free.
46675         [__GNUC__]: Remove check for ancient NeXT gcc.
46677 2014-07-02  Will Newton  <will.newton@linaro.org>
46678             Paul Eggert  <eggert@cs.ucla.edu>
46680         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46682 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46684         * resolv/gethnamaddr.c: Add comment warning that the file is
46685         not maintained.
46687 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46689         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46690         entries.
46692         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46693         entry for aio_cancel and aio_cancel64.
46694         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46695         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46696         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46697         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46698         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46699         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46700         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46701         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46702         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46703         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46704         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46705         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46706         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46708 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46710         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46711         * nptl/pthread_mutex_lock.c: Likewise.
46712         * nptl/pthread_mutex_timedlock.c: Likewise.
46713         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46715 2014-07-01  Richard henderson  <rth@redhat.com>
46717         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46718         (__isnan, __isnanl): Remove.
46719         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46721         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46723 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46725         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46727 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46729         * resolv/nss_dns/dns-host.c (getanswer_r)
46730         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46732 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46735         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46736         undefine.
46737         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46738         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46740 2014-07-01  Roland McGrath <roland@hack.frob.com>
46742         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46743         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46745         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46746         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46748         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46749         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46750         ... here.
46751         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46752         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46754         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46755         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46756         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46757         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46759         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46760         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46761         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46762         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46763         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46764         Moved ...
46765         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46766         ... here.
46767         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46768         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46769         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46770         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46771         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46772         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46773         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46774         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46775         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46776         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46777         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46778         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46779         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46780         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46781         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46782         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46783         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46784         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46785         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46786         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46787         ... here.
46788         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46789         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46790         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46791         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46792         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46793         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46794         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46795         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46797 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46799         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46800         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46801         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46802         Add sysdep.
46804 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46808 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46810         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46811         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46813         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46815         * sysdeps/arm/libm-test-ulps: Regenerated.
46817 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46818             Roland McGrath <roland@hack.frob.com>
46820         * test-skeleton.c (signal_handler): Kill the whole process group
46821         before killing the child individually.
46822         (main): Report any failure on `setpgid'.
46824 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46826         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46827         from _TLS_H to _ARM_NPTL_TLS_H.
46828         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46829         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46831 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46833         [BZ #16539]
46834         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46835         (__expm1l): Return argument unchanged when small but not
46836         subnormal.
46838         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46839         include macro name.
46840         (_FP_UNPACK_RAW_1_P): Likewise.
46841         (_FP_PACK_RAW_1): Likewise.
46842         (_FP_PACK_RAW_1_P): Likewise.
46843         (_FP_MUL_MEAT_1_wide): Likewise.
46844         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46845         (_FP_MUL_MEAT_1_hard): Likewise.
46846         (_FP_DIV_MEAT_1_imm): Likewise.
46847         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46848         (_FP_DIV_MEAT_1_udiv): Likewise.
46849         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46850         (_FP_UNPACK_RAW_2): Likewise.
46851         (_FP_UNPACK_RAW_2_P): Likewise.
46852         (_FP_PACK_RAW_2): Likewise.
46853         (_FP_PACK_RAW_2_P): Likewise.
46854         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46855         (_FP_MUL_MEAT_2_wide): Likewise.
46856         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46857         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46858         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46859         (_FP_MUL_MEAT_2_gmp): Likewise.
46860         (_FP_DIV_MEAT_2_udiv): Likewise.
46861         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46862         (_FP_FRAC_SRL_4): Likewise.
46863         (_FP_FRAC_SRST_4): Likewise.
46864         (_FP_FRAC_SRS_4): Likewise.
46865         (_FP_UNPACK_RAW_4): Likewise.
46866         (_FP_UNPACK_RAW_4_P): Likewise.
46867         (_FP_PACK_RAW_4): Likewise.
46868         (_FP_PACK_RAW_4_P): Likewise.
46869         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46870         (_FP_MUL_MEAT_4_wide): Likewise.
46871         (_FP_MUL_MEAT_4_gmp): Likewise.
46872         (umul_ppppmnnn): Likewise.
46873         (_FP_DIV_MEAT_4_udiv): Likewise.
46874         (__FP_FRAC_ADD_4): Likewise.
46875         (__FP_FRAC_SUB_3): Likewise.
46876         (__FP_FRAC_SUB_4): Likewise.
46877         (__FP_FRAC_DEC_3): Likewise.
46878         (__FP_FRAC_DEC_4): Likewise.
46879         (__FP_FRAC_ADDI_4): Likewise.
46880         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46881         (_FP_FRAC_SRL_8): Likewise.
46882         (_FP_FRAC_SRS_8): Likewise.
46884         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46885         include macro name.
46886         (FP_UNPACK_RAW_EP): Likewise.
46887         (FP_PACK_RAW_E): Likewise.
46888         (FP_PACK_RAW_EP): Likewise.
46889         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46890         (_FP_ISSIGNAN): Likewise.
46891         (_FP_ADD_INTERNAL): Likewise.
46892         (_FP_FMA): Likewise.
46893         (_FP_CMP): Likewise.
46894         (_FP_SQRT): Likewise.
46895         (_FP_TO_INT): Likewise.
46896         (_FP_FROM_INT): Likewise.
46897         (FP_EXTEND): Likewise.
46898         (_FP_DIV_MEAT_N_loop): Likewise.
46900 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46902         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46903         throughout.
46905 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46907         [BZ #17097]
46908         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46909         result with correct sign in case of exponents that produce
46910         overflow except for X very close to 1.
46912 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46914         mktime: merge #if/#ifdef usage from glibc
46915         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46916         as that works with both Glibc's and Gnulib's style.
46917         See thread starting at Siddhesh Poyarekar's bug report at:
46918         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46920 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46922         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46923         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46924         * sysdeps/tile/tilegx/memmove.c: Remove file.
46926 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46928         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46929         abi-name definition.
46930         * scripts/soversions.awk: Do not handle or generate ABI lines.
46931         * shlib-versions: Remove ABI entries.
46932         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46933         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46935 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46938         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46939         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46940         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46942         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46944         Moved ...
46945         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46946         ... here.
46947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46948         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46950         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46952         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46954         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46956         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46958         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46960         Moved ...
46961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46965         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46967         Moved ...
46968         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46970         Moved ...
46971         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46973         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46975         Moved ...
46976         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46978         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46980         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46982         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46984         Moved ...
46985         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46987         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46988         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46989         Moved ...
46990         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46991         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46992         Moved ...
46993         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46995         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46997         Moved ...
46998         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46999         ... here.
47000         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
47001         Identical file removed.
47002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
47003         Moved ...
47004         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
47005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
47006         Identical file removed.
47007         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
47008         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
47009         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47010         Moved ...
47011         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
47012         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
47013         Identical file removed.
47014         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
47015         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
47016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
47017         Identical file removed.
47018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
47019         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
47020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
47021         Identical file removed.
47022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
47023         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
47024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
47025         Identical file removed.
47026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
47027         Moved ...
47028         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
47029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
47030         Identical file removed.
47031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
47032         Moved ...
47033         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
47034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
47035         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
47036         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
47037         Identical file removed.
47038         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
47039         Moved ...
47040         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
47041         ... here.
47042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
47043         Identical file removed.
47044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
47045         Moved ...
47046         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
47047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
47048         Identical file removed.
47049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
47050         Moved ...
47051         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
47052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
47053         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
47054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
47055         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
47056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
47057         Moved ...
47058         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
47059         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
47060         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
47062         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
47063         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
47064         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
47065         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
47066         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
47068 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
47070         [BZ #17092]
47071         * nscd/nscd.c (monitor_child): Return exit status of child
47072         instead of return value from wait syscall.
47074 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47076         * configure.ac (libc_commonpagesize): Remove variable.
47077         (libc_relro_required): Likewise.
47078         (libc_cv_z_relro): Remove configure test.
47079         * configure: Regenerated.
47080         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
47081         variable.
47082         (libc_relro_required): Likewise.
47083         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
47084         (libc_relro_required): Likewise.
47085         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
47086         (libc_relro_required): Likewise.
47087         * sysdeps/arm/preconfigure: Regenerated.
47088         * sysdeps/ia64/preconfigure: Remove file.
47089         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
47090         variable.
47091         (libc_relro_required): Likewise.
47093         [BZ #16561]
47094         [BZ #16562]
47095         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
47096         (__ieee754_yn): Set FE_TONEAREST mode internally and then
47097         recompute overflowing results in original rounding mode.
47098         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
47099         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
47100         recompute overflowing results in original rounding mode.
47101         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47102         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47103         recompute overflowing results in original rounding mode.
47104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47105         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47106         recompute overflowing results in original rounding mode.
47107         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47108         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47109         recompute overflowing results in original rounding mode.
47110         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47111         (libc_feholdsetround_ctx): New macro.
47112         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47113         * sysdeps/i386/fpu/libm-test-ulps: Update.
47114         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47116 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47118         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47119         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47120         corresponding .cpsetup call.
47122 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47124         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47125         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47126         * sysdeps/arm/Makefile [$(subdir) = csu]
47127         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47128         (static-only-routines): Add aeabi_read_tp here.
47129         (shared-only-routines): Add libc-aeabi_read_tp here.
47130         (CFLAGS-libc-start.c): Add -fexceptions here.
47131         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47132         (sysdep_routines, static-only-routines, shared-only-routines):
47133         Don't add to these here.
47134         (CFLAGS-libc-start.c): Likewise.
47136         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47137         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47138         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47139         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47140         * sysdeps/arm/Makefile [$(subdir) = rt]
47141         (librt-sysdep_routines, librt-shared-only-routines):
47142         Append rt-aeabi_unwind_cpp_pr1 here.
47143         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47144         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47145         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47146         (libpthread-sysdep_routines, libpthread-shared-only-routines):
47147         Append nptl-aeabi_unwind_cpp_pr1 here.
47148         (tests): Filter out tst-cleanupx4 here.
47149         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47150         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47151         Don't do those here.
47153 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47155         * scripts/list-sources.sh: Do not handle ports specially.
47157 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47159         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47160         * sysdeps/arm/feupdateenv.c: Likewise.
47162         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47164 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47166         * manual/texinfo.tex: Update to version 2014-05-05.10 with
47167         trailing whitespace removed.
47168         * scripts/config.guess: Update to version 2014-03-23.
47169         * scripts/config.sub: Update to version 2014-05-01
47170         * scripts/install-sh: Update to version 2013-12-25.23.
47171         * scripts/move-if-change: Update from gnulib.
47173 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47175         * debug/memmove_chk.c: Remove pagecopy.h include.
47177 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
47179         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
47180         identical to gnulib mktime.
47182 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47184         * configure.ac: Do not test for machine being rs6000.  Do not test
47185         for powerpc*-*soft.
47186         * configure: Regenerated.
47188         [BZ #11505]
47189         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47190         test.
47191         * configure: Regenerated.
47192         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47193         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47194         Remove configure test.
47195         * sysdeps/arm/configure: Regenerated.
47196         * sysdeps/nptl/configure.ac: Do not check
47197         libc_cv_asm_cfi_directives.
47198         * sysdeps/nptl/configure: Regenerated.
47199         * sysdeps/x86_64/nptl/configure.ac: Remove file.
47200         * sysdeps/x86_64/nptl/configure: Remove generated file.
47201         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47202         unconditional.
47203         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47205 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47207         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47208         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47209         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47210         it is defined.
47212         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47213         instead of whether it is defined.
47214         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47215         * sysdeps/hppa/dl-machine.h: Likewise.
47216         * sysdeps/ia64/dl-machine.h: Likewise.
47217         * sysdeps/m68k/dl-machine.h: Likewise.
47218         * sysdeps/microblaze/dl-machine.h: Likewise.
47219         * sysdeps/mips/dl-machine.: Likewise.
47220         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47221         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47222         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47223         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47224         * sysdeps/sh/dl-machine.h: Likewise.
47225         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47226         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47227         * sysdeps/tile/dl-machine.h: Likewise.
47228         * sysdeps/x86_64/dl-machine.h: Likewise.
47230         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47231         code.
47232         (verify_persistent_db): Likewise.
47234 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47237         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47239         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47241         Moved ...
47242         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47243         ... here.
47244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47245         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47247         Identical file removed.
47248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47249         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47251         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47253         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47255         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47257         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47259         Moved ...
47260         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47262         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47264         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47266         Moved ...
47267         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47269         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47271         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47273         Identical file removed.
47274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47275         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47277         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47279         Moved ...
47280         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47281         ... here.
47282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47283         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47285         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47287         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47289         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47291         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47293         Moved ...
47294         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47296         Moved ...
47297         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47299         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47301         Moved ...
47302         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47304         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47306         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47307         folded into ...
47308         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47309         * sysdeps/unix/sysv/linux/s390/Versions
47310         (libpthread: GLIBC_2.19): New version set.
47311         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47312         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47313         (librt: GLIBC_2.3.3): New version set.
47314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47315         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47316         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47317         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47318         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47319         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47320         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47321         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47322         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47323         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47324         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47325         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47326         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47327         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47328         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47329         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47330         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47331         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47332         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47333         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47334         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47335         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47336         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47338         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47340         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47341         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47342         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47343         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47344         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47345         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47346         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47350         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47352         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47354         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47356         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47358         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47360         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47361         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47362         (__libc_vfork): Define the function under this name.
47363         [!NOT_IN_libc] (__vfork): Make this an alias.
47364         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47366         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
47367         (__libc_vfork): Define the function under this name.
47368         [!NOT_IN_libc] (__vfork): Make this an alias.
47369         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47370         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47371         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47373         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47374         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47376         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47377         code that was previously under [RESET_PID].
47378         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47379         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47382         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47383         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47384         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47385         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47386         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47387         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47388         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47389         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47390         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47391         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47392         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47393         Moved ...
47394         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47395         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47396         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47397         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47398         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47399         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47400         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47401         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47402         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47403         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47404         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47405         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47406         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47407         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47408         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47409         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47410         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47411         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47412         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47413         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47414         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47415         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47416         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47417         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47418         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47419         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47420         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47421         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47422         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47424 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47426         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47427         that was previously under [RESET_PID].
47428         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47430 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47432         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47433         not undefine and redefine.
47434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47435         [O_CLOEXEC]: Make code unconditional.
47436         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47437         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47438         <kernel-features.h>.
47439         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47440         conditional variable definition.
47441         (shm_open) [O_CLOEXEC]: Make code unconditional.
47442         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47443         code.
47445         * configure.ac (USE_REGPARMS): Don't define here.
47446         * configure: Regenerated.
47447         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47448         * sysdeps/i386/configure: Regenerated.
47450         * nptl/createthread.c: Don't include kernel-features.h.
47451         * nptl/pthread_cancel.c: Likewise.
47452         * nptl/pthread_condattr_setclock.c: Likewise.
47453         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47454         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47455         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47456         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47457         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47460         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47462         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47463         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47464         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47465         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47466         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47467         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47468         * nscd/gai.c: Likewise.
47469         * nss/nss_db/db-open.c: Likewise.
47470         * sysdeps/generic/ldsodefs.h: Likewise.
47471         * sysdeps/sh/nptl/tls.h: Likewise.
47472         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47473         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47474         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47475         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47476         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47477         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47478         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47479         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47480         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47481         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47482         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47483         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47484         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47485         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47486         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47487         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47488         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47489         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47490         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47491         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47494         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47495         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47500         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47501         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47502         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47503         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47504         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47505         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47506         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47507         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47508         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47509         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47510         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47511         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47512         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47513         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47514         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47515         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47516         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47517         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47518         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47519         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47520         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47521         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47522         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47523         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47524         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47525         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47526         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47527         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47528         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47529         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47552         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47553         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47554         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47555         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47556         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47557         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47558         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47559         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47560         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47561         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47562         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47563         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47564         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47565         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47566         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47567         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47568         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47569         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47570         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47571         * sysdeps/unix/sysv/linux/system.c: Likewise.
47572         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47573         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47574         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47575         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47576         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47577         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47578         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47580         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47581         * configure: Regenerated.
47582         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47584         * configure.ac (base_machine): Do not set specially for particular
47585         machines here.
47586         * configure: Regenerated.
47587         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47588         settings from configure.ac.
47589         * sysdeps/i386/preconfigure: New file.
47590         * sysdeps/s390/preconfigure: Likewise.
47591         * sysdeps/sh/preconfigure: Likewise.
47592         * sysdeps/sparc/preconfigure: Likewise.
47594 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47596         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47597         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47598         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47599         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47600         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47601         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47602         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47603         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47604         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47605         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47606         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47607         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47608         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47610         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47611         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47613         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47614         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47616         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47617         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47618         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47619         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47620         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47621         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47622         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47623         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47624         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47625         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47626         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47627         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47628         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47629         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47630         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47631         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47632         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47633         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47634         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47635         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47637         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47638         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47639         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47641         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47642         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47644         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47645         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47646         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47647         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47648         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47649         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47650         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47651         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47652         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47653         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47656         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47658         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47660         Moved ...
47661         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47662         ... here.
47663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47664         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47666         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47668         Moved ...
47669         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47671         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47673         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47675         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47677         Moved ...
47678         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47680         Moved ...
47681         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47683         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47685         Moved ...
47686         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47688         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47690         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47692         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47694         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47696         Moved ...
47697         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47698         ... here.
47699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47700         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47702         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47704         Moved ...
47705         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47707         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47709         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47711         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47713         Moved ...
47714         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47716         Moved ...
47717         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47719         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47721         Moved ...
47722         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47724         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47726         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47728 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47730         * timezone/checktab.awk: Update from tzcode 2014e.
47731         * timezone/private.h: Likewise.
47732         * timezone/tzfile.h: Likewise.
47733         * timezone/zdump.c: Likewise.
47734         * timezone/zic.c: Likewise.
47736         * sysdeps/unix/sysv/linux/kernel-features.h
47737         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47738         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47739         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47740         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47741         Remove conditional code.
47743 2014-06-25  Will Newton  <will.newton@linaro.org>
47745         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47746         (_dl_arm_cap_flags): Add HWCAP2 values.
47747         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47748         (_DL_HWCAP_COUNT): Increase to 37.
47749         (_DL_HWCAP_LAST): New define.
47750         (_DL_HWCAP2_LAST): New define.
47751         (_dl_procinfo): Add support for printing
47752         AT_HWCAP2 entries.
47753         (_dl_string_hwcap): Use _dl_hwcap_string.
47755 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47759 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47761         * README: Do not mention ports directory.
47763         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47764         Remove macro.
47765         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47766         <kernel-features.h>.
47767         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47768         conditional variable definition.
47769         (__futimes): Update comment.
47770         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47771         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47773         [BZ #16560]
47774         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47775         arguments close to 0.
47776         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47777         Likewise.
47778         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47779         Likewise.
47780         * math/auto-libm-test-in: Add more tests of exp10.
47781         * math/auto-libm-test-out: Regenerated.
47782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47784         * sysdeps/unix/sysv/linux/kernel-features.h
47785         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47786         * sysdeps/unix/sysv/linux/readv.c: Do not include
47787         <kernel-features.h>.
47788         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47789         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47790         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47791         unconditional.
47792         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47793         conditional code.
47794         * sysdeps/unix/sysv/linux/writev.c: Do not include
47795         <kernel-features.h>.
47796         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47797         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47798         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47799         unconditional.
47800         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47801         conditional code.
47803 2014-06-25  Will Newton  <will.newton@linaro.org>
47805         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47806         comment changes throughout the file.  Remove checks
47807         for HAVE_*_H definitions that are not required.
47808         (__gen_tempname): Call abort if an unknown kind value is
47809         passed.
47811 2014-06-25  Andreas Schwab  <schwab@suse.de>
47813         [BZ #17086]
47814         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47815         scalbln, scalblnf, scalblnl in libc.
47817 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47819         [BZ #17086]
47820         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47821         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47822         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47824 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47826         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47827         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47828         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47829         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47830         Update #include.
47831         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47832         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47833         Update #include.
47834         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47835         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47836         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47837         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47838         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47839         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47840         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47841         * sysdeps/x86/bits/semaphore.h: ... here.
47842         * sysdeps/x86/nptl/elide.h: Moved ...
47843         * sysdeps/x86/elide.h: ... here.
47844         * sysdeps/x86_64/nptl/Implies: File removed.
47845         * sysdeps/i386/nptl/Implies: File removed.
47847 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47849         [BZ #16539]
47850         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47851         return the argument for normal arguments with exponent below -64.
47852         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47853         Likewise.
47854         * math/auto-libm-test-in: Add another test of expm1.
47855         * math/auto-libm-test-out: Regenerated.
47857         [BZ #16287]
47858         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47859         calling __erfcl for arguments at least 16.
47860         * math/auto-libm-test-in: Add more tests of erf.
47861         * math/auto-libm-test-out: Regenerated.
47863         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47864         individual architectures.
47865         * sysdeps/unix/sysv/linux/configure: Regenerated.
47866         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47867         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47868         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47869         (ldd_rewrite_script): Define variable.
47870         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47872         file.
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47874         generated file.
47875         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47876         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47877         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47878         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47879         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47880         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47881         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47882         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47884 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47886         [BZ #17084]
47887         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47888         Rename member __data.d to __data.__elision_data.
47890 2014-06-24  Wilco  <wdijkstr@arm.com>
47892         * NEWS: Add 16918 to fixed bug list.
47894 2014-06-24  Wilco  <wdijkstr@arm.com>
47896         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47898 2014-06-24  Wilco  <wdijkstr@arm.com>
47900         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47901         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47902         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47903         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47904         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47905         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47906         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47907         Use _FPU_MASK_RM.
47909 2014-06-24  Wilco  <wdijkstr@arm.com>
47911         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47913 2014-06-24  Wilco  <wdijkstr@arm.com>
47915         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47916         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47917         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47918         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47920 2014-06-24  Wilco  <wdijkstr@arm.com>
47922         [BZ #16918]
47923         * sysdeps/arm/feupdateenv.c (feupdateenv):
47924         Rewrite to reduce FPSCR accesses and fix return value.
47926 2014-06-24  Wilco  <wdijkstr@arm.com>
47928         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47929         Optimize to avoid unnecessary FPSCR writes.
47930         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47931         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47932         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47933         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47935 2014-06-24  Wilco  <wdijkstr@arm.com>
47937         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47938         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47939         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47940         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47941         Call libc_fetestexcept_vfp.
47942         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47943         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47944         __SOFTFP__ ifdef so that they can be built for softfp.
47946 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47948         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47949         argument type signed char.
47951         * Makerules (check-abi): Dump diff of symlist if the test
47952         fails.
47954 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47956         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47957         using abort.
47959         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47960         Remove unused variable ST.
47962 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47964         [BZ #16354]
47965         [BZ #17061]
47966         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47967         small arguments before calling __expm1.
47968         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47969         small arguments before calling __expm1f.
47970         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47971         small arguments before calling __expm1l.
47972         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47973         Likewise.
47974         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47975         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47976         spurious underflow for some cosh tests.
47977         * math/auto-libm-test-out: Regenerated.
47978         * sysdeps/i386/fpu/libm-test-ulps: Update.
47980         [BZ #17050]
47981         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47982         (__ieee754_y1): Set errno if return value overflows.
47983         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47984         (__ieee754_y1f): Set errno if return value overflows.
47985         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47986         (__ieee754_y1l): Set errno if return value overflows.
47987         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47988         (__ieee754_y1l): Set errno if return value overflows.
47989         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47990         * math/auto-libm-test-out: Regenerated.
47992         * math/gen-auto-libm-tests.c: Document use of
47993         ignore-zero-inf-sign.
47994         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47995         (input_flags): Add ignore-zero-inf-sign.
47996         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47997         * math/gen-libm-test.pl (generate_testfile): Handle
47998         ignore-zero-inf-sign.
47999         * math/auto-libm-test-in: Mark some cpow tests with
48000         ignore-zero-inf-sign and some with xfail-rounding.
48001         * math/auto-libm-test-out: Regenerated.
48002         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
48003         * sysdeps/i386/fpu/libm-test-ulps: Update.
48004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48006         [BZ #16315]
48007         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
48008         overflowing or underflowing operations take place with sign of
48009         result.
48010         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48011         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48012         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
48013         (__ieee754_pow): Recompute overflowing and underflowing results in
48014         original rounding mode.
48015         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
48016         (__powl_helper): Allow negative argument X and scale negated value
48017         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
48018         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
48019         overflowing or underflowing operations take place with sign of
48020         result.
48021         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
48022         Include <math.h>.
48023         * math/auto-libm-test-in: Add more tests of pow.
48024         * math/auto-libm-test-out: Regenerated.
48025         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
48026         (pow_tonearest_test_data): Remove.
48027         (pow_test_tonearest): Likewise.
48028         (pow_towardzero_test_data): Likewise.
48029         (pow_test_towardzero): Likewise.
48030         (pow_downward_test_data): Likewise.
48031         (pow_test_downward): Likewise.
48032         (pow_upward_test_data): Likewise.
48033         (pow_test_upward): Likewise.
48034         (main): Don't call removed functions.
48035         * sysdeps/i386/fpu/libm-test-ulps: Update.
48036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48038 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
48041         Moved ...
48042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
48043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48044         Moved ...
48045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
48046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48047         Moved ...
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
48049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48050         Moved ...
48051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
48052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48053         File removed.
48054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48055         File removed.
48056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
48057         File removed.
48058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
48059         File removed.
48060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
48061         File removed.
48062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
48063         File removed.
48064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
48065         File removed.
48066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48067         File removed.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
48069         File removed.
48070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48071         File removed.
48072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
48073         File removed.
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
48075         File removed.
48076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
48077         Moved ...
48078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
48079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
48080         Moved ...
48081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
48082         ... here.
48083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48084         Moved ...
48085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
48086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
48087         Moved ...
48088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
48089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
48090         Moved ...
48091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
48092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
48093         Moved ...
48094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
48095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
48096         Moved ...
48097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
48098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
48099         Moved ...
48100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
48101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48102         Moved ...
48103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48106         ... here.
48107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48108         Moved ...
48109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48111         Moved ...
48112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48113         ... here.
48114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48115         Moved ...
48116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48117         ... here.
48118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48119         Moved ...
48120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48121         ... here.
48122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48123         Moved ...
48124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48126         Moved ...
48127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48131         Moved ...
48132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48133         ... here.
48134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48135         Moved ...
48136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48137         ... here.
48138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48139         Moved ...
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48142         Moved ...
48143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48145         Moved ...
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48148         Moved ...
48149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48151         Moved ...
48152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48153         ... here.
48154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48155         Moved ...
48156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48158         Moved ...
48159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48161         Moved ...
48162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48164         Moved ...
48165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48169         Moved ...
48170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48172         Moved ...
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48175         Moved ...
48176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48177         ... here.
48178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48179         Moved ...
48180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48181         ... here.
48182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48183         Moved ...
48184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48185         ... here.
48186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48187         Moved ...
48188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48190         Moved ...
48191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48193         Moved ...
48194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48196         Moved ...
48197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48198         ... here.
48199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48200         Moved ...
48201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48202         ... here.
48203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48204         Moved ...
48205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48206         ... here.
48207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48208         Moved ...
48209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48211         Moved ...
48212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48214 2014-06-23  Will Newton  <will.newton@linaro.org>
48215             Wilco  <wdijkstr@arm.com>
48217         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48218         implementation.  Include get-rounding-mode.h.
48219         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48220         [!libc_feholdsetround_noex_ctx]: Define
48221         libc_feholdsetround_noex_ctx.
48222         [!libc_feholdsetround_noexf_ctx]: Define
48223         libc_feholdsetround_noexf_ctx.
48224         [!libc_feholdsetround_noexl_ctx]: Define
48225         libc_feholdsetround_noexl_ctx.
48226         (libc_feholdsetround_ctx): New function.
48227         (libc_feresetround_ctx): New function.
48228         (libc_feholdsetround_noex_ctx): New function.
48229         (libc_feresetround_noex_ctx): New function.
48231 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48233         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48234         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48235         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48236         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48237         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48238         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48240         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48241         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48242         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48243         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48244         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48245         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48247         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48249         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48251         Moved ...
48252         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48253         ... here.
48254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48255         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48256         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48257         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48259         Moved ...
48260         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48262         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48264         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48266         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48268         Moved ...
48269         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48270         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48271         Moved ...
48272         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48273         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48274         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48276         Moved ...
48277         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48279         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48280         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48281         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48282         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48283         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48285         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48287         Moved ...
48288         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48289         ... here.
48290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48291         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48293         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48295         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48297         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48299         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48300         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48301         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48302         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48303         Moved ...
48304         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48305         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48306         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48308         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48310         Moved ...
48311         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48312         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48313         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48314         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48315         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48317         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48318         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48319         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48320         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48321         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48322         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48323         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48324         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48325         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48326         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48327         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48328         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48329         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48330         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48331         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48332         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48333         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48334         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48335         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48336         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48337         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48338         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48339         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48340         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48341         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48342         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48343         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48344         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48346 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48348         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48349         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48350         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48351         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48352         (IPV6_PMTUDISC_INTERFACE): Likewise.
48353         (IPV6_PMTUDISC_OMIT): Likewise.
48355 2014-06-23  Andreas Schwab  <schwab@suse.de>
48357         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48358         Remove unused errout label.
48360 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48362         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48363         macro: hardware supports Vector Crypto instructions.
48365 2014-06-23  Will Newton  <will.newton@linaro.org>
48367         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48368         rather than __builtin_expect.
48370         * elf/dl-lookup.c (undefined_msg): Remove variable.
48371         (_dl_lookup_symbol_x): Replace undefined_msg with string
48372         literal.
48374         * elf/dl-lookup.c (do_lookup_unique): New function.
48375         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48376         to a separate function.
48378 2014-06-23  Andreas Schwab  <schwab@suse.de>
48380         [BZ #17079]
48381         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48382         before reading the next line.
48384 2014-06-23  Will Newton  <will.newton@linaro.org>
48386         * test-skeleton.c (signal_handler): Use printf and %m
48387         rather than perror.  Use printf rather than fprintf to
48388         stderr.  Use puts rather than fputs to stderr.
48389         (main): Likewise.
48391 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48393         * nscd/nscd.c (thread_info_t): Remove typedef.
48394         (thread_info): Remove variable.
48396 2014-06-21  Allan McRae  <allan@archlinux.org>
48398         * NEWS: Mention CVE-2014-4043.
48400 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48402         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48403         * nptl/smp.h: ... here.
48405         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48407         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48408         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48409         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48410         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48412         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48413         * nptl/stack-aliasing.h: New file.
48414         * sysdeps/i386/i686/stack-aliasing.h: New file.
48415         * sysdeps/i386/i686/nptl/Makefile: File removed.
48416         * sysdeps/x86_64/stack-aliasing.h: New file.
48417         * sysdeps/x86_64/nptl/Makefile
48418         (CFLAGS-pthread_create.c): Variable removed.
48420         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48421         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48422         old file.
48423         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48424         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48425         old file.
48427 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48429         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48430         (__ASSUME_SIGFRAME_V2): Remove macro.
48431         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48432         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48433         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48434         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48435         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48436         Declare as function.  Remove conditional macro definitions.
48437         (__default_rt_sa_restorer): Likewise.
48438         (__default_sa_restorer_v1): Remove declaration.
48439         (__default_sa_restorer_v2): Likewise.
48440         (__default_rt_sa_restorer_v1): Likewise.
48441         (__default_rt_sa_restorer_v2): Likewise.
48442         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48443         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48444         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48446 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48448         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48449         (libpthread-routines): Add sysdep.
48450         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48451         * sysdeps/unix/sysv/linux/sparc/Versions
48452         (libpthread: GLIBC_2.3.3): New version set.
48453         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48454         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48455         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48456         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48457         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48458         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48459         Moved ...
48460         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48461         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48462         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48463         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48464         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48465         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48466         * sysdeps/sparc/nptl/sem_init.c: ... here.
48467         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48468         * sysdeps/sparc/nptl/sem_post.c: ... here.
48469         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48470         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48471         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48472         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48473         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48474         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48475         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48476         (libpthread-routines): Add cpu_relax.
48477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48478         File removed.
48479         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48480         (librt: GLIBC_2.3.3): New version set.
48481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48482         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48483         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48484         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48487         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48489         Moved ...
48490         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48492         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48494         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48496         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48498         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48500         Moved ...
48501         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48502         Update #include.
48503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48504         Moved ...
48505         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48506         Update #include.
48507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48508         Moved ...
48509         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48510         Update #include.
48511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48512         Moved ...
48513         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48514         Update #include.
48515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48516         Moved ...
48517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48518         Update #include.
48519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48520         Moved ...
48521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48522         Update #include.
48523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48524         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48530         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48532         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48534         Moved ...
48535         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48537         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48539         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48541 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48543         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48544         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48545         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48546         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48547         * nscd/nscd.c: Likewise.
48548         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48549         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48550         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48551         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48553         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48554         <kernel-features.h>.
48555         (init_mq_netlink): Remove conditional have_sock_cloexec
48556         definitions.  Remove code conditional on have_sock_cloexec < 0.
48557         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48558         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48559         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48560         <kernel-features.h>.
48561         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48562         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48564 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48567         Add tests for memset_chk and memset.
48569         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48570         with AVX2_Usable.
48572 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48574         [BZ #16046]
48575         * elf/tst-dl-iter-static.c: New file.
48576         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48578         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48579         error.
48581 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48583         * sysdeps/unix/sysv/linux/kernel-features.h
48584         (__ASSUME_F_GETOWN_EX): Remove macro.
48585         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48586         <kernel-features.h>.
48587         (miss_F_GETOWN_EX): Remove variable or macro.
48588         (do_fcntl): Do not check miss_F_GETOWN_EX.
48589         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48591         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48592         Remove macro.
48593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48594         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48595         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48597         * sysdeps/unix/sysv/linux/kernel-features.h
48598         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48599         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48600         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48601         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48603 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48605         [BZ #17075]
48606         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48607         Fix calculation of the symbol's value.
48608         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48609         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48610         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48611         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48612         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48613         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48614         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48615         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48616         (modules-names): Add `tst-armtlsdescmod',
48617         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48618         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48619         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48620         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48621         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48622         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48623         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48624         ($(objpfx)tst-armtlsdescloc): New dependency.
48625         ($(objpfx)tst-armtlsdescextnow): Likewise.
48626         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48627         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48628         TLS scheme support.
48629         * sysdeps/arm/configure: Regenerate.
48631 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48633         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48634         (__atfct_seterrno_2): Likewise.
48635         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48636         <kernel-features.h>.
48637         (__ASSUME_ATFCTS): Do not undefine and redefine.
48638         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48639         (__have_atfcts): Remove conditional definition.
48640         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48641         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48642         unreachable if [__ASSUME_ATFCTS].
48643         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48644         not undefine and redefine.
48645         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48646         <kernel-features.h>.
48647         (faccessat) [__NR_faccessat]: Make code unconditional.
48648         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48649         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48650         <kernel-features.h>.
48651         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48652         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48653         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48654         <kernel-features.h>.
48655         (fchownat) [__NR_fchownat]: Make code unconditional.
48656         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48657         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48658         <kernel-features.h>.
48659         (futimesat) [__NR_futimesat]: Make code unconditional.
48660         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48661         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48662         <kernel-features.h>.
48663         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48664         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48665         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48666         <kernel-features.h>.
48667         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48668         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48669         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48670         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48671         <kernel-features.h>.
48672         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48673         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48674         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48675         <kernel-features.h>.
48676         (linkat) [__NR_linkat]: Make code unconditional.
48677         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48678         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48679         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48680         <kernel-features.h>.
48681         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48682         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48683         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48684         <kernel-features.h>.
48685         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48686         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48687         * sysdeps/unix/sysv/linux/openat.c: Do not include
48688         <kernel-features.h>.
48689         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48690         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48691         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48692         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48693         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48694         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48695         <kernel-features.h>.
48696         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48697         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48698         result of INLINE_SYSCALL directly, not via int variable.
48699         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48700         <kernel-features.h>.
48701         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48702         (renameat) [__NR_renameat]: Make code unconditional.
48703         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48704         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48705         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48706         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48707         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48708         (__ASSUME_ATFCTS): Do not undefine and redefine.
48709         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48710         <kernel-features.h>.
48711         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48712         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48713         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48714         <kernel-features.h>.
48715         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48716         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48717         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48718         (__ASSUME_ATFCTS): Do not undefine and redefine.
48719         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48720         <kernel-features.h>.
48721         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48722         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48723         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48724         <kernel-features.h>.
48725         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48726         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48728 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48730         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48732 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48734         [BZ #17069]
48735         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48736         constructed tree before returning error.
48737         * posix/bug-regexp36.c: Expand test case.
48739 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48741         [BZ #6803]
48742         * math/libm-test.inc (scalbln_test_date):
48743         Add errno expectations.
48744         * math/w_scalblnf.c: New File.
48745         Add wrapper which checks for setting errno to ERANGE.
48746         Add weak_alias for corresponding scalbln function.
48747         * math/w_scalbln.c: Likewise.
48748         * math/w_scalblnl.c: Likewise.
48749         * math/Makefile (libm-calls): Add w_scalbln.
48750         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48751         Remove weak_alias for corresponding scalbln function.
48752         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48753         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48754         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48756         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48757         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48758         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48759         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48760         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48761         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48762         Remove long_double_symbol for scalblnl function in libm, libc.
48763         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48764         Add wrapper which checks for setting errno to ERANGE.
48765         Add long_double_symbol for scalblnl function in libm, libc.
48766         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48767         Remove long_double_symbol for scalblnl in libm.
48768         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48769         Add wrapper which checks for setting errno to ERANGE.
48770         Add long_double_symbol for scalblnl function in libm.
48771         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48772         Do not use wrapper because of own implementation.
48774 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48776         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48777         3 bytes for __pad1 for x32.
48778         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48780 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48781             H.J. Lu  <hongjiu.lu@intel.com>
48783         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48784         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48785         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48786         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48787         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48789 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48791         [BZ #17069]
48792         * posix/regcomp.c (parse_expression): Deallocate partially
48793         constructed tree before returning error.
48794         * posix/Makefile.c (tests): Add bug-regex36.
48795         (generated): Add bug-regex36.mtrace.
48796         (tests-special): Add $(objpfx)bug-regex36-mem.out
48797         (bug-regex36-ENV): New variable.
48798         ($(objpfx)bug-regex36-mem.out): New rule.
48799         * posix/bug-regex36.c: New file.
48801 2014-06-19  Will Newton  <will.newton@linaro.org>
48803         * malloc/malloc.c (systrim): If extra is zero then return
48804         early.
48806 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48808         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48810 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48812         * sysdeps/aarch64/strchr.S: New file.
48814 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48816         [BZ #17022]
48817         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48818         from arguments -2 or below.
48819         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48820         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48822 2014-06-18  Andreas Schwab  <schwab@suse.de>
48824         [BZ #17062]
48825         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48826         of a bracket expr not to run off the end of the string.
48827         * posix/Makefile (tests): Add tst-fnmatch3.
48828         * posix/tst-fnmatch3.c: New file.
48830 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48832         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48833         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48834         [$(cross-compiling) = no]: Likewise.
48835         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48836         [$(cross-compiling) = no]: Likewise.
48838 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48840         [BZ #17031]
48841         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48842         double, adjusted for any remainder from the high double.
48843         * math/libm-test.inc (nearbyint): Add tests.
48844         (rint): Likewise.
48846 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48848         * nptl/sysdeps/powerpc/Makefile: Moved ...
48849         * sysdeps/powerpc/nptl/Makefile: ... here.
48850         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48851         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48852         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48853         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48854         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48855         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48856         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48857         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48858         * nptl/sysdeps/powerpc/tls.h: Moved ...
48859         * sysdeps/powerpc/nptl/tls.h: ... here.
48861 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48863         [BZ #16681]
48864         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48865         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48866         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48867         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48868         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48869         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48870         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48871         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48872         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48874 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48876         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48878 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48880         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48881         defined operator.
48883         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48884         $TIMEOUTFACTOR.
48886 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48888         [BZ #17058]
48889         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48890         non-executed part of the test.
48892 2014-06-16  Andreas Schwab  <schwab@suse.de>
48894         * string/bits/string2.h (strdup, strndup): Update feature guard.
48896 2014-06-14  David S. Miller  <davem@davemloft.net>
48898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48900 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48902         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48903         that was previously under [RESET_PID].
48904         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48906         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48907         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48908         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48909         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48910         (__libc_vfork): New strong alias.
48911         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48913 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48915         * sysdeps/generic/elide.h: New file.
48917 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48919         * Makefile (installed-headers): Adjust path of pthread.h header.
48921 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48924         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48925         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48926         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48928         * nptl/sysdeps/s390/Makefile: Moved ...
48929         * sysdeps/s390/nptl/Makefile: ... here.
48930         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48931         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48932         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48933         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48934         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48935         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48936         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48937         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48938         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48939         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48940         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48941         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48942         * nptl/sysdeps/s390/tls.h: Moved ...
48943         * sysdeps/s390/nptl/tls.h: ... here.
48945         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48946         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48948 2014-06-13  David S. Miller  <davem@davemloft.net>
48950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48953         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48957         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48958         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48959         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48960         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48961         Remove RESET_PID cpp guards.
48962         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48963         Remove RESET_PID cpp guards.
48964         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48966 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48968         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48969         __sp to uintptr_t.
48971 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48976         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48980         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48982         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48987         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48994         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48995         (pthread_rwlock_rdlock): Add elision.
48996         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48997         (pthread_rwlock_wrlock): Add elision.
48998         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48999         (pthread_rwlock_trywrlock): Add elision.
49000         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
49001         (pthread_rwlock_tryrdlock): Add elision.
49002         * nptl/pthread_rwlock_unlock.c: Include elide.h.
49003         (pthread_rwlock_tryrdlock): Add elision unlock.
49004         * nptl/sysdeps/pthread/pthread.h:
49005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
49006         (PTHREAD_RWLOCK_INITIALIZER,
49007         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
49008         Handle new elision field.
49009         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
49010         * sysdeps/arm/nptl/bits/pthreadtypes.h
49011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49012         * sysdeps/sh/nptl/bits/pthreadtypes.h
49013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49014         * sysdeps/tile/nptl/bits/pthreadtypes.h
49015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49016         * sysdeps/a/nptl/bits/pthreadtypes.h
49017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49018         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49020         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49021         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49022         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
49023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49024         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49026         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49028         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49030         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49031         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49032         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
49033         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49034         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
49035         (elision_init): Set try_xbegin to zero when no RTM.
49036         * sysdeps/x86/nptl/bits/pthreadtypes.h
49037         (pthread_rwlock_t): Change __pad1 to __rwelision.
49038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49040 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49042         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
49043         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
49044         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
49045         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
49047 2014-06-13  Meador Inge  <meadori@codesourcery.com>
49049         [BZ #16996]
49050         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
49051         that the cached result has been set before returning it.
49053 2014-06-12  Roland McGrath  <roland@hack.frob.com>
49055         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
49056         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
49057         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
49058         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
49059         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
49060         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
49062         * nptl/sysdeps/sparc/Makefile: Moved ...
49063         * sysdeps/sparc/nptl/Makefile: ... here.
49064         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
49065         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
49066         * nptl/sysdeps/sparc/tls.h: Moved ...
49067         * sysdeps/sparc/nptl/tls.h: ... here.
49068         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
49069         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
49070         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
49071         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
49072         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
49073         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
49074         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
49075         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
49076         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
49077         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
49078         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
49079         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
49080         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
49081         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
49082         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
49083         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
49084         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
49085         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
49086         Update #include.
49087         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
49088         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
49089         Update #include.
49090         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
49091         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
49092         Update #include.
49093         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
49094         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
49095         Update #include.
49097         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49099         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
49100         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49102         * sysdeps/pthread/posix-timer.h: Include <list.h>.
49103         (struct list_links): Type removed.
49104         (struct thread_node, struct timer_node): Replace struct list_links
49105         with struct list_head.
49106         (list_unlink_ip): Likewise.
49107         * sysdeps/pthread/timer_routines.c
49108         (timer_free_list, thread_free_list, thread_active_list): Likewise.
49109         (list_append, list_insbefore): Likewise.
49110         (list_init): Function removed.
49111         (thread_init, init_module): Use INIT_LIST_HEAD instead.
49112         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49113         * sysdeps/pthread/Makefile: ... here, new file.
49115         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49116         * sysdeps/nptl/Implies: ... here.
49117         * sysdeps/unix/sysv/linux/Implies: Add nptl.
49118         * nptl/sysdeps/pthread/list.h: Moved ...
49119         * include/list.h: ... here.
49120         * nptl/sysdeps/pthread/createthread.c: Moved ...
49121         * nptl/createthread.c: ... here.
49122         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49123         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49124         * nptl/pt-longjmp.c: ... here.
49125         * nptl/sysdeps/pthread/Makefile: Moved ...
49126         * sysdeps/nptl/Makefile: ... here.
49127         * nptl/sysdeps/pthread/Subdirs: Moved ...
49128         * sysdeps/nptl/Subdirs: ... here.
49129         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49130         * sysdeps/nptl/aio_misc.h: ... here.
49131         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49132         * sysdeps/nptl/bits/libc-lock.h: ... here.
49133         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49134         * sysdeps/nptl/bits/libc-lockP.h: ... here.
49135         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49136         * sysdeps/nptl/bits/stdio-lock.h: ... here.
49137         * nptl/sysdeps/pthread/configure: Moved ...
49138         * sysdeps/nptl/configure: ... here.
49139         * nptl/sysdeps/pthread/configure.ac: Moved ...
49140         * sysdeps/nptl/configure.ac: ... here.
49141         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49142         * sysdeps/nptl/gai_misc.h: ... here.
49143         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49144         * sysdeps/nptl/librt-cancellation.c: ... here.
49145         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49146         * sysdeps/nptl/malloc-machine.h: ... here.
49147         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49148         * sysdeps/nptl/pthread-functions.h: ... here.
49149         * nptl/sysdeps/pthread/pthread.h: Moved ...
49150         * sysdeps/nptl/pthread.h: ... here.
49151         * nptl/sysdeps/pthread/setxid.h: Moved ...
49152         * sysdeps/nptl/setxid.h: ... here.
49153         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49154         * sysdeps/nptl/sigfillset.c: ... here.
49155         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49156         * sysdeps/nptl/tcb-offsets.h: ... here.
49157         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49158         * sysdeps/nptl/tst-mqueue8x.c: ... here.
49159         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49160         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49161         * nptl/sysdeps/pthread/allocalim.h: Moved ...
49162         * sysdeps/pthread/allocalim.h: ... here.
49163         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49164         * sysdeps/pthread/bits/sigthread.h: ... here.
49165         * nptl/sysdeps/pthread/flockfile.c: Moved ...
49166         * sysdeps/pthread/flockfile.c: ... here.
49167         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49168         * sysdeps/pthread/ftrylockfile.c: ... here.
49169         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49170         * sysdeps/pthread/funlockfile.c: ... here.
49171         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49172         * sysdeps/pthread/posix-timer.h: ... here.
49173         * nptl/sysdeps/pthread/timer_create.c: Moved ...
49174         * sysdeps/pthread/timer_create.c: ... here.
49175         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49176         * sysdeps/pthread/timer_delete.c: ... here.
49177         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49178         * sysdeps/pthread/timer_getoverr.c: ... here.
49179         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49180         * sysdeps/pthread/timer_gettime.c: ... here.
49181         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49182         * sysdeps/pthread/timer_routines.c: ... here.
49183         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49184         * sysdeps/pthread/timer_settime.c: ... here.
49185         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49186         * sysdeps/pthread/tst-timer.c: ... here.
49187         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49188         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49190         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49191         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49193         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49194         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49195         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49196         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49197         Update #include target.
49198         * nptl/sysdeps/i386/i686/Makefile: Moved ...
49199         * sysdeps/i386/i686/nptl/Makefile: ... here.
49200         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49201         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49202         Update #include target.
49203         * nptl/sysdeps/i386/i686/tls.h: Moved ...
49204         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
49205         * nptl/sysdeps/i386/Makefile: Moved ...
49206         * sysdeps/i386/nptl/Makefile: ... here.
49207         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49208         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49209         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49210         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49211         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49212         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49213         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49214         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49215         * sysdeps/i386/nptl/pthreaddef.h: ... here.
49216         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49217         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49218         * nptl/sysdeps/i386/tls.h: Moved ...
49219         * sysdeps/i386/nptl/tls.h: ... here.
49221         * sysdeps/sh/Makefile [$(subdir) = csu]
49222         (gen-as-const-headers): Add tcb-offsets.sym.
49223         * nptl/sysdeps/sh/Makefile: File removed.
49224         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49225         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49226         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49227         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49228         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49229         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49230         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49231         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49232         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49233         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49234         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49235         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49236         * nptl/sysdeps/sh/tls.h: Moved ...
49237         * sysdeps/sh/nptl/tls.h: ... here.
49238         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49239         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49240         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49241         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49242         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49243         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49244         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49245         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49246         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49247         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49248         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49249         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49251         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49253         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49255         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49257         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49258         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49259         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49260         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49261         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49262         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49263         Moved ...
49264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49265         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49266         Moved ...
49267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49268         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49269         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49270         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49271         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49272         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49273         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49274         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49275         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49276         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49277         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49278         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49279         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49280         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49281         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49282         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49283         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49284         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49285         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49287 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49289         * posix/spawn_faction_addopen.c: Include string.h.
49291 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49293         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49294         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49295         * nptl/sysdeps/x86_64/Makefile: Moved ...
49296         * sysdeps/x86_64/nptl/Makefile: ... here.
49297         * nptl/sysdeps/x86_64/configure: Moved ...
49298         * sysdeps/x86_64/nptl/configure: ... here.
49299         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49300         * sysdeps/x86_64/nptl/configure.ac: ... here.
49301         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49302         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49303         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49304         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49305         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49306         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49307         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49308         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49309         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49310         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49311         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49312         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49313         * nptl/sysdeps/x86_64/tls.h: Moved ...
49314         * sysdeps/x86_64/nptl/tls.h: ... here.
49315         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49316         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49317         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49318         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49320         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49322 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49326 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49328         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49329         type.
49330         [POSIX] (off_t): Likewise.
49331         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49332         [POSIX] (S_ISBLK): Require macro.
49333         [POSIX] (S_ISCHR): Likewise.
49334         [POSIX] (S_ISDIR): Likewise.
49335         [POSIX] (S_ISFIFO): Likewise.
49336         [POSIX] (S_ISREG): Likewise.
49337         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49338         optional-macro.
49339         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49340         type.
49341         [POSIX] (time_t): Likewise.
49342         [POSIX] (timer_t): Likewise.
49344 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49346         [BZ #17048]
49347         * posix/spawn_int.h (struct __spawn_action): Make the path string
49348         non-const to support deallocation.
49349         * posix/spawn_faction_addopen.c
49350         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49351         * posix/spawn_faction_destroy.c
49352         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49353         path in all spawn_do_open actions.
49354         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49355         posix_spawn_file_actions_addopen.
49357 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49359         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49360         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49361         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49362         conditional code always true.
49363         (__libc_vfork): New alias.
49365 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49367         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49368         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49370         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49372         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49373         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49375         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49376         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49378         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49379         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49381 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49383         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49384         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49385         multiarch strcmp for PPC64.
49386         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49387         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49389         multiarch optimizations.
49390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49391         (__libc_ifunc_impl_list): Likewise.
49393 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49395         * benchtests/scripts/validate_benchout.py: New script.
49396         * benchtests/Makefile (bench-func): Call it.
49397         * benchtests/scripts/benchout.schema.json: New file.
49399 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49401         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49402         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49403         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49404         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49405         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49406         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49407         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49408         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49409         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49410         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49411         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49412         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49413         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49414         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49415         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49416         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49418         Moved ...
49419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49420         ... here.
49421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49422         Moved ...
49423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49425         Moved ...
49426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49427         ... here.
49428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49429         Moved ...
49430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49431         ... here.
49432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49433         Moved ...
49434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49436         Moved ...
49437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49438         ... here.
49439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49440         Moved ...
49441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49442         ... here.
49443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49444         Moved ...
49445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49447         Moved ...
49448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49449         ... here.
49450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49451         Moved ...
49452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49453         ... here.
49454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49455         Moved ...
49456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49457         ... here.
49458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49459         Moved ...
49460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49462         Moved ...
49463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49464         ... here.
49465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49466         Moved ...
49467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49468         ... here.
49469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49470         Moved ...
49471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49472         ... here.
49473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49474         Moved ...
49475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49477         Moved ...
49478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49479         ... here.
49480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49481         Moved ...
49482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49483         ... here.
49484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49485         Moved ...
49486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49488         Moved ...
49489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49490         ... here.
49491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49492         Moved ...
49493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49495         Moved ...
49496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49498         Moved ...
49499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49500         ... here.
49501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49502         Moved ...
49503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49504         ... here.
49505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49506         Moved ...
49507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49508         ... here.
49509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49510         Moved ...
49511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49513         Moved ...
49514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49515         ... here.
49516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49517         Moved ...
49518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49519         ... here.
49520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49521         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49522         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49523         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49525         Moved ...
49526         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49527         ... here.
49528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49529         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49530         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49531         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49533         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49535         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49537         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49538         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49539         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49540         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49541         Moved ...
49542         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49543         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49544         Moved ...
49545         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49546         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49547         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49548         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49549         Moved ...
49550         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49552         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49553         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49554         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49555         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49556         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49558 2014-06-10  Wilco  <wdijkstr@arm.com>
49560         * math/test-fenv-return.c: New file.
49561         * math/Makefile: Add new test test-fenv-return.
49563 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49565         [BZ #17042]
49566         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49567         when x - 1 is zero.
49568         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49569         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49570         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49571         0.0L for an argument of 1.0L.
49572         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49573         Likewise.
49574         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49575         value when x - 1 is zero.
49576         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49577         * sysdeps/i386/fpu/libm-test-ulps: Update.
49578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49580 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49582         [BZ #15119]
49583         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49585 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49587         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49588         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49590 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49592         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49593         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49595         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49596         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49598         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49599         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49601         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49602         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49604         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49605         if not already defined.
49606         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49607         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49608         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49609         (TLS_INIT_TP): Use it.
49610         (TLS_DEFINE_INIT_TP): New macro.
49611         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49613 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49615         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49616         constant.
49617         [POSIX] (IXANY): Likewise.
49618         [POSIX] (OLCUC): Likewise.
49619         [POSIX || POSIX2008] (CBAUD): Do not allow.
49620         [POSIX || POSIX2008] (DEFECHO): Likewise.
49621         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49622         [POSIX || POSIX2008] (ECHOKE): Likewise.
49623         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49624         [POSIX || POSIX2008] (EXTA): Likewise.
49625         [POSIX || POSIX2008] (EXTB): Likewise.
49626         [POSIX || POSIX2008] (FLUSHO): Likewise.
49627         [POSIX || POSIX2008] (LOBLK): Likewise.
49628         [POSIX || POSIX2008] (PENDIN): Likewise.
49629         [POSIX || POSIX2008] (SWTCH): Likewise.
49630         [POSIX || POSIX2008] (VDISCARD): Likewise.
49631         [POSIX || POSIX2008] (VDSUSP): Likewise.
49632         [POSIX || POSIX2008] (VLNEXT): Likewise.
49633         [POSIX || POSIX2008] (VREPRINT): Likewise.
49634         [POSIX || POSIX2008] (VSTATUS): Likewise.
49635         [POSIX || POSIX2008] (VWERASE): Likewise.
49636         (B*): Change to B[0123456789]*.
49637         * conform/data/time.h-data [POSIX || UNIX98]
49638         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49639         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49640         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49641         [POSIX] (tm_*): Do not allow.
49643 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49645         * Makefile (install): Don't set LANGUAGE.
49646         * Makefile.in (install): Likewise.
49647         * assert/Makefile (test-assert-ENV): Remove variable.
49648         (test-assert-perr-ENV): Likewise.
49649         * elf/Makefile (neededtest4-ENV): Likewise.
49650         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49651         [$(cross-compiling) = no]: Don't set LANGUAGE.
49652         * io/ftwtest-sh (LANG): Remove variable.
49653         * libio/Makefile (tst-widetext-ENV): Likewise.
49654         * manual/install.texi (Running make install): Don't refer to
49655         environment settings for make install.
49656         * INSTALL: Regenerated.
49657         * nptl/tst-tls6.sh: Don't set LANG.
49658         * posix/globtest.sh (LANG): Remove variable.
49659         * string/Makefile (tester-ENV): Likewise.
49660         (inl-tester-ENV): Likewise.
49661         (noinl-tester-ENV): Likewise.
49662         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49663         [$(cross-compiling) = no]: Don't set LANGUAGE.
49664         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49665         without explicit environment settings.
49667 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49669         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49670         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49671         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49672         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49674 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49676         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49677         other files in the crypt directory.
49678         * crypt/crypt.c: Remove duplicate includes.
49679         * crypt/crypt-entry.c: Likewise.
49680         * crypt/crypt_util.c: Likewise.
49682 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49684         * Makeconfig (run-program-env): New variable.
49685         (run-program-prefix-before-env): Likewise.
49686         (run-program-prefix-after-env): Likewise.
49687         (run-program-prefix): Define in terms of new variables.
49688         (built-program-cmd-before-env): New variable.
49689         (built-program-cmd-after-env): Likewise.
49690         (built-program-cmd): Define in terms of new variables.
49691         (test-program-prefix-before-env): New variable.
49692         (test-program-prefix-after-env): Likewise.
49693         (test-program-prefix): Define in terms of new variables.
49694         (test-program-cmd-before-env): New variable.
49695         (test-program-cmd-after-env): Likewise.
49696         (test-program-cmd): Define in terms of new variables.
49697         * Rules (make-test-out): Use $(run-program-env).
49698         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49699         (help): Do not mention environment variables.  Mention
49700         --timeoutfactor option.
49701         (timeoutfactor): New variable.
49702         (blacklist_exports): Remove function.
49703         (exports): Remove variable.
49704         (command): Do not include ${exports}.
49705         * manual/install.texi (Configuring and compiling): Do not mention
49706         test wrappers preserving environment variables.  Mention that last
49707         assignment to a variable must take precedence.
49708         * INSTALL: Regenerated.
49709         * benchtests/Makefile (run-bench): Use $(run-program-env).
49710         * catgets/Makefile ($(objpfx)test1.cat): Use
49711         $(built-program-cmd-before-env), $(run-program-env) and
49712         $(built-program-cmd-after-env).
49713         ($(objpfx)test2.cat): Do not specify environment variables
49714         explicitly.
49715         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49716         $(run-program-env) and $(built-program-cmd-after-env).
49717         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49718         $(run-program-env) and $(test-program-cmd-after-env).
49719         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49720         explicitly.
49721         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49722         run_program_env and test_program_cmd_after_env arguments.
49723         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49724         * elf/tst-pathopt.sh: Use run_program_env argument.
49725         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49726         $(test-wrapper-env) and $(run-program-env).
49727         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49728         run_program_env arguments.
49729         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49730         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49731         $(test-program-prefix-before-env), $(run-program-env) and
49732         $(test-program-prefix-after-env).
49733         ($(objpfx)tst-gettext2.out): Likewise.
49734         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49735         run_program_env and test_program_prefix_after_env arguments.
49736         * intl/tst-gettext2.sh: Likewise.
49737         * intl/tst-gettext4.sh: Do not set environment variables
49738         explicitly.
49739         * intl/tst-gettext6.sh: Likewise.
49740         * intl/tst-translit.sh: Likewise.
49741         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49742         $(test-program-prefix-before-env), $(run-program-env) and
49743         $(test-program-prefix-after-env).
49744         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49745         run_program_env and test_program_prefix_after_env arguments.
49746         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49747         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49748         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49749         explicitly with each use of ${test_wrapper_env}.
49750         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49751         $(test-program-prefix-before-env), $(run-program-env) and
49752         $(test-program-prefix-after-env).
49753         * posix/tst-getconf.sh: Do not set environment variables
49754         explicitly.
49755         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49756         run_program_env and test_program_prefix_after_env arguments.
49757         * stdio-common/tst-printf.sh: Do not set environment variables
49758         explicitly.
49759         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49760         $(test-program-prefix-before-env), $(run-program-env) and
49761         $(test-program-prefix-after-env).
49762         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49763         run_program_env and test_program_prefix_after_env arguments.
49764         Split $test calls into $test_pre and $test.
49765         * timezone/Makefile (build-testdata): Use
49766         $(built-program-cmd-before-env), $(run-program-env) and
49767         $(built-program-cmd-after-env).
49769 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49771         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49772         strlen for non SHARED builds.
49774 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49776         * nptl/allocatestack.c (check_list): Inlined function...
49777         (__reclaim_stacks): ... here.
49779 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49781         [BZ #15698]
49782         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49783         memory overrun.
49785 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49787         * Rules (make-test-out): Include
49788         LOCPATH=$(common-objpfx)localedata in default environment.
49789         * debug/Makefile (tst-chk1-ENV): Remove variable.
49790         (tst-chk2-ENV): Likewise.
49791         (tst-chk3-ENV): Likewise.
49792         (tst-chk4-ENV): Likewise.
49793         (tst-chk5-ENV): Likewise.
49794         (tst-chk6-ENV): Likewise.
49795         (tst-lfschk1-ENV): Likewise.
49796         (tst-lfschk2-ENV): Likewise.
49797         (tst-lfschk3-ENV): Likewise.
49798         (tst-lfschk4-ENV): Likewise.
49799         (tst-lfschk5-ENV): Likewise.
49800         (tst-lfschk6-ENV): Likewise.
49801         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49802         (tst-iconv7-ENV): Likewise.
49803         * intl/Makefile (LOCPATH-ENV): Likewise.
49804         (tst-codeset-ENV): Likewise.
49805         (tst-gettext3-ENV): Likewise.
49806         (tst-gettext5-ENV): Likewise.
49807         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49808         (tst-fopenloc-ENV): Likewise.
49809         (tst-fgetws-ENV): Remove variable.
49810         (tst-ungetwc1-ENV): Likewise.
49811         (tst-ungetwc2-ENV): Likewise.
49812         (bug-ungetwc2-ENV): Likewise.
49813         (tst-swscanf-ENV): Likewise.
49814         (bug-ftell-ENV): Likewise.
49815         (tst-fgetwc-ENV): Likewise.
49816         (tst-fseek-ENV): Likewise.
49817         (tst-ftell-partial-wide-ENV): Likewise.
49818         (tst-ftell-active-handler-ENV): Likewise.
49819         (tst-ftell-append-ENV): Likewise.
49820         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49821         (tst-regexloc-ENV): Likewise.
49822         (bug-regex1-ENV): Likewise.
49823         (tst-regex-ENV): Likewise.
49824         (tst-regex2-ENV): Likewise.
49825         (bug-regex5-ENV): Likewise.
49826         (bug-regex6-ENV): Likewise.
49827         (bug-regex17-ENV): Likewise.
49828         (bug-regex18-ENV): Likewise.
49829         (bug-regex19-ENV): Likewise.
49830         (bug-regex20-ENV): Likewise.
49831         (bug-regex22-ENV): Likewise.
49832         (bug-regex23-ENV): Likewise.
49833         (bug-regex25-ENV): Likewise.
49834         (bug-regex26-ENV): Likewise.
49835         (bug-regex30-ENV): Likewise.
49836         (bug-regex32-ENV): Likewise.
49837         (bug-regex33-ENV): Likewise.
49838         (bug-regex34-ENV): Likewise.
49839         (bug-regex35-ENV): Likewise.
49840         (tst-rxspencer-ENV): Likewise.
49841         (tst-rxspencer-no-utf8-ENV): Likewise.
49842         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49843         (tst-sscanf-ENV): Likewise.
49844         (tst-swprintf-ENV): Likewise.
49845         (tst-swscanf-ENV): Likewise.
49846         (test-vfprintf-ENV): Likewise.
49847         (scanf13-ENV): Likewise.
49848         (bug14-ENV): Likewise.
49849         (tst-grouping-ENV): Likewise.
49850         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49851         (tst-strtod3-ENV): Likewise.
49852         (tst-strtod4-ENV): Likewise.
49853         (tst-strtod5-ENV): Likewise.
49854         (testmb2-ENV): Likewise./
49855         * string/Makefile (tst-strxfrm-ENV): Likewise.
49856         (tst-strxfrm2-ENV): Likewise.
49857         (bug-strcoll1-ENV): Likewise.
49858         (test-strcasecmp-ENV): Likewise.
49859         (test-strncasecmp-ENV): Likewise.
49860         * time/Makefile (tst-strptime-ENV): Likewise.
49861         (tst-ftime_l-ENV): Likewise.
49862         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49863         (tst-mbrtowc-ENV): Likewise.
49864         (tst-wcrtomb-ENV): Likewise.
49865         (tst-mbrtowc2-ENV): Likewise.
49866         (tst-c16c32-1-ENV): Likewise.
49867         (tst-mbsnrtowcs-ENV): Likewise.
49869 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49871         * manual/resource.texi (How to get information about the memory
49872         subsystem?): Fix typo.
49873         Reported by Peon de la Parra Ivan <peon@keba.com>
49875 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49877         [BZ #16882]
49878         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49879         (pthread_spin_lock): Branch out of spin loop to proper location.
49880         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49881         (pthread_spin_lock): Likewise.
49883         * nptl/tst-spin4.c: New test.
49884         * nptl/Makefile (tests): Add tst-spin4.
49886 2014-06-03  Andreas Schwab  <schwab@suse.de>
49888         [BZ #15946]
49889         * resolv/res_send.c (send_dg): Reload file descriptor after
49890         calling reopen.
49892 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49894         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49896 2014-06-03  Richard Henderson  <rth@redhat.com>
49898         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49899         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49900         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49901         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49902         in the SAVE_PID block.
49903         (__libc_vfork): New alias.
49904         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49906         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49907         child in registers, not on the stack.  Remove RESET_PID conditionals.
49908         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49910 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49912         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49914 2014-06-03  Wilco  <wdijkstr@arm.com>
49916         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49917         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49918         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49919         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49920         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49921         Likewise.
49923 2014-06-03  Wilco  <wdijkstr@arm.com>
49925         * sysdeps/aarch64/fpu/math_private.h
49926         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49927         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49928         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49929         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49930         Fix declarations.
49932 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49934         * crypt/crypt-private.h: Include ufc-crypt.h.
49935         (__b64_from_24bit): Declare extern.
49936         * crypt/crypt_util.c(__b64_from_24bit): New function.
49937         (b64t): New static const variable.
49938         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49939         (b64t): Remove variable.
49940         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49941         * crypt/sha256-crypt.c: Include crypt-private.h.
49942         (b64t): Remove variable.
49943         (__sha256_crypt_r): Remove b64_from_24bit and replace
49944         with __b64_from_24bit.
49945         * crypt/sha512-crypt.c: Likewise.
49947 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49949         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49950         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49951         Label the code __libc_vfork rather than __vfork.
49952         [!NOT_IN_libc] (vfork): Define as weak alias.
49953         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49954         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49955         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49957 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49959         * malloc/malloc.c (malloc_info): Fix format specifier for
49960         n_mmaps.
49962 2014-06-02  Wilco  <wdijkstr@arm.com>
49964         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49965         FPCR write.
49967 2014-06-02  Wilco  <wdijkstr@arm.com>
49969         [BZ #17009]
49970         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49971         Rewrite to reduce FPCR/FPSR accesses.
49973 2014-06-01  David S. Miller  <davem@davemloft.net>
49975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49977 2014-05-31  David S. Miller  <davem@davemloft.net>
49979         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49980         to occur in round to nearest mode when |x| >= 2.0
49982 2014-05-30  Richard Henderson  <rth@twiddle.net>
49984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49985         (PSEUDO_RET_NOERRNO): Remove.
49986         (ret): Don't redefine.
49987         (ret_NOERRNO): Define in terms of ret.
49988         (ret_ERRVAL): Likewise.
49990         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49991         use of PSEUDO_RET; perform the error check directly.
49993 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49995         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49996         with __int128_t.
49998 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50000         * malloc/malloc (malloc_info): Fix formatting.
50002 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50003             Roland McGrath  <roland@hack.frob.com>
50005         * malloc/malloc (malloc_info): Also print mmapped statistics.
50007 2014-05-30  Roland McGrath  <roland@hack.frob.com>
50009         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
50010         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
50012 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
50014         * malloc/malloc.c (malloc_info): Inline mi_arena.
50016 2014-05-29  Richard Henderson  <rth@twiddle.net>
50018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
50019         Remove comma before expanding ASM_ARGS_##nr.
50020         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
50021         Make _x0 a strict output; make _x8 a strict input; adjust expansion
50022         of ASM_ARGS_##nr.
50023         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
50024         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
50025         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50026         (ASM_ARGS_1): Add leading comma.
50028         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
50029         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50030         to __errno_location.
50031         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
50032         Remove the expected plt for __errno_location.
50034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50035         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
50036         call to __read_tp.
50038         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50039         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
50040         it and break it down.
50041         (DOCARGS_0, DOCARGS_1): Do nothing.
50042         (DOCARGS_2): Update to store into the new stack frame.
50043         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
50044         (UNDOCARGS_1): Update to restore from the new stack frame.
50045         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
50046         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
50048         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50049         (SINGLE_THREAD_P): New parameter for result regno.
50050         (PSEUDO): Update to match; use cbz instead of beq.
50052         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50053         Use ENTRY to define the _nocancel entry point.  Share the syscall
50054         and syscall error check paths with the cancel path.
50055         (PSEUDO_END): New.
50057         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
50058         whitespace; tabs before and after asm mnemonics.
50060 2014-05-29  Eric Wong  <normalperson@yhbt.net>
50062         [BZ #15132]
50063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50064         Call fstat64 or stat64 internally, depending on arguments passed.
50065         Replace stat buffer argument with file descriptor argument.
50066         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
50067         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
50068         Pass fd to __internal_statvfs instead of calling fstat64.
50069         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
50070         Pass fd to __internal_statvfs64 instead of calling fstat64.
50071         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
50072         Pass -1 to __internal_statvfs instead of calling stat64.
50073         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
50074         Pass -1 to __internal_statvfs64 instead of calling stat64.
50076 2014-05-28  Roland McGrath  <roland@hack.frob.com>
50078         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
50079         that was previously under [RESET_PID].
50080         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
50082         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
50083         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50085 2014-05-27  Roland McGrath  <roland@hack.frob.com>
50087         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
50089         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
50090         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
50092 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
50094         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
50096 2014-05-27  Andreas Schwab  <schwab@suse.de>
50098         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
50099         TLS_INIT_TP macro.
50100         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
50101         * elf/rtld.c (init_tls, dl_main): Likewise.
50102         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50103         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50104         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50105         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50106         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50107         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50108         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50109         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50110         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50111         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50112         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50113         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50114         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50115         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50116         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50117         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50118         * sysdeps/generic/tls.h: Update description.
50120 2014-05-27  Will Newton  <will.newton@linaro.org>
50122         [BZ #16990]
50123         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50124         and restore r2 rather than just restoring.
50126 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50128         [BZ #16724]
50129         * libio/tst-ftell-append.c: New test case.
50130         * libio/Makefile (tests): Add test case.
50131         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50132         append mode.
50133         * libio/wfileops.c (do_ftell_wide): Likewise.
50135 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50139         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50140         ...
50141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50143         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50144         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50145         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50146         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50147         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50148         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50150         Moved ...
50151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50153         Moved ...
50154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50155         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50156         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50157         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50158         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50159         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50160         ...
50161         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50162         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50163         Moved ...
50164         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50165         here.
50166         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50167         ...
50168         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50169         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50170         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50172         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50173         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50174         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50175         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50178         merge into ...
50179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50181         ...
50182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50184         ...
50185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50187         Moved ...
50188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50189         here.
50190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50191         Moved ...
50192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50194         Moved ...
50195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50198         conditional [RESET_PID].
50199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50201         removed.
50202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50203         removed.
50205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50206         <tcb-offsets.h>.
50207         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50208         (__libc_vfork): New strong alias.
50209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50210         removed.
50211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50212         Removed.
50214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50215         <tcb-offsets.h>.
50216         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50217         (__libc_vfork): New strong alias.
50218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50219         removed.
50220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50221         removed.
50223 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
50225         * malloc/malloc.c (mi_arena): New function.
50226         (malloc_info): Remove nested function mi_arena. Call non-nosted
50227         function mi_arena.
50229 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50231         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50232         by insrwi.
50233         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50234         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50235         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50236         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50237         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50238         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50239         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50241 2014-05-26  Andreas Schwab  <schwab@suse.de>
50243         [BZ #16984]
50244         * locale/programs/repertoire.c (repertoire_read): Add slash
50245         between I18NPATH element and file name.
50246         * locale/programs/locfile.c (locfile_read): Likewise.
50248 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50250         * nptl/pthread_mutexattr_settype.c
50251         (__pthread_mutexattr_settype):
50252         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50254 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50256         * nptl/tst-mutex5 (do_test):
50257         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50259 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50261         * benchtests/README: Document 'init' directive.
50262         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50263         BENCH_INIT.
50264         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50265         (parse_file): Recognize 'init' directive.
50267 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50269         [BZ #16796]
50270         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50271         alignment of struct pthread.
50273 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50275         [BZ #16878]
50276         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50277         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50278         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50279         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50281 2014-05-25  Richard Henderson  <rth@twiddle.net>
50283         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50284         (SINGLE_THREAD_P_PIC): Remove.
50285         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50286         (SINGLE_THREAD_P_PIC): Remove.
50288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50289         branch to syscall error ...
50290         (PSEUDO): ... here.
50291         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50292         from __local_syscall_error to .Lsyscall_error.
50293         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50294         (SYSCALL_ERROR): Update label name.
50296         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50297         Do not use DOARGS/UNDOARGS.
50298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50299         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50300         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50301         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50302         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50304         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50305         block comment.
50307         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50308         define if !NOT_IN_libc.
50309         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50310         define with non-default symbol versions.
50312 2014-05-23  Richard Henderson  <rth@twiddle.net>
50314         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50315         (vfork, __vfork): Define via compat_symbol.
50317         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50318         [!HAVE_IFUNC] (vfork_compat): Remove.
50319         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50321 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50323         [BZ #16978]
50324         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50325         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50326         variable.
50328 2014-05-23  Richard Henderson  <rth@twiddle.net>
50330         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50331         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50332         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50333         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50335         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50336         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50337         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50338         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50339         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50340         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50341         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50342         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50343         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50344         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50345         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50346         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50347         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50348         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50349         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50350         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50351         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50352         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50353         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50354         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50355         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50356         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50357         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50358         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50359         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50360         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50361         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50362         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50363         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50364         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50365         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50366         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50367         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50368         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50369         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50370         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50371         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50372         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50373         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50374         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50375         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50376         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50377         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50378         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50379         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50380         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50381         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50382         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50383         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50384         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50386         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50388         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50389         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50390         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50392         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50393         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50394         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50395         before exiting on error.
50396         (__libc_vfork): New strong alias.
50397         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50398         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50400         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50401         that was previously under [RESET_PID].
50402         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50404         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50406 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50408         [BZ #16977]
50409         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50410         value when x - 1 is zero.
50411         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50412         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50413         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50414         0.0L for an argument of 1.0L.
50415         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50416         Likewise.
50417         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50418         value when x - 1 is zero.
50419         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50420         * sysdeps/i386/fpu/libm-test-ulps: Update.
50421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50423 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50425         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50426         alphasort and versionsort.
50428 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50430         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50431         macro.
50432         [copysignf]: Likewise.
50434 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50436         * crypt/md5-crypt.c: Fix formatting.
50438 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50440         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50441         (b64_from_24bit): New function.
50443 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50445         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50446         libc_hidden_builtin_def to ifunc.
50447         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50448         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50450 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50452         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50453         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50455 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50457         * nscd/Depend (linuxthreads): Remove.
50458         (nptl): Add.
50459         * resolv/Depend (linuxthreads): Remove.
50460         * rt/Depend (linuxthreads): Remove.
50462         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50463         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50464         $(common-objpfx)elf/.
50465         (link-libc-before-gnulib): Likewise.
50466         (elfobjdir): Remove variable.
50467         * Makefile (install): Use $(elf-objpfx) instead of
50468         $(common-objpfx)elf/.
50469         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50470         $(elfobjdir)/.
50471         (link-libc-deps): Likewise.
50472         ($(common-objpfx)libc.so): Likewise.
50473         ($(common-objpfx)linkobj/libc.so): Likewise.
50474         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50475         instead of $(common-objpfx)elf/.
50476         (symbolic-link-list): Likewise.
50477         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50478         [$(cross-compiling) = no]: Likewise.
50479         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50480         $(elfobjdir)/.
50481         (static-gnulib-arch): Likewise.
50482         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50483         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50484         $(common-objpfx)elf/.
50486 2014-05-21  Richard Henderson  <rth@redhat.com>
50488         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50489         (SINGLE_THREAD_P): Use the correct width load.  Fold
50490         into the ldr offset.
50492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50493         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50495 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50497         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50498         (libgcc_s_resume): Use __attribute_used__.
50499         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50500         Likewise.
50502 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50504         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50505         optimization when used with float constants.
50507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50509 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50511         [BZ #16915]
50512         * locale/nl_langinfo_l.c: Make direct reference to every
50513         _nl_current_CATEGORY symbol.
50514         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50515         (tests-static): Add tst-langinfo-static.
50516         (tests-special): Add tst-langinfo-static.out.
50517         ($(objpfx)tst-langinfo.out): Redirect output.
50518         ($(objpfx)tst-langinfo-static.out): New.
50519         * localedata/tst-langinfo.sh: Send output to stdout.
50520         * localedata/tst-langinfo-static.c: New file.
50522         [BZ #16965]
50523         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50524         when the shift amount is modulo the limb size.
50526 2014-05-20  Richard Henderson  <rth@redhat.com>
50528         [BZ #16967]
50529         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50530         Change type of sa_flags from unsigned int to int.
50532         [BZ #16966]
50533         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50535         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50537 2014-05-20  Will Newton  <will.newton@linaro.org>
50539         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50540         Test the return value of the system call in the nocancel case.
50542 2014-05-20  Will Newton  <will.newton@linaro.org>
50543             Yvan Roux  <yvan.roux@linaro.org>
50545         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50546         #include of asm/ptrace.h.
50547         (PTRACE_GET_THREAD_AREA): Remove #undef.
50548         (PTRACE_GETHBPREGS): Likewise.
50549         (PTRACE_SETHBPREGS): Likewise.
50550         (struct user_regs_struct): New structure.
50551         (struct user_fpsimd_struct): New structure.
50552         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50553         #include of asm/ptrace.h and second #include of sys/user.h.
50554         (PTRACE_GET_THREAD_AREA): Remove #undef.
50555         (PTRACE_GETHBPREGS): Likewise.
50556         (PTRACE_SETHBPREGS): Likewise.
50557         (ELF_NGREG): Use new struct user_regs_struct.
50558         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50560 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50562         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50563         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50565 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50567         [BZ #16958]
50568         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50569         membar to avoid block loads/stores to overlap previous stores.
50571 2014-05-17  Richard Henderson  <rth@redhat.com>
50573         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50574         Create the __##syscall_name##_nocancel entry point.
50575         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50576         Remove; let the sysdep-cancel.h code create it.
50578 2014-05-17  David S. Miller  <davem@davemloft.net>
50580         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50581         Protect with __USE_GNU.
50582         (TIOCSET_TEMPT): Likewise.
50583         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50584         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50585         these are already provided in bits/ioctl-types.h
50587 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50589         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50590         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50592         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50593         Use wait4 regardless of [__NR_waitpid].
50595 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50597         PR libgcc/60166
50598         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50599         (_FP_NANSIGN_Q): Set the quiet bit.
50601 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50603         * benchtests/Makefile
50604         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50605         not $(common-objpfx)math/libm.so.
50606         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50607         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50608         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50609         $(common-objpfx)dlfcn/libdl.so.
50610         ($(objpfx)tst-audit8): Depend on $(libm), not
50611         $(common-objpfx)math/libm.so.
50612         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50613         not $(common-objpfx)dlfcn/libdl.so.
50614         * math/Makefile
50615         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50616         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50617         [$(build-shared) = yes].
50618         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50619         $(common-objpfx)nptl/libpthread.so.
50620         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50621         $(common-objpfx)math/libm.so$(libm.so-version) or
50622         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50623         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50624         $(common-objpfx)dlfcn/libdl.so.
50625         * setjmp/Makefile (link-libm): Remove variable.
50626         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50627         * stdio-common/Makefile (link-libm): Remove variable.
50628         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50629         * stdlib/Makefile (link-libm): Remove variable.
50630         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50631         ($(objpfx)tst-strtod-round): Likewise.
50632         ($(objpfx)tst-tininess): Likewise.
50633         ($(objpfx)tst-strtod-underflow): Likewise.
50634         ($(objpfx)tst-strtod6): Likewise.
50635         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50636         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50637         $(common-objpfx)dlfcn/libdl.so.
50639 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50641         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50642         BSD terminal modes definitions.
50644 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50646         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50647         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50649         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50650         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50651         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50652         Don't do #include_next.
50653         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50654         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50655         Don't do #include_next.
50656         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50657         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50658         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50659         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50661 2014-05-16  Allan McRae  <allan@archlinux.org>
50663         * po/sv.po: Update Swedish translation from translation project.
50665         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50666         in sed expression.
50668 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50670         [BZ #16917]
50671         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50672         errno if the TIOCGPTN ioctl fails with an error different than
50673         EINVAL.
50674         * login/tst-ptsname.c: New file.
50675         * login/Makefile (tests): Add tst-ptsname.
50677         [BZ #16943]
50678         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50679         and prlimit64.
50681 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50683         [BZ #16849]
50684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50685         herrno to return EAI_AGAIN.
50687 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50689         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50690         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50691         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50692         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50693         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50694         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50695         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50696         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50697         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50698         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50699         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50700         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50701         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50702         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50703         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50704         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50705         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50706         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50707         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50708         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50709         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50710         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50711         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50712         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50713         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50714         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50715         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50716         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50717         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50718         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50720         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50722         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50724         Moved ...
50725         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50727         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50729         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50731         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50733         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50735         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50737         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50739         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50741         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50743         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50745         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50747         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50749         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50751         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50753         Moved ...
50754         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50756         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50758         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50760         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50762         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50764         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50766         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50768         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50770         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50772         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50774         Moved ...
50775         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50777         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50779         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50780         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50781         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50782         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50783         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50784         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50785         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50786         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50787         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50788         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50789         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50790         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50791         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50792         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50793         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50794         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50795         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50796         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50797         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50798         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50799         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50800         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50801         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50802         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50803         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50804         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50805         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50806         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50807         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50808         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50809         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50811         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50812         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50814         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50815         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50816         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50817         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50818         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50820         Moved ...
50821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50822         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50823         Moved ...
50824         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50825         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50826         Moved ...
50827         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50828         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50829         Moved ...
50830         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50831         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50832         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50833         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50834         Moved ...
50835         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50836         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50837         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50838         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50839         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50840         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50841         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50843         Moved ...
50844         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50845         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50846         Moved ...
50847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50848         ... here.
50849         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50850         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50851         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50852         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50854         Moved ...
50855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50856         ... here.
50857         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50858         Moved ...
50859         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50860         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50861         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50862         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50863         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50865         Moved ...
50866         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50867         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50868         Moved ...
50869         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50870         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50871         Moved ...
50872         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50873         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50874         Moved ...
50875         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50876         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50877         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50878         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50879         Moved ...
50880         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50881         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50882         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50883         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50884         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50885         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50886         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50888         Moved ...
50889         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50890         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50891         Moved ...
50892         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50893         ... here.
50894         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50895         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50896         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50897         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50899         Moved ...
50900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50901         ... here.
50902         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50903         Moved ...
50904         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50905         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50906         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50907         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50908         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50909         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50910         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50911         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50912         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50914         Moved ...
50915         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50916         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50917         Moved ...
50918         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50919         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50920         Moved ...
50921         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50922         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50923         Moved ...
50924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50925         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50926         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50927         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50928         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50929         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50930         Moved ...
50931         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50932         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50933         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50935         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50936         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50937         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50939         Moved ...
50940         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50941         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50942         Moved ...
50943         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50944         ... here.
50945         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50946         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50947         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50948         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50950         Moved ...
50951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50952         ... here.
50953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50954         Moved ...
50955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50956         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50957         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50958         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50959         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50960         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50961         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50962         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50963         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50964         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50965         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50967         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50968         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50970         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50971         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50973         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50974         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50975         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50976         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50977         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50978         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50979         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50980         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50981         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50982         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50984         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50987         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50988         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50989         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50991         Moved ...
50992         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50995         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50996         Moved ...
50997         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50998         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50999         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
51000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
51001         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
51002         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
51003         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
51004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
51005         Moved ...
51006         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
51007         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
51008         Moved ...
51009         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
51010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
51011         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
51012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
51013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
51014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
51015         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
51016         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
51017         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51018         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
51019         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
51020         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
51021         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
51022         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
51023         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
51024         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
51025         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
51027         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
51028         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
51029         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
51030         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
51031         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
51033         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
51034         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
51035         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
51036         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
51037         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
51038         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
51039         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
51040         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
51041         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
51042         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
51044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
51045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
51047         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
51048         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
51049         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
51050         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
51051         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
51052         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
51053         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
51054         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
51055         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
51056         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
51057         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
51058         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
51059         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
51060         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
51061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
51062         Update #include.
51063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
51064         Likewise.
51065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51066         Likewise.
51067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51068         Likewise.
51069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51070         Likewise.
51071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
51072         Likewise.
51073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
51074         Likewise.
51075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
51076         Likewise.
51077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
51078         Likewise.
51079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51080         Likewise.
51081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
51082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
51083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
51084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
51085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
51086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
51087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
51088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
51089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
51090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
51091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
51092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
51093         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
51094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
51095         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
51097         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
51098         that was previously under [RESET_PID].
51099         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51100         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
51101         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51103         * sysdeps/i386/nptl/Implies: New file.
51104         * sysdeps/x86_64/nptl/Implies: New file.
51105         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51106         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51107         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51108         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51110         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51111         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51112         (__libc_vfork): New strong alias.
51113         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51114         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51116         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51117         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51118         (__libc_vfork): New strong alias.
51119         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51120         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51122         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51123         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51124         (__libc_vfork): New strong alias.
51125         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51126         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51127         * nptl/pt-vfork.c: New file.
51128         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51129         (libpthread: GLIBC_2.20): New version set (empty).
51131 2014-05-14  Will Newton  <will.newton@linaro.org>
51133         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51134         rather than #if.
51136 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51138         [BZ #16564]
51139         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51140         arguments with exponent 65 or above.
51141         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51142         arguments 0x1p113L or above.
51143         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51144         to arguments 0x1p107L or above.
51145         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51146         positive arguments with exponent 65 or above.
51147         * math/auto-libm-test-in: Add more tests of log1p.
51148         * math/auto-libm-test-out: Regenerated.
51150         [BZ #16928]
51151         * math/s_cacos.c (__cacos): Ensure zero real part of result from
51152         non-finite arguments is +0.
51153         * math/s_cacosf.c (__cacosf): Likewise.
51154         * math/s_cacosl.c (__cacosl): Likewise.
51155         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51156         * sysdeps/i386/fpu/libm-test-ulps: Update.
51157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51159         [BZ #16927]
51160         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51161         value.
51162         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51163         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51164         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51165         for explicit high bit of mantissa when testing for argument equal
51166         to 1.
51167         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51168         * sysdeps/i386/fpu/libm-test-ulps: Update.
51169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51171         [BZ #16516]
51172         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51173         (__erf): Scale by 16 instead of 8 in potentially underflowing
51174         case.  Ensure exception if result actually underflows.
51175         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51176         (__erff): Scale by 16 instead of 8 in potentially underflowing
51177         case.  Ensure exception if result actually underflows.
51178         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51179         (efx8): Remove variable.
51180         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51181         case.  Ensure exception if result actually underflows.
51182         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51183         (efx8): Remove variable.
51184         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51185         case.  Ensure exception if result actually underflows.
51186         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51187         (efx8): Remove variable.
51188         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51189         case.  Ensure exception if result actually underflows.
51190         * math/auto-libm-test-in: Add more tests of erf.
51191         * math/auto-libm-test-out: Regenerated.
51193 2014-05-14  Andreas Schwab  <schwab@suse.de>
51195         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51196         Remove code conditionalized on USE___THREAD.
51198         * config.h.in (HAVE_PT_CHOWN): Define as 0.
51199         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51200         not definedness.
51202 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51204         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51205         Define unconditionally.
51206         (__ASSUME_O_CLOEXEC): Likewise.
51207         (__ASSUME_SOCK_CLOEXEC): Likewise.
51208         (__ASSUME_IN_NONBLOCK): Likewise.
51209         (__ASSUME_PIPE2): Likewise.
51210         (__ASSUME_EVENTFD2): Likewise.
51211         (__ASSUME_SIGNALFD4): Likewise.
51212         (__ASSUME_DUP3): Likewise.
51213         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51214         (__ASSUME_DUP3): Do not define.
51215         (__ASSUME_EVENTFD2): Likewise.
51216         (__ASSUME_IN_NONBLOCK): Likewise.
51217         (__ASSUME_O_CLOEXEC): Likewise.
51218         (__ASSUME_PIPE2): Likewise.
51219         (__ASSUME_SIGNALFD4): Likewise.
51220         (__ASSUME_SOCK_CLOEXEC): Likewise.
51221         (__ASSUME_UTIMES): Undefine.
51222         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51223         (__ASSUME_UTIMES): Do not define.
51224         (__ASSUME_O_CLOEXEC): Likewise.
51225         (__ASSUME_SOCK_CLOEXEC): Likewise.
51226         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51227         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51228         0x020621].
51229         (__ASSUME_PIPE2): Likewise.
51230         (__ASSUME_EVENTFD2): Likewise.
51231         (__ASSUME_SIGNALFD4): Likewise.
51232         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51233         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51234         Do not define.
51235         (__ASSUME_EVENTFD2): Likewise.
51236         (__ASSUME_SIGNALFD4): Likewise.
51237         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51238         (__ASSUME_32BITUIDS): Likewise.
51239         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51240         (__ASSUME_IPC64): Likewise.
51241         (__ASSUME_ST_INO_64_BIT): Likewise.
51242         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51243         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51244         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51245         (__ASSUME_UTIMES): Do not define.
51246         (__ASSUME_PSELECT): Likewise.
51247         (__ASSUME_PPOLL): Likewise.
51248         (__ASSUME_O_CLOEXEC): Likewise.
51249         (__ASSUME_SOCK_CLOEXEC): Likewise.
51250         (__ASSUME_IN_NONBLOCK): Likewise.
51251         (__ASSUME_PIPE2): Likewise.
51252         (__ASSUME_EVENTFD2): Likewise.
51253         (__ASSUME_SIGNALFD4): Likewise.
51254         (__ASSUME_DUP3): Likewise.
51255         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51256         (__ASSUME_UTIMES): Likewise.
51257         (__ASSUME_O_CLOEXEC): Likewise.
51258         (__ASSUME_SOCK_CLOEXEC): Likewise.
51259         (__ASSUME_IN_NONBLOCK): Likewise.
51260         (__ASSUME_PIPE2): Likewise.
51261         (__ASSUME_EVENTFD2): Likewise.
51262         (__ASSUME_SIGNALFD4): Likewise.
51263         (__ASSUME_DUP3): Likewise.
51264         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51265         (__ASSUME_UTIMES): Likewise.
51266         (__ASSUME_O_CLOEXEC): Likewise.
51267         (__ASSUME_SOCK_CLOEXEC): Likewise.
51268         (__ASSUME_IN_NONBLOCK): Likewise.
51269         (__ASSUME_PIPE2): Likewise.
51270         (__ASSUME_EVENTFD2): Likewise.
51271         (__ASSUME_SIGNALFD4): Likewise.
51272         (__ASSUME_DUP3): Likewise.
51273         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51274         Likewise.
51275         (__ASSUME_UTIMES): Likewise.
51276         (__ASSUME_EVENTFD2): Likewise.
51277         (__ASSUME_SIGNALFD4): Likewise.
51278         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51279         (__ASSUME_O_CLOEXEC): Likewise.
51280         (__ASSUME_SOCK_CLOEXEC): Likewise.
51281         (__ASSUME_IN_NONBLOCK): Likewise.
51282         (__ASSUME_PIPE2): Likewise.
51283         (__ASSUME_EVENTFD2): Likewise.
51284         (__ASSUME_SIGNALFD4): Likewise.
51285         (__ASSUME_DUP3): Likewise.
51286         (__ASSUME_UTIMES): Undefine.
51288         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51289         feclearexcept.  Remove symbol versioning code.
51290         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51291         symbol versioning code.
51292         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51293         symbol versioning code.
51294         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51295         feupdateenv.  Remove symbol versioning code.
51296         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51297         fegetexceptflag.  Remove symbol versioning code.
51298         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51299         fesetexceptflag.  Remove symbol versioning code.
51300         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51301         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51302         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51303         (__posix_fadvise64_l32): Remove prototype.
51304         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51305         code.
51307 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51309         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51310         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51311         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51312         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51314 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51316         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51317         current working directory
51319 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51321         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51322         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51323         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51324         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51325         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51326         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51327         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51328         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51329         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51330         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51331         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51332         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51333         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51334         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51335         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51336         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51337         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51338         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51339         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51340         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51341         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51342         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51343         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51344         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51345         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51346         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51347         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51348         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51349         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51350         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51351         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51352         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51353         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51354         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51355         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51356         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51357         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51358         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51359         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51360         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51361         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51362         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51364         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51365         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51367         * sysdeps/unix/sysv/linux/arm/Makefile
51368         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51369         Add rt-aeabi_unwind_cpp_pr1.
51370         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51371         Add nptl-aeabi_unwind_cpp_pr1.
51372         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51373         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51374         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51375         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51376         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51377         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51379         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51380         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51381         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51382         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51384         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51385         Deconditionalize the code that was previously under [RESET_PID].
51386         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51388         * sysdeps/generic/exit-thread.h: New file.
51389         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51390         * include/unistd.h (__exit_thread): Remove declaration.
51391         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51392         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51393         * csu/libc-start.c: Include <exit-thread.h>.
51394         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51395         * nptl/pthread_create.c: Include <exit-thread.h>.
51396         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51397         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51398         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51399         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51400         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51401         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51402         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51403         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51404         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51405         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51406         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51407         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51408         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51409         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51410         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51411         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51412         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51414 2014-05-13  Andreas Schwab  <schwab@suse.de>
51416         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51418 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51420         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51421         (__ASSUME_UTIMES): Do not condition on kernel version.
51422         (__ASSUME_PSELECT): Define unconditionally.
51423         (__ASSUME_PPOLL): Likewise.
51424         (__ASSUME_ATFCTS): Likewise.
51425         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51426         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51427         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51428         (__ASSUME_UTIMENSAT): Define unconditionally.
51429         (__ASSUME_PRIVATE_FUTEX): Likewise.
51430         (__ASSUME_FALLOCATE): Likewise.
51431         (__ASSUME_O_CLOEXEC): Likewise.
51432         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51433         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51434         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51435         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51436         (__ASSUME_IN_NONBLOCK): Likewise.
51437         (__ASSUME_PIPE2): Likewise.
51438         (__ASSUME_EVENTFD2): Likewise.
51439         (__ASSUME_SIGNALFD4): Likewise.
51440         (__ASSUME_DUP3): Likewise.
51441         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51442         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51443         (__ASSUME_AT_RANDOM): Likewise.
51444         (__ASSUME_PREADV): Likewise.
51445         (__ASSUME_PWRITEV): Likewise.
51446         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51447         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51448         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51449         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51450         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51452         (__ASSUME_O_CLOEXEC): Define unconditionally.
51453         (__ASSUME_PSELECT): Do not undefine conditionally.
51454         (__ASSUME_PPOLL): Likewise.
51455         (__ASSUME_ATFCTS): Likewise.
51456         (__ASSUME_SET_ROBUST_LIST): Likewise.
51457         (__ASSUME_UTIMENSAT): Likewise.
51458         (__ASSUME_FDATASYNC): Define unconditionally.
51459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51460         (__ASSUME_SIGFRAME_V2): Likewise.
51461         )__ASSUME_EVENTFD2): Likewise.
51462         (__ASSUME_SIGNALFD4): Likewise.
51463         (__ASSUME_PSELECT): Do not undefine conditionally.
51464         (__ASSUME_PPOLL): Likewise.
51465         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51466         (__ASSUME_PSELECT): Define unconditionally.
51467         (__ASSUME_PPOLL): Likewise.
51468         (__ASSUME_O_CLOEXEC): Likewise.
51469         (__ASSUME_SOCK_CLOEXEC): Likewise.
51470         (__ASSUME_IN_NONBLOCK): Likewise.
51471         (__ASSUME_PIPE2): Likewise.
51472         (__ASSUME_EVENTFD2): Likewise.
51473         (__ASSUME_SIGNALFD4): Likewise.
51474         (__ASSUME_DUP3): Likewise.
51475         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51476         (__ASSUME_O_CLOEXEC): Likewise.
51477         (__ASSUME_SOCK_CLOEXEC): Likewise.
51478         (__ASSUME_IN_NONBLOCK): Likewise.
51479         (__ASSUME_PIPE2): Likewise.
51480         (__ASSUME_EVENTFD2): Likewise.
51481         (__ASSUME_SIGNALFD4): Likewise.
51482         (__ASSUME_DUP3): Likewise.
51483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51484         (__ASSUME_EVENTFD2): Likewise.
51485         (__ASSUME_SIGNALFD4): Likewise.
51486         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51488 2014-05-12  Andreas Schwab  <schwab@suse.de>
51490         [BZ #16932]
51491         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51492         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51493         than maximum RPC packet size.
51494         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51495         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51496         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51497         (_nss_nis_getservbyport_r): Likewise.
51499 2014-05-12  Will Newton  <will.newton@linaro.org>
51501         * malloc/Makefile (tests): Add tst-mallopt.
51502         * malloc/tst-mallopt.c: New file.
51504 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51506         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51507         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51509 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51511         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51512         (tst-tlsmod6.so): Likewise.
51514 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51516         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51518 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51520         [BZ #16064]
51521         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51522         and <dl-procinfo.h>.
51523         (__fegetenv): Save SSE state in envp->__eip if supported.
51524         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51525         envp->__eip if supported.
51526         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51527         and <dl-procinfo.h>.
51528         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51529         __data_offset and __data_selector in environment to 0.  Set SSE
51530         state if supported.
51531         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51532         test-fenv-sse.
51533         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51534         -mfpmath=sse.
51535         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51537 2014-05-09  Will Newton  <will.newton@linaro.org>
51539         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51540         and libc_relro_required for ARM.
51541         * sysdeps/arm/preconfigure: Regenerate.
51543 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51544             Stefan Liebler  <stli@linux.vnet.ibm.com>
51546         * config.make.in (enable-lock-elision): New Makefile variable.
51547         * configure.ac: Likewise.
51548         * configure: Regenerate.
51549         * sysdeps/s390/configure.ac:
51550         Add check for gcc transactions support.
51551         * sysdeps/s390/configure: Regenerate.
51552         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51553         Build elision files if enabled.
51554         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51555         Add lock elision support for s390.
51556         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51557         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51558         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51559         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51560         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51561         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51562         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51563         Likewise.
51564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51565         Likewise.
51566         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51567         Likewise.
51568         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51569         Likewise.
51570         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51571         (__lll_timedlock_elision, __lll_lock_elision)
51572         (__lll_unlock_elision, __lll_trylock_elision)
51573         (lll_timedlock_elision, lll_lock_elision)
51574         (lll_unlock_elision, lll_trylock_elision): Add.
51575         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51576         (pthread_mutex_t): Add lock elision support for s390.
51578 2014-05-14  Wilco  <wdijkstr@arm.com>
51580         * sysdeps/arm/fclrexcpt.c: Cleanup.
51581         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51582         * sysdeps/arm/feenablxcpt.c: Cleanup.
51583         * sysdeps/arm/fegetenv.c: Cleanup.
51584         * sysdeps/arm/fegetexcept.c: Cleanup.
51585         * sysdeps/arm/fegetround.c: Cleanup.
51586         * sysdeps/arm/feholdexcpt.c: Cleanup.
51587         * sysdeps/arm/fesetenv.c: Cleanup.
51588         * sysdeps/arm/fesetround.c: Cleanup.
51589         * sysdeps/arm/feupdateenv.c: Cleanup.
51590         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51591         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51592         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51593         * sysdeps/arm/ftestexcept.c: Cleanup.
51594         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51595         * sysdeps/arm/setfpucw.c: Cleanup.
51597 2014-05-09  Will Newton  <will.newton@linaro.org>
51599         * sysdeps/arm/armv7/strcmp.S: New file.
51600         * NEWS: Mention addition of ARMv7 optimized strcmp.
51602 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51604         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51605         look for %.ac rather than %.in.
51607         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51608         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51609         * sysdeps/mach/hurd/configure: Regenerated.
51610         * sysdeps/unix/sysv/linux/configure: Regenerated.
51612         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51614 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51616         [BZ #16922]
51617         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51618         (LONG_SUB): Ditto.
51619         (PTR_SUB): Ditto.
51621 2014-05-07  Andreas Schwab  <schwab@suse.de>
51623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51624         when skipping over non-matching result from nscd.
51626 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51628         [BZ #16876]
51629         * nptl/sockperf.c (client): Check socket return value.
51631         [BZ #16877]
51632         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51633         nscd security class.
51635 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51637         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51638         * sysdeps/arm/unwind.h: ... here.
51640 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51642         [BZ #16916]
51643         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51644         Define.
51646 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51648         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51649         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51650         multiarch strncpy for PPC64.
51651         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51652         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51654         multiarch optimizations.
51655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51656         (__libc_ifunc_impl_list): Likewise.
51657         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51658         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51659         multiarch stpncpy for PPC64.
51660         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51661         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51663 2014-05-06  Andreas Schwab  <schwab@suse.de>
51665         [BZ #16912]
51666         * gmon/mcount.c (_MCOUNT_DECL): Use
51667         atomic_compare_and_exchange_bool_acq instead of
51668         catomic_compare_and_exchange_bool_acq.
51670 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51672         * elf/Makefile (others, install-bin): Remove pldd.
51673         (pldd-modules): Variable removed.
51674         ($(objpfx)pldd): Target removed.
51675         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51676         (others, install-bin): Append pldd here.
51677         ($(objpfx)pldd): New target.
51679         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51680         to 0, so the first #if test emitted later doesn't see it undefined.
51681         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51682         * sysdeps/gnu/errlist.c: Regenerated.
51684 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51686         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51687         [libc_hidden_builtin_def]: Define to empty value.
51688         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51689         [libc_hidden_builtin_def]: Likewise.
51690         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51691         [libc_hidden_builtin_def]: Likewise.
51692         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51693         [libc_hidden_builtin_def]: Likewise.
51694         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51695         __redirect_memcpy and define ifunc as default hidden symbol.
51696         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51697         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51699 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51701         * locale/iso-4217.def: Reintroduce XDR currency.
51703 2014-05-04  Allan McRae  <allan@archlinux.org>
51705         * po/eo.po: Update Esperanto translation from translation project.
51707 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51709         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51710         and FEATURE_INDEX_MAX to 1.
51711         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51713 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51715         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51716         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51717         * iconvdata/big5.c (ONE_DIRECTION): Define.
51718         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51719         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51720         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51721         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51722         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51723         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51724         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51725         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51726         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51727         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51728         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51729         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51730         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51731         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51732         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51733         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51734         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51735         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51736         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51737         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51738         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51739         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51740         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51741         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51742         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51743         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51744         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51745         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51746         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51747         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51748         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51749         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51750         * iconvdata/johab.c (ONE_DIRECTION): Define.
51751         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51752         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51753         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51754         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51755         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51756         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51757         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51758         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51759         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51760         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51762 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51764         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51765         (_IO_JUMPS_OFFSET): Define to 0.
51767         * nptl/sysdeps/pthread/bits/libc-lock.h
51768         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51769         (__libc_lock_define_initialized_recursive): Always define using
51770         initializer.  Modern compilers treat uninitialized (implicit zero) and
51771         explicit zero initializers the same (i.e. put the datum in bss).
51773 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51775         * nscd/nscd-client.h: Include <string.h>.
51777 2014-05-01  David S. Miller  <davem@davemloft.net>
51779         [BZ #16885]
51780         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51781         multiple zero bytes exist at the end of a string.
51782         Reported by Aurelien Jarno <aurelien@aurel32.net>
51784         * string/test-strcmp.c (check): Add explicit test for situations where
51785         there are multiple zero bytes after the first.
51787 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51789         [BZ #16890]
51790         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51791         when compiling wprintf.
51792         * stdio-common/tstdiomisc.c (t3): New function.
51793         (main): Call it.
51795 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51797         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51798         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51799         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51800         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51802 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51804         * stdlib/longlong.h: Updated from GCC.
51806 2014-05-01  Will Newton  <will.newton@linaro.org>
51807             Bernard Ogden  <bernie.ogden@linaro.org>
51809         * NEWS: Update fixed bug list.
51811         [BZ #15119]
51812         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51814 2014-04-30  David S. Miller  <davem@davemloft.net>
51816         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51817         (libc_feholdexcept_setround_sparc_ctx): New function.
51818         (libc_fesetenv_sparc_ctx): Likewise.
51819         (libc_feupdateenv_sparc_ctx): Likewise.
51820         (libc_feholdsetround_sparc_ctx): Likewise.
51821         (libc_feholdexcept_setround_ctx): Define.
51822         (libc_feholdexcept_setroundf_ctx): Likewise.
51823         (libc_feholdexcept_setroundl_ctx): Likewise.
51824         (libc_fesetenv_ctx): Likewise.
51825         (libc_fesetenvf_ctx): Likewise.
51826         (libc_fesetenvl_ctx): Likewise.
51827         (libc_feupdateenv_ctx): Likewise.
51828         (libc_feupdateenvf_ctx): Likewise.
51829         (libc_feupdateenvl_ctx): Likewise.
51830         (libc_feresetround_ctx): Likewise.
51831         (libc_feresetroundf_ctx): Likewise.
51832         (libc_feresetroundl_ctx): Likewise.
51833         (libc_feholdsetround_ctx): Likewise.
51834         (libc_feholdsetroundf_ctx): Likewise.
51835         (libc_feholdsetroundl_ctx): Likewise.
51837         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51838         with __USE_GNU instead of XOPEN cpp guards.
51840         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51841         0.
51843         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51844         with XOPEN cpp guards.
51846 2014-04-30  Julian Brown  <julian@codesourcery.com>
51848         [BZ #16888]
51849         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51850         handling.
51852 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51854         [BZ #9894]
51855         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51856         Change to 2.6.32.
51857         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51858         * sysdeps/unix/sysv/linux/configure: Regenerated.
51859         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51860         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51861         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51862         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51863         * README: Update reference to required Linux kernel version.
51864         * manual/install.texi (Linux): Update reference to required Linux
51865         kernel headers version.
51866         * INSTALL: Regenerated.
51868         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51869         header inclusion.
51870         [POSIX] (limits.h): Likewise.
51871         [POSIX] (math.h): Likewise.
51872         [POSIX] (sys/wait.h): Likewise.
51873         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51874         function.
51875         [POSIX] (stddef.h): Do not allow header inclusion.
51877 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51879         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51881 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51883         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51884         Return immediately after lll_futex_wake.
51886 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51888         [BZ #16791]
51889         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51890         structure.
51891         (datahead_init_pos): Call datahead_init_common early.
51892         (datahead_init_neg): Likewise.
51894         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51895         datahead_init_neg): New functions.
51896         * nscd/aicache.c (addhstaiX): Use them.
51897         * nscd/grpcache.c (cache_addgr): Likewise.
51898         * nscd/hstcache.c (cache_addhst): Likewise.
51899         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51900         * nscd/netgroupcache.c (do_notfound): Likewise.
51901         (addgetnetgrentX): Likewise.
51902         (addinnetgrX): Likewise.
51903         * nscd/pwdcache.c (cache_addpw): Likewise.
51904         * nscd/servicescache.c (cache_addserv): Likewise.
51906 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51907             Atsushi Onoe  <atsushi@onoe.org>
51909         [BZ #14308]
51910         [BZ #12994]
51911         [BZ #13651]
51912         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51913         one response is valid.
51914         * resolv/res_send.c (send_dg): Check for validity of other
51915         response if the current response is a referral.
51917 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51919         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51921 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51923         [BZ #16823]
51924         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51925         Always divide by positive zero when computing -Inf result.
51926         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51927         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51929 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51931         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51932         FPSCR if value do not change.
51933         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51934         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51935         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51936         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51937         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51938         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51939         function.
51941 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51943         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51944         * sysdeps/unix/sysv/linux/hppa: Move directory from
51945         ports/systeps/unix/sysv/linux/hppa.
51946         * README: Update listing for hppa-*-linux-gnu.
51948 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51950         [BZ #16754]
51951         * manual/stdio.texi (Hook functions): Fix types of stream hook
51952         functions.
51953         [BZ #16854]
51954         * socket/sys/socket.h: Fix typo in comment.
51956 2014-04-28  Wilco  <wdijkstr@arm.com>
51958         * sysdeps/arm/fenv_private.h: New file.
51959         * sysdeps/arm/math_private.h: New file.
51960         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51962 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51964         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51965         with __int128_t.
51966         (La_x86_64_retval): Likewise.
51968 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51970         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51971         fpsr if value didn't change.
51972         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51973         to fpcr if value didn't change.
51974         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51975         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51976         fpsr or fpcr if value didn't change.
51977         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51978         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51979         fpcr if value didn't change.
51980         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51981         to fpsr if value didn't change.
51983 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51985         * nptl/tst-sem3.c: Use test-skeleton.c
51986         (main): Rename to do_test.  Use return instead of
51987         exit.
51988         * nptl/tst-sem4.c: Use test-skeleton.c
51989         (main): Rename to do_test.
51991 2014-04-22  David S. Miller  <davem@davemloft.net>
51993         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51994         (struct sigaction): New struct member __glibc_reserved0, change
51995         type of sa_flags to int.
51997 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51999         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
52000         (COUNT_LEADING_ZEROS_0): Define for AArch64.
52002 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52004         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
52005         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52007 2014-04-22  Will Newton  <will.newton@linaro.org>
52008             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
52010         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
52011         (__longjmp): Add longjmp and longjmp_target SystemTap
52012         probes.
52013         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
52014         (__sigsetjmp): Add setjmp SystemTap probe.
52016 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
52018         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
52019         match manual order.
52021 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52023         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
52025         * sysdeps/powerpc/fpu/fenv_private.h
52026         (libc_feholdexcept_setroundl_ctx): Define to
52027         libc_feholdexcept_setround_ppc_ctx.
52028         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
52029         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
52030         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
52031         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
52033 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52035         * sysdeps/aarch64/math-tests.h: New file.
52037 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
52039         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
52040         New.
52041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52042         Check and set bit_AVX2_Usable.
52043         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
52044         macro.
52045         (bit_AVX2): Likewise.
52046         (index_AVX2_Usable): Likewise.
52047         (CPUID_AVX2): Likewise.
52048         (HAS_AVX2): Likewise.
52050 2014-04-17  Will Newton  <will.newton@linaro.org>
52052         * manual/setjmp.texi (System V contexts): Add note that
52053         calling setcontext on a context created by a call to a
52054         signal handler is undefined.  Update text to note that
52055         setcontext from a signal handler is possible but not
52056         recommended.
52058         [BZ #16629]
52059         * stdlib/tst-setcontext.c: Include signal.h.
52060         (main): Check that the signal stack before and
52061         after swapcontext is the same.
52063         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
52064         Re-implement to restore registers in user code and avoid
52065         rt_sigreturn system call.
52067 2014-04-17  Wilco  <wdijkstr@arm.com>
52069         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52070         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
52071         * math/test-fenv.c: Skip exception trap tests on targets which only
52072         support non-stop mode.
52074 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52075             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52077         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
52078         (libc_feholdsetround_aarch64_ctx)
52079         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
52080         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
52081         (libc_feresetround_ctx, libc_feresetroundf_ctx)
52082         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
52083         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
52084         (libc_feresetround_noexl_ctx): Define.
52086 2014-04-16  Richard Henderson  <rth@redhat.com>
52088         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
52090         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
52091         unwind tables.
52093         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
52094         const from the non-libc, non-ldso copy.
52096         * sysdeps/alpha/libm-test-ulps: Regenerate.
52098 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
52099             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52101         * sysdeps/aarch64/fpu/math_private.h: New file.
52103 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52105         * sysdeps/aarch64/libm-test-ulps: Regenerate.
52107 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
52109         [BZ #16275]
52110         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52111         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52112         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52113         Intel MPX bound registers before _dl_profile_fixup.
52114         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52115         registers after _dl_profile_fixup.  Save and restore bound
52116         registers bnd0/bnd1 when calling _dl_call_pltexit.
52117         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52118         (LR_BND_OFFSET): Likewise.
52119         (LRV_BND0_OFFSET): Likewise.
52120         (LRV_BND1_OFFSET): Likewise.
52122 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52124         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52125         to...
52126         * sysdeps/mach/hurd/i386/tls.h: ... here.
52127         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52128         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52129         fields.
52131 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52133         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52135 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52137         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52139 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52141         [BZ #14770]
52142         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52143         * sysdeps/s390/configure: Regenerate.
52145         [BZ #16824]
52146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52147         Set round-to-nearest internally to reduce error accumulation.
52149 2014-04-16  Alan Modra  <amodra@gmail.com>
52151         [BZ #16740]
52152         [BZ #16619]
52153         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52154         * math/libm-test.inc (frexp_test_data): Add tests.
52155         * NEWS: Update fixed bug list.
52157 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52159         * benchtests/Makefile: Depend on libraries in build directory.
52160         (bench-math): Separate out math tests.
52161         (bench-pthread): Separate out pthread tests.
52162         (bench): Include math and pthread tests.
52164 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
52166         [BZ #16831]
52167         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52168         _dl_debug_initialize.
52170         * configure.ac: Remove SELinux header check.
52171         * configure: Regenerate.
52172         * nscd/selinux.c (perms): Array of const char* to permission names.
52173         (nscd_request_avc_has_perm): Call security_deny_unknown to find
52174         default policy. Call string_to_security_class and string_to_av_perm to
52175         translate strings. Enforce default policy and call avs_has_perm with
52176         results of translated strings.
52178 2014-04-13  David S. Miller  <davem@davemloft.net>
52180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52182 2014-04-12  Allan McRae  <allan@archlinux.org>
52184         [BZ #16838]
52185         * manual/string.texi (Collation Functions): Fix qsort argument
52186         order in example.
52187         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52189 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
52191         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52192         Make the test a no-op if there are no exceptions defined.
52194 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
52196         * elf/Makefile (tests): make tst-dlopen-aout conditional on
52197         enable-hardcoded-path-in-tests
52199 2014-04-11  Will Newton  <will.newton@linaro.org>
52201         * benchtests/Makefile (extra-objs): Add json-lib.o.
52202         (bench-func): Tidy up JSON output.
52203         * benchtests/bench-skeleton.c: Include json-lib.h.
52204         (main): Use JSON library functions to do output of
52205         benchmark results.
52206         * benchtests/bench-timing-type.c (main): Output the
52207         timing type simply, leaving formatting to the user.
52208         * benchtests/json-lib.c: New file.
52209         * benchtests/json-lib.h: Likewise.
52211 2014-04-11  Torvald Riegel  <triegel@redhat.com>
52213         [BZ #15215]
52214         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52215         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
52216         memory barriers.  Add comments.
52217         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52218         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52219         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52220         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52221         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52222         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52224 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52226         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52227         * sysdeps/s390/s390-64/configure.ac: ... this ...
52228         * sysdeps/s390/configure.ac: ... to here.
52229         * sysdeps/s390/s390-32/configure: Delete file.
52230         * sysdeps/s390/s390-64/configure: Delete file.
52231         * sysdeps/s390/configure: Regenerate.
52233 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52235         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52237 2014-04-11  Will Newton  <will.newton@linaro.org>
52239         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52240         to zero if it is not defined elsewhere.  (mtrim): Test
52241         the value of MALLOC_DEBUG with #if rather than #ifdef.
52243 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52245         * benchtests/pthread_once-inputs: New file.
52246         * benchtests/pthread_once-source.c: New file.
52247         * benchtests/README: Update documentation.
52249 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52250             H.J. Lu  <hongjiu.lu@intel.com>
52252         [BZ #16275]
52253         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52254         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52255         * sysdeps/x86_64/configure: Regenerated.
52256         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52257         macro.
52258         (REGISTER_SAVE_RAX): Likewise.
52259         (REGISTER_SAVE_RCX): Likewise.
52260         (REGISTER_SAVE_RDX): Likewise.
52261         (REGISTER_SAVE_RSI): Likewise.
52262         (REGISTER_SAVE_RDI): Likewise.
52263         (REGISTER_SAVE_R8): Likewise.
52264         (REGISTER_SAVE_R9): Likewise.
52265         (REGISTER_SAVE_BND0): Likewise.
52266         (REGISTER_SAVE_BND1): Likewise.
52267         (REGISTER_SAVE_BND2): Likewise.
52268         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52269         bound registers when calling _dl_fixup.
52271 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52273         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52274         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52275         of its definition.
52276         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52277         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52278         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52279         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52280         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52281         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52282         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52284 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52286         [BZ #15514]
52287         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52288         pathconf(_PC_NAME_MAX).
52290 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52292         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52293         Remove macro usage.
52294         (__PTHREAD_SPINS): Move definition to ...
52295         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52296         (__PTHREAD_SPINS): ... here.
52297         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52298         (__PTHREAD_SPIN): Likewise.
52299         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52300         (__PTHREAD_SPIN): Likewise.
52301         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52302         (__PTHREAD_SPIN): Likewise.
52303         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52304         (__PTHREAD_SPIN): Likewise.
52305         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52306         (__PTHREAD_SPIN): Likewise.
52307         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52308         (__PTHREAD_SPIN): Likewise.
52309         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52310         (__PTHREAD_SPIN): Likewise.
52311         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52312         (__PTHREAD_SPIN): Likewise.
52313         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52314         (__PTHREAD_SPIN): Likewise.
52315         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52316         (__PTHREAD_SPIN): Likewise.
52317         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52318         (__PTHREAD_SPIN): Likewise.
52319         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52320         (__PTHREAD_SPIN): Likewise.
52322         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52323         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52324         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52325         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52326         imply folder.
52327         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52328         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52329         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52330         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52331         correct imply path.
52332         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52333         strlen symbol for non multi-arch builds.
52334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52335         missing hidden_def and weak_alias.
52337 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52339         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52341 2014-04-07  Will Newton  <will.newton@linaro.org>
52343         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52344         and contents.  [!_LIBC] Remove #ifndef and contents.
52345         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52346         * string/memccpy.c (__memccpy): Use ANSI prototype.
52347         * string/memfrob.c (memfrob): Likewise.
52348         * string/strcoll.c (STRCOLL): Likewise.
52349         * string/strlen.c (strlen): Likewise.
52350         * string/strtok.c (STRTOK): Likewise.
52351         * string/strcat.c: Remove unused #include of memcopy.h.
52352         (strcat): Use ANSI prototype.
52353         * string/strchr.c: Remove unused #include of memcopy.h.
52354         (strchr): Use ANSI prototype.
52355         * string/strcmp.c: Remove unused #include of memcopy.h.
52356         (strcmp): Use ANSI prototype.
52357         * string/strcpy.c: Remove unused #include of memcopy.h.
52358         (strcpy): Use ANSI prototype.
52360 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52362         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52363         * config.make.in (config-extra-cppflags): Set it from
52364         libc_extra_cppflags.
52365         * configure.ac (libc_extra_cflags): Make it accumulate over
52366         configure fragments.
52367         (libc_extra_cppflags): New flag.
52368         * configure. Regenerate.
52369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52370         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52371         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52374         [BZ #16815]
52375         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52376         result for FE_DOWNWARD rounding mode.
52377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52378         Likewise.
52379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52381 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52383         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52384         in function argument name.
52386 2014-04-03  David Svoboda  <svoboda@cert.org>
52388         [BZ #5666]
52389         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52390         explicitly.
52392 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52394         * elf/dl-unmap-segments.h: New file.
52395         * sysdeps/generic/ldsodefs.h
52396         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52397         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52398         * elf/dl-fptr.c: Likewise.
52399         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52400         * sysdeps/aarch64/tlsdesc.c: Likewise.
52401         * sysdeps/arm/tlsdesc.c: Likewise.
52402         * sysdeps/i386/tlsdesc.c: Likewise.
52403         * sysdeps/tile/dl-runtime.c: Likewise.
52404         * sysdeps/x86_64/tlsdesc.c: Likewise.
52405         * elf/dl-load.h: New file.
52406         * elf/dl-load.c: Include it.
52407         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52408         Macros moved to dl-load.h.
52409         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52410         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52411         Use _dl_unmap_segments in place of __munmap.
52412         Break out segment-mapping loop into ...
52413         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52415 2014-04-03  Will Newton  <will.newton@linaro.org>
52417         * elf/dl-lookup.c (do_lookup_x): Remove comment
52418         referring to nested function and move variable
52419         declarations down to before first use.
52421 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52423         [BZ #16799]
52424         [BZ #16800]
52425         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52426         with 0 numerator.
52427         * math/s_catanf.c (__catanf): Likewise.
52428         * math/s_catanh.c (__catanh): Likewise.
52429         * math/s_catanhf.c (__catanhf): Likewise.
52430         * math/s_catanhl.c (__catanhl): Likewise.
52431         * math/s_catanl.c (__catanl): Likewise.
52432         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52433         by positive zero when computing -Inf result.
52434         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52435         (catanh_test): Likewise.
52436         * sysdeps/i386/fpu/libm-test-ulps: Update.
52437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52439         [BZ #16789]
52440         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52441         instead of using underflowing value in computing result.
52442         * math/s_clog10.c (__clog10): Likewise.
52443         * math/s_clog10f.c (__clog10f): Likewise.
52444         * math/s_clog10l.c (__clog10l): Likewise.
52445         * math/s_clogf.c (__clogf): Likewise.
52446         * math/s_clogl.c (__clogl): Likewise.
52447         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52448         (clog10_test): Likewise.
52449         * sysdeps/i386/fpu/libm-test-ulps: Update.
52450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52452 2014-04-02  Alan Modra  <amodra@gmail.com>
52454         [BZ #16739]
52455         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52456         output when value is near a power of two.  Use int64_t for lx and
52457         remove casts.  Use decimal rather than hex exponent constants.
52458         Don't use long double multiplication when double will suffice.
52459         * math/libm-test.inc (nextafter_test_data): Add tests.
52460         * NEWS: Add 16739 and 16786 to bug list.
52462         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52464         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52466 2014-04-01  Will Newton  <will.newton@linaro.org>
52468         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52469         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52471 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52473         [BZ #13347]
52474         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52475         * nptl/tst-setuid2.c: New file.
52476         * nptl/Makefile (xtests): Add tst-setuid2.
52478 2014-04-01  Alan Modra  <amodra@gmail.com>
52480         [BZ #16786]
52481         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52483 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52485         [BZ #6803]
52486         [BZ #6804]
52487         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52488         set errno as appropriate.
52489         * math/w_scalbf.c (__scalbf): Likewise.
52490         * math/w_scalbl.c (__scalbl): Likewise.
52491         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52492         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52493         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52494         Add more NaN tests.
52496         [BZ #16349]
52497         * math/w_atan2.c: Include <errno.h>.
52498         (__atan2): Set errno for result underflowing to zero.
52499         * math/w_atan2f.c: Include <errno.h>.
52500         (__atan2f): Set errno for result underflowing to zero.
52501         * math/w_atan2l.c: Include <errno.h>.
52502         (__atan2l): Set errno for result underflowing to zero.
52503         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52504         tests.
52505         * math/auto-libm-test-out: Regenerated.
52507 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52509         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52510         Encode instruction correctly in little endian.
52511         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52512         Likewise.
52513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52514         Likewise.
52515         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52516         Likewise.
52517         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52518         Likewise.
52520 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52522         [BZ #9894]
52523         * sysdeps/unix/sysv/linux/kernel-features.h
52524         [__sparc__ && !__arch64__ && !__sparc_v9__]
52525         (__ASSUME_SET_ROBUST_LIST): Do not define.
52526         [__sparc__ && !__arch64__ && !__sparc_v9__]
52527         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52528         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52529         Likewise.
52530         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52531         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52532         (__ASSUME_REQUEUE_PI): Likewise.
52533         (__ASSUME_SET_ROBUST_LIST): Likewise.
52534         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52535         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52536         Undefine.
52537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52538         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52539         Likewise.
52540         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52541         Likewise.
52542         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52543         Likewise.
52544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52545         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52546         Undefine.
52547         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52548         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52549         Likewise.
52551         [BZ #16648]
52552         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52554         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52556 2014-03-31  Will Newton  <will.newton@linaro.org>
52558         * benchtests/Makefile (bench): Add ffs and ffsll to list
52559         of tests.
52560         * benchtests/ffs-inputs: New file.
52561         * benchtests/ffsll-inputs: Likewise.
52563 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52565         [BZ #16770]
52566         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52567         too large before casting to int.
52568         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52569         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52570         * math/libm-test.inc (scalb_test_data): Add more tests.
52572 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52574         * benchtests/Makefile (DETAILED_OPT): New make option.
52575         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52576         set.
52577         * benchtests/bench-skeleton.c: Include stdbool.h.
52578         (main): Store and print timings per input.
52579         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52580         member to each argument value.
52581         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52582         (_print_arg_data): Initialize per-input timing to 0.
52584         * benchtests/Makefile (timing-type): New binary.
52585         (bench-clean): Also remove bench-timing-type.
52586         (bench): New target for timing-type.
52587         (bench-func): Print output in JSON format.
52588         * benchtests/bench-skeleton.c (main): Print output in JSON
52589         format.
52590         * benchtests/bench-timing-type.c: New file.
52591         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52592         (TIMING_PRINT_STATS): Remove.
52593         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52594         name separately.
52596         * benchtests/bench-modf.c: Remove.
52597         * benchtests/modf-inputs: New inputs file.
52599 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52601         [BZ #16362]
52602         * math/s_clog10.c (M_PI_LOG10E): New macro.
52603         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52604         imaginary parts are 0.
52605         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52606         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52607         imaginary parts are 0.
52608         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52609         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52610         imaginary parts are 0.
52611         * math/libm-test.inc (clog10_test_data): Update expected results
52612         for when real and imaginary parts are 0.
52614 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52616         * elf/dl-load.c: Finish conversion of __builtin_expect into
52617         __glibc_{un}likely.
52619 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52621         [BZ #16348]
52622         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52623         1+x for argument with exponent below -67.
52624         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52625         Likewise.
52626         * math/auto-libm-test-in: Add more tests of exp.
52627         * math/auto-libm-test-out: Regenerated.
52629 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52631         [BZ #16759]
52632         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52633         (nscd_getnetgrent): Use it.
52635         [BZ #16760]
52636         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52637         of stpcpy.
52639 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52641         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52642         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52643         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52644         (lll_robust_unlock): Remove out of line section. Use cfi
52645         intrinsics.
52646         (LLL_STUB_UNWIND_INFO*): Remove.
52647         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52648         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52649         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52650         (lll_robust_unlock): Remove out of line section. Use cfi
52651         intrinsics.
52652         (LLL_STUB_UNWIND_INFO*): Remove.
52654 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52656         [BZ #16758]
52657         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52658         blank values.
52660 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52662         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52664 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52666         [BZ #16198]
52667         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52668         fnstenv.
52669         * math/test-fenv-preserve.c: New file.
52670         * math/Makefile (tests): Add test-fenv-preserve.
52672 2014-03-26  Will Newton <will.newton@linaro.org>
52674         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52676 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52678         * scripts/versionlist.awk: Partition the version sets and emit all
52679         GLIBC_* (sorted) before all others (sorted).
52681 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52683         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52684         GLIBC_2.2.5 version.
52686 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52688         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52689         calls.
52691         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52692         previous change.
52694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52696 2014-03-25  Andreas Schwab  <schwab@suse.de>
52698         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52699         label to be used after in6ailist is initialized.
52701 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52703         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52704         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52706 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52708         [BZ #16357]
52709         [BZ #16599]
52710         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52711         min_plus_half.
52712         (fp_formats): Update initializers.
52713         (init_fp_formats): Initialize new field.
52714         (output_for_one_input_case): Allow underflow for results up to
52715         min_plus_half.
52716         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52717         * math/auto-libm-test-in: Don't mark some underflows from asin and
52718         atanh as spurious.
52719         * math/auto-libm-test-out: Regenerated.
52720         * sysdeps/i386/fpu/libm-test-ulps: Update.
52721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52723 2014-03-25  Andreas Schwab  <schwab@suse.de>
52725         * libio/Makefile (tst-ftell-partial-wide-ENV)
52726         (tst-ftell-active-handler-ENV): Define.
52728 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52730         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52732 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52734         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52736 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52738         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52739         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52740         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52742 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52744         [BZ #16634]
52745         * elf/dl-load.c (open_verify): Add mode parameter.
52746         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52747         (open_path): Change from boolean 'secure' to complete flag 'mode'
52748         (_dl_map_object): Adjust.
52749         * elf/Makefile (tests): Add tst-dlopen-aout.
52750         * elf/tst-dlopen-aout.c: New test.
52752 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52754         [BZ #16714]
52755         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52756         (struct stat): Rename member pad0 to __glibc_reserved0.
52758         [BZ #16712]
52759         * sysdeps/s390/s390-32/bits/wordsize.h
52760         (__WORDSIZE32_SIZE_ULONG): New define.
52761         * sysdeps/s390/s390-64/bits/wordsize.h
52762         (__WORDSIZE32_SIZE_ULONG): Likewise.
52763         * sysdeps/generic/stdint.h (SIZE_MAX):
52764         Define as UL if __WORDSIZE32_SIZE_ULONG.
52766         [BZ #16713]
52767         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52768         (__glibc_reserved0): New variable.
52769         (sa_flags): Change type to int.
52771         * posix/Makefile (before-compile): Use += before-compile instead
52772         of a :=.
52774         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52775         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52777 2014-03-20  Andreas Schwab  <schwab@suse.de>
52779         [BZ #16743]
52780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52781         non-matching result from nscd.
52783 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52785         * scripts/bench.py: Moved to ...
52786         * benchtests/scripts/bench.py: ... here.
52787         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52789 2014-03-24  Andreas Schwab  <schwab@suse.de>
52791         [BZ #16002]
52792         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52793         alloca_account and account alloca use for struct in6ailist.
52795 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52797         [BZ #16284]
52798         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52799         rounding mode to recompute results that overflow to infinity or
52800         underflow to zero.
52801         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52802         bug 16284.
52803         * math/auto-libm-test-out: Regenerated.
52804         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52805         (ccosh_test): Likewise.
52806         (csin_test_data): Use plus_oflow.
52807         (csin_test): Use ALL_RM_TEST.
52808         (csinh_test_data): Use plus_oflow.
52809         (csinh_test): Use ALL_RM_TEST.
52810         * sysdeps/i386/fpu/libm-test-ulps: Update.
52811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52813 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52815         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52816         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52817         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52819         [BZ #16731]
52820         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52821         when x - 1 is zero.
52822         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52823         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52824         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52825         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52826         argument is 1.
52827         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52828         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52829         zero.
52830         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52831         * sysdeps/i386/fpu/libm-test-ulps: Update.
52832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52834 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52836         * scripts/bench.pl: Remove file.
52837         * scripts/bench.py: New benchmark script.
52838         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52839         * benchtests/README: Mention python dependency.
52840         * scripts/pylintrc: New file.
52841         * scripts/pylint: New file.
52843         * bits/mathdef.h: Use #ifdef instead of #if.
52844         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52845         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52846         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52847         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52848         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52849         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52851 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52852             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52854         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52856         and strpbrk-ppc64 objects.
52857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52858         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52859         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52860         multiarch strpbrk for POWER7.
52861         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52862         multiarch strpbrk for PPC64.
52863         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52864         ifunc selector.
52865         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52866         strpbrk for POWER7.
52868 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52870         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52871         (atan_test): Likewise.
52872         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52873         (atanh_test): Use ALL_RM_TEST.
52874         (atan2_test_data): Likewise.
52875         (cabs_test): Likewise.
52876         (cacosh_test): Likewise.
52877         (carg_test): Likewise.
52878         (casin_test): Likewise.
52879         (casinh_test): Likewise.
52880         (cbrt_test): Likewise.
52881         (csqrt_test): Likewise.
52882         (erf_test): Likewise.
52883         (erfc_test): Likewise.
52884         (pow10_test): Likewise.
52885         (exp2_test): Likewise.
52886         (hypot_test): Likewise.
52887         (j0_test): Likewise.
52888         (j1_test): Likewise.
52889         (lgamma_test): Likewise.
52890         (gamma_test): Likewise.
52891         (sincos_test): Likewise.
52892         (tanh_test): Likewise.
52893         (y0_test): Likewise.
52894         (y1_test): Likewise.
52895         * sysdeps/i386/fpu/libm-test-ulps: Update.
52896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52898 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52900         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52902         and strcspn-ppc64 objects.
52903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52904         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52905         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52906         multiarch strcspn for POWER7.
52907         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52908         multiarch strcspn for PPC64.
52909         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52910         ifunc selector.
52911         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52912         strcspn for POWER7.
52914 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52916         * math/gen-libm-test.pl (generate_testfile): Expect only function
52917         name as argument to AUTO_TESTS_* and pass results for all rounding
52918         modes to parse_args.
52919         (parse_auto_input): Separate inputs of automatic tests from
52920         outputs before storing in %auto_tests.
52921         * math/libm-test.inc (acos_test_data): Update call to
52922         AUTO_TESTS_f_f.
52923         (acos_test): Use ALL_RM_TEST.
52924         (acos_tonearest_test_data): Remove.
52925         (acos_test_tonearest): Likewise.
52926         (acos_towardzero_test_data): Likewise.
52927         (acos_test_towardzero): Likewise.
52928         (acos_downward_test_data): Likewise.
52929         (acos_test_downward): Likewise.
52930         (acos_upward_test_data): Likewise.
52931         (acos_test_upward): Likewise.
52932         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52933         (asin_test_data): Likewise.
52934         (asin_test): Use ALL_RM_TEST.
52935         (asin_tonearest_test_data): Remove.
52936         (asin_test_tonearest): Likewise.
52937         (asin_towardzero_test_data): Likewise.
52938         (asin_test_towardzero): Likewise.
52939         (asin_downward_test_data): Likewise.
52940         (asin_test_downward): Likewise.
52941         (asin_upward_test_data): Likewise.
52942         (asin_test_upward): Likewise.
52943         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52944         (atan_test_data): Likewise.
52945         (atanh_test_data): Likewise.
52946         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52947         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52948         (carg_test_data): Likewise.
52949         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52950         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52951         (ccosh_test_data): Likewise.
52952         (cexp_test_data): Likewise.
52953         (clog_test_data): Likewise.
52954         (clog10_test_data): Likewise.
52955         (cos_test_data): Update call to AUTO_TESTS_f_f.
52956         (cos_test): Use ALL_RM_TEST.
52957         (cos_tonearest_test_data): Remove.
52958         (cos_test_tonearest): Likewise.
52959         (cos_towardzero_test_data): Likewise.
52960         (cos_test_towardzero): Likewise.
52961         (cos_downward_test_data): Likewise.
52962         (cos_test_downward): Likewise.
52963         (cos_upward_test_data): Likewise.
52964         (cos_test_upward): Likewise.
52965         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52966         (cosh_test): Use ALL_RM_TEST.
52967         (cosh_tonearest_test_data): Remove.
52968         (cosh_test_tonearest): Likewise.
52969         (cosh_towardzero_test_data): Likewise.
52970         (cosh_test_towardzero): Likewise.
52971         (cosh_downward_test_data): Likewise.
52972         (cosh_test_downward): Likewise.
52973         (cosh_upward_test_data): Likewise.
52974         (cosh_test_upward): Likewise.
52975         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52976         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52977         (ctan_test_data): Likewise.
52978         (ctan_test): Use ALL_RM_TEST.
52979         (ctan_tonearest_test_data): Remove.
52980         (ctan_test_tonearest): Likewise.
52981         (ctan_towardzero_test_data): Likewise.
52982         (ctan_test_towardzero): Likewise.
52983         (ctan_downward_test_data): Likewise.
52984         (ctan_test_downward): Likewise.
52985         (ctan_upward_test_data): Likewise.
52986         (ctan_test_upward): Likewise.
52987         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52988         (ctanh_test): Use ALL_RM_TEST.
52989         (ctanh_tonearest_test_data): Remove.
52990         (ctanh_test_tonearest): Likewise.
52991         (ctanh_towardzero_test_data): Likewise.
52992         (ctanh_test_towardzero): Likewise.
52993         (ctanh_downward_test_data): Likewise.
52994         (ctanh_test_downward): Likewise.
52995         (ctanh_upward_test_data): Likewise.
52996         (ctanh_test_upward): Likewise.
52997         (erf_test_data): Update call to AUTO_TESTS_f_f.
52998         (erfc_test_data): Likewise.
52999         (exp_test_data): Likewise.
53000         (exp_test): Use ALL_RM_TEST.
53001         (exp_tonearest_test_data): Remove.
53002         (exp_test_tonearest): Likewise.
53003         (exp_towardzero_test_data): Likewise.
53004         (exp_test_towardzero): Likewise.
53005         (exp_downward_test_data): Likewise.
53006         (exp_test_downward): Likewise.
53007         (exp_upward_test_data): Likewise.
53008         (exp_test_upward): Likewise.
53009         (exp10_test_data): Update call to AUTO_TESTS_f_f.
53010         (exp10_test): Use ALL_RM_TEST.
53011         (exp10_tonearest_test_data): Remove.
53012         (exp10_test_tonearest): Likewise.
53013         (exp10_towardzero_test_data): Likewise.
53014         (exp10_test_towardzero): Likewise.
53015         (exp10_downward_test_data): Likewise.
53016         (exp10_test_downward): Likewise.
53017         (exp10_upward_test_data): Likewise.
53018         (exp10_test_upward): Likewise.
53019         (exp2_test_data): Update call to AUTO_TESTS_f_f.
53020         (expm1_test_data): Likewise.
53021         (expm1_test): Use ALL_RM_TEST.
53022         (expm1_tonearest_test_data): Remove.
53023         (expm1_test_tonearest): Likewise.
53024         (expm1_towardzero_test_data): Likewise.
53025         (expm1_test_towardzero): Likewise.
53026         (expm1_downward_test_data): Likewise.
53027         (expm1_test_downward): Likewise.
53028         (expm1_upward_test_data): Likewise.
53029         (expm1_test_upward): Likewise.
53030         (fma_test_data): Update call to AUTO_TESTS_fff_f.
53031         (fma_test): Use ALL_RM_TEST.
53032         (fma_towardzero_test_data): Remove.
53033         (fma_test_towardzero): Likewise.
53034         (fma_downward_test_data): Likewise.
53035         (fma_test_downward): Likewise.
53036         (fma_upward_test_data): Likewise.
53037         (fma_test_upward): Likewise.
53038         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
53039         (j0_test_data): Update call to AUTO_TESTS_f_f.
53040         (j1_test_data): Likewise.
53041         (jn_test_data): Update call to AUTO_TESTS_if_f.
53042         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
53043         (log_test_data): Update call to AUTO_TESTS_f_f.
53044         (log10_test_data): Likewise.
53045         (log1p_test_data): Likewise.
53046         (log2_test_data): Likewise.
53047         (pow_test_data): Update call to AUTO_TESTS_ff_f.
53048         (pow_tonearest_test_data): Likewise.
53049         (sin_test_data): Update call to AUTO_TESTS_f_f.
53050         (sin_test): Use ALL_RM_TEST.
53051         (sin_tonearest_test_data): Remove.
53052         (sin_test_tonearest): Likewise.
53053         (sin_towardzero_test_data): Likewise.
53054         (sin_test_towardzero): Likewise.
53055         (sin_downward_test_data): Likewise.
53056         (sin_test_downward): Likewise.
53057         (sin_upward_test_data): Likewise.
53058         (sin_test_upward): Likewise.
53059         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
53060         (sinh_test_data): Update call to AUTO_TESTS_f_f.
53061         (sinh_test): Use ALL_RM_TEST.
53062         (sinh_tonearest_test_data): Remove.
53063         (sinh_test_tonearest): Likewise.
53064         (sinh_towardzero_test_data): Likewise.
53065         (sinh_test_towardzero): Likewise.
53066         (sinh_downward_test_data): Likewise.
53067         (sinh_test_downward): Likewise.
53068         (sinh_upward_test_data): Likewise.
53069         (sinh_test_upward): Likewise.
53070         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
53071         (sqrt_test): Use ALL_RM_TEST.
53072         (sqrt_tonearest_test_data): Remove.
53073         (sqrt_test_tonearest): Likewise.
53074         (sqrt_towardzero_test_data): Likewise.
53075         (sqrt_test_towardzero): Likewise.
53076         (sqrt_downward_test_data): Likewise.
53077         (sqrt_test_downward): Likewise.
53078         (sqrt_upward_test_data): Likewise.
53079         (sqrt_test_upward): Likewise.
53080         (tan_test_data): Update call to AUTO_TESTS_f_f.
53081         (tan_test): Use ALL_RM_TEST.
53082         (tan_tonearest_test_data): Remove.
53083         (tan_test_tonearest): Likewise.
53084         (tan_towardzero_test_data): Likewise.
53085         (tan_test_towardzero): Likewise.
53086         (tan_downward_test_data): Likewise.
53087         (tan_test_downward): Likewise.
53088         (tan_upward_test_data): Likewise.
53089         (tan_test_upward): Likewise.
53090         (tanh_test_data): Update call to AUTO_TESTS_f_f.
53091         (tgamma_test_data): Likewise.
53092         (y0_test_data): Likewise.
53093         (y1_test_data): Likewise.
53094         (yn_test_data): Update call to AUTO_TESTS_if_f.
53095         (main): Do not call removed functions.
53097 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53099         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
53100         (ldexp_test_data): Remove.
53101         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
53102         scalbn_test_data.
53103         (scalb_test): Use ALL_RM_TEST.
53105 2014-03-19  Andreas Schwab  <schwab@suse.de>
53107         * nscd/nscd.service: Also invalidate netgroup cache on reload.
53109 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53111         [BZ #16649]
53112         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53114         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53116         (__ASSUME_PREADV): Undefine.
53117         (__ASSUME_PWRITEV): Likewise.
53119 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53121         * bits/mman-linux.h: Add comment about non-Linux use.
53122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53123         bits/mman-linux.h resting place.
53125         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53126         * bits/mman-linux.h: ... here.
53128 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53130         * conform/conformtest.pl: Add standard definition when calling C
53131         preprocessor on data files.
53132         (checknamespace): Remove unused variable.
53134 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53136         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53137         minus_oflow, plus_uflow and minus_uflow in expected results.
53138         * math/libm-test.inc (scalbn_test_data): Add more tests of
53139         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
53140         minus_uflow.
53141         (scalbn_test): Use ALL_RM_TEST.
53142         (scalbln_test_data): Add more tests of negative arguments.  Use
53143         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53144         (scalbln_test): Use ALL_RM_TEST.
53146 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53148         * scripts/abilist.awk: Ignore symbols marked with .hidden.
53150 2014-03-18  Will Newton  <will.newton@linaro.org>
53152         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53153         inaccurate comment.
53155 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53157         * Makerules [!subdir] (check-abi): Exit with error status if a
53158         test failed.
53160 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53162         * math/libm-test.inc (nearbyint_test_data): Include all tests used
53163         for rint.  Include results for all rounding modes.
53164         (nearbyint_test): Use ALL_RM_TEST.
53165         (rint_test_data): Include all tests used for nearbyint.
53167 2014-03-17  Will Newton  <will.newton@linaro.org>
53169         * nptl/sysdeps/pthread/pthread.h: Revert previous
53170         change.
53172         * sysdeps/generic/ldsodefs.h: Revert previous
53173         change.
53175         * libio/genops.c: Revert previous change.
53176         * libio/libioP.h: Likewise.
53177         * stdio-common/vfprintf.c: Likewise.
53179         * sysdeps/generic/math_private.h: Revert previous
53180         change.
53182         * sysdeps/generic/math_private.h: Check whether
53183         HAVE_RM_CTX is defined with #ifdef rather
53184         than #if.
53186         * argp/argp-fmtstream.h: Check whether
53187         __STRICT_ANSI__ is defined with #ifdef rather
53188         than #if.
53189         * argp/argp.h: Likewise.
53191         * libio/genops.c: Check whether
53192         _IO_JUMPS_OFFSET is defined with #ifdef rather
53193         than #if.
53194         * libio/libioP.h: Likewise.
53195         * stdio-common/vfprintf.c: Likewise.
53197         * sysdeps/generic/ldsodefs.h: Check whether
53198         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53199         than #if.
53201         * nptl/sysdeps/pthread/pthread.h: Check
53202         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53203         its value.
53205 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53207         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53208         setting O_APPEND.
53209         * libio/tst-ftell-active-handler.c (do_append_test): Add a
53210         test case.
53212         [BZ #16680]
53213         * libio/fileops.c (_IO_file_open): Seek to end of file but
53214         don't cache the offset.
53215         (get_file_offset): Remove function.
53216         (do_ftell): Use cached offset when available.
53217         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53218         don't cache the offset.
53219         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53220         case.
53221         (do_one_test): Call it.
53222         (do_ftell_test): Fix up expected old offset for a+ mode.
53223         * libio/wfileops.c (do_ftell_wide): Used cached offset when
53224         available.
53226         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53227         up test status with function return status.
53228         (do_write_test): Likewise.
53229         (do_append_test): Likewise.
53231         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53232         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53233         Remove.
53235 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53237         * math/gen-libm-test.pl (parse_args): Handle results specified for
53238         each rounding mode separately.
53239         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53240         tests and results from lrint_tonearest_test_data,
53241         lrint_towardzero_test_data, lrint_downward_test_data and
53242         lrint_upward_test_data.
53243         (lrint_test): Use ALL_RM_TEST.
53244         (lrint_tonearest_test_data): Remove.
53245         (lrint_test_tonearest): Likewise.
53246         (lrint_towardzero_test_data): Likewise.
53247         (lrint_test_towardzero): Likewise.
53248         (lrint_downward_test_data): Likewise.
53249         (lrint_test_downward): Likewise.
53250         (lrint_upward_test_data): Likewise.
53251         (lrint_test_upward): Likewise.
53252         (llrint_test_data): Merge in per-rounding-mode tests and results
53253         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53254         llrint_downward_test_data and llrint_upward_test_data.
53255         (llrint_test): Use ALL_RM_TEST.
53256         (llrint_tonearest_test_data): Remove.
53257         (llrint_test_tonearest): Likewise.
53258         (llrint_towardzero_test_data): Likewise.
53259         (llrint_test_towardzero): Likewise.
53260         (llrint_downward_test_data): Likewise.
53261         (llrint_test_downward): Likewise.
53262         (llrint_upward_test_data): Likewise.
53263         (llrint_test_upward): Likewise.
53264         (rint_test_data): Merge in per-rounding-mode tests and results
53265         from rint_tonearest_test_data, rint_towardzero_test_data,
53266         rint_downward_test_data and rint_upward_test_data.  Add
53267         per-rounding-mode results for tests not in those arrays.
53268         (rint_test): Use ALL_RM_TEST.
53269         (rint_tonearest_test_data): Remove.
53270         (rint_test_tonearest): Likewise.
53271         (rint_towardzero_test_data): Likewise.
53272         (rint_test_towardzero): Likewise.
53273         (rint_downward_test_data): Likewise.
53274         (rint_test_downward): Likewise.
53275         (rint_upward_test_data): Likewise.
53276         (rint_test_upward): Likewise.
53277         (main): Don't call removed functions.
53279 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53281         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53282         "Compiled on ..." crapola.  It is anti-useful.
53284 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53286         * scripts/evaluate-test.sh: Handle fourth argument to determine
53287         whether test run should stop on failure.
53288         * Makeconfig (stop-on-test-failure): New variable.
53289         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53290         $(stop-on-test-failure).
53291         * Makefile (tests): Give a summary of results from testing and
53292         exit with failure status if they include an ERROR or FAIL.
53293         (xtests): Likewise.
53294         * manual/install.texi (Configuring and compiling): Mention
53295         stop-on-test-failure=y.
53296         * INSTALL: Regenerated.
53298 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53300         * scripts/versionlist.awk: New file.
53301         * Makerules [$(build-shared) = yes]
53302         (postclean-generated): Add Versions.def, not Versions.def.v and
53303         Versions.def.v.i.
53304         ($(common-objpfx)Versions.def.v.i): Target removed.
53305         ($(common-objpfx)Versions.def): New target.
53306         ($(common-objpfx)Versions.all): Depend on that rather that
53307         $(common-objpfx)Versions.def.v.
53308         * Versions.def: File removed.
53310         * Makeconfig (+gccwarn): Add -Wundef.
53311         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53312         a dl-sysdep.h breaking its contract.
53313         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53314         * include/stackinfo.h: New file.
53315         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53316         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53317         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53318         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53319         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53320         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53321         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53322         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53323         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53324         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53325         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53326         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53327         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53328         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53329         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53331 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53333         [BZ #16707]
53334         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53335         implementation.
53336         * math/libm-test.inc (round_test_data): Add more tests.
53338         [BZ #16706]
53339         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53340         implementation.
53341         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53343         [BZ #16701]
53344         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53345         implementation.
53346         * math/libm-test.inc (ceil_test_data): Add more tests.
53348         * math/libm-test.inc (trunc_test_data): Add more tests related to
53349         BZ#16414.
53351 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53353         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53354         with #if rather than #ifdef.
53355         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53357 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53359         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53360         first.  Disable AVX-512 GCC support if assembler doesn't support
53361         it.
53362         * sysdeps/x86_64/configure: Regenerated.
53364 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53366         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53367         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53368         (__old_pthread_attr_setstack): Likewise.
53369         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53370         [!_STACK_GROWS_DOWN]: Likewise.
53372 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53374         * config.make.in (have-bash2): Delete.
53375         * configure.ac (libc_cv_have_bash2): Delete.
53376         * configure: Regenerate.
53377         * elf/Makefile (common-ldd-rewrite): Rename to ...
53378         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53379         (sh-ldd-rewrite): Delete.
53380         (bash-ldd-rewrite): Delete.
53381         (have-bash2): Delete checks.
53382         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53383         ldd-rewrite.
53385         * config.make.in (have-ksh): Delete.
53386         (KSH): Delete.
53387         * configure.ac (libc_cv_have_ksh): Delete.
53388         * configure: Regenerate.
53390         * elf/Makefile: Delete $(have-ksh) check.
53391         ($(objpfx)sotruss): Change KSH to BASH.
53392         * elf/sotruss.ksh: Rename to ...
53393         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53394         function style to match POSIX.  Drop ksh vim mode setting.
53396         * manual/time.texi (Specifying the Time Zone with TZ): Change
53397         Tuesday to Thursday.
53399         * debug/tst-longjmp_chk2.c: Update header comment.
53400         (stackoverflow_handler): Add comment.  Call assert on pass value.
53402 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53404         [BZ #16194]
53405         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53406         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53407         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53408         (La_x86_64_vector): Add zmm.
53409         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53410         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53411         ($(objpfx)tst-audit10): New target.
53412         ($(objpfx)tst-audit10.out): Likewise.
53413         (tst-audit10-ENV): New.
53414         (AVX512-CFLAGS): Likewise.
53415         (CFLAGS-tst-audit10.c): Likewise.
53416         (CFLAGS-tst-auditmod10a.c): Likewise.
53417         (CFLAGS-tst-auditmod10b.c): Likewise.
53418         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53419         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53420         * sysdeps/x86_64/configure: Regenerated.
53421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53422         AVX-512 zmm register support.
53423         (_dl_x86_64_save_sse): Likewise.
53424         (_dl_x86_64_restore_sse): Likewise.
53425         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53426         size vector registers.
53427         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53428         (ZMM_SIZE): Likewise.
53429         * sysdeps/x86_64/tst-audit10.c: New file.
53430         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53431         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53433 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53435         * configure.ac (HAVE_EHDR_START): New check.
53436         * configure: Regenerated.
53437         * config.h.in (HAVE_EHDR_START): New #undef.
53438         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53439         assuming the lowest-addressed segment maps the start of the file.
53441 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53443         * INSTALL: Regenerated.
53445 2014-03-13  Will Newton  <will.newton@linaro.org>
53447         * manual/setjmp.texi (System V contexts): Improve
53448         clarity and grammar of documentation.
53450 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53452         [BZ #16381]
53453         * elf/Makefile (tests): Add tst-pie2.
53454         (tests-pie): Add tst-pie2.
53455         * elf/tst-pie2.c: New file.
53456         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53457         for ET_EXEC.
53458         * elf/rtld.c (map_doit): Load executable as lt_executable.
53459         (dl_main): Likewise.
53461 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53463         [BZ #16642]
53464         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53465         (__ASSUME_PSELECT): Undefine.
53467 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53469         [BZ #16689]
53470         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53471         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53472         static build.
53473         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53474         selector for static builds.
53476 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53478         [BZ #16695]
53479         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53480         key in the buffer.
53482 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53484         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53485         IFUNC selector for static builds.
53487 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53489         * sysdeps/mips/math_private.h [__mips_hard_float]
53490         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53491         libc_feresetround_mips_ctx.
53492         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53493         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53494         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53496         [BZ #16677]
53497         * math/s_nextafter.c (__nextafter): Do not return value from
53498         overflowing computation.
53499         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53500         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53501         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53502         Likewise.
53503         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53504         Likewise.
53505         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53506         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53508 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53510         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53511         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53512         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53513         the new mov targetting sp.
53515 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53517         [BZ #16683]
53518         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53519         Define it for static builds as well.
53520         (NO_BZERO_IMPL): Likewise.
53522 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53524         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53525         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53526         multiarch strspn for PPC64.
53527         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53528         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53530         (__libc_ifunc_impl_list): Likewise.
53531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53532         multiarch optimizations
53533         * string/strspn.c (strspn): Using macro to redefine symbol name.
53535 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53536             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53538         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53539         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53540         multiarch strncat for PPC64.
53541         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53542         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53544         (__libc_ifunc_impl_list): Likewise.
53545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53546         multiarch optimizations
53548 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53550         [BZ #16639]
53551         * nscd/nscd.service: Make service type forking.
53553 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53555         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53556         sign in non default rounding modes.
53557         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53559 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53561         * math/libm-test.inc (ALL_RM_TEST): New macro.
53562         (ceil_test): Use ALL_RM_TEST.
53563         (cimag_test): Likewise.
53564         (conj_test): Likewise.
53565         (copysign_test): Likewise.
53566         (cproj_test): Likewise.
53567         (creal_test): Likewise.
53568         (fabs_test): Likewise.
53569         (floor_test): Likewise.
53570         (fmax_test): Likewise.
53571         (fmin_test): Likewise.
53572         (fmod_test): Likewise.
53573         (fpclassify_test): Likewise.
53574         (frexp_test): Likewise.
53575         (ilogb_test): Likewise.
53576         (isfinite_test): Likewise.
53577         (finite_test): Likewise.
53578         (isgreater_test): Likewise.
53579         (isgreaterequal_test): Likewise.
53580         (isinf_test): Likewise.
53581         (isless_test): Likewise.
53582         (islessequal_test): Likewise.
53583         (islessgreater_test): Likewise.
53584         (isnan_test): Likewise.
53585         (isnormal_test): Likewise.
53586         (issignaling_test): Likewise.
53587         (isunordered_test): Likewise.
53588         (logb_test): Likewise.
53589         (logb_downward_test_data): Remove.
53590         (logb_test_downward): Likewise.
53591         (lround_test): Use ALL_RM_TEST.
53592         (llround_test): Likewise.
53593         (modf_test): Likewise.
53594         (nexttoward_test): Likewise.
53595         (remainder_test): Likewise.
53596         (drem_test): Likewise.
53597         (remainder_tonearest_test_data): Likewise.
53598         (remainder_test_tonearest): Likewise.
53599         (drem_test_tonearest): Likewise.
53600         (remainder_towardzero_test_data): Likewise.
53601         (remainder_test_towardzero): Likewise.
53602         (drem_test_towardzero): Likewise.
53603         (remainder_downward_test_data): Likewise.
53604         (remainder_test_downward): Likewise.
53605         (drem_test_downward): Likewise.
53606         (remainder_upward_test_data): Likewise.
53607         (remainder_test_upward): Likewise.
53608         (drem_test_upward): Likewise.
53609         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53610         (round_test): Use ALL_RM_TEST.
53611         (signbit_test): Likewise.
53612         (trunc_test): Likewise.
53613         (significand_test): Likewise.
53614         (main): Don't call removed functions.
53616 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53618         [BZ #16674]
53619         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53620         || __USE_XOPEN2K8].
53621         (ILL_ILLOPN): Likewise.
53622         (ILL_ILLADR): Likewise.
53623         (ILL_ILLTRP): Likewise.
53624         (ILL_PRVOPC): Likewise.
53625         (ILL_PRVREG): Likewise.
53626         (ILL_COPROC): Likewise.
53627         (ILL_BADSTK): Likewise.
53628         (FPE_INTDIV): Likewise.
53629         (FPE_INTOVF): Likewise.
53630         (FPE_FLTDIV): Likewise.
53631         (FPE_FLTOVF): Likewise.
53632         (FPE_FLTUND): Likewise.
53633         (FPE_FLTRES): Likewise.
53634         (FPE_FLTINV): Likewise.
53635         (FPE_FLTSUB): Likewise.
53636         (SEGV_MAPERR): Likewise.
53637         (SEGV_ACCERR): Likewise.
53638         (BUS_ADRALN): Likewise.
53639         (BUS_ADRERR): Likewise.
53640         (BUS_OBJERR): Likewise.
53641         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53642         (TRAP_TRACE): Likewise.
53643         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53644         __USE_XOPEN2K8].
53645         (CLD_KILLED): Likewise.
53646         (CLD_DUMPED): Likewise.
53647         (CLD_TRAPPED): Likewise.
53648         (CLD_STOPPED): Likewise.
53649         (CLD_CONTINUED): Likewise.
53650         (POLL_IN): Likewise.
53651         (POLL_OUT): Likewise.
53652         (POLL_MSG): Likewise.
53653         (POLL_ERR): Likewise.
53654         (POLL_PRI): Likewise.
53655         (POLL_HUP): Likewise.
53656         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53657         Likewise.
53658         (ILL_ILLOPN): Likewise.
53659         (ILL_ILLADR): Likewise.
53660         (ILL_ILLTRP): Likewise.
53661         (ILL_PRVOPC): Likewise.
53662         (ILL_PRVREG): Likewise.
53663         (ILL_COPROC): Likewise.
53664         (ILL_BADSTK): Likewise.
53665         (FPE_INTDIV): Likewise.
53666         (FPE_INTOVF): Likewise.
53667         (FPE_FLTDIV): Likewise.
53668         (FPE_FLTOVF): Likewise.
53669         (FPE_FLTUND): Likewise.
53670         (FPE_FLTRES): Likewise.
53671         (FPE_FLTINV): Likewise.
53672         (FPE_FLTSUB): Likewise.
53673         (SEGV_MAPERR): Likewise.
53674         (SEGV_ACCERR): Likewise.
53675         (BUS_ADRALN): Likewise.
53676         (BUS_ADRERR): Likewise.
53677         (BUS_OBJERR): Likewise.
53678         (BUS_MCEERR_AR): Likewise.
53679         (BUS_MCEERR_AO): Likewise.
53680         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53681         (TRAP_TRACE): Likewise.
53682         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53683         __USE_XOPEN2K8].
53684         (CLD_KILLED): Likewise.
53685         (CLD_DUMPED): Likewise.
53686         (CLD_TRAPPED): Likewise.
53687         (CLD_STOPPED): Likewise.
53688         (CLD_CONTINUED): Likewise.
53689         (POLL_IN): Likewise.
53690         (POLL_OUT): Likewise.
53691         (POLL_MSG): Likewise.
53692         (POLL_ERR): Likewise.
53693         (POLL_PRI): Likewise.
53694         (POLL_HUP): Likewise.
53695         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53696         (ILL_ILLOPN): Likewise.
53697         (ILL_ILLADR): Likewise.
53698         (ILL_ILLTRP): Likewise.
53699         (ILL_PRVOPC): Likewise.
53700         (ILL_PRVREG): Likewise.
53701         (ILL_COPROC): Likewise.
53702         (ILL_BADSTK): Likewise.
53703         (FPE_INTDIV): Likewise.
53704         (FPE_INTOVF): Likewise.
53705         (FPE_FLTDIV): Likewise.
53706         (FPE_FLTOVF): Likewise.
53707         (FPE_FLTUND): Likewise.
53708         (FPE_FLTRES): Likewise.
53709         (FPE_FLTINV): Likewise.
53710         (FPE_FLTSUB): Likewise.
53711         (SEGV_MAPERR): Likewise.
53712         (SEGV_ACCERR): Likewise.
53713         (BUS_ADRALN): Likewise.
53714         (BUS_ADRERR): Likewise.
53715         (BUS_OBJERR): Likewise.
53716         (BUS_MCEERR_AR): Likewise.
53717         (BUS_MCEERR_AO): Likewise.
53718         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53719         (TRAP_TRACE): Likewise.
53720         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53721         __USE_XOPEN2K8].
53722         (CLD_KILLED): Likewise.
53723         (CLD_DUMPED): Likewise.
53724         (CLD_TRAPPED): Likewise.
53725         (CLD_STOPPED): Likewise.
53726         (CLD_CONTINUED): Likewise.
53727         (POLL_IN): Likewise.
53728         (POLL_OUT): Likewise.
53729         (POLL_MSG): Likewise.
53730         (POLL_ERR): Likewise.
53731         (POLL_PRI): Likewise.
53732         (POLL_HUP): Likewise.
53733         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53734         Likewise.
53735         (ILL_ILLOPN): Likewise.
53736         (ILL_ILLADR): Likewise.
53737         (ILL_ILLTRP): Likewise.
53738         (ILL_PRVOPC): Likewise.
53739         (ILL_PRVREG): Likewise.
53740         (ILL_COPROC): Likewise.
53741         (ILL_BADSTK): Likewise.
53742         (ILL_BADIADDR): Likewise.
53743         (ILL_BREAK): Likewise.
53744         (FPE_INTDIV): Likewise.
53745         (FPE_INTOVF): Likewise.
53746         (FPE_FLTDIV): Likewise.
53747         (FPE_FLTOVF): Likewise.
53748         (FPE_FLTUND): Likewise.
53749         (FPE_FLTRES): Likewise.
53750         (FPE_FLTINV): Likewise.
53751         (FPE_FLTSUB): Likewise.
53752         (FPE_DECOVF): Likewise.
53753         (FPE_DECDIV): Likewise.
53754         (FPE_DECERR): Likewise.
53755         (FPE_INVASC): Likewise.
53756         (FPE_INVDEC): Likewise.
53757         (SEGV_MAPERR): Likewise.
53758         (SEGV_ACCERR): Likewise.
53759         (SEGV_PSTKOVF): Likewise.
53760         (BUS_ADRALN): Likewise.
53761         (BUS_ADRERR): Likewise.
53762         (BUS_OBJERR): Likewise.
53763         (BUS_MCEERR_AR): Likewise.
53764         (BUS_MCEERR_AO): Likewise.
53765         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53766         (TRAP_TRACE): Likewise.
53767         (TRAP_BRANCH): Likewise.
53768         (TRAP_HWBKPT): Likewise.
53769         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53770         __USE_XOPEN2K8].
53771         (CLD_KILLED): Likewise.
53772         (CLD_DUMPED): Likewise.
53773         (CLD_TRAPPED): Likewise.
53774         (CLD_STOPPED): Likewise.
53775         (CLD_CONTINUED): Likewise.
53776         (POLL_IN): Likewise.
53777         (POLL_OUT): Likewise.
53778         (POLL_MSG): Likewise.
53779         (POLL_ERR): Likewise.
53780         (POLL_PRI): Likewise.
53781         (POLL_HUP): Likewise.
53782         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53783         (ILL_ILLOPN): Likewise.
53784         (ILL_ILLADR): Likewise.
53785         (ILL_ILLTRP): Likewise.
53786         (ILL_PRVOPC): Likewise.
53787         (ILL_PRVREG): Likewise.
53788         (ILL_COPROC): Likewise.
53789         (ILL_BADSTK): Likewise.
53790         (FPE_INTDIV): Likewise.
53791         (FPE_INTOVF): Likewise.
53792         (FPE_FLTDIV): Likewise.
53793         (FPE_FLTOVF): Likewise.
53794         (FPE_FLTUND): Likewise.
53795         (FPE_FLTRES): Likewise.
53796         (FPE_FLTINV): Likewise.
53797         (FPE_FLTSUB): Likewise.
53798         (SEGV_MAPERR): Likewise.
53799         (SEGV_ACCERR): Likewise.
53800         (BUS_ADRALN): Likewise.
53801         (BUS_ADRERR): Likewise.
53802         (BUS_OBJERR): Likewise.
53803         (BUS_MCEERR_AR): Likewise.
53804         (BUS_MCEERR_AO): Likewise.
53805         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53806         (TRAP_TRACE): Likewise.
53807         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53808         __USE_XOPEN2K8].
53809         (CLD_KILLED): Likewise.
53810         (CLD_DUMPED): Likewise.
53811         (CLD_TRAPPED): Likewise.
53812         (CLD_STOPPED): Likewise.
53813         (CLD_CONTINUED): Likewise.
53814         (POLL_IN): Likewise.
53815         (POLL_OUT): Likewise.
53816         (POLL_MSG): Likewise.
53817         (POLL_ERR): Likewise.
53818         (POLL_PRI): Likewise.
53819         (POLL_HUP): Likewise.
53820         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53821         (ILL_ILLOPN): Likewise.
53822         (ILL_ILLADR): Likewise.
53823         (ILL_ILLTRP): Likewise.
53824         (ILL_PRVOPC): Likewise.
53825         (ILL_PRVREG): Likewise.
53826         (ILL_COPROC): Likewise.
53827         (ILL_BADSTK): Likewise.
53828         (FPE_INTDIV): Likewise.
53829         (FPE_INTOVF): Likewise.
53830         (FPE_FLTDIV): Likewise.
53831         (FPE_FLTOVF): Likewise.
53832         (FPE_FLTUND): Likewise.
53833         (FPE_FLTRES): Likewise.
53834         (FPE_FLTINV): Likewise.
53835         (FPE_FLTSUB): Likewise.
53836         (SEGV_MAPERR): Likewise.
53837         (SEGV_ACCERR): Likewise.
53838         (BUS_ADRALN): Likewise.
53839         (BUS_ADRERR): Likewise.
53840         (BUS_OBJERR): Likewise.
53841         (BUS_MCEERR_AR): Likewise.
53842         (BUS_MCEERR_AO): Likewise.
53843         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53844         (TRAP_TRACE): Likewise.
53845         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53846         __USE_XOPEN2K8].
53847         (CLD_KILLED): Likewise.
53848         (CLD_DUMPED): Likewise.
53849         (CLD_TRAPPED): Likewise.
53850         (CLD_STOPPED): Likewise.
53851         (CLD_CONTINUED): Likewise.
53852         (POLL_IN): Likewise.
53853         (POLL_OUT): Likewise.
53854         (POLL_MSG): Likewise.
53855         (POLL_ERR): Likewise.
53856         (POLL_PRI): Likewise.
53857         (POLL_HUP): Likewise.
53858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53859         (ILL_ILLOPN): Likewise.
53860         (ILL_ILLADR): Likewise.
53861         (ILL_ILLTRP): Likewise.
53862         (ILL_PRVOPC): Likewise.
53863         (ILL_PRVREG): Likewise.
53864         (ILL_COPROC): Likewise.
53865         (ILL_BADSTK): Likewise.
53866         (FPE_INTDIV): Likewise.
53867         (FPE_INTOVF): Likewise.
53868         (FPE_FLTDIV): Likewise.
53869         (FPE_FLTOVF): Likewise.
53870         (FPE_FLTUND): Likewise.
53871         (FPE_FLTRES): Likewise.
53872         (FPE_FLTINV): Likewise.
53873         (FPE_FLTSUB): Likewise.
53874         (SEGV_MAPERR): Likewise.
53875         (SEGV_ACCERR): Likewise.
53876         (BUS_ADRALN): Likewise.
53877         (BUS_ADRERR): Likewise.
53878         (BUS_OBJERR): Likewise.
53879         (BUS_MCEERR_AR): Likewise.
53880         (BUS_MCEERR_AO): Likewise.
53881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53882         (TRAP_TRACE): Likewise.
53883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53884         __USE_XOPEN2K8].
53885         (CLD_KILLED): Likewise.
53886         (CLD_DUMPED): Likewise.
53887         (CLD_TRAPPED): Likewise.
53888         (CLD_STOPPED): Likewise.
53889         (CLD_CONTINUED): Likewise.
53890         (POLL_IN): Likewise.
53891         (POLL_OUT): Likewise.
53892         (POLL_MSG): Likewise.
53893         (POLL_ERR): Likewise.
53894         (POLL_PRI): Likewise.
53895         (POLL_HUP): Likewise.
53896         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53897         (ILL_ILLOPN): Likewise.
53898         (ILL_ILLADR): Likewise.
53899         (ILL_ILLTRP): Likewise.
53900         (ILL_PRVOPC): Likewise.
53901         (ILL_PRVREG): Likewise.
53902         (ILL_COPROC): Likewise.
53903         (ILL_BADSTK): Likewise.
53904         (ILL_DBLFLT): Likewise.
53905         (ILL_HARDWALL): Likewise.
53906         (FPE_INTDIV): Likewise.
53907         (FPE_INTOVF): Likewise.
53908         (FPE_FLTDIV): Likewise.
53909         (FPE_FLTOVF): Likewise.
53910         (FPE_FLTUND): Likewise.
53911         (FPE_FLTRES): Likewise.
53912         (FPE_FLTINV): Likewise.
53913         (FPE_FLTSUB): Likewise.
53914         (SEGV_MAPERR): Likewise.
53915         (SEGV_ACCERR): Likewise.
53916         (BUS_ADRALN): Likewise.
53917         (BUS_ADRERR): Likewise.
53918         (BUS_OBJERR): Likewise.
53919         (BUS_MCEERR_AR): Likewise.
53920         (BUS_MCEERR_AO): Likewise.
53921         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53922         (TRAP_TRACE): Likewise.
53923         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53924         __USE_XOPEN2K8].
53925         (CLD_KILLED): Likewise.
53926         (CLD_DUMPED): Likewise.
53927         (CLD_TRAPPED): Likewise.
53928         (CLD_STOPPED): Likewise.
53929         (CLD_CONTINUED): Likewise.
53930         (POLL_IN): Likewise.
53931         (POLL_OUT): Likewise.
53932         (POLL_MSG): Likewise.
53933         (POLL_ERR): Likewise.
53934         (POLL_PRI): Likewise.
53935         (POLL_HUP): Likewise.
53936         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53937         (ILL_ILLOPN): Likewise.
53938         (ILL_ILLADR): Likewise.
53939         (ILL_ILLTRP): Likewise.
53940         (ILL_PRVOPC): Likewise.
53941         (ILL_PRVREG): Likewise.
53942         (ILL_COPROC): Likewise.
53943         (ILL_BADSTK): Likewise.
53944         (FPE_INTDIV): Likewise.
53945         (FPE_INTOVF): Likewise.
53946         (FPE_FLTDIV): Likewise.
53947         (FPE_FLTOVF): Likewise.
53948         (FPE_FLTUND): Likewise.
53949         (FPE_FLTRES): Likewise.
53950         (FPE_FLTINV): Likewise.
53951         (FPE_FLTSUB): Likewise.
53952         (SEGV_MAPERR): Likewise.
53953         (SEGV_ACCERR): Likewise.
53954         (BUS_ADRALN): Likewise.
53955         (BUS_ADRERR): Likewise.
53956         (BUS_OBJERR): Likewise.
53957         (BUS_MCEERR_AR): Likewise.
53958         (BUS_MCEERR_AO): Likewise.
53959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53960         (TRAP_TRACE): Likewise.
53961         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53962         __USE_XOPEN2K8].
53963         (CLD_KILLED): Likewise.
53964         (CLD_DUMPED): Likewise.
53965         (CLD_TRAPPED): Likewise.
53966         (CLD_STOPPED): Likewise.
53967         (CLD_CONTINUED): Likewise.
53968         (POLL_IN): Likewise.
53969         (POLL_OUT): Likewise.
53970         (POLL_MSG): Likewise.
53971         (POLL_ERR): Likewise.
53972         (POLL_PRI): Likewise.
53973         (POLL_HUP): Likewise.
53974         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53975         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53977         [BZ #16670]
53978         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53979         before #include of <time.h>.
53980         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53981         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53982         (test-xfail-UNIX98/sched.h/conform): Likewise.
53984 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53986         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53987         error absence of trapping exception support.
53988         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53990 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53992         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53993         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53994         * timezone/Makefile (testdata): Move definition above include of
53995         Rules.
53996         (test-zones): New variable.
53997         (tests-special): Add zone files.
53998         (build-testdata): Use $(evaluate-test).
54000         * elf/Makefile (tests-special): Rename tests to end with .out.
54001         ($(objpfx)noload-mem): Likewise.
54002         ($(objpfx)tst-leaks1-mem): Likewise.
54003         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
54004         * iconv/Makefile (xtests-special): Change test-iconvconfig to
54005         $(objpfx)test-iconvconfig.out.
54006         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
54007         set -e inside subshell and redirect output to file.
54008         * iconvdata/Makefile (generated): Rename tests to end with .out.
54009         Correct type.
54010         (tests-special): Rename tests to end with .out.
54011         ($(objpfx)mtrace-tst-loading): Likewise.
54012         * intl/Makefile (generated): Likewise.
54013         (tests-special): Likewise.
54014         ($(objpfx)mtrace-tst-gettext): Likewise.
54015         * misc/Makefile (generated): Likewise.
54016         (tests-special): Likewise.
54017         ($(objpfx)tst-error1-mem): Likewise.
54018         * nptl/Makefile (tests-special): Likewise.
54019         ($(objpfx)tst-stack3-mem): Likewise.
54020         (generated): Likewise.
54021         * posix/Makefile (generated): Likewise.
54022         (tests-special): Likewise.
54023         (xtests-special): Likewise.
54024         ($(objpfx)tst-fnmatch-mem): Likewise.
54025         ($(objpfx)bug-regex2-mem): Likewise.
54026         ($(objpfx)bug-regex14-mem): Likewise.
54027         ($(objpfx)bug-regex21-mem): Likewise.
54028         ($(objpfx)bug-regex31-mem): Likewise.
54029         ($(objpfx)tst-vfork3-mem): Likewise.
54030         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54031         ($(objpfx)tst-pcre-mem): Likewise.
54032         ($(objpfx)tst-boost-mem): Likewise.
54033         ($(objpfx)bug-ga2-mem): Likewise.
54034         ($(objpfx)bug-glob2-mem): Likewise.
54035         * resolv/Makefile (generate): Likewise.
54036         (tests-special): Likewise.
54037         (xtests-special): Likewise.
54038         (generated): Likewise.
54039         ($(objpfx)mtrace-tst-leaks): Likewise.
54040         ($(objpfx)mtrace-tst-leaks2): Likewise.
54042         * scripts/merge-test-results.sh: New file.
54043         * Makefile (tests-special-notdir): New variable.
54044         (tests): Run merge-test-results.sh.
54045         (xtests): Likewise.
54046         * Rules (tests-special-notdir): New variable.
54047         (xtests-special-notdir): Likewise.
54048         (tests): Run merge-test-results.sh
54049         (xtests): Likewise.
54051         * Makeconfig (test-xfail-name): New variable.
54052         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
54053         compute variable name for expected failures.
54054         * conform/Makefile (conformtest-headers-data): New variable.
54055         (conformtest-standards): Likewise.
54056         (conformtest-headers-ISO): Likewise.
54057         (conformtest-headers-ISO99): Likewise.
54058         (conformtest-headers-ISO11): Likewise.
54059         (conformtest-headers-POSIX): Likewise.
54060         (conformtest-headers-XPG3): Likewise.
54061         (conformtest-headers-XPG4): Likewise.
54062         (conformtest-headers-UNIX98): Likewise.
54063         (conformtest-headers-XOPEN2K): Likewise.
54064         (conformtest-headers-POSIX2008): Likewise.
54065         (conformtest-headers-XOPEN2K8): Likewise.
54066         (conformtest-header-list-base): Likewise.
54067         (conformtest-header-list-tests): Likewise.
54068         (conformtest-header-base): Likewise.
54069         (conformtest-header-tests): Likewise.
54070         (tests-special): Add $(conformtest-header-list-tests).  If
54071         [$(fast-check) && !$(cross-compiling)], add
54072         $(conformtest-header-tests) instead of
54073         $(objpfx)run-conformtest.out.
54074         (generated): Add $(conformtest-header-list-base).  If
54075         [$(fast-check) && !$(cross-compiling)], add
54076         $(conformtest-header-base).  Remove previous setting.
54077         ($(conformtest-header-list-tests)): New target.
54078         (test-xfail-run-conformtest): Remove variable.
54079         ($(objpfx)run-conformtest.out): Remove target.
54080         (test-xfail-ISO11/complex.h/conform): New variable.
54081         (test-xfail-ISO11/stdalign.h/conform): Likewise.
54082         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
54083         (test-xfail-XPG3/varargs.h/conform): Likewise.
54084         (test-xfail-XPG4/varargs.h/conform): Likewise.
54085         (test-xfail-UNIX98/varargs.h/conform): Likewise.
54086         (test-xfail-XPG4/ndbm.h/conform): Likewise.
54087         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
54088         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
54089         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
54090         (test-xfail-XPG3/fcntl.h/conform): Likewise.
54091         (test-xfail-XPG3/ftw.h/conform): Likewise.
54092         (test-xfail-XPG3/grp.h/conform): Likewise.
54093         (test-xfail-XPG3/langinfo.h/conform): Likewise.
54094         (test-xfail-XPG3/limits.h/conform): Likewise.
54095         (test-xfail-XPG3/pwd.h/conform): Likewise.
54096         (test-xfail-XPG3/search.h/conform): Likewise.
54097         (test-xfail-XPG3/signal.h/conform): Likewise.
54098         (test-xfail-XPG3/stdio.h/conform): Likewise.
54099         (test-xfail-XPG3/stdlib.h/conform): Likewise.
54100         (test-xfail-XPG3/string.h/conform): Likewise.
54101         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54102         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54103         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54104         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54105         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54106         (test-xfail-XPG3/sys/types.h/conform): Likewise.
54107         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54108         (test-xfail-XPG3/termios.h/conform): Likewise.
54109         (test-xfail-XPG3/time.h/conform): Likewise.
54110         (test-xfail-XPG3/unistd.h/conform): Likewise.
54111         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54112         (test-xfail-XPG4/fcntl.h/conform): Likewise.
54113         (test-xfail-XPG4/langinfo.h/conform): Likewise.
54114         (test-xfail-XPG4/netdb.h/conform): Likewise.
54115         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54116         (test-xfail-XPG4/signal.h/conform): Likewise.
54117         (test-xfail-XPG4/stdio.h/conform): Likewise.
54118         (test-xfail-XPG4/stdlib.h/conform): Likewise.
54119         (test-xfail-XPG4/stropts.h/conform): Likewise.
54120         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54121         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54122         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54123         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54124         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54125         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54126         (test-xfail-XPG4/sys/time.h/conform): Likewise.
54127         (test-xfail-XPG4/sys/types.h/conform): Likewise.
54128         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54129         (test-xfail-XPG4/termios.h/conform): Likewise.
54130         (test-xfail-XPG4/ucontext.h/conform): Likewise.
54131         (test-xfail-XPG4/unistd.h/conform): Likewise.
54132         (test-xfail-XPG4/utmpx.h/conform): Likewise.
54133         (test-xfail-POSIX/sched.h/conform): Likewise.
54134         (test-xfail-POSIX/signal.h/conform): Likewise.
54135         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54136         (test-xfail-POSIX/tar.h/conform): Likewise.
54137         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54138         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54139         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54140         (test-xfail-UNIX98/netdb.h/conform): Likewise.
54141         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54142         (test-xfail-UNIX98/sched.h/conform): Likewise.
54143         (test-xfail-UNIX98/signal.h/conform): Likewise.
54144         (test-xfail-UNIX98/stdio.h/conform): Likewise.
54145         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54146         (test-xfail-UNIX98/stropts.h/conform): Likewise.
54147         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54148         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54149         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54150         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54151         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54152         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54153         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54154         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54155         (test-xfail-UNIX98/unistd.h/conform): Likewise.
54156         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54157         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54158         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54159         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54160         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54161         (test-xfail-XOPEN2K/math.h/conform): Likewise.
54162         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54163         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54164         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54165         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54166         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54167         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54168         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54169         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54170         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54171         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54172         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54173         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54174         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54175         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54176         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54177         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54178         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54179         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54180         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54181         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54182         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54183         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54184         (test-xfail-POSIX2008/signal.h/conform): Likewise.
54185         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54186         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54187         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54188         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54189         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54190         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54191         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54192         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54193         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54194         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54195         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54196         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54197         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54198         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54199         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54200         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54201         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54202         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54203         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54204         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54205         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54206         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54207         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54208         (conformtest-cc-flags): Likewise.
54209         ($(conformtest-header-tests): New target.
54210         * conform/check-header-lists.sh: New file.
54211         * conform/run-conformtest.sh: Remove.
54213         * conform/conformtest.pl: Allow ' and \ in values given for
54214         constants.
54215         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54216         inclusion.
54217         [POSIX] (sys/types.h): Likewise.
54218         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54219         inclusion.
54220         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54221         inclusion.
54222         * conform/data/signal.h-data (SIGIO): Remove expectation.
54223         [XPG3] (SIGBUS): Do not expect.
54224         [POSIX || XPG3] (SIGPOLL): Likewise.
54225         [POSIX || XPG3] (SIGPROF): Likewise.
54226         [POSIX || XPG3] (SIGSYS): Likewise.
54227         [XPG3] (SIGTRAP): Likewise.
54228         [POSIX || XPG3] (SIGURG): Likewise.
54229         [POSIX || XPG3] (SIGVTALRM): Likewise.
54230         [POSIX || XPG3] (SIGXCPU): Likewise.
54231         [POSIX || XPG3] (SIGXFSZ): Likewise.
54232         [POSIX] (SA_SIGINFO): Expect.
54233         [XPG3] (siginfo_t): Do not expect type or contents.
54234         [POSIX] (si_pid): Do not expect element.
54235         [POSIX] (si_uid): Likewise.
54236         [POSIX] (si_addr): Likewise.
54237         [POSIX] (si_status): Likewise.
54238         [POSIX] (si_band): Likewise.
54239         [XPG4] (si_value): Likewise.
54240         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54241         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54242         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54243         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54244         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54245         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54246         [POSIX || XPG3] (ILL_COPROC): Likewise.
54247         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54248         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54249         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54250         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54251         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54252         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54253         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54254         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54255         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54256         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54257         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54258         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54259         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54260         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54261         [POSIX || XPG3] (CLD_EXITED): Likewise.
54262         [POSIX || XPG3] (CLD_KILLED): Likewise.
54263         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54264         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54265         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54266         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54267         [POSIX || XPG3] (POLL_IN): Likewise.
54268         [POSIX || XPG3] (POLL_OUT): Likewise.
54269         [POSIX || XPG3] (POLL_MSG): Likewise.
54270         [POSIX || XPG3] (POLL_ERR): Likewise.
54271         [POSIX || XPG3] (POLL_PRI): Likewise.
54272         [POSIX || XPG3] (POLL_HUP): Likewise.
54273         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54274         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54275         (SIG*): Do not allow.
54276         [XPG3] (si_*): Likewise.
54277         [XPG3] (SI_*): Likewise.
54278         [XPG3 || XPG4] (sigev_*): Likewise.
54279         [XPG3 || XPG4] (SIGEV_*): Likewise.
54280         [XPG3 || XPG4] (sival_*): Likewise.
54281         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54282         [POSIX || XPG3] (BUS_*): Likewise.
54283         [POSIX || XPG3] (CLD_*): Likewise.
54284         [POSIX || XPG3] (FPE_*): Likewise.
54285         [POSIX || XPG3] (ILL_*): Likewise.
54286         [POSIX || XPG3] (POLL_*): Likewise.
54287         [POSIX || XPG3] (SEGV_*): Likewise.
54288         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54289         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54290         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54291         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54292         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54293         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54294         Specify type and value.
54295         (TVERSLEN): Likewise.
54296         (REGTYPE): Likewise.
54297         (AREGTYPE): Likewise.
54298         (LNKTYPE): Likewise.
54299         (SYMTYPE): Likewise.
54300         (CHRTYPE): Likewise.
54301         (BLKTYPE): Likewise.
54302         (DIRTYPE): Likewise.
54303         (FIFOTYPE): Likewise.
54304         (CONTTYPE): Likewise.
54305         (TSUID): Likewise.
54306         (TSGID): Likewise.
54307         (TSVTX): Likewise.
54308         (TUREAD): Likewise.
54309         (TUWRITE): Likewise.
54310         (TUEXEC): Likewise.
54311         (TGREAD): Likewise.
54312         (TGWRITE): Likewise.
54313         (TGEXEC): Likewise.
54314         (TOREAD): Likewise.
54315         (TOWRITE): Likewise.
54316         (TOEXEC): Likewise.
54317         [POSIX] (TSVTX): Expect constant.
54319 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54321         * Makefile (tests): Change dependencies to ....
54322         (tests-special): ... additions to this variable.
54323         (tests): Depend on $(tests-special).
54324         * Makerules (check-abi-list): New variable.
54325         (check-abi): Depend on $(check-abi-list).
54326         [$(subdir) = elf] (tests-special): Add
54327         $(objpfx)check-abi-libc.out.
54328         [$(build-shared) = yes && subdir] (tests-special): Add
54329         $(check-abi-list).
54330         [$(build-shared) = yes && subdir] (tests): Do not depend on
54331         check-abi.
54332         * Rules (tests): Depend on $(tests-special).
54333         (xtests): Depend on $(xtests-special).
54334         * catgets/Makefile (tests): Change dependencies to ....
54335         (tests-special): ... additions to this variable.
54336         * conform/Makefile (tests): Change dependencies to ....
54337         (tests-special): ... additions to this variable.
54338         * elf/Makefile (tests): Change dependencies to ....
54339         (tests-special): ... additions to this variable.
54340         * grp/Makefile (tests): Change dependencies to ....
54341         (tests-special): ... additions to this variable.
54342         * iconv/Makefile (xtests): Change dependencies to ....
54343         (xtests-special): ... additions to this variable.
54344         * iconvdata/Makefile (tests): Change dependencies to ....
54345         (tests-special): ... additions to this variable.
54346         * intl/Makefile (tests): Change dependencies to ....
54347         (tests-special): ... additions to this variable.  Also add
54348         $(objpfx)tst-gettext.out.
54349         * io/Makefile (tests): Change dependencies to ....
54350         (tests-special): ... additions to this variable.
54351         * libio/Makefile (tests): Change dependencies to ....
54352         (tests-special): ... additions to this variable.
54353         * malloc/Makefile (tests): Change dependencies to ....
54354         (tests-special): ... additions to this variable.
54355         * misc/Makefile (tests): Change dependencies to ....
54356         (tests-special): ... additions to this variable.
54357         * nptl/Makefile (tests): Change dependencies to ....
54358         (tests-special): ... additions to this variable.
54359         * nptl_db/Makefile (tests): Change dependencies to ....
54360         (tests-special): ... additions to this variable.
54361         * posix/Makefile (tests): Change dependencies to ....
54362         (tests-special): ... additions to this variable.
54363         (xtests): Change dependencies to ....
54364         (xtests-special): ... additions to this variable.
54365         * resolv/Makefile (tests): Change dependencies to ....
54366         (tests-special): ... additions to this variable.
54367         (xtests): Change dependencies to ....
54368         (xtests-special): ... additions to this variable.
54369         * stdio-common/Makefile (tests): Change dependencies to ....
54370         (tests-special): ... additions to this variable.
54371         (do-tst-unbputc): Remove target.
54372         (do-tst-printf): Likewise.
54373         * stdlib/Makefile (tests): Change dependencies to ....
54374         (tests-special): ... additions to this variable.
54375         * string/Makefile (tests): Change dependencies to ....
54376         (tests-special): ... additions to this variable.
54377         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54378         (tests-special): ... additions to this variable.
54380         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54381         whole file.
54382         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54383         whole file.
54384         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54385         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54387         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54388         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54389         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54390         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54391         * conform/data/libgen.h-data [XPG3]: Likewise.
54392         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54393         * conform/data/ndbm.h-data [XPG3]: Likewise.
54394         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54395         * conform/data/netdb.h-data [XPG3]: Likewise.
54396         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54397         * conform/data/poll.h-data [XPG3]: Likewise.
54398         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54399         * conform/data/strings.h-data [XPG3]: Likewise.
54400         * conform/data/stropts.h-data [XPG3]: Likewise.
54401         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54402         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54403         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54404         Likewise.
54405         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54406         * conform/data/sys/time.h-data [XPG3]: Likewise.
54407         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54408         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54409         * conform/data/sys/un.h-data [XPG3]: Likewise.
54410         * conform/data/syslog.h-data [XPG3]: Likewise.
54411         * conform/data/ucontext.h-data [XPG3]: Likewise.
54412         * conform/data/utmpx.h-data [XPG3]: Likewise.
54413         * conform/data/varargs.h-data [UNIX98]: Enable file.
54415         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54417         * math/libm-test.inc (struct test_f_f_data): Move expected results
54418         into structure for each rounding mode.
54419         (struct test_ff_f_data): Likewise.
54420         (struct test_ff_f_data_nexttoward): Likewise.
54421         (struct test_fi_f_data): Likewise.
54422         (struct test_fl_f_data): Likewise.
54423         (struct test_if_f_data): Likewise.
54424         (struct test_fff_f_data): Likewise.
54425         (struct test_c_f_data): Likewise.
54426         (struct test_f_f1_data): Likewise.
54427         (struct test_fF_f1_data): Likewise.
54428         (struct test_ffI_f1_data): Likewise.
54429         (struct test_c_c_data): Likewise.
54430         (struct test_cc_c_data): Likewise.
54431         (struct test_f_i_data): Likewise.
54432         (struct test_ff_i_data): Likewise.
54433         (struct test_f_l_data): Likewise.
54434         (struct test_f_L_data): Likewise.
54435         (struct test_fFF_11_data): Likewise.
54436         (RM_): New macro.
54437         (RM_FE_DOWNWARD): Likewise.
54438         (RM_FE_TONEAREST): Likewise.
54439         (RM_FE_TOWARDZERO): Likewise.
54440         (RM_FE_UPWARD): Likewise.
54441         (RUN_TEST_LOOP_f_f): Update references to expected results.
54442         (RUN_TEST_LOOP_2_f): Likewise.
54443         (RUN_TEST_LOOP_fff_f): Likewise.
54444         (RUN_TEST_LOOP_c_f): Likewise.
54445         (RUN_TEST_LOOP_f_f1): Likewise.
54446         (RUN_TEST_LOOP_fF_f1): Likewise.
54447         (RUN_TEST_LOOP_fI_f1): Likewise.
54448         (RUN_TEST_LOOP_ffI_f1): Likewise.
54449         (RUN_TEST_LOOP_c_c): Likewise.
54450         (RUN_TEST_LOOP_cc_c): Likewise.
54451         (RUN_TEST_LOOP_f_i): Likewise.
54452         (RUN_TEST_LOOP_f_i_tg): Likewise.
54453         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54454         (RUN_TEST_LOOP_f_b): Likewise.
54455         (RUN_TEST_LOOP_f_b_tg): Likewise.
54456         (RUN_TEST_LOOP_f_l): Likewise.
54457         (RUN_TEST_LOOP_f_L): Likewise.
54458         (RUN_TEST_LOOP_fFF_11): Likewise.
54459         * math/gen-libm-test.pl (parse_args): Output four copies of
54460         expected results for each test.
54462         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54463         (__ASSUME_UTIMES): Remove.
54464         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54465         (__ASSUME_UTIMES): Likewise.
54467         * math/gen-auto-libm-tests.c: Update comment on output format.
54468         (output_for_one_input_case): Generate before-rounding and
54469         after-rounding information as conditions on output flags not
54470         floating-point format.
54471         * math/auto-libm-test-out: Regenerated.
54472         * math/gen-libm-test.pl (cond_value): New function.
54473         (or_cond_value): Use cond_value.
54474         (generate_testfile): Handle conditional exceptions.
54476 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54478         * math/libm-test.inc (max_valid_error): New variable.
54479         (init_max_error): Take new argument specifying whether function
54480         results are exactly determined.  Set max_valid_error and bound
54481         other variables for errors based on this argument.
54482         (set_max_error): Do not record results above max_valid_error.
54483         (check_float_internal): Only accept errors of up to 0.5ulps if
54484         also at most max_valid_error.
54485         (START): Take new argument EXACT and pass it to init_max_error.
54486         (acos_test): Update call to START.
54487         (acos_test_tonearest): Likewise.
54488         (acos_test_towardzero): Likewise.
54489         (acos_test_downward): Likewise.
54490         (acos_test_upward): Likewise.
54491         (acosh_test): Likewise.
54492         (asin_test): Likewise.
54493         (asin_test_tonearest): Likewise.
54494         (asin_test_towardzero): Likewise.
54495         (asin_test_downward): Likewise.
54496         (asin_test_upward): Likewise.
54497         (asinh_test): Likewise.
54498         (atan_test): Likewise.
54499         (atanh_test): Likewise.
54500         (atan2_test): Likewise.
54501         (cabs_test): Likewise.
54502         (cacos_test): Likewise.
54503         (cacosh_test): Likewise.
54504         (carg_test): Likewise.
54505         (casin_test): Likewise.
54506         (casinh_test): Likewise.
54507         (catan_test): Likewise.
54508         (catanh_test): Likewise.
54509         (cbrt_test): Likewise.
54510         (ccos_test): Likewise.
54511         (ccosh_test): Likewise.
54512         (ceil_test): Likewise.
54513         (cexp_test): Likewise.
54514         (cimag_test): Likewise.
54515         (clog_test): Likewise.
54516         (clog10_test): Likewise.
54517         (conj_test): Likewise.
54518         (copysign_test): Likewise.
54519         (cos_test): Likewise.
54520         (cos_test_tonearest): Likewise.
54521         (cos_test_towardzero): Likewise.
54522         (cos_test_downward): Likewise.
54523         (cos_test_upward): Likewise.
54524         (cosh_test): Likewise.
54525         (cosh_test_tonearest): Likewise.
54526         (cosh_test_towardzero): Likewise.
54527         (cosh_test_downward): Likewise.
54528         (cosh_test_upward): Likewise.
54529         (cpow_test): Likewise.
54530         (cproj_test): Likewise.
54531         (creal_test): Likewise.
54532         (csin_test): Likewise.
54533         (csinh_test): Likewise.
54534         (csqrt_test): Likewise.
54535         (ctan_test): Likewise.
54536         (ctan_test_tonearest): Likewise.
54537         (ctan_test_towardzero): Likewise.
54538         (ctan_test_downward): Likewise.
54539         (ctan_test_upward): Likewise.
54540         (ctanh_test): Likewise.
54541         (ctanh_test_tonearest): Likewise.
54542         (ctanh_test_towardzero): Likewise.
54543         (ctanh_test_downward): Likewise.
54544         (ctanh_test_upward): Likewise.
54545         (erf_test): Likewise.
54546         (erfc_test): Likewise.
54547         (exp_test): Likewise.
54548         (exp_test_tonearest): Likewise.
54549         (exp_test_towardzero): Likewise.
54550         (exp_test_downward): Likewise.
54551         (exp_test_upward): Likewise.
54552         (exp10_test): Likewise.
54553         (exp10_test_tonearest): Likewise.
54554         (exp10_test_towardzero): Likewise.
54555         (exp10_test_downward): Likewise.
54556         (exp10_test_upward): Likewise.
54557         (pow10_test): Likewise.
54558         (exp2_test): Likewise.
54559         (expm1_test): Likewise.
54560         (expm1_test_tonearest): Likewise.
54561         (expm1_test_towardzero): Likewise.
54562         (expm1_test_downward): Likewise.
54563         (expm1_test_upward): Likewise.
54564         (fabs_test): Likewise.
54565         (fdim_test): Likewise.
54566         (floor_test): Likewise.
54567         (fma_test): Likewise.
54568         (fma_test_towardzero): Likewise.
54569         (fma_test_downward): Likewise.
54570         (fma_test_upward): Likewise.
54571         (fmax_test): Likewise.
54572         (fmin_test): Likewise.
54573         (fmod_test): Likewise.
54574         (fpclassify_test): Likewise.
54575         (frexp_test): Likewise.
54576         (hypot_test): Likewise.
54577         (ilogb_test): Likewise.
54578         (isfinite_test): Likewise.
54579         (finite_test): Likewise.
54580         (isgreater_test): Likewise.
54581         (isgreaterequal_test): Likewise.
54582         (isinf_test): Likewise.
54583         (isless_test): Likewise.
54584         (islessequal_test): Likewise.
54585         (islessgreater_test): Likewise.
54586         (isnan_test): Likewise.
54587         (isnormal_test): Likewise.
54588         (issignaling_test): Likewise.
54589         (isunordered_test): Likewise.
54590         (j0_test): Likewise.
54591         (j1_test): Likewise.
54592         (jn_test): Likewise.
54593         (ldexp_test): Likewise.
54594         (lgamma_test): Likewise.
54595         (gamma_test): Likewise.
54596         (lrint_test): Likewise.
54597         (lrint_test_tonearest): Likewise.
54598         (lrint_test_towardzero): Likewise.
54599         (lrint_test_downward): Likewise.
54600         (lrint_test_upward): Likewise.
54601         (llrint_test): Likewise.
54602         (llrint_test_tonearest): Likewise.
54603         (llrint_test_towardzero): Likewise.
54604         (llrint_test_downward): Likewise.
54605         (llrint_test_upward): Likewise.
54606         (log_test): Likewise.
54607         (log10_test): Likewise.
54608         (log1p_test): Likewise.
54609         (log2_test): Likewise.
54610         (logb_test): Likewise.
54611         (logb_test_downward): Likewise.
54612         (lround_test): Likewise.
54613         (llround_test): Likewise.
54614         (modf_test): Likewise.
54615         (nearbyint_test): Likewise.
54616         (nextafter_test): Likewise.
54617         (nexttoward_test): Likewise.
54618         (pow_test): Likewise.
54619         (pow_test_tonearest): Likewise.
54620         (pow_test_towardzero): Likewise.
54621         (pow_test_downward): Likewise.
54622         (pow_test_upward): Likewise.
54623         (remainder_test): Likewise.
54624         (drem_test): Likewise.
54625         (remainder_test_tonearest): Likewise.
54626         (drem_test_tonearest): Likewise.
54627         (remainder_test_towardzero): Likewise.
54628         (drem_test_towardzero): Likewise.
54629         (remainder_test_downward): Likewise.
54630         (drem_test_downward): Likewise.
54631         (remainder_test_upward): Likewise.
54632         (drem_test_upward): Likewise.
54633         (remquo_test): Likewise.
54634         (rint_test): Likewise.
54635         (rint_test_tonearest): Likewise.
54636         (rint_test_towardzero): Likewise.
54637         (rint_test_downward): Likewise.
54638         (rint_test_upward): Likewise.
54639         (round_test): Likewise.
54640         (scalb_test): Likewise.
54641         (scalbn_test): Likewise.
54642         (scalbln_test): Likewise.
54643         (signbit_test): Likewise.
54644         (sin_test): Likewise.
54645         (sin_test_tonearest): Likewise.
54646         (sin_test_towardzero): Likewise.
54647         (sin_test_downward): Likewise.
54648         (sin_test_upward): Likewise.
54649         (sincos_test): Likewise.
54650         (sinh_test): Likewise.
54651         (sinh_test_tonearest): Likewise.
54652         (sinh_test_towardzero): Likewise.
54653         (sinh_test_downward): Likewise.
54654         (sinh_test_upward): Likewise.
54655         (sqrt_test): Likewise.
54656         (sqrt_test_tonearest): Likewise.
54657         (sqrt_test_towardzero): Likewise.
54658         (sqrt_test_downward): Likewise.
54659         (sqrt_test_upward): Likewise.
54660         (tan_test): Likewise.
54661         (tan_test_tonearest): Likewise.
54662         (tan_test_towardzero): Likewise.
54663         (tan_test_downward): Likewise.
54664         (tan_test_upward): Likewise.
54665         (tanh_test): Likewise.
54666         (tgamma_test): Likewise.
54667         (trunc_test): Likewise.
54668         (y0_test): Likewise.
54669         (y1_test): Likewise.
54670         (yn_test): Likewise.
54671         (significand_test): Likewise.
54673         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54674         individual tests in comment.
54675         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54676         (prev_max_error): New variable.
54677         (prev_real_max_error): Likewise.
54678         (prev_imag_max_error): Likewise.
54679         (compare_ulp_data): Don't refer to test names in comment.
54680         (find_test_ulps): Remove function.
54681         (find_function_ulps): Likewise.
54682         (find_complex_function_ulps): Likewise.
54683         (init_max_error): Take function name as argument.  Look up ulps
54684         for that function.
54685         (print_ulps): Remove function.
54686         (print_max_error): Use prev_max_error instead of calling
54687         find_function_ulps.
54688         (print_complex_max_error): Use prev_real_max_error and
54689         prev_imag_max_error instead of calling find_complex_function_ulps.
54690         (check_float_internal): Take max_ulp parameter instead of calling
54691         find_test_ulps.  Don't call print_ulps.
54692         (check_float): Update call to check_float_internal.
54693         (check_complex): Update calls to check_float_internal.
54694         (START): Pass argument to init_max_error.
54695         * math/gen-libm-test.pl (%results): Don't include "kind"
54696         information.
54697         (parse_ulps): Don't handle ulps of individual tests.
54698         (print_ulps_file): Likewise.
54699         (output_ulps): Likewise.
54700         * math/README.libm-test: Update.
54701         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54702         individual tests.
54703         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54704         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54705         * sysdeps/arm/libm-test-ulps: Likewise.
54706         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54707         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54708         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54709         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54710         * sysdeps/microblaze/libm-test-ulps: Likewise.
54711         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54712         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54713         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54714         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54715         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54716         * sysdeps/sh/libm-test-ulps: Likewise.
54717         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54718         * sysdeps/tile/libm-test-ulps: Likewise.
54719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54721 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54723         * math/libm-test.inc (print_complex_max_error): Check separately
54724         whether real and imaginary errors are within allowed range and
54725         pass 0 to print_complex_function_ulps instead of value within
54726         allowed range.
54728 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54730         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54731         formatting.
54732         (get_handles_fopen): Likewise.
54733         (do_write_test): Likewise.
54735         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54737         * libio/fileops.c (do_ftell): Use cached offset when
54738         available.
54739         * libio/iofwide.c (do_ftell_wide): Likewise.
54740         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54741         _IO_file_attach.
54742         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54744         [BZ #16532]
54745         * libio/libioP.h (get_file_offset): New function.
54746         * libio/fileops.c (get_file_offset): Likewise.
54747         (do_ftell): Likewise.
54748         (_IO_new_file_seekoff): Split out ftell logic.
54749         * libio/wfileops.c (do_ftell_wide): Likewise.
54750         (_IO_wfile_seekoff): Split out ftell logic.
54751         * libio/tst-ftell-active-handler.c: New test case.
54752         * libio/Makefile (tests): Add it.
54754 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54756         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54757         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54759 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54761         [BZ #16639]
54762         * nscd/connections.c (nscd_init): Call do_exit.
54763         (start_threads): Call do_exit and notify_parent.
54764         (begin_drop_privileges): Call do_exit.
54765         (finish_drop_privileges): Likewise.
54766         * nscd/selinux.c (preserve_capabilities): Likewise.
54767         (install_real_capabilities): Likewise.
54768         (nscd_selinux_enabled): Likewise.
54769         (avc_create_thread): Likewise.
54770         (avc_alloc_lock): Likewise.
54771         (nscd_avc_init): Likewise.
54772         * nscd/nscd.c (parent_fd): New static variable.
54773         (main): Create a pipe between parent and child processes.
54774         Skip closing parent_fd.
54775         (monitor_child): New function.
54776         (do_exit): Likewise.
54777         (notify_parent): Likewise.
54778         * nscd/nscd.h (notify_parent): Likewise.
54779         (do_exit): Likewise.
54781 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54783         * malloc/malloc.c (__libc_calloc): Revert last change.
54785 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54789 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54791         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54793         implementation.
54794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54795         (__libc_ifunc_impl_list): Likewise.
54796         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54797         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54798         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54799         * string/strrchr.c: Define STRRCHR.
54801 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54803         * benchtest/bench-strtok.c (simple_strtok): Delete.
54804         (strtok_string): Use as benchmark.
54805         * string/strtok (STRTOK): New macro.
54807 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54809         * manual/threads.texi: Add header and standard comments to all
54810         functions.
54812         * elf/dl-lookup.c (check_match): New function.
54813         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54814         (do_lookup_x): Remove nested function check_match. Use non-nested
54815         function check_match.
54817 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54819         * csu/Makefile (generated, before-compile): Use += rather than =.
54820         * catgets/Makefile (generated, generated-dirs): Likewise.
54821         * debug/Makefile (generated): Likewise.
54822         * dlfcn/Makefile (generated): Likewise.
54823         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54824         * iconvdata/Makefile (before-compile, generated): Likewise.
54825         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54826         * libio/Makefile (generated): Likewise.
54827         * malloc/Makefile (generated): Likewise.
54828         * manual/Makefile (generated, generated-dirs): Likewise.
54829         * misc/Makefile (generated): Likewise.
54830         * posix/Makefile (generated): Likewise.
54831         * resolv/Makefile (generated): Likewise.
54832         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54833         * timezone/Makefile (generated, generated-dirs): Likewise.
54835         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54837 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54840         power8 implementation.
54841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54842         file: POWER8 llround ifunc implementation.
54843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54844         (__lllround): Add POWER8 implementation.
54845         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54846         POWER8 llround implementation.
54848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54849         power8 implementation.
54850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54851         file: POWER8 llrint ifunc implementation.
54852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54853         Add POWER8 implementation.
54854         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54855         POWER8 llrint implementation.
54857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54858         power8 implementation.
54859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54860         file: POWER8 finite ifunc implementation.
54861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54862         Add POWER8 implementation.
54863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54864         Likewise.
54865         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54866         POWER8 finite implementation.
54867         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54870         power8 implementation.
54871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54872         file: POWER8 isinf ifunc implementation.
54873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54874         POWER8 implementation.
54875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54876         Likewise.
54877         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54878         isinf implementation.
54879         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54881         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54882         (INIT_ARCH): Add hwcap2 initialization.
54883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54884         power8 implementation.
54885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54886         file: POWER8 isnan ifunc implementation.
54887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54888         POWER8 implementation.
54889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54890         Likewise.
54891         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54892         isnan implementation.
54893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54895 2014-02-27  Joey Ye  <joey.ye@arm.com>
54897         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54898         (_FP_NANFRAC_Q): Set to zero.
54900 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54902         [BZ #16623]
54903         * math/auto-libm-test-in: New test inputs.
54904         * math/auto-libm-test-out: Regenerate.
54905         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54906         and DA.
54907         (__cos): Likewise.
54908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54910 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54912         * scripts/evaluate-test.sh: Take new argument indicating whether
54913         failure is expected.
54914         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54915         indicating whether failure is expected.
54916         * conform/Makefile (test-xfail-run-conformtest): New variable.
54917         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54918         level.
54919         * posix/Makefile (test-xfail-annexc): New variable.
54920         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54922 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54924         * argp/Makefile: Include Makeconfig immediately after defining
54925         subdir.
54926         * assert/Makefile: Likewise.
54927         * benchtests/Makefile: Likewise.
54928         * catgets/Makefile: Likewise.
54929         * conform/Makefile: Likewise.
54930         * crypt/Makefile: Likewise.
54931         * csu/Makefile: Likewise.
54932         (all): Remove target.
54933         * ctype/Makefile: Include Makeconfig immediately after defining
54934         subdir.
54935         * debug/Makefile: Likewise.
54936         * dirent/Makefile: Likewise.
54937         * dlfcn/Makefile: Likewise.
54938         * gmon/Makefile: Likewise.
54939         * gnulib/Makefile: Likewise.
54940         * grp/Makefile: Likewise.
54941         * gshadow/Makefile: Likewise.
54942         * hesiod/Makefile: Likewise.
54943         * hurd/Makefile: Likewise.
54944         (all): Remove target.
54945         * iconvdata/Makefile: Include Makeconfig immediately after
54946         defining subdir.
54947         * inet/Makefile: Likewise.
54948         * intl/Makefile: Likewise.
54949         * io/Makefile: Likewise.
54950         * libio/Makefile: Likewise.
54951         (all): Remove target.
54952         * locale/Makefile: Include Makeconfig immediately after defining
54953         subdir.
54954         * login/Makefile: Likewise.
54955         * mach/Makefile: Likewise.
54956         (all): Remove target.
54957         * malloc/Makefile: Include Makeconfig immediately after defining
54958         subdir.
54959         (all): Remove target.
54960         * manual/Makefile: Include Makeconfig immediately after defining
54961         subdir.
54962         * math/Makefile: Likewise.
54963         * misc/Makefile: Likewise.
54964         * nis/Makefile: Likewise.
54965         * nss/Makefile: Likewise.
54966         * po/Makefile: Likewise.
54967         (all): Remove target.
54968         * posix/Makefile: Include Makeconfig immediately after defining
54969         subdir.
54970         * pwd/Makefile: Likewise.
54971         * resolv/Makefile: Likewise.
54972         * resource/Makefile: Likewise.
54973         * rt/Makefile: Likewise.
54974         * setjmp/Makefile: Likewise.
54975         * shadow/Makefile: Likewise.
54976         * signal/Makefile: Likewise.
54977         * socket/Makefile: Likewise.
54978         * soft-fp/Makefile: Likewise.
54979         * stdio-common/Makefile: Likewise.
54980         * stdlib/Makefile: Likewise.
54981         * streams/Makefile: Likewise.
54982         * string/Makefile: Likewise.
54983         * sunrpc/Makefile: Likewise.
54984         (all): Remove target.
54985         * sysvipc/Makefile: Include Makeconfig immediately after defining
54986         subdir.
54987         * termios/Makefile: Likewise.
54988         * time/Makefile: Likewise.
54989         * timezone/Makefile: Likewise.
54990         (all): Remove target.
54991         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54992         subdir.
54993         * wctype/Makefile: Likewise.
54995 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54997         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54998         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54999         (libc_feholdexcept_setround_mips): Ditto.
55000         (libc_feholdsetround): New.
55001         (libc_feholdsetroundf): New.
55002         (libc_feholdsetroundl): New.
55003         (libc_feupdateenv_test_mips): New.
55004         (libc_feupdateenv_test): New.
55005         (libc_feupdateenv_testf): New.
55006         (libc_feupdateenv_testl): New.
55007         (libc_feresetround): New.
55008         (libc_feresetroundf): New.
55009         (libc_feresetroundl): New.
55010         (libc_fetestexcept_mips): New.
55011         (libc_fetestexcept): New.
55012         (libc_fetestexceptf): New.
55013         (libc_fetestexceptl): New.
55014         (HAVE_RM_CTX): New.
55015         (libc_feholdexcept_setround_mips_ctx): New.
55016         (libc_feholdexcept_setround_ctx): New.
55017         (libc_feholdexcept_setroundf_ctx): New.
55018         (libc_feholdexcept_setroundl_ctx): New.
55019         (libc_fesetenv_mips_ctx): New.
55020         (libc_fesetenv_ctx): New.
55021         (libc_fesetenv_ctxf): New.
55022         (libc_fesetenv_ctxl): New.
55023         (libc_feupdateenv_mips_ctx): New.
55024         (libc_feupdateenv_ctx): New.
55025         (libc_feupdateenvf_ctx): New.
55026         (libc_feupdateenvl_ctx): New.
55027         (libc_feholdsetround_mips_ctx): New.
55028         (libc_feholdsetround_ctx): New.
55029         (libc_feholdsetroundf_ctx): New.
55030         (libc_feholdsetroundl_ctx): New.
55031         (libc_feresetround_mips_ctx): New.
55032         (libc_feresetround_ctx): New.
55033         (libc_feresetroundf_ctx): New.
55034         (libc_feresetroundl_ctx): New.
55036 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
55038         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
55040         * manual/ipc.texi: New file.
55041         * manual/Makefile (chapters): Add ipc.
55042         * manual/job.texi: Add "Inter-Process Communication" to next.
55043         * manual/process.texi: Add "Inter-Process Communication" to prev.
55045 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55049 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
55051         * malloc/malloc.c (__libc_calloc): Simplify implementation.
55053         * manual/arith.texi: Fix spaces after sentences.
55054         * manual/charset.texi: Likewise.
55055         * manual/errno.texi: Likewise.
55056         * manual/install.texi: Likewise.
55057         * manual/llio.texi: Likewise.
55058         * manual/locale.texi: Likewise.
55059         * manual/maint.texi: Likewise.
55060         * manual/math.texi: Likewise.
55061         * manual/memory.texi: Likewise.
55062         * manual/message.texi: Likewise.
55063         * manual/probes.texi: Likewise.
55064         * manual/resource.texi: Likewise.
55065         * manual/signal.texi: Likewise.
55066         * manual/socket.texi: Likewise.
55067         * manual/stdio.texi: Likewise.
55068         * manual/string.texi: Likewise.
55069         * manual/time.texi: Likewise.
55070         * manual/users.texi: Likewise.
55072 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
55074         [BZ #16632]
55075         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
55076         _DEFAULT_SOURCE is defined.
55078 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
55079             Carlos O'Donell  <carlos@redhat.com>
55081         [BZ #16613]
55082         * elf/dl-tls.c (_dl_count_modids): New function.
55083         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
55084         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
55085         audit library and increment generation counter.
55086         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
55087         * elf/tst-audit9.c: New file.
55088         * elf/tst-auditmod9a.c: New file.
55089         * elf/tst-auditmod9b.c: New file.
55090         * elf/Makefile: Add rules to build and run tst-audit9.
55092 2014-02-25  Florian Weimer  <fweimer@redhat.com>
55094         [BZ #15347]
55095         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
55097 2014-02-25  Will Newton  <will.newton@linaro.org>
55099         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
55100         (__longjmp): Restore sp and lr before restoring callee
55101         saved registers.  Add longjmp and longjmp_target
55102         SystemTap probe point.
55103         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55104         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55105         Define to zero to match jmpbuf layout.
55106         * sysdeps/arm/setjmp.S: Include stap-probe.h.
55107         (__sigsetjmp): Save sp and lr before saving callee
55108         saved registers.  Add setjmp SystemTap probe point.
55110 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
55112         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55114 2014-02-24  Andreas Schwab  <schwab@suse.de>
55116         [BZ #15804]
55117         * elf/pldd.c (wait_for_ptrace_stop): New function.
55118         (main): Call it after attaching.
55120 2014-02-22  Roland McGrath  <roland@hack.frob.com>
55122         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55123         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55124         Versions files is now verboten.
55125         * hurd/Versions (libc: GLIBC_2.0):
55126         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55127         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55128         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55129         * mach/Versions: Likewise.
55131         * csu/Versions: Remove unused %include.
55132         * resolv/Versions: Likewise.
55134 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
55136         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55137         ($(objpfx)check-local-headers.out): Likewise.
55138         ($(objpfx)begin-end-check.out): Likewise.
55139         * Makerules (check-abi-%.out): Likewise.
55140         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55141         ($(objpfx)test2.cat): Likewise.
55142         ($(objpfx)de/libc.cat): Likewise.
55143         ($(objpfx)test-gencat.out): Likewise.
55144         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55145         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55146         ($(objpfx)noload-mem): Likewise.
55147         ($(objpfx)tst-pathopt.out): Likewise.
55148         ($(objpfx)tst-rtld-load-self.out): Likewise.
55149         ($(objpfx)tst-array1-cmp.out): Likewise.
55150         ($(objpfx)tst-array1-static-cmp.out): Likewise.
55151         ($(objpfx)tst-array2-cmp.out): Likewise.
55152         ($(objpfx)tst-array3-cmp.out): Likewise.
55153         ($(objpfx)tst-array4-cmp.out): Likewise.
55154         ($(objpfx)tst-array5-cmp.out): Likewise.
55155         ($(objpfx)tst-array5-static-cmp.out): Likewise.
55156         ($(objpfx)check-textrel.out): Likewise.
55157         ($(objpfx)check-execstack.out): Likewise.
55158         ($(objpfx)check-localplt.out): Likewise.
55159         ($(objpfx)order2-cmp.out): Likewise.
55160         ($(objpfx)tst-leaks1-mem): Likewise.
55161         ($(objpfx)tst-leaks1-static-mem): Likewise.
55162         ($(objpfx)tst-initorder-cmp.out): Likewise.
55163         ($(objpfx)tst-initorder2-cmp.out): Likewise.
55164         ($(objpfx)tst-unused-dep.out): Likewise.
55165         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55166         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55167         * iconv/Makefile (test-iconvconfig): Likewise.
55168         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55169         ($(objpfx)iconv-test.out): Likewise.
55170         ($(objpfx)tst-tables.out): Likewise.
55171         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55172         ($(objpfx)tst-gettext.out): Likewise.
55173         ($(objpfx)tst-translit.out): Likewise.
55174         ($(objpfx)tst-gettext2.out): Likewise.
55175         ($(objpfx)tst-gettext4.out): Likewise.
55176         ($(objpfx)tst-gettext6.out): Likewise.
55177         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55178         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55179         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55180         ($(objpfx)tst-fopenloc-mem.out): Likewise.
55181         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55182         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55183         * posix/Makefile ($(objpfx)globtest.out): Likewise.
55184         ($(objpfx)wordexp-tst.out): Likewise.
55185         ($(objpfx)annexc.out): Likewise.
55186         ($(objpfx)tst-fnmatch-mem): Likewise.
55187         ($(objpfx)bug-regex2-mem): Likewise.
55188         ($(objpfx)bug-regex14-mem): Likewise.
55189         ($(objpfx)bug-regex21-mem): Likewise.
55190         ($(objpfx)bug-regex31-mem): Likewise.
55191         ($(objpfx)tst-vfork3-mem): Likewise.
55192         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55193         ($(objpfx)tst-pcre-mem): Likewise.
55194         ($(objpfx)tst-boost-mem): Likewise.
55195         ($(objpfx)tst-getconf.out): Likewise.
55196         ($(objpfx)bug-ga2-mem): Likewise.
55197         ($(objpfx)bug-glob2-mem): Likewise.
55198         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55199         ($(objpfx)mtrace-tst-leaks2): Likewise.
55200         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55201         ($(objpfx)tst-printf.out): Likewise.
55202         ($(objpfx)tst-setvbuf1.out): Likewise.
55203         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55204         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55205         ($(objpfx)tst-fmtmsg.out): Likewise.
55206         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55207         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55209         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55210         * bits/sigaction.h [__USE_MISC]: Likewise.
55211         * bits/waitstatus.h: Update #endif comments.
55212         * ctype/ctype.h: Likewise.
55213         * dirent/dirent.h: Likewise.
55214         [__USE_MISC]: Remove redundant conditionals.
55215         * grp/grp.h: Update #endif comments.
55216         [__USE_GNU]: Remove redundant conditionals.
55217         [__USE_MISC]: Likewise.
55218         * inet/netinet/in.h [__USE_GNU]: Likewise.
55219         * io/sys/stat.h [__USE_MISC]: Likewise.
55220         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55221         * libio/bits/stdio.h: Update #endif comments.
55222         [__USE_MISC]: Remove redundant conditionals.
55223         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55224         * libio/stdio.h: Update #endif comments.
55225         [__USE_MISC]: Remove redundant conditionals.
55226         * math/bits/math-finite.h [__USE_MISC]: Likewise.
55227         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55228         * math/math.h: Update #else and #endif comments.
55229         [__USE_MISC]: Remove redundant conditionals.
55230         * misc/sys/uio.h: Update #endif comments.
55231         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55232         * posix/glob.h [__USE_MISC]: Likewise.
55233         * posix/sys/types.h: Update #endif comments.
55234         [__USE_MISC]: Remove redundant conditionals.
55235         * posix/sys/wait.h: Update #endif comments.
55236         [__USE_MISC]: Remove redundant conditionals.
55237         * posix/unistd.h: Update #endif comments.
55238         [__USE_MISC]: Remove redundant conditionals.
55239         * pwd/pwd.h [__USE_GNU]: Likewise.
55240         [__USE_MISC]: Likewise.
55241         * resolv/netdb.h [__USE_GNU]: Likewise.
55242         * signal/signal.h: Update #endif comments.
55243         [__USE_MISC]: Remove redundant conditionals.
55244         * stdlib/stdlib.h: Update #else and #endif comments.
55245         [__USE_MISC]: Remove redundant conditionals.
55246         [__USE_GNU]: Likewise.
55247         * string/bits/string2.h [__USE_MISC]: Likewise.
55248         * string/string.h: Update #endif comments.
55249         [__USE_MISC]: Remove redundant conditionals.
55250         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55251         Likewise.
55252         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55253         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55254         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55255         Likewise.
55256         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55257         Likewise.
55258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55259         comments.
55260         [__USE_MISC]: Remove redundant conditionals.
55261         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55262         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55263         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55264         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55265         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55266         Likewise.
55267         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55268         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55269         Likewise.
55270         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55271         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55272         Likewise.
55273         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55274         Likewise.
55275         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55276         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55277         Likewise.
55278         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55279         Likewise.
55280         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55281         * sysdeps/x86/bits/string.h: Update #endif comments.
55282         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55283         conditionals.
55284         * time/sys/time.h: Update #endif comments.
55285         * time/time.h: Likewise.
55286         [__USE_MISC]: Remove redundant conditionals.
55288 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55290         [BZ #16600]
55291         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55293 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55295         * Versions.def (librt): Add GLIBC_2.17.
55297 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55299         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55300         synonym for _SYS_AUXV_H to allow direct inclusion.
55301         * sysdeps/sparc/bits/hwcap.h: Likewise.
55302         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55303         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55304         * sysdeps/sparc/sysdep.h: Likewise.
55306 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55308         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55310 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55312         * benchtests/bench-strrchr.c: Print length instead of position.
55314 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55316         [BZ #16611]
55317         * sysdeps/unix/sysv/linux/kernel-features.h
55318         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55319         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55320         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55321         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55322         Likewise.
55323         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55324         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55325         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55326         (__ASSUME_SENDMMSG): Define instead of using previous
55327         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55328         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55329         (__ASSUME_SENDMMSG_SYSCALL): Define.
55330         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55331         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55332         Likewise.
55333         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55334         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55335         Likewise.
55336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55337         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55338         Likewise.
55339         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55340         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55341         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55342         [__ASSUME_SENDMMSG]: Change conditionals to
55343         [__ASSUME_SENDMMSG_SOCKETCALL].
55344         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55345         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55346         Define.
55347         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55348         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55349         Likewise.
55350         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55351         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55352         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55353         [!__ASSUME_SENDMMSG]: Change conditional to
55354         [!__ASSUME_SENDMMSG_SOCKETCALL].
55355         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55356         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55357         Define.
55359         [BZ #16610]
55360         * sysdeps/unix/sysv/linux/kernel-features.h
55361         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55362         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55363         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55364         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55365         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55366         [__i386__ || __sparc__]
55367         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55368         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55369         (__ASSUME_RECVMMSG): Define instead of using previous
55370         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55371         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55372         (__ASSUME_RECVMMSG_SYSCALL): Define.
55373         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55375         Likewise.
55376         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55377         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55378         Likewise.
55379         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55380         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55381         Likewise.
55382         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55383         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55384         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55385         [__ASSUME_RECVMMSG]: Change condition to
55386         [__ASSUME_RECVMMSG_SOCKETCALL].
55387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55389         Define.
55390         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55391         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55393         Likewise.
55394         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55395         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55396         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55397         [!__ASSUME_RECVMMSG]: Change condition to
55398         [!__ASSUME_RECVMMSG_SOCKETCALL].
55399         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55400         (__ASSUME_RECVMMSG_SYSCALL): Define.
55402         [BZ #16609]
55403         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55404         __powerpc__ || __s390__ || __sh__ || __sparc__]
55405         (__ASSUME_SOCKETCALL): Define.
55406         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55407         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55408         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55409         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55410         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55411         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55412         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55413         (__ASSUME_ACCEPT4): Define instead of using previous
55414         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55415         __powerpc__ || __sparc__ || __s390__)] condition.
55416         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55417         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55418         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55419         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55420         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55421         [!__ASSUME_ACCEPT4]: Change condition to
55422         [!__ASSUME_ACCEPT4_SOCKETCALL].
55423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55424         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55425         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55427         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55428         __ASSUME_ACCEPT4_SYSCALL.
55429         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55430         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55431         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55432         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55433         __ASSUME_ACCEPT4_SYSCALL.
55434         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55435         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55436         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55437         [__ASSUME_ACCEPT4]: Change condition to
55438         [__ASSUME_ACCEPT4_SOCKETCALL].
55439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55440         (__ASSUME_SOCKETCALL): Define.
55441         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55442         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55443         (__ASSUME_SOCKETCALL): Define.
55444         (__ASSUME_ACCEPT4): Remove.
55445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55446         Define.
55447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55448         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55449         Likewise.
55450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55451         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55453         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55454         macro.
55455         (HWCAP_ARM_LPAE): Likewise.
55456         (HWCAP_ARM_EVTSTRM): Likewise.
55457         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55458         Add vpfd32, lpae and evtstrm.
55459         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55460         Increase to 22.
55462 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55464         * math/auto-libm-test-in: Add tests of clog10.
55465         * math/auto-libm-test-out: Regenerated.
55466         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55467         * sysdeps/i386/fpu/libm-test-ulps: Update.
55468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55470 2014-02-18  Andreas Schwab  <schwab@suse.de>
55472         [BZ #16574]
55473         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55474         Store non-zero if the second buffer was newly allocated.
55475         (send_dg): Likewise.
55476         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55477         to send_vc and send_dg.
55478         (res_nsend): Pass NULL for ansp2_malloced.
55479         * resolv/res_query.c (__libc_res_nquery): Add parameter
55480         answerp2_malloced and pass it down to __libc_res_nsend.
55481         (res_nquery): Pass additional NULL to __libc_res_nquery.
55482         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55483         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55484         second answer buffer if answerp2_malloced was set.
55485         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55486         (__libc_res_nquerydomain): Add parameter
55487         answerp2_malloced and pass it down to __libc_res_nquery.
55488         (res_nquerydomain): Pass additional NULL to
55489         __libc_res_nquerydomain.
55490         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55491         additional NULL to __libc_res_nsend and __libc_res_nquery.
55492         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55493         additional NULL to __libc_res_nsearch.
55494         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55495         parameter of __libc_res_nsearch to check for separately allocated
55496         second buffer.
55497         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55498         __libc_res_nquery.
55499         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55500         additional NULL to __libc_res_nquery.
55501         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55502         __libc_res_nsearch.
55503         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55504         * include/resolv.h: Update prototypes of __libc_res_nquery,
55505         __libc_res_nsearch, __libc_res_nsend.
55507 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55509         * math/auto-libm-test-in: Add tests of fma.
55510         * math/auto-libm-test-out: Regenerated.
55511         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55512         (fma_towardzero_test_data): Likewise.
55513         (fma_downward_test_data): Likewise.
55514         (fma_upward_test_data): Likewise.
55515         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55516         mpc_mode.
55517         (rounding_modes): Add values for new field.
55518         (func_calc_method): Add value mpfr_fff_f.
55519         (func_calc_desc): Add mpfr_fff_f union field.
55520         (test_function): Add field exact_args.
55521         (FUNC): Add macro argument EXACT_ARGS.
55522         (FUNC_mpfr_f_f): Update call to FUNC.
55523         (FUNC_mpfr_f_f): Likewise.
55524         (FUNC_mpfr_ff_f): Likewise.
55525         (FUNC_mpfr_if_f): Likewise.
55526         (FUNC_mpc_c_f): Likewise.
55527         (FUNC_mpc_c_c): Likewise.
55528         (test_functions): Add fma.  Update calls to FUNC.
55529         (handle_input_arg): Add argument exact_args.
55530         (add_test): Update call to handle_input_arg.
55531         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55532         (output_for_one_input_case): Update call to calc_generic_results.
55533         Recalculate exact zero results in each rounding mode.
55535         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55536         non-negative before setting low bit.
55537         * math/auto-libm-test-in: Mark one asin test possibly having
55538         spurious underflow.
55539         * math/auto-libm-test-out: Regenerated.
55540         * sysdeps/i386/fpu/libm-test-ulps: Update.
55541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55543 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55545         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55546         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55547         ports/sysdeps/unix/sysv/linux/microblaze.
55548         * README: Add missing listing for microblaze*-*-linux-gnu.
55550 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55552         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55553         duplicate code
55555 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55557         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55558         * sysdeps/unix/sysv/linux/ia64: Move directory from
55559         ports/sysdeps/unix/sysv/linux/ia64.
55560         * README: Update listing for ia64-*-linux-gnu.
55562 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55563             Joseph Myers  <joseph@codesourcery.com>
55565         * Makeconfig (test-name): New variable.
55566         (evaluate-test): Likewise.
55567         * Makerules (do-test-clean): Remove .test-result files.
55568         (common-mostlyclean): Likewise.
55569         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55570         * scripts/evaluate-test.sh: New file.
55572 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55574         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55575         separate $(objpfx)tst-fopenloc-cmp.out and
55576         $(objpfx)tst-fopenloc-mem.out targets.
55577         (tests): Update dependencies.
55578         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55579         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55580         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55581         (tst-rxspencer-no-utf8-ARGS): New variable.
55582         (tst-rxspencer-no-utf8-ENV): Likewise.
55583         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55584         instead of $(objpfx)tst-rxspencer-mem.
55585         ($(objpfx)tst-rxspencer-mem): Change target to
55586         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55587         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55588         * posix/tst-rxspencer-no-utf8.c: New file.
55590         * elf/Makefile ($(objpfx)order.out): Remove rule.
55591         [$(run-built-tests) = yes] (tests): Depend on
55592         $(objpfx)order-cmp.out.
55593         ($(objpfx)order-cmp.out): New rule.
55594         [$(run-built-tests) = yes] (tests): Depend on
55595         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55596         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55597         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55598         $(objpfx)tst-array5-static-cmp.out.
55599         ($(objpfx)tst-array1.out): Remove rule.
55600         ($(objpfx)tst-array1-cmp.out): New rule.
55601         ($(objpfx)tst-array1-static.out): Remove rule.
55602         ($(objpfx)tst-array1-static-cmp.out): New rule.
55603         ($(objpfx)tst-array2.out): Remove rule.
55604         ($(objpfx)tst-array2-cmp.out): New rule.
55605         ($(objpfx)tst-array3.out): Remove rule.
55606         ($(objpfx)tst-array3-cmp.out): New rule.
55607         ($(objpfx)tst-array4.out): Remove rule.
55608         ($(objpfx)tst-array4-cmp.out): New rule.
55609         ($(objpfx)tst-array5.out): Remove rule.
55610         ($(objpfx)tst-array5-cmp.out): New rule.
55611         ($(objpfx)tst-array5-static.out): Remove rule.
55612         ($(objpfx)tst-array5-static-cmp.out): New rule.
55613         [$(run-built-tests) = yes] (tests): Depend on
55614         $(objpfx)order2-cmp.out.
55615         ($(objpfx)order2.out): Remove rule.
55616         ($(objpfx)order2-cmp.out): New rule.
55617         ($(objpfx)tst-initorder.out): Remove rule.
55618         [$(run-built-tests) = yes] (tests): Depend on
55619         $(objpfx)tst-initorder-cmp.out.
55620         ($(objpfx)tst-initorder-cmp.out): New rule.
55621         ($(objpfx)tst-initorder2.out): Remove rule.
55622         [$(run-built-tests) = yes] (tests): Depend on
55623         $(objpfx)tst-initorder2-cmp.out.
55624         ($(objpfx)tst-initorder2-cmp.out): New rule.
55625         [$(run-built-tests) = yes] (tests): Depend on
55626         $(objpfx)tst-unused-dep-cmp.out.
55627         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55628         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55629         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55630         on $(objpfx)tst-setvbuf1-cmp.out.
55631         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55632         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55633         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55634         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55635         ($(objpfx)tst-svc.out): Remove rule.
55636         ($(objpfx)tst-svc-cmp.out): New rule.
55638 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55640         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55641         * ctype/ctype.h [__USE_MISC]: Likewise.
55642         * dirent/dirent.h [__USE_MISC]: Likewise.
55643         * grp/grp.h [__USE_MISC]: Likewise.
55644         * io/fcntl.h [__USE_MISC]: Likewise.
55645         * io/sys/stat.h [__USE_MISC]: Likewise.
55646         * libio/stdio.h [__USE_MISC]: Likewise.
55647         * posix/unistd.h [__USE_MISC]: Likewise.
55648         * pwd/pwd.h [__USE_MISC]: Likewise.
55649         * stdlib.h [__USE_MISC]: Likewise.
55650         * string/bits/string2.h [__USE_MISC]: Likewise.
55651         * string/string.h [__USE_MISC]: Likewise.
55652         * time/time.h [__USE_MISC]: Likewise.
55654 2014-02-13  Andreas Schwab  <schwab@suse.de>
55656         [BZ #16574]
55657         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55658         second answer buffer if it was separately allocated.
55660 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55662         * sysdeps/mips/math-tests.h: Include <features.h>.
55663         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55664         (ROUNDING_TESTS_long_double): Do not define.
55665         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55666         (EXCEPTION_TESTS_long_double): Likewise.
55667         * sysdeps/mips/mips64/libm-test-ulps: Update.
55669         * include/features.h (__USE_BSD): Remove macro definitions.
55670         (__USE_SVID): Likewise.
55671         (_BSD_SOURCE): Likewise.
55672         (_SVID_SOURCE): Likewise.
55673         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55674         from definition of _DEFAULT_SOURCE.
55675         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55676         [_DEFAULT_SOURCE].
55677         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55678         * bits/mman.h [__USE_BSD]: Likewise.
55679         * bits/termios.h [__USE_BSD]: Likewise.
55680         * bits/waitstatus.h [__USE_BSD]: Likewise.
55681         * ctype/ctype.h [__USE_SVID]: Likewise.
55682         * dirent/dirent.h [__USE_BSD]: Likewise.
55683         * grp/grp.h [__USE_SVID]: Likewise.
55684         [__USE_BSD]: Likewise.
55685         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55686         * io/fcntl.h [__USE_BSD]: Likewise.
55687         * io/ftw.h [__USE_BSD]: Likewise.
55688         * io/sys/stat.h [__USE_BSD]: Likewise.
55689         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55690         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55691         * libio/stdio.h [__USE_SVID]: Likewise.
55692         [__USE_BSD]: Likewise.
55693         * math/math.h [__USE_SVID]: Likewise.
55694         [__USE_BSD]: Likewise.
55695         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55696         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55697         * misc/search.h [__USE_SVID]: Likewise.
55698         * misc/sys/mman.h [__USE_BSD]: Likewise.
55699         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55700         * misc/sys/uio.h [__USE_BSD]: Likewise.
55701         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55702         * posix/glob.h [__USE_BSD]: Likewise.
55703         * posix/regex.h [__USE_BSD]: Likewise.
55704         * posix/sys/types.h [__USE_BSD]: Likewise.
55705         [__USE_SVID]: Likewise.
55706         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55707         * posix/sys/wait.h [__USE_BSD]: Likewise.
55708         [__USE_SVID]: Likewise.
55709         * posix/unistd.h [__USE_BSD]: Likewise.
55710         [__USE_SVID]: Likewise.
55711         * pwd/pwd.h [__USE_SVID]: Likewise.
55712         * resolv/netdb.h [__USE_BSD]: Likewise.
55713         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55714         * signal/signal.h [__USE_BSD]: Likewise.
55715         [__USE_SVID]: Likewise.
55716         * socket/sys/socket.h [__USE_BSD]: Likewise.
55717         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55718         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55719         [__USE_SVID]: Likewise.
55720         * string/bits/string2.h [__USE_BSD]: Likewise.
55721         [__USE_SVID]: Likewise.
55722         * string/bits/string3.h [__USE_BSD]: Likewise.
55723         * string/endian.h [__USE_BSD]: Likewise.
55724         * string/string.h [__USE_SVID]: Likewise.
55725         [__USE_BSD]: Likewise.
55726         * string/strings.h [__USE_BSD]: Likewise.
55727         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55728         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55729         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55730         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55731         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55732         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55733         Likewise.
55734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55735         Likewise.
55736         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55737         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55738         Likewise.
55739         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55740         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55741         Likewise.
55742         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55743         Likewise.
55744         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55745         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55746         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55747         Likewise.
55748         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55749         Likewise.
55750         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55751         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55752         * termios/termios.h [__USE_BSD]: Likewise.
55753         * time/sys/time.h [__USE_BSD]: Likewise.
55754         * time/time.h [__USE_BSD]: Likewise.
55755         [__USE_SVID]: Likewise.
55757         * Makefile (subdir_targets): Remove subdir_lint.out.
55759         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55760         (do-tst-printf): Likewise.
55761         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55762         $(objpfx)tst-printf.out.
55764         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55766         * Makerules (check-abi-%): Change target to
55767         $(objpfx)check-abi-%.out.
55768         (check-abi target): Update dependencies.
55769         (check-abi-pattern variable): Redirect output of diff to $@.
55770         (check-abi variable): Likewise.
55771         * elf/Makefile (check-abi): Update dependencies.
55773         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55774         unused.
55775         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55776         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55777         subnormal range.
55778         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55779         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55780         value has largest subnormal exponent.
55781         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55782         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55783         * sysdeps/aarch64/soft-fp/sfp-machine.h
55784         (_FP_TININESS_AFTER_ROUNDING): New macro.
55785         * sysdeps/alpha/soft-fp/sfp-machine.h
55786         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55787         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55788         Likewise.
55789         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55790         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55791         * sysdeps/mips/soft-fp/sfp-machine.h
55792         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55793         * sysdeps/powerpc/soft-fp/sfp-machine.h
55794         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55795         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55796         Likewise.
55797         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55798         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55799         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55800         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55801         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55802         Likewise.
55804 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55806         [BZ #16545]
55807         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55808         model 1.
55810 2014-02-12  Richard Henderson  <rth@redhat.com>
55812         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55813         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55814         * sysdeps/unix/sysv/linux/alpha: Move directory from
55815         ports/sysdeps/unix/sysv/linux/alpha.
55816         * README: Update listing for alpha-*-linux-gnu.
55818 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55820         * include/features.h: Update comment documenting feature test
55821         macros.
55822         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55823         _DEFAULT_SOURCE.
55824         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55825         (_SVID_SOURCE): Likewise.
55826         (_DEFAULT_SOURCE): Update description of default features.
55827         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55828         with _GNU_SOURCE.
55829         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55830         (S_ISVTX): Likewise.
55831         * manual/math.texi (Mathematical Constants): Likewise.
55832         * manual/signal.texi (Interrupted Primitives): Likewise.
55833         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55834         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55835         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55836         Don't refer to _SVID_SOURCE in warning text.
55838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55840         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55841         already defined.
55842         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55843         * sysdeps/mips/dl-lookup.c: Remove.
55844         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55846 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55848         [BZ #16447]
55849         * math/auto-libm-test-in: Add testcase for expl.
55850         * math/auto-libm-test-out: Regenerate.
55851         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55852         calculation of unsafe.
55853         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55855 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55857         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55858         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55859         ports/sysdeps/unix/sysv/linux/aarch64.
55860         * README: Update listing for aarch64*-*-linux-gnu.
55862 2014-02-11  Will Newton  <will.newton@linaro.org>
55864         * manual/probes.texi (Mathematical Function Probes): Use
55865         "triggered" instead of "hit".
55867         * manual/probes.texi (Internal Probes): Add documentation
55868         of setjmp, longjmp and longjmp_target probes.
55870         * include/stap-probe.h: Add comment about probe argument
55871         format.
55873         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55874         definition.  (tr_where, tr_freehook, tr_mallochook,
55875         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55877 2014-02-11  David S. Miller  <davem@davemloft.net>
55879         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55880         processing int_tests.
55882 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55884         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55885         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55886         * sysdeps/unix/sysv/linux/mips: Move directory from
55887         ports/sysdeps/unix/sysv/linux/mips.
55888         * README: Update listing for mips-*-linux-gnu and
55889         mips64-*-linux-gnu.
55891 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55893         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55894         * sysdeps/unix/sysv/linux/m68k: Move directory from
55895         ports/sysdeps/unix/sysv/linux/m68k.
55896         * README: Update listing for m68k-*-linux-gnu.
55898 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55900         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55901         * sysdeps/unix/sysv/linux/generic: Move directory from
55902         ports/sysdeps/unix/sysv/linux/generic.
55903         * sysdeps/unix/sysv/linux/tile: Move directory from
55904         ports/sysdeps/unix/sysv/linux/tile.
55905         * README: Update listing for tile*-*-linux-gnu.
55907 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55909         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55910         __builtin_expect.
55911         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55912         * catgets/open_catalog.c (__open_catalog): Likewise.
55913         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55914         * debug/confstr_chk.c: Likewise.
55915         * debug/fread_chk.c (__fread_chk): Likewise.
55916         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55917         * debug/getgroups_chk.c: Likewise.
55918         * debug/mbsnrtowcs_chk.c: Likewise.
55919         * debug/mbsrtowcs_chk.c: Likewise.
55920         * debug/mbstowcs_chk.c: Likewise.
55921         * debug/memcpy_chk.c: Likewise.
55922         * debug/memmove_chk.c: Likewise.
55923         * debug/mempcpy_chk.c: Likewise.
55924         * debug/memset_chk.c: Likewise.
55925         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55926         * debug/strcat_chk.c (__strcat_chk): Likewise.
55927         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55928         * debug/strncat_chk.c (__strncat_chk): Likewise.
55929         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55930         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55931         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55932         * debug/wcpncpy_chk.c: Likewise.
55933         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55934         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55935         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55936         * debug/wcsncpy_chk.c: Likewise.
55937         * debug/wcsnrtombs_chk.c: Likewise.
55938         * debug/wcsrtombs_chk.c: Likewise.
55939         * debug/wcstombs_chk.c: Likewise.
55940         * debug/wmemcpy_chk.c: Likewise.
55941         * debug/wmemmove_chk.c: Likewise.
55942         * debug/wmempcpy_chk.c: Likewise.
55943         * debug/wmemset_chk.c: Likewise.
55944         * dirent/scandirat.c (SCANDIRAT): Likewise.
55945         * dlfcn/dladdr1.c (dladdr1): Likewise.
55946         * dlfcn/dladdr.c (dladdr): Likewise.
55947         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55948         * dlfcn/dlerror.c (__dlerror): Likewise.
55949         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55950         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55951         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55952         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55953         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55954         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55955         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55956         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55957         Likewise.
55958         * elf/dl-conflict.c: Likewise.
55959         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55960         * elf/dl-dst.h: Likewise.
55961         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55962         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55963         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55964         * elf/dl-init.c (call_init, _dl_init): Likewise.
55965         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55966         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55967         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55968         Likewise.
55969         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55970         Likewise.
55971         * elf/dl-minimal.c (__libc_memalign): Likewise.
55972         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55973         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55974         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55975         * elf/dl-sym.c (do_sym): Likewise.
55976         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55977         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55978         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55979         * elf/dl-writev.h (_dl_writev): Likewise.
55980         * elf/ldconfig.c (search_dir): Likewise.
55981         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55982         (dl_main): Likewise.
55983         * elf/setup-vdso.h (setup_vdso): Likewise.
55984         * grp/compat-initgroups.c (compat_call): Likewise.
55985         * grp/fgetgrent.c (fgetgrent): Likewise.
55986         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55987         * grp/putgrent.c (putgrent): Likewise.
55988         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55989         Likewise.
55990         * hurd/hurdinit.c: Likewise.
55991         * iconvdata/8bit-gap.c (struct): Likewise.
55992         * iconvdata/ansi_x3.110.c : Likewise.
55993         * iconvdata/big5.c : Likewise.
55994         * iconvdata/big5hkscs.c : Likewise.
55995         * iconvdata/cp1255.c: Likewise.
55996         * iconvdata/cp1258.c : Likewise.
55997         * iconvdata/cp932.c : Likewise.
55998         * iconvdata/euc-cn.c: Likewise.
55999         * iconvdata/euc-jisx0213.c : Likewise.
56000         * iconvdata/euc-jp.c: Likewise.
56001         * iconvdata/euc-jp-ms.c : Likewise.
56002         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
56003         * iconvdata/gb18030.c : Likewise.
56004         * iconvdata/gbbig5.c (const): Likewise.
56005         * iconvdata/gbgbk.c: Likewise.
56006         * iconvdata/gbk.c : Likewise.
56007         * iconvdata/ibm1364.c : Likewise.
56008         * iconvdata/ibm930.c : Likewise.
56009         * iconvdata/ibm932.c: Likewise.
56010         * iconvdata/ibm933.c : Likewise.
56011         * iconvdata/ibm935.c : Likewise.
56012         * iconvdata/ibm937.c : Likewise.
56013         * iconvdata/ibm939.c : Likewise.
56014         * iconvdata/ibm943.c: Likewise.
56015         * iconvdata/iso_11548-1.c: Likewise.
56016         * iconvdata/iso-2022-cn.c : Likewise.
56017         * iconvdata/iso-2022-cn-ext.c : Likewise.
56018         * iconvdata/iso-2022-jp-3.c: Likewise.
56019         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
56020         * iconvdata/iso-2022-kr.c : Likewise.
56021         * iconvdata/iso646.c (gconv_end): Likewise.
56022         * iconvdata/iso_6937-2.c : Likewise.
56023         * iconvdata/iso_6937.c : Likewise.
56024         * iconvdata/iso8859-1.c: Likewise.
56025         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
56026         * iconvdata/shift_jisx0213.c : Likewise.
56027         * iconvdata/sjis.c : Likewise.
56028         * iconvdata/t.61.c : Likewise.
56029         * iconvdata/tcvn5712-1.c : Likewise.
56030         * iconvdata/tscii.c: Likewise.
56031         * iconvdata/uhc.c : Likewise.
56032         * iconvdata/unicode.c (gconv_end): Likewise.
56033         * iconvdata/utf-16.c (gconv_end): Likewise.
56034         * iconvdata/utf-32.c (gconv_end): Likewise.
56035         * iconvdata/utf-7.c (base64): Likewise.
56036         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
56037         * iconv/gconv_close.c (__gconv_close): Likewise.
56038         * iconv/gconv_open.c (__gconv_open): Likewise.
56039         * iconv/gconv_simple.c (internal_ucs4_loop_single)
56040         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
56041         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
56042         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
56043         (ucs4le_internal_loop_single): Likewise.
56044         * iconv/iconv.c (iconv): Likewise.
56045         * iconv/iconv_close.c: Likewise.
56046         * iconv/loop.c (SINGLE): Likewise.
56047         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
56048         * include/atomic.h: Likewise.
56049         * inet/inet6_option.c (option_alloc): Likewise.
56050         * intl/bindtextdom.c (set_binding_values): Likewise.
56051         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
56052         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
56053         * intl/localealias.c (read_alias_file): Likewise.
56054         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
56055         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
56056         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
56057         * libio/fmemopen.c (fmemopen): Likewise.
56058         * libio/iofgets.c (_IO_fgets): Likewise.
56059         * libio/iofgets_u.c (fgets_unlocked): Likewise.
56060         * libio/iofgetws.c (fgetws): Likewise.
56061         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
56062         * libio/iogetdelim.c (_IO_getdelim): Likewise.
56063         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
56064         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
56065         * locale/findlocale.c (_nl_find_locale): Likewise.
56066         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
56067         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
56068         Likewise.
56069         * locale/setlocale.c (setlocale): Likewise.
56070         * login/programs/pt_chown.c (main): Likewise.
56071         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
56072         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
56073         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
56074         (mmap, mmap64, mremap, munmap): Likewise.
56075         * math/e_exp2l.c: Likewise.
56076         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
56077         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
56078         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
56079         * math/s_catan.c (__catan): Likewise.
56080         * math/s_catanf.c (__catanf): Likewise.
56081         * math/s_catanh.c (__catanh): Likewise.
56082         * math/s_catanhf.c (__catanhf): Likewise.
56083         * math/s_catanhl.c (__catanhl): Likewise.
56084         * math/s_catanl.c (__catanl): Likewise.
56085         * math/s_ccosh.c (__ccosh): Likewise.
56086         * math/s_ccoshf.c (__ccoshf): Likewise.
56087         * math/s_ccoshl.c (__ccoshl): Likewise.
56088         * math/s_cexp.c (__cexp): Likewise.
56089         * math/s_cexpf.c (__cexpf): Likewise.
56090         * math/s_cexpl.c (__cexpl): Likewise.
56091         * math/s_clog10.c (__clog10): Likewise.
56092         * math/s_clog10f.c (__clog10f): Likewise.
56093         * math/s_clog10l.c (__clog10l): Likewise.
56094         * math/s_clog.c (__clog): Likewise.
56095         * math/s_clogf.c (__clogf): Likewise.
56096         * math/s_clogl.c (__clogl): Likewise.
56097         * math/s_csin.c (__csin): Likewise.
56098         * math/s_csinf.c (__csinf): Likewise.
56099         * math/s_csinh.c (__csinh): Likewise.
56100         * math/s_csinhf.c (__csinhf): Likewise.
56101         * math/s_csinhl.c (__csinhl): Likewise.
56102         * math/s_csinl.c (__csinl): Likewise.
56103         * math/s_csqrt.c (__csqrt): Likewise.
56104         * math/s_csqrtf.c (__csqrtf): Likewise.
56105         * math/s_csqrtl.c (__csqrtl): Likewise.
56106         * math/s_ctan.c (__ctan): Likewise.
56107         * math/s_ctanf.c (__ctanf): Likewise.
56108         * math/s_ctanh.c (__ctanh): Likewise.
56109         * math/s_ctanhf.c (__ctanhf): Likewise.
56110         * math/s_ctanhl.c (__ctanhl): Likewise.
56111         * math/s_ctanl.c (__ctanl): Likewise.
56112         * math/w_pow.c: Likewise.
56113         * math/w_powf.c: Likewise.
56114         * math/w_powl.c: Likewise.
56115         * math/w_scalb.c (sysv_scalb): Likewise.
56116         * math/w_scalbf.c (sysv_scalbf): Likewise.
56117         * math/w_scalbl.c (sysv_scalbl): Likewise.
56118         * misc/error.c (error_tail): Likewise.
56119         * misc/pselect.c (__pselect): Likewise.
56120         * nis/nis_callback.c (__nis_create_callback): Likewise.
56121         * nis/nis_call.c (__nisfind_server): Likewise.
56122         * nis/nis_creategroup.c (nis_creategroup): Likewise.
56123         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56124         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56125         * nis/nis_getservlist.c (nis_getservlist): Likewise.
56126         * nis/nis_lookup.c (nis_lookup): Likewise.
56127         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56128         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56129         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56130         * nis/nis_xdr.c (xdr_endpoint): Likewise.
56131         * nis/nss_compat/compat-grp.c (getgrent_next_file)
56132         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56133         * nis/nss_compat/compat-initgroups.c (add_group)
56134         (internal_getgrent_r): Likewise.
56135         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56136         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56137         * nis/nss_compat/compat-spwd.c (getspent_next_file)
56138         (internal_getspnam_r): Likewise.
56139         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56140         (_nss_nis_getaliasbyname_r): Likewise.
56141         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56142         (_nss_nis_getntohost_r): Likewise.
56143         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56144         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56145         (_nss_nis_getgrgid_r): Likewise.
56146         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56147         (internal_nis_gethostent_r, internal_gethostbyname2_r)
56148         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56149         (_nss_nis_gethostbyname4_r): Likewise.
56150         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56151         (initgroups_netid): Likewise.
56152         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56153         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56154         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56155         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56156         (_nss_nis_getprotobynumber_r): Likewise.
56157         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56158         (_nss_nis_getsecretkey): Likewise.
56159         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56160         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56161         (_nss_nis_getpwuid_r): Likewise.
56162         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56163         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56164         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56165         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56166         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56167         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56168         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56169         Likewise.
56170         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56171         (_nss_nisplus_getntohost_r): Likewise.
56172         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56173         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56174         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56175         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56176         Likewise.
56177         * nis/nss_nisplus/nisplus-initgroups.c
56178         (_nss_nisplus_initgroups_dyn): Likewise.
56179         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56180         (_nss_nisplus_getnetbyaddr_r): Likewise.
56181         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56182         (_nss_nisplus_getprotobynumber_r): Likewise.
56183         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56184         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56185         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56186         Likewise.
56187         * nis/nss_nisplus/nisplus-service.c
56188         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56189         (_nss_nisplus_getservbyport_r): Likewise.
56190         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56191         (_nss_nisplus_getspnam_r): Likewise.
56192         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56193         Likewise.
56194         * nscd/aicache.c (addhstaiX): Likewise.
56195         * nscd/cache.c (cache_search, prune_cache): Likewise.
56196         * nscd/connections.c (register_traced_file, send_ro_fd)
56197         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56198         (main_loop_epoll): Likewise.
56199         * nscd/grpcache.c (addgrbyX): Likewise.
56200         * nscd/hstcache.c (addhstbyX): Likewise.
56201         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56202         * nscd/mem.c (gc, mempool_alloc): Likewise.
56203         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56204         (addinnetgrX): Likewise.
56205         * nscd/nscd-client.h (__nscd_acquire_maplock)
56206         (__nscd_drop_map_ref): Likewise.
56207         * nscd/nscd_getai.c (__nscd_getai): Likewise.
56208         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56209         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56210         Likewise.
56211         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56213         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56214         (__nscd_get_map_ref): Likewise.
56215         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56216         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56217         Likewise.
56218         * nscd/pwdcache.c (addpwbyX): Likewise.
56219         * nscd/selinux.c (preserve_capabilities): Likewise.
56220         * nscd/servicescache.c (addservbyX): Likewise.
56221         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56222         * posix/fnmatch.c (fnmatch): Likewise.
56223         * posix/getopt.c (_getopt_internal_r): Likewise.
56224         * posix/glob.c (glob, glob_in_dir): Likewise.
56225         * posix/wordexp.c (exec_comm_child): Likewise.
56226         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56227         (getanswer_r, gaih_getanswer_slice): Likewise.
56228         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56229         * resolv/res_init.c: Likewise.
56230         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56231         * resolv/res_query.c (__libc_res_nquery): Likewise.
56232         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56233         Likewise.
56234         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56235         * stdio-common/perror.c (perror): Likewise.
56236         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56237         * stdio-common/tmpnam.c (tmpnam): Likewise.
56238         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56239         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56240         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56241         Likewise.
56242         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56243         * stdlib/putenv.c (putenv): Likewise.
56244         * stdlib/setenv.c (__add_to_environ): Likewise.
56245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56246         * stdlib/strtol_l.c (INTERNAL): Likewise.
56247         * string/memmem.c (memmem): Likewise.
56248         * string/strerror.c (strerror): Likewise.
56249         * string/strnlen.c (__strnlen): Likewise.
56250         * string/test-memmem.c (simple_memmem): Likewise.
56251         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56252         * sunrpc/pm_getport.c (__get_socket): Likewise.
56253         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56254         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56255         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56256         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56257         Likewise.
56258         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56259         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56260         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56261         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56262         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56263         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56264         Likewise.
56265         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56266         Likewise.
56267         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56268         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56269         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56270         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56271         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56273         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56274         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56275         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56276         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56277         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56278         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56279         Likewise.
56280         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56281         Likewise.
56282         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56283         Likewise.
56284         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56286         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56287         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56288         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56289         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56290         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56293         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56294         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56296         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56297         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56298         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56299         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56300         Likewise.
56301         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56302         Likewise.
56303         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56304         Likewise.
56305         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56306         Likewise.
56307         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56308         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56309         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56310         Likewise.
56311         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56312         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56313         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56314         * sysdeps/posix/sleep.c: Likewise.
56315         * sysdeps/posix/tempname.c: Likewise.
56316         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56317         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56318         Likewise.
56319         * sysdeps/powerpc/powerpc32/dl-machine.h
56320         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56321         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56323         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56324         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56325         Likewise.
56326         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56327         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56328         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56329         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56330         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56331         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56332         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56333         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56334         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56335         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56336         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56337         (elf_machine_lazy_rel): Likewise.
56338         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56339         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56340         (elf_machine_lazy_rel): Likewise.
56341         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56342         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56343         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56344         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56345         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56346         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56347         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56349         Likewise.
56350         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56351         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56352         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56353         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56354         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56355         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56356         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56357         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56358         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56359         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56360         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56361         Likewise.
56362         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56363         (__posix_fallocate64_l64): Likewise.
56364         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56365         (posix_fallocate): Likewise.
56366         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56367         Likewise.
56368         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56369         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56370         (getifaddrs_internal): Likewise.
56371         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56372         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56373         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56374         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56375         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56376         (__posix_fallocate64_l64): Likewise.
56377         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56378         Likewise.
56379         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56380         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56381         (__get_clockfreq): Likewise.
56382         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56383         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56384         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56386         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56387         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56388         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56389         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56390         Likewise.
56391         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56392         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56393         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56394         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56395         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56396         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56397         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56398         Likewise.
56399         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56400         (posix_fallocate): Likewise.
56401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56402         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56403         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56404         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56405         (elf_machine_rela, elf_machine_rela_relative)
56406         (elf_machine_lazy_rel): Likewise.
56407         * time/asctime.c (asctime_internal): Likewise.
56408         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56409         * time/tzset.c (__tzset_parse_tz): Likewise.
56410         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56411         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56412         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56413         * wcsmbs/wcsmbsload.h: Likewise.
56415         [BZ #15894]
56416         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56418         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56419         (arena_get2): Remove THREAD_STATS conditionals.
56420         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56421         (__malloc_stats, int): Likewise.
56423 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56425         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56426         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56428         * manual/setjmp.texi: Fix typos/grammar errors.
56430         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56431         Only return early when n is <= 0.  Delete unused return statement.
56433         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56434         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56435         * debug/tst-longjmp_chk3.c: New file.
56437         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56438         (test_main): Replace code with set_fortify_handler call.
56439         * debug/test-strcpy_chk.c: Likewise.
56440         * debug/tst-chk1.c: Likewise.
56441         * debug/tst-longjmp_chk.c: Likewise.
56442         * test-skeleton.c: Include fcntl.h & paths.h
56443         (set_fortify_handler): Define.
56445         * debug/tst-longjmp_chk.c: Add header comment and include
56446         ../test-skeleton.c.
56447         (do_test): Mark static.
56448         (TEST_FUNCTION): Define.
56450         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56451         (IP_PMTUDISC_INTERFACE): Likewise.
56452         (IP_MULTICAST_IF): Likewise.
56453         (IP_MULTICAST_TTL): Likewise.
56454         (IP_MULTICAST_LOOP): Likewise.
56455         (IP_ADD_MEMBERSHIP): Likewise.
56456         (IP_DROP_MEMBERSHIP): Likewise.
56457         (IP_UNBLOCK_SOURCE): Likewise.
56458         (IP_BLOCK_SOURCE): Likewise.
56459         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56460         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56461         (IP_MSFILTER): Likewise.
56462         (MCAST_JOIN_GROUP): Likewise.
56463         (MCAST_BLOCK_SOURCE): Likewise.
56464         (MCAST_UNBLOCK_SOURCE): Likewise.
56465         (MCAST_LEAVE_GROUP): Likewise.
56466         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56467         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56468         (MCAST_MSFILTER): Likewise.
56469         (IP_MULTICAST_ALL): Likewise.
56470         (IP_UNICAST_IF): Likewise.
56472         * timezone/Makefile: Delete $(have-ksh) check.
56473         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56474         * timezone/tzselect.ksh: Add +x mode bits.
56476         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56477         (ANON_INODE_FS_MAGIC): Likewise.
56478         (BDEVFS_MAGIC): Likewise.
56479         (BINFMTFS_MAGIC): Likewise.
56480         (BTRFS_TEST_MAGIC): Likewise.
56481         (CRAMFS_MAGIC_WEND): Likewise.
56482         (DEBUGFS_MAGIC): Likewise.
56483         (ECRYPTFS_SUPER_MAGIC): Likewise.
56484         (EXT3_SUPER_MAGIC): Likewise.
56485         (EXT4_SUPER_MAGIC): Likewise.
56486         (FUTEXFS_SUPER_MAGIC): Likewise.
56487         (HOSTFS_SUPER_MAGIC): Likewise.
56488         (HUGETLBFS_MAGIC): Likewise.
56489         (MINIX3_SUPER_MAGIC): Likewise.
56490         (MTD_INODE_FS_MAGIC): Likewise.
56491         (NILFS_SUPER_MAGIC): Likewise.
56492         (OPENPROM_SUPER_MAGIC): Likewise.
56493         (PIPEFS_MAGIC): Likewise.
56494         (PSTOREFS_MAGIC): Likewise.
56495         (QNX6_SUPER_MAGIC): Likewise.
56496         (RAMFS_MAGIC): Likewise.
56497         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56498         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56499         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56500         (SECURITYFS_MAGIC): Likewise.
56501         (SELINUX_MAGIC): Likewise.
56502         (SMACK_MAGIC): Likewise.
56503         (SOCKFS_MAGIC): Likewise.
56504         (SQUASHFS_MAGIC): Likewise.
56505         (STACK_END_MAGIC): Likewise.
56506         (TMPFS_MAGIC): Likewise.
56507         (USBDEVICE_SUPER_MAGIC): Likewise.
56508         (V9FS_MAGIC): Likewise.
56509         (XENFS_SUPER_MAGIC): Likewise.
56510         (CRAMFS_MAGIC): Fix typo in comment.
56511         (EXT2_SUPER_MAGIC): Update comment.
56512         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56514 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56516         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56517         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56518         * sysdeps/unix/sysv/linux/arm: Move directory from
56519         ports/sysdeps/unix/sysv/linux/arm.
56520         * README: Update listing for arm-*-linux-gnueabi.
56522         * README: Remove mention of am33.
56524 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56526         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56527         than the comma operator, to avoid "rhs of comma has no effect"
56528         compiler warnings.
56529         (__sigfillset, __sigandset, __sigorset): Likewise.
56530         * include/signal.h (__sigemptyset): Likewise.
56531         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56533 2014-02-07  Allan McRae  <allan@archlinux.org>
56535         * version.h (RELEASE): Set to "development".
56536         (VERSION): Set to "2.19.90"
56537         * NEWS: Add 2.20 section.
56539 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56541         [BZ #16529]
56542         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56544 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56546         * manual/contrib.texi: Update entry for Carlos O'Donell,
56547         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56549 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56551         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56553         * sysdeps/unix/sysv/linux/kernel-features.h
56554         [__LINUX_KERNEL_VERSION >= 0x020621]
56555         (__ASSUME_PROC_PID_TASK_COMM): Define.
56557 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56559         [BZ #16398]
56560         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56561         conversion when destination buffer does not have enough space.
56562         * libio/tst-ftell-partial-wide.c: New test case.
56563         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56565         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56566         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56567         Leonard and Allan McRae.
56569 2014-02-04  David S. Miller  <davem@davemloft.net>
56571         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56572         32-bit.
56574 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56577         New file
56578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56579         New file
56580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56581         New file.
56582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56583         New file.
56584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56585         New file.
56586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56587         New file.
56588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56589         New file.
56590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56591         New file.
56592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56593         New file.
56594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56595         New file.
56596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56597         New file.
56598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56599         New file.
56600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56601         New file.
56603 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56605         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56606         * shlib-versions: Likewise.
56608 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56609             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56611         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56612         (abilist-pattern): New variable, set to %-le.abilist.
56614         * Makerules (abilist-pattern): New variable.
56615         (vpath): Use $(abilist-pattern) in place of %.abilist.
56616         (check-abi-% pattern rule): Likewise.
56617         (check-abi, update-abi): Likewise.
56619 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56623 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56625         * manual/startup.texi: Add next, previous, and top entries for
56626         the `Program Arguments' and `Environment Variables' nodes.
56628 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56630         * manual/macros.texi: Add comments before MTASC-safety macros.
56632         * manual/users.texi: Document MTASC-safety properties.
56634         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56635         (pthread_getspecific, pthread_setspecific): Format with
56636         @deftypefun, and add @safety note.
56637         * manual/signal.texi: Move comments that analyze the above
56638         functions to their home place.
56640 2014-02-03  Allan McRae  <allan@archlinux.org>
56642         * po/sl.po: Update Slovenian translation from translation project.
56644 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56646         * manual/time.texi (timegm): Add missing blank after @c.
56647         Reported by Joseph Myers <joseph@codesourcery.com>.
56649 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56651         * manual/check-safety.sh: New.
56652         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56654         * manual/terminal.texi: Document MTASC-safety properties.
56656         * manual/filesys.texi: Document MTASC-safety properties.
56658         * manual/errno.texi: Document MTASC-safety properties.
56660         * manual/intro.texi: Document safety identifiers and
56661         conditionals.
56663         * manual/string.texi (wcstok): Fix prototype.
56664         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56666         * manual/time.texi: Document MTASC-safety properties.
56668         * manual/string.texi: Document MTASC-safety properties.
56670         * manual/threads.texi: Document MTASC-safety properties.
56672         * manual/stdio.texi: Document MTASC-safety properties.
56674         * manual/syslog.texi: Document MTASC-safety properties.
56676         * manual/sysinfo.texi: Document MTASC-safety properties.
56678         * manual/startup.texi: Document MTASC-safety properties.
56680         * manual/socket.texi: Document MTASC-safety properties.
56682         * manual/signal.texi: Document MTASC-safety properties.
56684 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56686         * manual/setjmp.texi: Document MTASC-safety properties.
56688         * manual/search.texi: Document MTASC-safety properties.
56690         * manual/resource.texi: Document MTASC-safety properties.
56692         * manual/process.texi: Document MTASC-safety properties.
56694         * manual/platform.texi: Document MTASC-safety properties.
56696         * manual/pipe.texi: Document MTASC-safety properties.
56698         * manual/pattern.texi: Document MTASC-safety properties.
56700         * manual/message.texi: Document MTASC-safety properties.
56702         [BZ #12751]
56703         * manual/memory.texi: Document MTASC-safety properties.
56705         * manual/math.texi: Document MTASC-safety properties.
56707         * manual/locale.texi: Document MTASC-safety properties.
56709         * manual/llio.texi: Document MTASC-safety properties.
56711         * manual/libdl.texi: New.
56713         * manual/lang.texi: Document MTASC-safety properties.
56715         * manual/job.texi: Document MTASC-safety properties.
56717         * manual/getopt.texi: Document MTASC-safety properties.
56719         * manual/ctype.texi: Document MTASC-safety properties.
56721 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56723         [BZ #16046]
56724         * csu/libc-tls.c (static_map): Remove variable.
56725         (__libc_setup_tls): Use main executable's link map for TLS data.
56726         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56727         casing for LM_ID_BASE and GL(dl_nns).
56728         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56729         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56730         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56731         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56732         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56733         member.
56734         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56735         l_phnum members.
56737 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56739         * manual/debug.texi: Document MTASC-safety properties.
56741 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56743         [BZ #16510]
56744         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56745         of __x86_64__ when disabling x87 inline functions.
56747 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56749         * manual/charset.texi: Document MTASC-safety properties.
56751         * manual/crypt.texi: Document MTASC-safety properties.
56753         * manual/conf.texi: Document MTASC-safety properties.
56755         * manual/arith.texi: Document MTASC-safety properties.
56757         * manual/argp.texi: Document MTASC-safety properties.
56759         * manual/macros.texi: Introduce macros to document multi
56760         thread, asynchronous signal and asynchronous cancellation
56761         safety properties.
56762         * manual/intro.texi: Introduce the properties themselves.
56764 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56766         * sysdeps/sh/sh4/Makefile: New file.
56768 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56770         * math/gen-libm-test.pl ($srcdir): New variable.
56771         ($auto_input): Use it.
56773 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56775         [BZ #16506]
56776         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56777         access beyond array bounds when parsing netgroups file.
56779         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56780         the old buffer before realloc.
56782 2014-01-27  Allan McRae  <allan@archlinux.org>
56784         * po/fr.po: Update French translation from translation project.
56786 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56788         * sysdeps/sh/libm-test-ulps: Regenerate.
56790 2014-01-24  David S. Miller  <davem@davemloft.net>
56792         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56794 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56796         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56797         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56799 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56801         [BZ #16474]
56802         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56803         string pointers after reallocation.
56805 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56807         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56808         __SH4A__ instead of __SH_FPU_ANY__.
56810 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56812         * sysdeps/sh/fpu_control.h: New file.
56813         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56814         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56815         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56816         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56817         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56818         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56819         * sysdeps/sh/sys/ucontext.h: Remove.
56820         * sysdeps/sh/sys: Remove directory.
56822 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56824         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56825         s390/sys/ucontext.h.
56826         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56827         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56829 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56831         [BZ #15605]
56832         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56834 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56836         [BZ #16431]
56837         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56838         Adjust the vDSO correctly for internal calls.
56839         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56841 2014-01-20  Allan McRae  <allan@archlinux.org>
56843         * po/ca.po: Update Catalan translation from translation project.
56845 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56847         * sysdeps/s390/sotruss-lib.c: New file.
56849 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56851         [BZ #16430]
56852         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56853         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56854         local calls issues by not having a PLT stub required for IFUNC calls.
56855         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56857 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56859         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56860         * math/test-fpucw-static.c: Likewise.
56862 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56864         [BZ #16453]
56865         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56867 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56869         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56870         implementation for powerpc.
56872 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56874         [BZ #14782]
56875         * sysdeps/posix/system.c (__libc_system): Do not enable
56876         asynchronous cancellation.
56878 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56880         [BZ #16427]
56881         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56882         handling only for numbers special also in the IEEE case.
56884 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56886         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56888 2014-01-11  Allan McRae  <allan@archlinux.org>
56890         * po/bg.po: Update Bulgarian translation from translation project.
56892         * po/de.po: Update German translation from translation project.
56894 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56896         * sysdeps/generic/gcc-compat.h: New file.
56898 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56900         * benchtests/asin-inputs: Correct slow inputs.
56901         * benchtests/acos-inputs: Likewise.
56903 2014-01-10  Allan McRae  <allan@archlinux.org>
56905         * po:sv.po: Update Swedish translation from translation project.
56907         * po/vi.po: Update Vietnamese translation from translation project.
56909         * po/eo.po: Update Esperanto translation from translation project.
56911         * po/cs.po: Update Czech translation from translation project.
56913         * po/nl.po: Update Dutch translation from translation project.
56915         * po/pl.po: Update Polish translation from translation project.
56917         * po/ru.po: Update Russian translation from translation project.
56919         * po/uk.po: Update Ukrainian translation from translation project.
56921 2014-01-08  Brooks Moses  <bmoses@google.com>
56923         * elf/dl-load.c: Fix comment typo.
56925 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56927         * po/header.pot: Rename to...
56928         * po/pot.header: ... this.
56929         * po/Makefile: Use pot.header.
56931 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56932             Maxim Kuvyrkov  <maxim@kugelworks.com>
56934         [BZ #16394]
56935         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56936         SRC and DEST against LEN.
56938 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56940         [BZ #16414]
56941         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56942         implementation.
56943         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56945 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56949 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56951         [BZ #16408]
56952         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56953         for large positive arguments.
56955 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56957         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56959         * math/auto-libm-test-in: Mark various tests with
56960         xfail-rounding:ldbl-128ibm.
56961         * math/auto-libm-test-out: Regenerated.
56963         [BZ #16407]
56964         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56965         Increase overflow threshold.
56967 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56969         [BZ #14286]
56970         * stdio-common/vfprintf.c: Check for integer overflow.
56972 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56974         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56975         the first argument and return value of __tls_get_addr_internal.
56977 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56979         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56980         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56982 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56984         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56985         * sysdeps/s390/rtld-global-offsets.sym: New file.
56986         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56987         GLIBC_2.19 symbol.
56988         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56989         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56991         ... this.
56992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56993         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56994         ... this.
56995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56996         Regenerate.
56997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56998         Regenerate.
56999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
57000         halfs of GPRs for high_gprs contexts.
57001         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
57002         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
57003         field.
57004         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57005         uc_flags field.
57006         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
57007         64 bit versions:
57008         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
57009         for high GPRs (uc_high_gprs) and for future extensions
57010         (__reserved).
57011         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
57012         for future extensions (__reserved).
57013         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
57014         64 bit versions:
57015         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
57016         SC_HIGHGPRS offset definition.
57017         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
57018         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
57020         * Versions.def: Add GLIBC_2.19 for libpthread.
57021         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
57022         siglongjmp for libpthread with GLIBC_2.19 symver.
57023         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
57024         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
57025         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57026         * sysdeps/s390/__longjmp.c: New file.
57027         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
57028         * sysdeps/s390/longjmp.c: New file.
57029         * sysdeps/s390/setjmp.S: New file.
57030         * sysdeps/s390/sigjmp.S: New file.
57031         * sysdeps/s390/v1-longjmp.c: New file.
57032         * sysdeps/s390/v1-setjmp.h: New file.
57033         * sysdeps/s390/v1-sigjmp.c: New file.
57034         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
57035         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
57036         GLIBC_2.19 version.
57037         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
57038         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
57039         versioned symbols for ____longjmp_chk.
57040         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
57041         Likewise.
57042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57043         Regenerate.
57044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57045         Regenerate.
57046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57047         Regenerate.
57048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57049         Regenerate.
57050         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
57051         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
57052         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
57053         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
57054         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
57055         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
57056         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
57057         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
57058         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
57059         * sysdeps/s390/rtld-__longjmp.c: New file.
57060         * sysdeps/s390/rtld-setjmp.S: New file.
57062 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
57064         [BZ #16400]
57065         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57066         Return -__logl (x) for small positive arguments without evaluating
57067         a polynomial.
57069 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
57071         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
57072         Rename to ...
57073         (__ptrace_peeksiginfo_args): ... this.
57074         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57075         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57076         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57078 2014-01-06  Allan McRae  <allan@archlinux.org>
57080         * inet/netinet/in.h: Fix typo in comment.
57082 2014-01-05  Andreas Jaeger  <aj@suse.de>
57084         * sysdeps/i386/fpu/libm-test-ulps: Update.
57086 2014-01-05  Allan McRae  <allan@archlinux.org>
57088         * po/libc.pot: Regenerated.
57090         * malloc/memusagestat.c: Fix gettext call formatting.
57092 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
57094         * nscd/nscd.c: Improve usage() output.
57096 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
57098         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
57099         * sysdeps/unix/sysv/linux/configure: Regenerated.
57100         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
57101         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57103 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57105         [BZ #16390]
57106         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57107         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57109 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57111         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57112         extra tokens at end of #undef directive.
57113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57114         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57115         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57117 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57119         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57121         * math/auto-libm-test-in: Mark various tests with
57122         xfail-rounding:ldbl-128ibm.
57123         * math/auto-libm-test-out: Regenerated.
57125 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
57127         [BZ #16386]
57128         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57129         numbers with subnormal high part when calculating exponent.
57131         [BZ #16385]
57132         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57133         fabs.
57135         [BZ #16384]
57136         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57137         M_LN2l.
57138         (__ieee754_acoshl): Use __log1pl not __log1p.
57140 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
57142         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57143         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57144         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57145         (grow_heap, heap_trim, _int_new_arena, get_free_list)
57146         (reused_arena, arena_get2): Convert to GNU style.
57147         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57148         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57149         (memalign_check, __malloc_set_state): Likewise.
57150         * malloc/mallocbug.c (main): Likewise.
57151         * malloc/malloc.c (__malloc_assert, malloc_init_state)
57152         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57153         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57154         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57155         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57156         (__posix_memalign, malloc_info): Likewise.
57157         * malloc/malloc.h: Likewise.
57158         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57159         (mallochook, memalignhook, reallochook, mabort): Likewise.
57160         * malloc/mcheck.h: Likewise.
57161         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57162         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57163         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57164         * malloc/morecore.c (__default_morecore): Likewise.
57165         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57166         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57167         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57168         (print_and_abort): Likewise.
57169         * malloc/obstack.h: Likewise.
57170         * malloc/set-freeres.c (__libc_freeres): Likewise.
57171         * malloc/tst-mallocstate.c (main): Likewise.
57172         * malloc/tst-mtrace.c (main): Likewise.
57173         * malloc/tst-realloc.c (do_test): Likewise.
57175 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57177         [BZ #16366]
57178         * nscd/netgroupcache.c (do_notfound): New function.
57179         (addgetnetgrentX): Use it.
57181         [BZ # 16365]
57182         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57183         NSS_STATUS_NOTFOUND.
57185 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
57187         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57190 2014-01-01  Allan McRae  <allan@archlinux.org>
57192         * scripts/update-copyrights: Update configure input file suffix.
57194         * NEWS: Update copyright year.
57195         * catgets/gencat.c: Likewise.
57196         * csu/version.c: Likewise.
57197         * debug/catchsegv.sh: Likewise.
57198         * debug/pcprofiledump.c: Likewise.
57199         * debug/xtrace.sh: Likewise.
57200         * elf/ldconfig.c: Likewise.
57201         * elf/ldd.bash.in: Likewise.
57202         * elf/pldd.c: Likewise.
57203         * elf/sotruss.ksh: Likewise.
57204         * elf/sprof.c: Likewise.
57205         * iconv/iconv_prog.c: Likewise.
57206         * iconv/iconvconfig.c: Likewise.
57207         * locale/programs/locale.c: Likewise.
57208         * locale/programs/localedef.c: Likewise.
57209         * login/programs/pt_chown.c: Likewise.
57210         * malloc/memusage.sh: Likewise.
57211         * malloc/memusagestat.c: Likewise.
57212         * malloc/mtrace.pl: Likewise.
57213         * manual/libc.texinfo: Likewise.
57214         * nscd/nscd.c: Likewise.
57215         * nss/getent.c: Likewise.
57216         * nss/makedb.c: Likewise.
57217         * posix/getconf.c: Likewise.
57218         * scripts/test-installation.pl: Likewise.
57220         * All files with FSF copyright notices: Update copyright dates
57221         using scripts/update-copyrights.
57222         * intl/plural.c: Regenerated.
57223         * locale/programs/charmap-kw.h: Likewise.
57224         * locale/programs/locfile-kw.h: Likewise.
57226 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
57228         * sysdeps/unix/sysv/linux/configure: Regenerated.
57229         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57230         the linux/fanotify.h header.
57231         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57232         HAVE_LINUX_FANOTIFY_H is defined.
57234 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57236         * benchtests/cos-inputs: New inputs.
57237         * benchtests/sin-inputs: Likewise.
57239         * benchtests/atan-inputs: New inputs. Fix name of multiple
57240         precision fallback inputs.
57242         * benchtests/atanh-inputs: New inputs.
57243         * benchtests/tanh-inputs: Likewise.
57245         * benchtests/acosh-inputs: New inputs.
57246         * benchtests/asinh-inputs: Likewise.
57248         * benchtests/cosh-inputs: New inputs.
57249         * benchtests/sinh-inputs: Likewise.
57251         * benchtests/acos-inputs: Add more inputs.
57252         * benchtests/asin-inputs: Likewise.
57254 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57256         [BZ #16375]
57257         * manual/arith.texi: Fix spelling.
57258         * manual/charset.texi: Likewise.
57259         * manual/errno.texi: Likewise.
57260         * manual/filesys.texi: Likewise.
57261         * manual/lang.texi: Likewise.
57262         * manual/llio.texi: Likewise.
57263         * manual/locale.texi: Likewise.
57264         * manual/message.texi: Likewise.
57265         * manual/resource.texi: Likewise.
57266         * manual/search.texi: Likewise.
57267         * manual/setjmp.texi: Likewise.
57268         * manual/stdio.texi: Likewise.
57269         * manual/string.texi: Likewise.
57270         * manual/sysinfo.texi: Likewise.
57271         * manual/time.texi: Likewise.
57273 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57275         * po/sl.po: New file.
57277 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57279         * .gitignore: Add core/.gdbinit/.gdb_history.
57281 2013-12-27  Allan McRae  <allan@archlinux.org>
57283         [BZ #16369]
57284         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57285         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57287 2013-12-24  Brooks Moses  <bmoses@google.com>
57289         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57290         all compilers that claim C++98 compliance, not just GCC.
57291         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57292         Likewise.
57294 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57296         * NEWS: Restore accidentally deleted bug-fix entries.
57298 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57299             Ondřej Bílka  <neleai@seznam.cz>
57301         [BZ #15073]
57302         * malloc/malloc.c (_int_free): Perform sanity check only if we
57303         have_lock.
57305 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57307         [BZ #12986]
57308         * manual/stdio.texi (String Input Conversions): Clarify that character
57309         classes are not supported.
57311 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57315 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57317         [BZ #16337]
57318         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57319         Calculate results for small negative arguments directly rather
57320         than using reflection formula with special underflow handling.
57322         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57323         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57324         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57325         (fchflags): Likewise.
57326         (revoke): Likewise.
57327         (setlogin): Likewise.
57328         (sigaltstack): Likewise.
57329         (wait4): Likewise.
57330         (sigblock): Remove.
57331         (sigsetmask): Likewise.
57332         (wait3): Likewise.
57333         (waitpid): Likewise.
57334         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57335         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57336         file.
57337         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57338         * sysdeps/unix/bsd/Makefile: ... here.
57339         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57340         * sysdeps/unix/bsd/Versions: ... here.
57341         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57342         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57343         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57344         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57345         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57346         * sysdeps/unix/bsd/sigblock.c: ... here.
57347         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57348         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57349         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57350         * sysdeps/unix/bsd/sigvec.c: ... here.
57351         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57352         * sysdeps/unix/bsd/tcdrain.c: ... here.
57353         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57354         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57355         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57356         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57357         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57358         * sysdeps/unix/bsd/wait.c: ... here.
57359         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57360         * sysdeps/unix/bsd/wait3.c: ... here.
57361         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57362         * sysdeps/unix/bsd/waitpid.c: ... here.
57364 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57366         [BZ #16356]
57367         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57368         round-to-nearest for [!USE_AS_EXPM1L].
57369         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57370         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57371         more tests of exp and exp10.  Expect some exp10 tests to miss
57372         exceptions or fail in directed rounding modes.
57373         * math/auto-libm-test-out: Regenerated.
57374         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57375         (exp10_test_tonearest): New function.
57376         (exp10_towardzero_test_data): New array.
57377         (exp10_test_towardzero): New function.
57378         (exp10_downward_test_data): New array.
57379         (exp10_test_downward): New function.
57380         (exp10_upward_test_data): New array.
57381         (exp10_test_upward): New function.
57382         (main): Call the new functions.
57383         * sysdeps/i386/fpu/libm-test-ulps: Update.
57384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57386 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57388         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57389         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57390         * math/auto-libm-test-out: Regenerated.
57391         * math/libm-test.inc (acosh_test_data): Add more tests.
57392         (atanh_test_data): Likewise.
57393         (ceil_test_data): Likewise.
57394         (copysign_test_data): Likewise.
57395         * sysdeps/i386/fpu/libm-test-ulps: Update.
57396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57398         * timezone/checktab.awk: Update from tzcode 2013i.
57399         * timezone/private.h: Likewise.
57400         * timezone/scheck.c: Likewise.
57401         * timezone/tzfile.h: Likewise.
57402         * timezone/tzselect.ksh: Likewise.
57403         * timezone/zdump.c: Likewise.
57404         * timezone/zic.c: Likewise.
57406         * math/auto-libm-test-in: Add tests of cpow.
57407         * math/auto-libm-test-out: Regenerated.
57408         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57409         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57410         mpc_cc_c.
57411         (func_calc_desc): Add mpc_cc_c union field.
57412         (test_functions): Add cpow.
57413         (special_fill_2pi): New function.
57414         (special_real_inputs): Add 2pi.
57415         (calc_generic_results): Handle mpc_cc_c.
57416         * sysdeps/i386/fpu/libm-test-ulps: Update.
57417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57419         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57420         csqrt, ctan and ctanh.
57421         * math/auto-libm-test-out: Regenerated.
57422         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57423         (TEST_COND_x86): Likewise.
57424         (ccos_test_data): Use AUTO_TESTS_c_c.
57425         (ccosh_test_data): Likewise.
57426         (cexp_test_data): Likewise.
57427         (clog_test_data): Likewise.
57428         (csqrt_test_data): Likewise.
57429         (ctan_test_data): Likewise.
57430         (ctan_tonearest_test_data): Likewise.
57431         (ctan_towardzero_test_data): Likewise.
57432         (ctan_downward_test_data): Likewise.
57433         (ctan_upward_test_data): Likewise.
57434         (ctanh_test_data): Likewise.
57435         (ctanh_tonearest_test_data): Likewise.
57436         (ctanh_towardzero_test_data): Likewise.
57437         (ctanh_downward_test_data): Likewise.
57438         (ctanh_upward_test_data): Likewise.
57439         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57440         mpc_c_c.
57441         (func_calc_desc): Add mpc_c_c union field.
57442         (FUNC_mpc_c_c): New macro.
57443         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57444         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57445         ctanh.
57446         (special_fill_min_subnorm_p120): New function.
57447         (special_real_inputs): Add min_subnorm_p120.
57448         (calc_generic_results): Handle mpc_c_c.
57449         * sysdeps/i386/fpu/libm-test-ulps: Update.
57450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57452 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57454         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57455         (do_sin_slow): New functions.
57456         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57457         (cslow2, csloww1, csloww2): Use the new functions.
57459         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57460         Use M to change sign of result instead of X.  Assume X is
57461         positive.
57462         (csloww1): Likewise.
57463         (__sin): Adjust.
57464         (__cos): Adjust.
57466         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57467         arguments A and DA.
57468         (__sin): Adjust.
57469         (__cos): Likewise.
57471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57472         (__cos): Likewise.
57473         (sloww1): Don't adjust sign of DX.
57474         (csloww1): Likewise.
57475         (sloww2): Use X directly and don't adjust sign of DX.
57476         (csloww2): Likewise.
57478 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57480         * math/auto-libm-test-in: Add tests of cabs and carg.
57481         * math/auto-libm-test-out: Regenerated.
57482         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57483         (carg_test_data): Likewise.
57484         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57485         mpc_c_f.
57486         (func_calc_desc): Add mpc_c_f union field.
57487         (test_functions): Add cabs and carg.
57488         (calc_generic_results): Handle mpc_c_f.
57490         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57491         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57492         as a macro and a compat symbol.
57493         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57494         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57495         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57496         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57497         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57498         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57499         not use .hidden.
57500         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57501         Likewise.
57502         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57503         Likewise.
57504         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57505         Likewise.
57506         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57507         Likewise.
57508         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57509         Likewise.
57510         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57511         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57512         from GLIBC_2.3.2.
57514 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57518 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57520         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57521         trailing whitespace removed.
57522         * scripts/config.guess: Update to version 2013-11-29.
57523         * scripts/config.sub: Update to version 2013-10-01.
57525         * math/auto-libm-test-in: Add tests of sincos.
57526         * math/auto-libm-test-out: Regenerated.
57527         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57528         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57529         mpfr_f_11.
57530         (func_calc_desc): Add mpfr_f_11 union field.
57531         (test_functions): Add sincos.
57532         (calc_generic_results): Handle mpfr_f_11.
57533         * sysdeps/i386/fpu/libm-test-ulps: Update.
57534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57536 2013-12-19  Andreas Schwab  <schwab@suse.de>
57538         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57539         CALL_MCOUNT.
57540         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57541         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57542         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57544 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57546         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57547         * sysdeps/i386/fpu/libm-test-ulps: Update.
57548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57550         [BZ #16293]
57551         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57552         round-to-nearest mode when using frndint.
57553         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57554         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57555         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57556         Likewise.
57557         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57558         sinh test to fail.
57559         * math/auto-libm-test-out: Regenerated.
57560         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57561         (TEST_COND_x86): Likewise.
57562         (expm1_tonearest_test_data): New array.
57563         (expm1_test_tonearest): New function.
57564         (expm1_towardzero_test_data): New array.
57565         (expm1_test_towardzero): New function.
57566         (expm1_downward_test_data): New array.
57567         (expm1_test_downward): New function.
57568         (expm1_upward_test_data): New array.
57569         (expm1_test_upward): New function.
57570         (main): Run the new test functions.
57571         * sysdeps/i386/fpu/libm-test-ulps: Update.
57572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57574         * include/features.h: Update comment documenting feature test
57575         macros.  Mention _DEFAULT_SOURCE in comment.
57576         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57577         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57578         _BSD_SOURCE and _SVID_SOURCE.
57579         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57580         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57581         !_SVID_SOURCE]: Likewise.
57582         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57583         (__USE_POSIX_IMPLICITLY): Define.
57584         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57585         (_POSIX_SOURCE): Undefine and redefine.
57586         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57587         (_POSIX_C_SOURCE): Likewise.
57588         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57589         (Feature Test Macros): Update documentation of default features.
57591 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57593         * benchtests/Makefile: Add bench-strtok.
57594         * benchtests/bench-strtok.c: New file: strtok benchtest.
57596 2013-12-19  Allan McRae  <allan@archlinux.org>
57598         * manual/install.texi: Suppress menu for plain text output.
57599         * INSTALL: Regenerated.
57601 2013-12-18  Brooks Moses  <bmoses@google.com>
57603         [BZ #15846]
57604         * misc/getauxval.c: Include errno.h.
57605         (__getauxval): Set errno to ENOENT if the requested type is not
57606         found.
57607         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57608         don't declare with __attribute_const__.
57609         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57610         * manual/startup.texi: Document that getauxval sets errno.
57612 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57614         * math/auto-libm-test-in: Add tests of jn and yn.
57615         * math/auto-libm-test-out: Regenerated.
57616         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57617         (yn_test_data): Likewise.
57618         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57619         mpfr_if_f.
57620         (func_calc_desc): Add mpfr_if_f union field.
57621         (FUNC_mpfr_if_f): New macro.
57622         (test_functions): Add jn and yn.
57623         (calc_generic_results): Assert type of second input for
57624         mpfr_ff_f.  Handle mpfr_if_f.
57625         (output_for_one_input_case): Disable all checking for arguments
57626         fitting floating-point types in case of an integer argument.
57627         * sysdeps/i386/fpu/libm-test-ulps: Update.
57628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57631         Don't expect fegetround reference in libm.so.
57633 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57635         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57636         $(config-cflags-nofma).
57638 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57640         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57641         * math/auto-libm-test-out: Regenerated.
57643         [BZ #16338]
57644         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57645         to determine exponent and adjust argument to have exponent of -1.
57646         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57647         log2.
57648         * math/auto-libm-test-out: Regenerated.
57649         * sysdeps/i386/fpu/libm-test-ulps: Update.
57650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57652 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57654         * manual/probes.texi: Remove cases when per-thread arenas are
57655         disabled.
57657 2013-12-18  Andreas Schwab  <schwab@suse.de>
57659         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57660         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57661         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57662         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57663         * sysdeps/i386/i686/multiarch/Makefile: Update.
57664         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57666 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57668         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57669         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57671 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57673         [BZ #15968]
57674         Support TZ transition times < 00:00:00.
57675         This is needed for version-3 tz-format files; it supports time
57676         stamps past 2037 for America/Godthab (the only entry in the tz
57677         database for which this change is relevant).
57678         * manual/time.texi (TZ Variable): Document transition times
57679         from -167:59:59 through -00:00:01.
57680         * time/tzset.c (tz_rule): Time of day is now signed.
57681         (__tzset_parse_tz): Parse negative time of day.
57683         Document TZ transition times >= 25:00:00.
57684         * manual/time.texi (TZ Variable): Document transition times from
57685         25:00:00 through 167:59:59.  These are already supported, and this
57686         support will help with version-3 tz-format files.
57688         * manual/time.texi (TZ Variable): Modernize North America example
57689         to reflect current (i.e., 2007-and-later) daylight saving rules.
57691         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57693 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57695         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57696         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57698         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57699         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57700         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57701         * sysdeps/unix/bsd/clock.c: Likewise.
57702         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57703         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57704         * sysdeps/unix/bsd/init-posix.c: Likewise.
57705         * sysdeps/unix/bsd/poll.c: Likewise.
57706         * sysdeps/unix/bsd/ptsname.c: Likewise.
57707         * sysdeps/unix/bsd/seekdir.c: Likewise.
57708         * sysdeps/unix/bsd/setegid.c: Likewise.
57709         * sysdeps/unix/bsd/seteuid.c: Likewise.
57710         * sysdeps/unix/bsd/setgid.c: Likewise.
57711         * sysdeps/unix/bsd/setrgid.c: Likewise.
57712         * sysdeps/unix/bsd/setruid.c: Likewise.
57713         * sysdeps/unix/bsd/setsid.c: Likewise.
57714         * sysdeps/unix/bsd/setuid.c: Likewise.
57715         * sysdeps/unix/bsd/sigaction.c: Likewise.
57716         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57717         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57718         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57719         * sysdeps/unix/bsd/telldir.c: Likewise.
57720         * sysdeps/unix/bsd/times.c: Likewise.
57721         * sysdeps/unix/bsd/usleep.c: Likewise.
57723         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57724         ($(objpfx)libbsd-compat.a): Remove rule.
57726         * include/features.h (__FAVOR_BSD): Do not define.
57727         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57728         features conflicting with POSIX.
57729         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57730         (_BSD_SOURCE): Remove description of not being a subset of other
57731         feature test macros.
57732         * manual/job.texi (getpgrp): Do not document BSD version.
57733         (getpgid): Do not document by reference to BSD getpgrp.
57734         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57735         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57736         * signal/signal.h [__FAVOR_BSD]: Likewise.
57737         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57738         instead of making contents conditional on [__FAVOR_BSD].
57739         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57741 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57745 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57747         [BZ #16314]
57748         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57749         values below 2**-450, not 2**-500.
57750         * math/auto-libm-test-in: Don't allow spurious underflow from
57751         hypot.
57752         * math/auto-libm-test-out: Regenerated.
57754         [BZ #16316]
57755         [BZ #16330]
57756         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57757         values of ha and hb and sort them after adjusting subnormal
57758         arguments.
57759         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57760         Likewise.
57761         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57762         values of ea and eb and sort them after adjusting subnormal
57763         arguments.
57764         * math/auto-libm-test-in: Do not expect some hypot tests of
57765         subnormals to fail.  Add more hypot tests.
57766         * math/auto-libm-test-out: Regenerated.
57768 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57770         [BZ #13304]
57771         * sysdeps/sh/s_fma.c: New file.
57772         * sysdeps/sh/s_fmaf.c: New file.
57773         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57774         version.
57775         * sysdeps/sh/Implies: Add sh/soft-fp.
57777 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57779         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57780         level of indirection to members `objname', `errstring', `malloced'.
57781         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57782         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57783         it as the __longjmp argument (just pass 1 instead).
57784         (_dl_catch_error): Initialize C with argument pointers and address of
57785         volatile local ERRCODE rather than copying values out of C at return.
57787 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57789         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57790         * math/auto-libm-test-out: Regenerated.
57791         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57792         (hypot_test_data): Likewise.
57793         (pow_test_data): Likewise.
57794         (pow_tonearest_test_data): Likewise.
57795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57796         mpfr_ff_f.
57797         (func_calc_desc): Add mpfr_ff_f union field.
57798         (FUNC_mpfr_ff_f): New macro.
57799         (test_functions): Add atan2, hypot and pow.
57800         (special_fill_min): New function.
57801         (special_fill_minus_min): Likewise.
57802         (special_fill_min_subnorm): Likewise.
57803         (special_fill_minus_min_subnorm): Likewise.
57804         (special_real_inputs): Add min, -min, min_subnorm and
57805         -min_subnorm.
57806         (calc_generic_results): Handle mpfr_ff_f.
57807         * sysdeps/i386/fpu/libm-test-ulps: Update.
57808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57810 2013-12-16  Will Newton  <will.newton@linaro.org>
57812         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57813         (Aligned Memory Blocks): Add documentation for aligned_alloc
57814         and suggest it as an alternative to posix_memalign.
57815         (Hooks for Malloc): Document __memalign_hook is also called
57816         for aligned_alloc.  (Summary of Malloc): Add summary for
57817         aligned alloc.  Document __memalign_hook is also called
57818         for aligned_alloc.
57820 2013-12-16  Will Newton  <will.newton@linaro.org>
57822         * manual/memory.texi (Malloc Examples): Clarify default
57823         alignment documentation.  Suggest posix_memalign rather
57824         than memalign or valloc.
57825         (Aligned Memory Blocks): Remove suggestion to use memalign
57826         or valloc.  Remove obsolete comment about BSD.
57827         Document memalign errno values and mark the function obsolete.
57828         Document posix_memalign returned error codes.  Mark valloc
57829         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57830         called for posix_memalign and valloc.
57831         (Summary of Malloc): Add posix_memalign to function summary.
57832         __memalign_hook is also called for posix_memalign and valloc.
57834 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57836         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57837         TAYLOR_SIN.
57838         (__sin): Adjust.
57839         (__cos): Likewise.
57840         (sloww): Use mynumber union.  Expand ternary operator into
57841         if-else statements.
57842         (cslow): use mynumber union.
57844 2013-12-16  Allan McRae  <allan@archlinux.org>
57846         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57847         * configure: Regenerated.
57849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57851         [BZ #14120]
57852         * configure.ac: Added --enable-maintainer-mode. Check for
57853         autoconf when enabled.
57854         * configure: Regenerated.
57856         * nscd/nscd.service: New file.
57857         * nscd/nscd.tmpfiles: New file.
57859 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57861         [BZ #12100]
57862         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57863         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57864         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57865         (strstr): Add __strstr_sse2_unaligned ifunc.
57866         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57867         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57868         (strcasestr): Remove __strcasestr_sse42 ifunc.
57869         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57873 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57875         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57876         * sysdeps/sh/bits/fenv.h: ... here.
57877         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57879 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57881         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57884         hypotf multiarch implementations.
57885         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57887         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57888         multiarch hypot for PPC64.
57889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57891         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57892         multiarch hypotf for PPC64.
57894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57895         modff multiarch implementations.
57896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57899         multiarch modf for PPC64.
57900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57903         multiarch modff for PPC64.
57905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57906         and logl multiarch implementations.
57907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57910         multiarch logb for PPC64.
57911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57914         multiarch logb for PPC64.
57915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57918         multiarch logb for PPC64.
57920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57921         isinff multiarch implementation.
57922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57923         file.
57924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57926         multiarch isinf for PPC64.
57927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57928         file.
57929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57930         multiarch isinff for PPC64.
57932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57933         finitef multiarch implementation.
57934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57935         file.
57936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57938         multiarch finite for PPC64.
57939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57940         file.
57941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57942         multiarch finitef for PPC64.
57944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57945         lrint multiarch implementation.
57946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57947         file.
57948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57950         multiarch llrint for PPC64.
57951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57952         multiarch lrint for PPC64.
57954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57955         copysignf multiarch implementation.
57956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57957         file.
57958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57959         file.
57960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57961         multiarch copysign for PPC64.
57962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57963         multiarch copysignf for PPC64.
57965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57966         multiarch implementation.
57967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57968         file.
57969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57970         file.
57971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57972         file.
57973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57974         file.
57975         multiarch llround for PPC64.
57976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57977         multiarch trunc for PPC64.
57978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57979         multiarch truncf for PPC64.
57981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57982         multiarch implementation.
57983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57984         file.
57985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57986         file.
57987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57988         file.
57989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57990         file.
57991         multiarch llround for PPC64.
57992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57993         multiarch round for PPC64.
57994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57995         multiarch roundf for PPC64.
57997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57998         multiarch implementation.
57999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
58000         file.
58001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
58002         file.
58003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
58004         file.
58005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
58006         file.
58007         multiarch llround for PPC64.
58008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
58009         multiarch floor for PPC64.
58010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
58011         multiarch floorf for PPC64.
58013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
58014         multiarch implementation.
58015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
58016         file.
58017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
58018         file.
58019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
58020         file.
58021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
58022         file.
58023         multiarch llround for PPC64.
58024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
58025         multiarch ceil for PPC64.
58026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
58027         multiarch ceilf for PPC64.
58029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58030         multiarch implementation.
58031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
58032         file.
58033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
58034         file.
58035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
58036         file.
58037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
58038         multiarch llround for PPC64.
58039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
58040         multiarch lround for PPC64.
58042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
58043         multiarch implementation.
58044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
58045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
58046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
58047         file.
58048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
58049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
58050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
58051         multiarch isnan for PPC64.
58052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
58053         multiarch isnanf for PPC64.
58055         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
58056         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
58057         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
58058         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
58059         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
58060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
58062         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
58063         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58065         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
58068         multiarch implementations.
58069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58070         (__libc_ifunc_impl_list): Likewise.
58071         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
58072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
58073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
58074         multiarch stpcpy for PPC64.
58076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
58077         multiarch implementations.
58078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58079         (__libc_ifunc_impl_list): Likewise.
58080         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
58081         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
58082         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
58083         multiarch strcpy for PPC64.
58085         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
58086         redefine function name.
58087         (_wordcopy_fwd_dest_aligned): Likewise.
58088         (_wordcopy_bwd_aligned): Likewise.
58089         (_wordcopy_bwd_dest_aligned): Likewise.
58090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
58091         multiarch implementations.
58092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58093         (__libc_ifunc_impl_list): Likewise.
58094         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
58095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
58096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
58097         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
58098         multiarch wcscpy for PPC64.
58100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
58101         multiarch implementations.
58102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58103         (__libc_ifunc_impl_list): Likewise.
58104         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58105         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58106         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58107         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58108         multiarch wcscpy for PPC64.
58110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58111         multiarch implementations.
58112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58113         (__libc_ifunc_impl_list): Likewise.
58114         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58115         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58116         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58117         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58118         multiarch wcsrchr for PPC64.
58120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58121         multiarch implementations.
58122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58123         (__libc_ifunc_impl_list): Likewise.
58124         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58125         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58126         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58127         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58128         multiarch wcschr for PPC64.
58130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58131         multiarch implementations.
58132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58133         (__libc_ifunc_impl_list): Likewise.
58134         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58135         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58136         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58137         multiarch strchrnul for PPC64.
58139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58140         implementations.
58141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58142         (__libc_ifunc_impl_list): Likewise.
58143         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58144         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58145         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58146         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58147         strchr for PPC64.
58149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58150         implementations.
58151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58152         (__libc_ifunc_impl_list): Likewise.
58153         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58154         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58156         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58157         strncmp for PPC64.
58159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58160         multiarch implementations.
58161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58162         (__libc_ifunc_impl_list): Likewise.
58163         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58164         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58165         strncasecmp for PPC64.
58166         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58167         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58168         multiarch strncasecmp_l for PPC64.
58170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58171         multiarch implementations.
58172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58173         (__libc_ifunc_impl_list): Likewise.
58174         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58175         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58176         multiarch strcasecmp for PPC64.
58177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58178         file.
58179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58180         multiarch strcasecmp_l for PPC64.
58182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58183         implementations.
58184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58185         (__libc_ifunc_impl_list): Likewise.
58186         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58187         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58188         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58189         strnlen for PPC64.
58191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58192         implementations.
58193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58194         (__libc_ifunc_impl_list): Likewise.
58195         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58196         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58197         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58198         strlen for PPC64.
58200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58201         implementations.
58202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58203         (__libc_ifunc_impl_list): Likewise.
58204         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58205         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58206         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58207         rawmemrchr for PPC64.
58209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58210         implementation.
58211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58212         (__libc_ifunc_impl_list): Likewise.
58213         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58214         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58215         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58216         memrchr for PPC64.
58218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58219         implementation.
58220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58221         (__libc_ifunc_impl_list): Likewise.
58222         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58223         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58224         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58225         memchr for PPC64.
58227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58228         implementation.
58229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58230         (__libc_ifunc_impl_list): Likewise.
58231         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58232         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58233         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58234         mempcpy for PPC64.
58236         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58237         avoid cretion of __bzero symbol.
58238         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58239         Likewise.
58240         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58241         Likewise.
58242         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58243         Likewise.
58244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58245         multiarch implementations.
58246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58247         (__libc_ifunc_impl_list): Likewise.
58248         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58251         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58252         bzero for PPC32.
58253         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58254         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58255         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58256         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58257         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58258         memset for PPC64.
58259         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58261         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58263         implementations.
58264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58265         (__libc_ifunc_impl_list): Likewise.
58266         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58267         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58268         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58269         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58270         memcmp for PPC64.
58272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58273         multiarch for POWER/PPC64.
58274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58275         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58276         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58278         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58279         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58280         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58281         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58282         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58283         memcpy for PPC64.
58285         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58286         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58287         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58288         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58289         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58290         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58291         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58292         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58293         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58294         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58295         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58296         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58297         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58298         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58299         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58308 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58310         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58312 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58314         * benchtests/Makefile (bench): Add exp2 and log2.
58315         (LDLIBS-bench-exp2): Add -lm.
58316         (LDLIBS-bench-log2): Likewise.
58317         * benchtests/exp2-inputs: New inputs file.
58318         * benchtests/log2-inputs: New inputs file.
58319         * benchtests/log-inputs: Add new inputs.
58320         * benchtests/tan-inputs: Likewise.
58322 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58324         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58325         definition...
58326         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58327         (csloww2): ... from here.
58329         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58330         instead of structures.
58331         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58332         (POLYNOMIAL): Likewise.
58333         (TAYLOR_SLOW): Likewise.
58334         (__sin): Likewise.
58335         (__cos): Likewise.
58336         (slow1): Likewise.
58337         (slow2): Likewise.
58338         (sloww): Likewise.
58339         (sloww1); Likewise.
58340         (sloww2): Likewise.
58341         (bsloww1): Likewise.
58342         (bsloww2): Likewise.
58343         (cslow2): Likewise.
58344         (csloww): Likewise.
58345         (csloww1): Likewise.
58346         (csloww2): Likewise.
58348 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58350         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58351         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58352         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58353         * malloc/hooks.c (realloc_check): Likewise.
58355         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58356         * malloc/arena.c: Remove PER_THREAD conditional.
58357         [!PER_THREAD]: Remove code.
58358         (ptmalloc_unlock_all2): Likewise.
58359         (ptmalloc_init): Likewise.
58360         (_int_new_arena): Likewise.
58361         (arena_get2): Likewise.
58362         * malloc/hooks.c (__malloc_get_state): Likewise.
58363         (__malloc_set_state): Likewise.
58364         * malloc/malloc.c: Likewise.
58365         (struct malloc_state): Likewise.
58366         (struct malloc_par): Likewise.
58367         (__libc_realloc): Likewise.
58368         (__libc_mallopt): Likewise.
58370 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58372         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58374 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58376         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58377         macro to a function.  Check for zero perturb_byte.
58378         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58380         * malloc/malloc.c: (force_reg): Remove.
58381         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58382         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58383         force_reg by atomic_forced_read.
58384         * malloc/arena.c (ptmalloc_init): Likewise.
58385         * malloc/hooks.c (top_check): Likewise.
58387 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58391 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58395 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58397         * math/auto-libm-test-in: Add tests of lgamma.
58398         * math/auto-libm-test-out: Regenerated.
58399         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58400         (M_LOG_2_SQRT_PIl): Likewise.
58401         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58402         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58403         mpfr_f_f1.
58404         (func_calc_desc): Add mpfr_f_f1 union field.
58405         (ARGS1): New macro.
58406         (ARGS2): Likewise.
58407         (ARGS3): Likewise.
58408         (ARGS4): Likewise.
58409         (RET1): Likewise.
58410         (RET2): Likewise.
58411         (CALC): Likewise.
58412         (FUNC): Likewise.
58413         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58414         (test_functions): Add lgamma.
58415         (calc_generic_results): Handle mpfr_f_f1.
58416         * sysdeps/i386/fpu/libm-test-ulps: Update.
58417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58419 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58421         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58422         __mpn_add_n for PowerPC64/POWER7.
58423         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58424         __mpn_sub_n for PowerPC64/POWER7.
58426         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58427         __mpn_addmul_1 for PowerPC64.
58428         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58429         __mpn_submul_1 for PowerPC64.
58430         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58431         for PowerPC64.
58432         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58433         for PowerPC64.
58435 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58437         [BZ #15089]
58438         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58440 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58442         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58444         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58445         add multiarch folders.
58446         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58447         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58448         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58449         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58450         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58451         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58452         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58453         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58454         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58455         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58456         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58465         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58467         New file.
58468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58469         New file.
58470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58471         multiarch __ieee754_hypot for PowerPC32.
58472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58473         New file.
58474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58475         New file.
58476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58477         multiarch __ieee754_hypotf for PowerPC32.
58479         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58480         long_double_symbol only if __logbl is defined.
58481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58482         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58483         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58484         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58486         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58487         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58488         path for implementation.
58489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58490         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58492         logb, and logbl multiarch implementations for PowerPC32.
58493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58494         file.
58495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58496         file.
58497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58498         multiarch logb for PowerPC32.
58499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58500         file.
58501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58502         file.
58503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58504         multiarch logbf for PowerPC32.
58505         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58507         file.
58508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58509         multiarch logbl implementation for PowerPC32.
58511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58512         and modff multiarch implementations.
58513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58514         New file.
58515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58516         New file.
58517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58518         multiarch modf for PowerPC32.
58519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58520         New file.
58521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58522         New file.
58523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58524         multiarch modff for PowerPC32.
58526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58527         and lrintf multiarch implementations.
58528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58529         New file.
58530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58531         New file.
58532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58533         multiarch lrint for PowerPC32.
58534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58535         file: multiarch lrintf for PowerPC32.
58537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58538         and lroundf multiarch implementations.
58539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58540         New file.
58541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58542         New file.
58543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58544         New file.
58545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58546         multiarch lround for PowerPC32.
58547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58548         file: multiarch lroundf for PowerPC32.
58550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58551         copysign and copysignf multiarch implementations.
58552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58553         New file.
58554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58555         New file.
58556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58557         file: multiarch copysign for PowerPC32.
58558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58559         file: multiarch copysignf for PowerPC32.
58561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58562         and truncf multiarch implementations.
58563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58564         New file.
58565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58566         file.
58567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58568         multiarch trunc for PowerPC32.
58569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58570         New file.
58571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58572         New file.
58573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58574         multiarch truncf for PowerPC32.
58576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58577         and roundf multiarch implementations.
58578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58579         New file.
58580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58581         file.
58582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58583         multiarch round for PowerPC32.
58584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58585         New file.
58586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58587         New file.
58588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58589         multiarch roundf for PowerPC32.
58591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58592         and floorf multiarch implementations.
58593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58594         New file.
58595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58596         file.
58597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58598         multiarch floor for PowerPC32.
58599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58600         New file.
58601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58602         New file.
58603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58604         multiarch floorf for PowerPC32.
58606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58607         and ceilf multiarch implementations.
58608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58609         New file.
58610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58611         file.
58612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58613         multiarch ceil for PowerPC32.
58614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58615         New file.
58616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58617         file.
58618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58619         multiarch ceilf for PowerPC32.
58621         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58622         is defined.
58623         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58624         FINITEF is defined.
58625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58626         and finitef multiarch implementations.
58627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58628         New file.
58629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58630         file.
58631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58632         multiarch finite for PowerPC32.
58633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58634         New file.
58635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58636         file: multiarch finitef for PowerPC32.
58638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58639         and isinff multiarch implementations.
58640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58641         file.
58642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58643         file.
58644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58645         multiarch isinf for PowerPC32.
58646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58647         New file.
58648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58649         multiarch isinff for PowerPC32.
58651         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58652         alias when __isnan is defined.
58653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58654         and isnanf multiarch implementations.
58655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58656         file.
58657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58658         file.
58659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58660         file.
58661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58662         file.
58663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58664         multiarch isnan for PowerPC32.
58665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58666         New file.
58667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58668         New file.
58669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58670         multiarch isnanf for PowerPC32.
58672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58673         and sqrtf multiarch implementations.
58674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58675         file.
58676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58677         file.
58678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58679         multiarch sqrt for PowerPC32.
58680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58681         file.
58682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58683         file.
58684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58685         multiarch sqrtf for PowerPC32.
58687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58688         and llroundf multiarch implementations.
58689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58690         New file.
58691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58692         New file.
58693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58694         New file.
58695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58696         file: multiarch llround for PowerPC32.
58697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58698         file: multiarch llroundf for PowerPC32.
58700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58701         multiarch PowerPC32 fpu implementations.
58702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58703         New file.
58704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58705         New file.
58706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58707         multiarch llrint for PowerPC32.
58708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58709         New file.
58710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58711         New file.
58712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58713         file.
58715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58718         file.
58719         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58720         file.
58721         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58722         file.
58723         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58724         multiarch wordcopy for PPC32.
58725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58726         wordcopy objects.
58727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58728         (__libc_ifunc_impl_list): Likewise.
58729         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58730         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58731         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58732         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58733         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58734         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58736         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58738         file.
58739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58740         file.
58741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58742         file.
58743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58744         multiarch wcscpy for PPC32.
58745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58746         multiarch objects.
58747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58748         (__libc_ifunc_impl_list): Likewise.
58749         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58750         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58751         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58752         sysdeps/powerpc/power6/wcscpy.c.
58754         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58756         file.
58757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58758         file.
58759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58760         file.
58761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58762         multiarch wcsrchr for PPC32.
58763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58764         multiarch objects.
58765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58766         (__libc_ifunc_impl_list): Likewise.
58767         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58768         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58769         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58770         sysdeps/powerpc/power6/wcsrchr.c.
58772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58773         file.
58774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58775         file.
58776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58778         multiarch wcschr for PPc32.
58779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58780         multiarch objects.
58781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58782         (__libc_ifunc_impl_list): Likewise.
58783         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58784         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58785         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58786         sysdeps/powerpc/power6/wcschr.c.
58788         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58789         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58790         file.
58791         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58792         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58793         file: multiarch strchr for PPC32.
58794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58795         multiarch objects.
58796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58797         (__libc_ifunc_impl_list): Likewise.
58799         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58800         name.
58801         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58802         file.
58803         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58804         file.
58805         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58806         multiarch strchrnul for PPC32.
58807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58808         multiarch objects.
58809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58810         (__libc_ifunc_impl_list): Likewise.
58812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58813         file.
58814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58815         multiarch strncasecmp for PPC32.
58816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58817         file.
58818         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58819         multiarch strncasecmp_l for PPC32.
58820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58821         strncasecmp multiarch objects.
58822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58823         (__libc_ifunc_impl_list): Likewise.
58825         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58826         file.
58827         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58828         multiarch strncasecmp for PPC32.
58829         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58830         New file.
58831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58832         multiarch strcasecmp_l for PPC32.
58833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58834         multiarch objects.
58835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58836         (__libc_ifunc_impl_list): Likewise.
58838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58839         file.
58840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58841         file.
58842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58843         multiarch strncmp for PPC32.
58844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58845         multiarch objects.
58846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58847         (__libc_ifunc_impl_list): Likewise.
58849         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58850         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58851         file.
58852         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58853         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58855         multiarch objects.
58856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58857         (__libc_ifunc_impl_list): Likewise.
58859         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58860         file.
58861         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58862         file.
58863         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58865         multiarch objects.
58866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58867         (__libc_ifunc_impl_list): Likewise.
58869         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58870         file.
58871         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58872         file.
58873         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58874         multiarch rawmemchr for PPC32.
58875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58876         multiarch objects.
58877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58878         (__libc_ifunc_impl_list): Likewise.
58880         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58881         file.
58882         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58883         file.
58884         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58885         file: memrchr multiarch for PPC32.
58886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58887         multiarch objects.
58888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58889         (__libc_ifunc_impl_list): Likewise.
58891         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58892         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58893         file.
58894         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58895         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58896         multiarch memchr for PPC32.
58897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58898         multiarch objects.
58899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58900         (__libc_ifunc_impl_list): Likewise.
58902         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58903         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58904         file.
58905         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58906         file.
58907         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58908         file: multiarch mempcpy for PPC32.
58909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58910         multiarch objects.
58911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58912         (__libc_ifunc_impl_list): Likewise.
58914         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58915         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58917         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58918         multiarch bzero for PPC32.
58919         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58920         file.
58921         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58922         file.
58923         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58924         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58925         file: multiarch memset for PPC32.
58926         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58928         memset multiarch objects.
58929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58930         (__libc_ifunc_impl_list): Likewise.
58932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58933         file.
58934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58936         memcmp for PPC32.
58937         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58939         multiarch objects.
58940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58941         (__libc_ifunc_impl_list): Likewise.
58943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58944         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58945         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58946         file.
58947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58948         file.
58949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58950         file.
58951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58952         multiarch memcpy for PPC32.
58953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58954         multiarch objects.
58955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58956         (__libc_ifunc_impl_list): Likewise.
58958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58959         support multiarch for POWER/PPC32.
58960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58961         Likewise.
58962         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58964         Implies file to make multiarch folder appers before the fpu and
58965         default folder for power4 configuration.
58967 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58969         * scripts/bench.pl: Append volatile keyword to type.
58971 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58973         * sysdeps/sh/sotruss-lib.c: New file.
58974         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58976 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58980 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58982         [BZ #6810]
58983         * math/w_tgamma.c: Include <errno.h>.
58984         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58985         * math/w_tgammaf.c: Include <errno.h>.
58986         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58987         * math/w_tgammal.c: Include <errno.h>.
58988         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58989         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58990         underflow.  Add more tgamma tests.
58991         * math/auto-libm-test-out: Regenerated.
58992         * sysdeps/i386/fpu/libm-test-ulps: Update.
58993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58995         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58996         sin, sinh, tan, tanh, tgamma, y0 and y1.
58997         * math/auto-libm-test-out: Regenerated.
58998         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58999         (TEST_COND_x86): Likewise.
59000         (M_E2l): Remove macro.
59001         (M_E3l): Likewise.
59002         (M_2_SQRT_PIl): Likewise.
59003         (M_SQRT_PIl): Likewise.
59004         (M_1_DIV_El): Likewise.
59005         (log_test_data): Use AUTO_TESTS_f_f.
59006         (log10_test_data): Likewise.
59007         (log1p_test_data): Likewise.
59008         (log2_test_data): Likewise.
59009         (sin_test_data): Likewise.
59010         (sin_tonearest_test_data): Likewise.
59011         (sin_towardzero_test_data): Likewise.
59012         (sin_downward_test_data): Likewise.
59013         (sin_upward_test_data): Likewise.
59014         (sinh_test_data): Likewise.
59015         (sinh_tonearest_test_data): Likewise.
59016         (sinh_towardzero_test_data): Likewise.
59017         (sinh_downward_test_data): Likewise.
59018         (sinh_upward_test_data): Likewise.
59019         (tan_test_data): Likewise.
59020         (tan_tonearest_test_data): Likewise.
59021         (tan_towardzero_test_data): Likewise.
59022         (tan_downward_test_data): Likewise.
59023         (tan_upward_test_data): Likewise.
59024         (tanh_test_data): Likewise.
59025         (tgamma_test_data): Likewise.
59026         (y0_test_data): Likewise.
59027         (y1_test_data): Likewise.
59028         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
59029         (special_real_inputs): Add pi/4.
59030         * sysdeps/i386/fpu/libm-test-ulps: Update.
59031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59033 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59035         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
59036         "longjmp_target" static probes.
59037         (__longjmp): Rename to __longjmp_symbol.
59038         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59039         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
59040         on which longjmp to generate.
59041         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59042         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
59043         probe.
59044         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59045         (__sigjmp_save): Rename to __sigjmp_save_symbol.
59046         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
59047         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
59048         and __sigjmp_save_symbol based on which sigsetjmp to generated.
59049         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
59051         __longjmp_symbol based on which __longjmp to generate.
59052         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
59053         probe.
59054         (setjmp): Rename to setjmp_symbol.
59055         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59056         (_setjmp): Rename to _setjmp_symbol.
59057         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59058         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
59059         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
59060         which setjmp to generate.
59061         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
59062         "longjmp_target" static probes.
59064 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59066         * benchtests/README: Add note about output arguments.
59067         * benchtests/bench-sincos.c: Remove file.
59068         * benchtests/sincos-inputs: New file.
59069         * scripts/bench.pl: Identify output arguments and define
59070         static variables for them.
59072         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
59074         [BZ #15941]
59075         * Makefile (INSTALL): Add install-plain.texi as the primary
59076         dependency.
59077         * manual/install-plain.texi: New file.
59078         * manual/install.texi: Include node directive only for
59079         non-plaintext output.
59081 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
59083         * stdlib/longlong.h: Update from GCC.
59085         [BZ #6807]
59086         [BZ #15901]
59087         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
59088         * math/w_j0f.c (y0f): Likewise.
59089         * math/w_j0l.c (__y0l): Likewise.
59090         * math/w_j1.c (y1): Likewise.
59091         * math/w_j1f.c (y1f): Likewise.
59092         * math/w_j1l.c (__y1l): Likewise.
59093         * math/w_jn.c (yn): Likewise.
59094         * math/w_jnf.c (ynf): Likewise.
59095         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
59096         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
59097         value for Bessel function domain errors outside _SVID_ mode.
59098         Adjust sign of return value for yn (negative integer, 0).
59099         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
59100         by zero in return for negative x and set sign appropriately for
59101         negative n.
59102         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59103         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59104         * math/libm-test.inc (y0_test_data): Add more tests and adjust
59105         expectations in error cases.
59106         (y1_test_data): Likewise.
59107         (yn_test_data): Likewise.
59108         * sysdeps/i386/fpu/libm-test-ulps: Update.
59109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59111 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59113         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59114         "64" to "64-v1".  Add "64-v2".
59115         (abi-64-options): Rename to ...
59116         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
59117         (abi-64-condition): Rename to ...
59118         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
59119         (abi-64-ld-soname): Rename to ...
59120         (abi-64-v1-ld-soname): ... this.
59121         (abi-64-v2-options): Define.
59122         (abi-64-v2-condition): Likewise.
59123         (abi-64-v2-ld-soname): Likewise.
59124         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59125         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59130 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59131             Alan Modra  <amodra@gmail.com>
59133         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59134         New versions for use with the ELFv2 ABI.
59135         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59136         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59137         declaration.
59138         (struct La_ppc64v2_retval): Likewise.
59139         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59140         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59141         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59142         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59143         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59144         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59145         Do not save or restore CR.
59146         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59147         (_dl_profile_resolve): Do no save or restore CR.  Support extended
59148         return values for ELFv2 ABI.  Fix location of FPR return registers.
59149         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59150         updated values for _CALL_ELF == 2.
59151         (La_regs, La_retval, int_retval): Likewise.
59153 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59155         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59156         (FRAME_MIN_SIZE_PARM): Likewise.
59157         (FRAME_BACKCHAIN): Likewise.
59158         (FRAME_CR_SAVE): Likewise.
59159         (FRAME_LR_SAVE): Likewise.
59160         (FRAME_TOC_SAVE): Likewise.
59161         (FRAME_PARM_SAVE): Likewise.
59162         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59163         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59164         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59165         (call_mcount_parm_offset): New macro.
59166         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59167         (PROF): Use symbolic stack frame offsets.
59168         (TAIL_CALL_SYSCALL_ERROR): Likewise.
59169         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59170         Redefine in terms of FRAME_MIN_SIZE.
59171         (_dl_runtime_resolve): Use symbolic stack frame offsets.
59172         (_dl_profile_resolve): Likewise.  Update comment.
59173         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59174         symbols stack frame offsets.
59175         (__sigsetjmp): Likewise.
59176         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59177         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59178         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59179         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59182         (FRAME_BACKCHAIN): Remove.
59183         (FRAME_CR_SAVE): Likewise.
59184         (FRAME_LR_SAVE): Likewise.
59185         (FRAME_COMPILER_DW): Likewise.
59186         (FRAME_LINKER_DW): Likewise.
59187         (FRAME_TOC_SAVE): Likewise.
59188         (FRAME_PARM_SAVE): Likewise.
59189         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
59190         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
59191         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59193         (CHECK_SP): Use symbolic stack frame offsets.
59194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59195         zone" instead of caller's parameter save area for temp storage.
59196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59197         Likewise.  Also, use symbolic stack frame offsets.
59198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59199         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59200         our own stack frame instead of the caller's.
59201         (__socket): Use symbolic stack frame offsets.
59203 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59204             Alan Modra  <amodra@gmail.com>
59206         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59207         Define.
59208         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59209         (PPC64_LOCAL_ENTRY_OFFSET): Define.
59210         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59211         New function.
59212         (elf_machine_fixup_plt): Call it.
59213         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
59214         reloc arguments.
59215         (elf_machine_rela): Update call to elf_machine_plt_conflict.
59216         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59217         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59218         r2 before calling target.
59220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59221             Alan Modra  <amodra@gmail.com>
59223         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59224         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59225         versions of macros to support ELFv2 ABI.
59226         (LOCALENTRY): New macro.
59227         (ENTRY, EALIGN): Use it.
59228         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59229         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59230         fall through into ENTRY entry point.
59231         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59232         Only define if _CALL_ELF != 2.
59234         (elf_machine_matches_host): Verify ABI version matches.
59235         (RTLD_START): Use LOCALENTRY.
59236         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59237         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59238         (PLT_ENTRY_WORDS): New macro.
59239         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59240         (elf_machine_runtime_setup): Support ELFv2 ABI.
59241         (elf_machine_fixup_plt): Likewise.
59242         (elf_machine_plt_conflict): Likewise.
59243         (resolve_ifunc): Likewise.
59244         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59245         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59246         Likewise.
59247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59248         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59250         (makecontext): Support ELFv2 ABI.
59251         * elf/elf.h (EF_PPC64_ABI): Define.
59253 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59255         * sysdeps/powerpc/powerpc64/sysdep.h
59256         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59257         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59258         (ENTRY) [ASSEMBLER]: ... but instead here ...
59259         (EALIGN) [ASSEMBLER]: ... and here.
59260         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59261         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59262         (ENTRY_2) [!ASSEMBLER]: Use it.
59263         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59264         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59265         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59266         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59267         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59269         Use PPC64_LOAD_FUNCPTR.
59271         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59273 2013-12-04  Alan Modra  <amodra@gmail.com>
59275         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59276         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59277         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59278         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59281         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59282         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59283         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59284         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59285         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59287 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59290         (__makecontext): Fix incorrect CFI when backtracing out of
59291         context created via makecontext.
59292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59293         (__setcontext): Fix incorrect CFI during switch to new context.
59294         (__novec_setcontext): Likewise.
59296 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59298         [BZ #4772]
59299         * time/strptime_l.c (__strptime_internal): Allow modifiers
59300         in strptime.
59301         * time/tst-strptime.c (day_tests): Add testcase.
59303 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59305         * scripts/bench.pl: Skip over blank lines.
59307 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59309         [BZ #926]
59310         * manual/time.texi (Calendar Time): Clarify what timezone functions
59311         use.
59313 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59317 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59319         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59320         implementation.
59321         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59322         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59323         * debug/memset_chk.c (__memset_chk): Likewise.
59324         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59325         * debug/strncpy_chk.c: Likewise.
59327 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59329         [BZ #15268]
59330         [BZ #15425]
59331         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59332         (__ieee754_exp): For possibly underflowing results, check size of
59333         result and force underflow exception if required.
59334         * math/auto-libm-test-in: Add more tests of exp.
59335         * math/auto-libm-test-out: Regenerated.
59336         * sysdeps/i386/fpu/libm-test-ulps: Update.
59337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59339         [BZ #16283]
59340         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59341         * math/w_exp2f.c (__exp2f): Likewise.
59342         * math/w_exp2l.c (__exp2l): Likewise.
59343         * math/auto-libm-test-in: Do not allow missing errno on exp2
59344         underflow.
59345         * math/auto-libm-test-out: Regenerated.
59347 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59349         [BZ #16274]
59350         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59351         handle filename validation.
59352         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59353         (do_open): Delete.
59355 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59357         [BZ #6786]
59358         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59359         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59360         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59361         <float.h>.
59362         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59363         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59364         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59365         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59366         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59367         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59368         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59369         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59370         Add more erfc tests.
59371         * math/auto-libm-test-out: Regenerated.
59372         * sysdeps/i386/fpu/libm-test-ulps: Update.
59373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59375         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59376         exp2, expm1, j0 and j1.
59377         * math/auto-libm-test-out: Regenerated.
59378         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59379         (erfc_test_data): Likewise.
59380         (exp_test_data): Likewise.
59381         (exp_tonearest_test_data): Likewise.
59382         (exp_towardzero_test_data): Likewise.
59383         (exp_downward_test_data): Likewise.
59384         (exp_upward_test_data): Likewise.
59385         (exp10_test_data): Likewise.
59386         (exp2_test_data): Likewise.
59387         (expm1_test_data): Likewise.
59388         (j0_test_data): Likewise.
59389         (j1_test_data): Likewise.
59390         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59391         (input_flag_type): Add flag_xfail_rounding.
59392         (input_flags): Add xfail-rounding.
59393         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59394         (output_for_one_input_case): Handle flag_xfail_rounding.
59395         * sysdeps/i386/fpu/libm-test-ulps: Update.
59396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59398 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59400         [BZ #16289]
59401         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59402         division by 0.
59404 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59406         [BZ #16195]
59407         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59408         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59409         (STAP_PROBE0): New macro.
59410         (STAP_PROBE1): Likewise.
59411         (STAP_PROBE2): Likewise.
59412         (STAP_PROBE3): Likewise.
59413         (STAP_PROBE4): Likewise.
59415 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59417         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59419 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59421         * benchtests/Makefile (bench): Add sqrt.
59422         (LDLIBS-bench-sqrt): New.
59423         * benchtests/sqrt-input: New.
59425 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59427         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59428         (GAIH_EAI): Likewise.
59429         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59430         (gaih_inet): Likewise.
59431         (getaddrinfo): Don't use GAIH_EAI.
59433         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59434         (struct gaih): Remove definition.
59436 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59438         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59439         Use HERRNOP directly.
59441 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59445 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59447         * math/gen-auto-libm-tests.c (test_functions): Add more
59448         single-argument functions.
59449         (special_fill_pi_2): New function.
59450         (special_fill_minus_pi_2): Likewise.
59451         (special_fill_pi_6): Likewise.
59452         (special_fill_minus_pi_6): Likewise.
59453         (special_fill_pi_3): Likewise.
59454         (special_fill_2pi_3): Likewise.
59455         (special_fill_e): Likewise.
59456         (special_fill_1_e): Likewise.
59457         (special_fill_e_minus_1): Likewise.
59458         (special_real_inputs): Add more special inputs.
59459         (output_for_one_input_case): Do not require ERANGE on underflow to
59460         zero if round-to-nearest result does not underflow to zero, unless
59461         exact results required.
59462         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59463         atan, atanh, cbrt, cos and cosh.
59464         * math/auto-libm-test-out: Regenerated.
59465         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59466         (acos_tonearest_test_data): Likewise.
59467         (acos_towardzero_test_data): Likewise.
59468         (acos_downward_test_data): Likewise.
59469         (acos_upward_test_data): Likewise.
59470         (acosh_test_data): Likewise.
59471         (asin_test_data): Likewise.
59472         (asin_tonearest_test_data): Likewise.
59473         (asin_towardzero_test_data): Likewise.
59474         (asin_upward_test_data): Likewise.
59475         (asinh_test_data): Likewise.
59476         (atan_test_data): Likewise.
59477         (atanh_test_data): Likewise.
59478         (cbrt_test_data): Likewise.
59479         (cos_test_data): Likewise.
59480         (cos_tonearest_test_data): Likewise.
59481         (cos_towardzero_test_data): Likewise.
59482         (cos_downward_test_data): Likewise.
59483         (cos_upward_test_data): Likewise.
59484         (cosh_test_data): Likewise.
59485         (cosh_tonearest_test_data): Likewise.
59486         (cosh_towardzero_test_data): Likewise.
59487         (cosh_downward_test_data): Likewise.
59488         (cosh_upward_test_data): Likewise.
59489         * sysdeps/i386/fpu/libm-test-ulps: Update.
59490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59492 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59494         [BZ #6787]
59495         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59496         * math/w_exp10f.c (__exp10f): Likewise.
59497         * math/w_exp10l.c (__exp10l): Likewise.
59498         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59499         errno settings in existing tests.
59501         [BZ #14032]
59502         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59503         precision control set to double precision.
59504         * sysdeps/i386/fpu/w_sqrt.c: New file.
59505         * math/auto-libm-test-in: Add more tests.
59506         * math/auto-libm-test-out: Update.
59508         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59509         (sqrt_test_tonearest): New function.
59510         (sqrt_towardzero_test_data): New variable.
59511         (sqrt_test_towardzero): New function.
59512         (sqrt_downward_test_data): New variable.
59513         (sqrt_test_downward): New function.
59514         (sqrt_upward_test_data): New variable.
59515         (sqrt_test_upward): New function.
59516         (main): Call the new functions.
59518         * math/gen-auto-libm-tests.c: New file.
59519         * math/auto-libm-test-in: Likewise.
59520         * math/auto-libm-test-out: New generated file.
59521         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59522         variables.
59523         (%beautify): Add generated representations of zero.
59524         (top level): Set $auto_input and call parse_auto_input.
59525         (beautify): Remove trailing "f" from hex float constants.
59526         (parse_args): Handle XFAIL_TEST.
59527         (convert_condition): New function.
59528         (or_value): Likewise.
59529         (or_cond_value): Likewise.
59530         (generate_testfile): Handle AUTO_TESTS_* lines.
59531         (parse_auto_input): New function.
59532         * math/libm-test.inc (XFAIL_TEST): New macro.
59533         (ERRNO_UNCHANGED): Update value.
59534         (ERRNO_EDOM): Likewise.
59535         (ERRNO_ERANGE): Likewise.
59536         (IGNORE_RESULT): Likewise.
59537         (TEST_COND_flt_32): New macro.
59538         (TEST_COND_dbl_64): Likewise.
59539         (TEST_COND_ldbl_96_intel): Likewise.
59540         (TEST_COND_ldbl_96_m68k): Likewise.
59541         (TEST_COND_ldbl_128): Likewise.
59542         (TEST_COND_ldbl_128ibm): Likewise.
59543         (TEST_COND_long32): Likewise.
59544         (TEST_COND_long64): Likewise.
59545         (TEST_COND_before_rounding): Likewise.
59546         (TEST_COND_after_rounding): Likewise.
59547         (enable_test): Handle XFAIL_TEST flag.
59548         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59549         with finite results.
59550         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59551         auto-libm-test-out.
59553 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59554             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59556         [BZ #16214]
59557         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59558         __tls_get_addr_internal instead of __tls_get_offset in order to
59559         avoid GOT pointer dependency.  Make rtld export
59560         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59561         __tls_get_addr since we are a __tls_get_offset platform.
59562         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59563         GOT pointer being set up before.
59564         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59566 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59568         * manual/math.texi (Errors in Math Functions): Document accuracy
59569         goals.
59571         [BZ #15004]
59572         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59573         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59574         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59575         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59579         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59580         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59581         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59582         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59583         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59584         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59585         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59586         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59587         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59589         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59590         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59591         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59592         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59593         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59594         Likewise.
59595         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59596         Likewise.
59597         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59598         Likewise.
59599         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59600         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59601         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59602         atomic-feupdateenv and flt-rounds.
59603         * sysdeps/powerpc/nofpu/Versions (libc): Add
59604         __atomic_feholdexcept, __atomic_feclearexcept,
59605         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59606         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59607         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59608         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59609         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59610         here.
59611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59612         Update.
59614         * manual/arith.texi (FP Exceptions): Document that exceptions may
59615         not be raised when matherr is used.
59616         (Math Error Reporting): Document overflow in directed rounding
59617         modes.  Document that errno may not be set when finite values are
59618         returned on overflow.  Document intent to set errno on underflow
59619         only for underflow to zero.
59621         [BZ #16271]
59622         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59623         round-to-nearest then adjust result for other rounding modes.
59624         * include/fenv.h (fegetround): Use libm_hidden_proto.
59625         * math/fegetround.c (fegetround): Use libm_hidden_def.
59626         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59627         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59628         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59629         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59630         Likewise.
59631         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59632         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59633         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59634         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59636 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59638         [BZ #16077]
59639         * nss/Versions (libnss_files): Add
59640         _nss_files_gethostbyname3_r.
59641         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59642         New function.
59643         (HOST_DB_LOOKUP): Remove macro.
59644         (_nss_files_gethostbyname_r): Implement function without the
59645         HOST_DB_LOOKUP macro.
59646         (_nss_files_gethostbyname2_r): Likewise.
59648 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59650         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59652 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59654         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59655         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59656         warning.
59658 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59660         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59661         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59662         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59663         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59664         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59665         __fe_nomask_env_priv and attribute_hidden.
59666         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59667         (libc_feupdateenv_test_ppc): Likewise.
59668         (libc_feresetround_ppc): Likewise.
59669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59670         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59671         compat_symbol macro.
59672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59673         (__fe_nomask_env): Likewise.
59674         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59676 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59678         * string/Makefile: Remove ifunc tests.
59679         * string/test-string.h: Define TEST_IFUNC.
59680         * string/test-bcopy-ifunc.c: Remove.
59681         * string/test-bzero-ifunc.c: Likewise.
59682         * string/test-memccpy-ifunc.c: Likewise.
59683         * string/test-memchr-ifunc.c: Likewise.
59684         * string/test-memcmp-ifunc.c: Likewise.
59685         * string/test-memcpy-ifunc.c: Likewise.
59686         * string/test-memmem-ifunc.c: Likewise.
59687         * string/test-memmove-ifunc.c: Likewise.
59688         * string/test-mempcpy-ifunc.c: Likewise.
59689         * string/test-memrchr-ifunc.c: Likewise.
59690         * string/test-memset-ifunc.c: Likewise.
59691         * string/test-rawmemchr-ifunc.c: Likewise.
59692         * string/test-stpcpy-ifunc.c: Likewise.
59693         * string/test-stpncpy-ifunc.c: Likewise.
59694         * string/test-strcasecmp-ifunc.c: Likewise.
59695         * string/test-strcasestr-ifunc.c: Likewise.
59696         * string/test-strcat-ifunc.c: Likewise.
59697         * string/test-strchr-ifunc.c: Likewise.
59698         * string/test-strchrnul-ifunc.c: Likewise.
59699         * string/test-strcmp-ifunc.c: Likewise.
59700         * string/test-strcpy-ifunc.c: Likewise.
59701         * string/test-strcspn-ifunc.c: Likewise.
59702         * string/test-strlen-ifunc.c: Likewise.
59703         * string/test-strncasecmp-ifunc.c: Likewise.
59704         * string/test-strncat-ifunc.c: Likewise.
59705         * string/test-strncmp-ifunc.c: Likewise.
59706         * string/test-strncpy-ifunc.c: Likewise.
59707         * string/test-strnlen-ifunc.c: Likewise.
59708         * string/test-strpbrk-ifunc.c: Likewise.
59709         * string/test-strrchr-ifunc.c: Likewise.
59710         * string/test-strspn-ifunc.c: Likewise.
59711         * string/test-strstr-ifunc.c: Likewise.
59713 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59715         * benchtests/Makefile: Remove ifunc tests.
59716         * benchtests/bench-string.h: Define TEST_IFUNC.
59717         * benchtests/bench-bcopy-ifunc.c: Remove.
59718         * benchtests/bench-bzero-ifunc.c: Likewise.
59719         * benchtests/bench-memccpy-ifunc.c: Likewise.
59720         * benchtests/bench-memchr-ifunc.c: Likewise.
59721         * benchtests/bench-memcmp-ifunc.c: Likewise.
59722         * benchtests/bench-memcpy-ifunc.c: Likewise.
59723         * benchtests/bench-memmem-ifunc.c: Likewise.
59724         * benchtests/bench-memmove-ifunc.c: Likewise.
59725         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59726         * benchtests/bench-memrchr-ifunc.c: Likewise.
59727         * benchtests/bench-memset-ifunc.c: Likewise.
59728         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59729         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59730         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59731         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59732         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59733         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59734         * benchtests/bench-strcat-ifunc.c: Likewise.
59735         * benchtests/bench-strchr-ifunc.c: Likewise.
59736         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59737         * benchtests/bench-strcmp-ifunc.c: Likewise.
59738         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59739         * benchtests/bench-strcpy-ifunc.c: Likewise.
59740         * benchtests/bench-strcspn-ifunc.c: Likewise.
59741         * benchtests/bench-strlen-ifunc.c: Likewise.
59742         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59743         * benchtests/bench-strncat-ifunc.c: Likewise.
59744         * benchtests/bench-strncmp-ifunc.c: Likewise.
59745         * benchtests/bench-strncpy-ifunc.c: Likewise.
59746         * benchtests/bench-strnlen-ifunc.c: Likewise.
59747         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59748         * benchtests/bench-strrchr-ifunc.c: Likewise.
59749         * benchtests/bench-strsep-ifunc.c: Likewise.
59750         * benchtests/bench-strspn-ifunc.c: Likewise.
59751         * benchtests/bench-strstr-ifunc.c: Likewise.
59753 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59755         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59757 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59759         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59760         * rt/aio.h: Likewise.
59761         * sysdeps/gnu/bits/utmp.h: Likewise.
59762         * sysdeps/gnu/bits/utmpx.h: Likewise.
59763         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59764         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59765         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59766         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59767         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59768         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59769         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59770         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59771         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59772         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59773         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59774         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59775         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59777         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59778         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59779         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59780         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59781         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59782         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59783         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59784         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59785         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59786         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59787         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59789         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59790         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59791         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59792         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59793         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59794         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59795         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59796         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59797         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59798         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59799         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59800         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59801         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59802         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59803         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59804         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59806 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59808         [BZ #16245]
59809         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59810         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59812 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59814         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59815         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59816         Likewise.
59818 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59820         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59821         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59822         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59823         (__fesetround): Remove define.
59824         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59825         rounding and exceptions handling.
59826         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59827         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59828         (__fe_nomask_env): Likewise.
59829         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59830         __fegetround instead of fegetround.
59831         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59832         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59834 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59836         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59837         it's there.
59839         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59841 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59843         [BZ #11157]
59844         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59845         (encrypt_r): Likewise.
59846         * malloc/obstack.h (obstack_free): Likewise.
59847         * posix/unistd.h (encrypt): Likewise.
59849 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59851         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59852         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59853         DL_CALL_DT_FINI() that call the functions directly.
59854         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59855         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59856         * elf/dl-fini.c: Likewise.
59858 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59860         * malloc/hooks.c (memalign_check): Add alignment rounding.
59861         * malloc/malloc.c (_mid_memalign): New function.
59862         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59863         Implement by calling _mid_memalign.
59864         * manual/probes.texi (Memory Allocation Probes): Remove
59865         memory_valloc_retry and memory_pvalloc_retry.
59867 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59869         * locale/programs/locarchive.c (open_archive): Add const
59870         qualifier to ARCHIVEFNAME and copy default fname to
59871         DEFAULT_FNAME.
59873         [BZ #15601]
59874         * libio/tst-widetext.input: Rename Oriya to Odia.
59875         * locale/iso-639.def: Likewise.
59877         * manual/probes.texi (Mathematical Function Probes): Add
59878         documentation for sin, cos, asin and acos probes.
59879         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59880         (__sin32): Add slowasin probe.
59881         (__cos32): Add slowacos probe.
59882         (__mpsin): Add slowsin probe.
59883         (__mpcos): Add slowcos probe.
59885 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59887         [BZ #15483]
59888         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59889         thread-local __sim_exceptions_thread and global
59890         __sim_exceptions_global.
59891         (__sim_disabled_exceptions): Change to thread-local
59892         __sim_disabled_exceptions_thread and global
59893         __sim_disabled_exceptions_global.
59894         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59895         and global __sim_round_mode_global.
59896         (__simulate_exceptions): Use thread-local floating-point state and
59897         set global state from it as needed.
59898         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59899         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59900         __sim_round_mode_thread.
59901         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59902         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59903         and global __sim_exceptions_global.
59904         (__sim_disabled_exceptions): Change to thread-local
59905         __sim_disabled_exceptions_thread and global
59906         __sim_disabled_exceptions_global.
59907         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59908         and global __sim_round_mode_global.
59909         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59910         (SIM_SET_GLOBAL): Likewise.
59911         * sysdeps/powerpc/soft-fp/sfp-machine.h
59912         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59913         __sim_round_mode_thread.
59914         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59915         __sim_disabled_exceptions_thread.
59916         (__sim_exceptions): Change to __sim_exceptions_thread.
59917         (__sim_disabled_exceptions): Change to
59918         __sim_disabled_exceptions_thread.
59919         (__sim_round_mode): Change to __sim_round_mode_thread.
59920         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59921         thread-local floating-point state and set global state from it as
59922         needed.
59923         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59924         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59925         (__sim_disabled_exceptions): Remove extern declaration.
59926         (feenableexcept): Use thread-local floating-point state and set
59927         global state from it as needed.
59928         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59929         extern declaration.
59930         (__sim_disabled_exceptions): Likewise.
59931         (__sim_round_mode): Likewise.
59932         (__fegetenv): Use thread-local floating-point state.
59933         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59934         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59935         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59936         floating-point state and set global state from it as needed.
59937         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59938         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59939         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59940         Likewise.
59941         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59942         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59943         Likewise.
59944         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59945         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59946         Use __sim_round_mode_thread.
59947         * math/test-fenv-tls.c: New file.
59948         * math/Makefile (tests): Add test-fenv-tls.
59949         ($(objpfx)test-fenv-tls): Depend on
59950         $(common-objpfx)nptl/libpthread.so.
59952 2013-11-19  Andreas Schwab  <schwab@suse.de>
59954         * locale/programs/locale.c (show_info): Decode wordarray elements.
59955         * locale/categories.def (LC_MONETARY): Add element for
59956         _NL_MONETARY_CRNCYSTR.
59957         * locale/C-monetary.c (conversion_rate): New variable.
59958         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59959         element.
59961 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59963         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59964         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59966 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59968         * elf/Makefile (tst-auxv): New test.
59969         * elf/tst-auxv.c: New
59970         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59972 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59974         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59975         (hidden_proto): Caller changed.
59976         (hidden_tls_proto): New macro.
59977         (libc_hidden_tls_proto): Likewise.
59978         (rtld_hidden_tls_proto): Likewise.
59979         (libm_hidden_tls_proto): Likewise.
59980         (libresolv_hidden_tls_proto): Likewise.
59981         (librt_hidden_tls_proto): Likewise.
59982         (libdl_hidden_tls_proto): Likewise.
59983         (libnss_files_hidden_tls_proto): Likewise.
59984         (libnsl_hidden_tls_proto): Likewise.
59985         (libnss_nisplus_hidden_tls_proto): Likewise.
59986         (libutil_hidden_tls_proto): Likewise.
59988 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59990         [BZ #10253]
59991         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59992         (decompose_rpath): Defer expansion to fillin_rpath.
59993         (_dl_init_paths): Pass linkmap to fillin_rpath.
59995 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59997         * benchtests/Makefile: Add strsep.
59998         * benchtests/bench-strsep.c: New file: strsep benchtest.
59999         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
60001 2013-11-18  Andreas Schwab  <schwab@suse.de>
60003         * locale/programs/locale.c (show_info) [case byte]: Check for
60004         '\377' instead of '\177'.
60005         * locale/C-monetary.c (not_available): Always use "\377".
60006         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
60007         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
60008         detect unavailable sign_posn locale elements.
60009         * locale/localeconv.c (__localeconv): For grouping and
60010         mon_grouping handle "\177" and "\377" like no grouping.
60011         (INT_ELEM): New macro.  Use it to set all numeric members.
60012         * locale/programs/ld-monetary.c (monetary_read)
60013         <tok_mon_grouping>: Normalize single -1 to the empty string.
60014         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
60015         Likewise.
60017 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60019         [BZ #16055]
60020         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
60021         when we match (nil).
60022         * stdio-common/tst-sscanf.c (struct test): Add testcase.
60024 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
60026         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
60027         (NO_TEST_INLINE): Update value.
60028         (ERRNO_UNCHANGED): Likewise.
60029         (ERRNO_EDOM): Likewise.
60030         (ERRNO_ERANGE): Likewise.
60031         (IGNORE_RESULT): Likewise.
60032         (check_float_internal): Check signs of NaN results if
60033         TEST_NAN_SIGN used.
60034         (check_complex): Pass TEST_NAN_SIGN flag through to second
60035         check_float_internal call.
60036         (copysign_test_data): Add tests with quiet NaNs as second
60037         argument.  Use TEST_NAN_SIGN.
60038         (fabs_test_data): Add test of negative quiet NaN argument.  Use
60039         TEST_NAN_SIGN.
60040         (signbit_test_data): Add tests of quiet NaN argument.
60041         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
60043         * math/gen-libm-test.pl (show_exceptions): Take extra argument
60044         $ignore_result.
60045         (parse_args): Handle function results specified as IGNORE.
60046         * math/libm-test.inc (IGNORE_RESULT): New macro.
60047         (check_float_internal): Do not check numerical result if flag
60048         IGNORE_RESULT set.
60049         (check_complex): Pass through IGNORE_RESULT to second
60050         check_float_internal call.
60051         (check_int): Do not check numerical result if flag IGNORE_RESULT
60052         set.
60053         (check_long): Likewise.
60054         (check_bool): Likewise.
60055         (check_longlong): Likewise.
60056         (lrint_test_data): Add tests of infinite and NaN arguments.
60057         (lrint_tonearest_test_data): Likewise.
60058         (lrint_towardzero_test_data): Likewise.
60059         (lrint_downward_test_data): Likewise.
60060         (lrint_upward_test_data): Likewise.
60061         (llrint_test_data): Likewise.
60062         (llrint_tonearest_test_data): Likewise.
60063         (llrint_towardzero_test_data): Likewise.
60064         (llrint_downward_test_data): Likewise.
60065         (llrint_upward_test_data): Likewise.
60066         (lround_test_data): Likewise.
60067         (llround_test_data): Likewise.
60069         * math/libm-test.inc (NO_TEST_INLINE): New macro.
60070         (ERRNO_UNCHANGED): Update value.
60071         (ERRNO_EDOM): Likewise.
60072         (ERRNO_ERANGE): Likewise.
60073         (NO_TEST_INLINE_FLOAT): New macro.
60074         (NO_TEST_INLINE_DOUBLE): Likewise.
60075         (enable_test): New function.
60076         (RUN_TEST_f_f): Check enable_test before running test.
60077         (RUN_TEST_2_f): Likewise.
60078         (RUN_TEST_fff_f): Likewise.
60079         (RUN_TEST_c_f): Likewise.
60080         (RUN_TEST_f_f1): Likewise.
60081         (RUN_TEST_fF_f1): Likewise.
60082         (RUN_TEST_fI_f1): Likewise.
60083         (RUN_TEST_ffI_f1): Likewise.
60084         (RUN_TEST_c_c): Likewise.
60085         (RUN_TEST_cc_c): Likewise.
60086         (RUN_TEST_f_i): Likewise.
60087         (RUN_TEST_f_i_tg): Likewise.
60088         (RUN_TEST_ff_i_tg): Likewise.
60089         (RUN_TEST_f_b): Likewise.
60090         (RUN_TEST_f_b_tg): Likewise.
60091         (RUN_TEST_f_l): Likewise.
60092         (RUN_TEST_f_L): Likewise.
60093         (RUN_TEST_fFF_11): Likewise.
60094         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
60095         conditionals.
60096         (cosh_test_data): Likewise.
60097         (exp_test_data): Likewise.
60098         (expm1_test_data): Likewise.
60099         (hypot_test_data): Likewise.
60100         (pow_test_data): Likewise.
60101         (sinh_test_data): Likewise.
60102         (tanh_test_data): Likewise.
60103         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60104         flags argument.
60106         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60107         tests with quiet NaN input and output.
60108         (acosh_test_data): Likewise.
60109         (asin_test_data): Likewise.
60110         (asinh_test_data): Likewise.
60111         (atan_test_data): Likewise.
60112         (atanh_test_data): Likewise.
60113         (atan2_test_data): Likewise.
60114         (cbrt_test_data): Likewise.
60115         (cos_test_data): Likewise.
60116         (cosh_test_data): Likewise.
60117         (erf_test_data): Likewise.
60118         (erfc_test_data): Likewise.
60119         (exp_test_data): Likewise.
60120         (exp10_test_data): Likewise.
60121         (exp2_test_data): Likewise.
60122         (expm1_test_data): Likewise.
60123         (hypot_test_data): Likewise.
60124         (j0_test_data): Likewise.
60125         (j1_test_data): Likewise.
60126         (jn_test_data): Likewise.
60127         (lgamma_test_data): Likewise.
60128         (log_test_data): Likewise.
60129         (log10_test_data): Likewise.
60130         (log1p_test_data): Likewise.
60131         (log2_test_data): Likewise.
60132         (pow_test_data): Likewise.
60133         (scalb_test_data): Likewise.
60134         (sin_test_data): Likewise.
60135         (sincos_test_data): Likewise.
60136         (sinh_test_data): Likewise.
60137         (tan_test_data): Likewise.
60138         (tanh_test_data): Likewise.
60139         (tgamma_test_data): Likewise.
60140         (y0_test_data): Likewise.
60141         (y1_test_data): Likewise.
60142         (yn_test_data): Likewise.
60144         [BZ #16167]
60145         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60146         argument being NaN and avoid computations with second argument in
60147         that case.
60148         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60149         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60150         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60152 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
60154         * locale/iso-639.def: Add Chitwani Tharu (the).
60156 2013-11-14  Andreas Schwab  <schwab@suse.de>
60158         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60159         word instead of empty string.
60161 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60164         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60166         (__fe_nomask_env): Likewise.
60168 2013-11-13  Steve Ellcey  <sellcey@mips.com>
60170         * benchtests/bench-timing.h: Include time.h.
60172 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
60174         [BZ #15997]
60175         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60176         to 3.4.0 for x32.
60177         * sysdeps/unix/sysv/linux/configure: Regenerated.
60179 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
60181         [BZ #16151]
60182         * stdlib/strtod_l.c (round_and_return): Do not consider
60183         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60184         exponent one less than half the least subnormal exponent.
60185         * stdlib/test-strtod-round-data: Add more tests.
60186         * stdlib/tst-strtod-round.c (tests): Regenerated.
60188 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60190         [BZ #14143]
60191         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60192         (__fe_mask_env): Likewise.
60193         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60194         libm_hidden_proto and add function prototype.
60195         (__fe_mask_env): Add function prototype.
60196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60197         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60199         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60201         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60203 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60205         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60206         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60208 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60210         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60211         of htab_find_slot().
60213 2013-11-11  David S. Miller  <davem@davemloft.net>
60215         [BZ #16150]
60216         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60217         symbol in the non-vis3 case in static builds.
60218         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60219         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60220         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60221         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60223 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
60225         [BZ #387]
60226         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60227         it is empty.
60229 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60231         * benchtests/Makefile: Add bench-strtod.
60232         * benchtests/bench-strtod.c: New file: strtod benchtest
60234 2013-11-11  Andreas Schwab  <schwab@suse.de>
60236         [BZ #16153]
60237         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60238         terminating NUL in key length.
60240 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60242         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60243         Add artificial ODP entry for vDSO symbol for PPC64.
60244         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60245         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60247 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60249         [BZ #15374]
60250         * nss/getent.c (services_keys): Recognize services starting with digit.
60252 2013-11-06  David S. Miller  <davem@davemloft.net>
60254         [BZ #15985]
60255         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60256         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60258 2013-11-06  Will Newton  <will.newton@linaro.org>
60260         * manual/memory.texi (Malloc Examples): Remove register
60261         keyword from examples.
60263 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60265         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60267 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60269         [BZ #6981]
60270         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60271         depending on [__GCC_IEC_559 > 0].
60272         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60273         depending on [__GCC_IEC_559_COMPLEX > 0].
60275 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60277         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60278         to iso-639.def.
60280 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60282         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60284 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60286         [BZ #16112]
60287         * malloc/malloc (malloc_info): Do not handle first bin as
60288         special case.
60290 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60292         * locale/iso-639.def: Add Central Nahuatl (nhn).
60294 2013-11-01  Bruno Haible  <bruno@clisp.org>
60296         [BZ #7003]
60297         * manual/math.texi (BSD Random): Specify range upper bound as
60298         in POSIX.
60300 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60302         * locale/iso-639.def: Add Meadow Mari (mhr).
60304 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60306         [BZ #14752], [BZ #15763]
60307         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60308         Validate name.
60309         * rt/tst_shm.c: Add test for escaping directory.
60311 2013-10-31  Andreas Schwab  <schwab@suse.de>
60313         [BZ #15917]
60314         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60315         followed by 'x' as part of digit sequence.
60316         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60318 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60320         [BZ #16037]
60321         * configure.ac: allow GNU Make 4.0 and greater.
60322         * configure: Regenerated.
60324 2013-10-30  Will Newton  <will.newton@linaro.org>
60326         [BZ #16038]
60327         * malloc/hooks.c (memalign_check): Limit alignment to the
60328         maximum representable power of two.
60329         * malloc/malloc.c (__libc_memalign): Likewise.
60330         * malloc/tst-memalign.c (do_test): Add test for very
60331         large alignment values.
60332         * malloc/tst-posix_memalign.c (do_test): Likewise.
60334 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60336         [BZ #11087]
60337         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60338         (munmap_chunk): Likewise.
60339         (mremap_chunk): Likewise.
60341 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60343         [BZ #15799]
60344         * stdlib/div.c (div): Remove obsolete code.
60345         * stdlib/ldiv.c (ldiv): Likewise.
60346         * stdlib/lldiv.c (lldiv): Likewise.
60348 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60350         [BZ #16071]
60351         * nss/nss_files/files-XXX.c (get_contents_ret): New
60352         enumerator.
60353         (get_contents): New function.
60354         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60356 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60358         * configure.in: Moved to ...
60359         * configure.ac: ... here. Change reference to configure.in
60360         to configure.ac.
60361         * sysdeps/arm/preconfigure.ac: ... here.
60362         configure.in to configure.ac.
60363         * sysdeps/gnu/configure.in: Moved to ...
60364         * sysdeps/gnu/configure.ac: ... here.
60365         * sysdeps/i386/configure.in: Moved to ...
60366         * sysdeps/i386/configure.ac: ... here.
60367         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60368         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60369         * sysdeps/mach/configure.in: Moved to ...
60370         * sysdeps/mach/configure.ac: ... here.
60371         * sysdeps/mach/hurd/configure.in: Moved to ...
60372         * sysdeps/mach/hurd/configure.ac: ... here.
60373         * sysdeps/powerpc/configure.in: Moved to ...
60374         * sysdeps/powerpc/configure.ac: ... here.
60375         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60376         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60377         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60378         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60379         * sysdeps/s390/s390-32/configure.in: Moved to ...
60380         * sysdeps/s390/s390-32/configure.ac: ... here.
60381         * sysdeps/s390/s390-64/configure.in: Moved to ...
60382         * sysdeps/s390/s390-64/configure.ac: ... here.
60383         * sysdeps/sh/configure.in: Moved to ...
60384         * sysdeps/sh/configure.ac: ... here.
60385         * sysdeps/sparc/configure.in: Moved to ...
60386         * sysdeps/sparc/configure.ac: ... here.
60387         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60388         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60389         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60390         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60391         * sysdeps/x86_64/configure.in: Moved to ...
60392         * sysdeps/x86_64/configure.ac: ... here.
60393         * sysdeps/x86_64/preconfigure.in: Moved to ...
60394         * sysdeps/x86_64/preconfigure.ac: ... here.
60395         * aclocal.m4: Change reference to configure.in to configure.ac.
60396         * config.h.in: Likewise.
60397         * manual/install.texi: Likewise.
60398         * manual/maint.texi: Likewise.
60399         * Makefile: Likewise.
60400         * malloc/Makefile: Likewise.
60401         * nscd/Makefile: Likewise.
60402         * Makeconfig: Change reference to configure.in and
60403         preconfigure.in to configure.ac and preconfigure.ac
60404         respectively.
60405         * INSTALL: Regenerated.
60406         * configure: Likewise.
60407         * sysdeps/gnu/configure: Likewise.
60408         * sysdeps/i386/configure: Likewise.
60409         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60410         * sysdeps/mach/configure: Likewise.
60411         * sysdeps/mach/hurd/configure: Likewise.
60412         * sysdeps/powerpc/configure: Likewise.
60413         * sysdeps/powerpc/powerpc32/configure: Likewise.
60414         * sysdeps/powerpc/powerpc64/configure: Likewise.
60415         * sysdeps/s390/s390-32/configure: Likewise.
60416         * sysdeps/s390/s390-64/configure: Likewise.
60417         * sysdeps/sh/configure: Likewise.
60418         * sysdeps/sparc/configure: Likewise.
60419         * sysdeps/unix/sysv/linux/configure: Likewise.
60420         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60421         * sysdeps/x86_64/configure: Likewise.
60422         * sysdeps/x86_64/preconfigure: Likewise.
60424 2013-10-29  Andreas Schwab  <schwab@suse.de>
60426         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60428 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60430         * benchtests/pow-inputs: Add new inputs.
60432         * benchtests/exp-inputs: Add new inputs.
60434         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60435         conditional check for return value.
60436         (__cos32): Likewise.
60438 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60440         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60441         to provide a boost for large inputs with word alignment.
60442         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60443         implementation based on optimized PPC64 strcpy.
60444         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60445         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60446         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60447         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60449 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60451         [BZ #2801]
60452         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60454 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60456         [BZ #14876]
60457         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60458         * time/tst-strptime.c (day_tests): Add testcase.
60460 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60462         [BZ #14029]
60463         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60465 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60467         [BZ #16074]
60468         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60469         MAP_FAILED on error.
60471 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60473         [BZ #16072]
60474         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60475         heap for large requests.
60477 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60479         [BZ #9954]
60480         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60481         result if the result has no associated interface.
60482         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60483         interface for all 127.X.Y.Z addresses.
60485 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60487         * locale/iso-639.def: Add Ligurian (lij)
60489 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60491         [BZ #15825]
60492         * sunrpc/rpc_main.c: Document rpcgen -5.
60494 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60496         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60498 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60500         [BZ #10278]
60501         * posix/glob.c: Match only directories when trailing slash is present.
60502         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60503         (main): Add testcase.
60505 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60507         [BZ #15670]
60508         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60510 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60512         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60513         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60514         AUTH_DES and cindex for FIPS 140-2.
60515         (DES Encryption): Add cindex FIPS 46-3.
60517         * locale/locarchive.h (struct locarhandle): Add fname.
60518         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60519         if an optional argument was specified to --list-archive,
60520         otherwise NULL.
60521         * locale/programs/locarchive.c (show_archive_content): Take new
60522         argument fname and pass it via ah.fname to open_archive.
60523         * locale/programs/localedef.h: Update decl.
60524         (open_archive): If AH->fname is non-null, open that file
60525         rather than the default file name, and don't ignore ENOENT.
60526         (create_archive): Set AH.fname to NULL.
60527         (delete_locales_from_archive): Likewise.
60528         (add_locales_to_archive): Likewise.
60529         * locale/programs/locfile.c (write_all_categories): Likewise.
60531 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60532             Aldy Hernandez  <aldyh@redhat.com>
60534         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60535         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60536         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60537         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60538         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60539         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60540         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60542         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60543         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60544         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60545         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60546         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60547         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60548         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60549         Likewise.
60550         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60551         Likewise.
60552         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60553         Likewise.
60554         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60555         Likewise.
60556         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60557         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60558         Likewise.
60559         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60560         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60561         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60562         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60563         Likewise.
60564         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60565         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60566         * sysdeps/powerpc/preconfigure: Likewise.
60567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60568         Likewise.
60569         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60570         Replace contents of file by #include of <fenv_libc.h>.
60571         * sysdeps/powerpc/soft-fp/sfp-machine.h
60572         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60573         and <sys/prctl.h>.
60574         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60576         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60582         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60583         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60584         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60585         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60587         Allow copysignl PLT reference to be missing.
60589 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60590             Joseph Myers  <joseph@codesourcery.com
60592         [BZ #15948]
60593         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60594         single character.
60595         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60597 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60599         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60600         * elf/tst-tls1.c: Likewise.
60601         * elf/tst-tls10.h: Likewise.
60602         * elf/tst-tls14.c: Likewise.
60603         * elf/tst-tls2.c: Likewise.
60604         * elf/tst-tls3.c: Likewise.
60605         * elf/tst-tls4.c: Likewise.
60606         * elf/tst-tls5.c: Likewise.
60607         * elf/tst-tls6.c: Likewise.
60608         * elf/tst-tls7.c: Likewise.
60609         * elf/tst-tls8.c: Likewise.
60610         * elf/tst-tls9.c: Likewise.
60611         * elf/tst-tlsmod1.c: Likewise.
60612         * elf/tst-tlsmod13.c: Likewise.
60613         * elf/tst-tlsmod13a.c: Likewise.
60614         * elf/tst-tlsmod14a.c: Likewise.
60615         * elf/tst-tlsmod16a.c: Likewise.
60616         * elf/tst-tlsmod16b.c: Likewise.
60617         * elf/tst-tlsmod2.c: Likewise.
60618         * elf/tst-tlsmod3.c: Likewise.
60619         * elf/tst-tlsmod4.c: Likewise.
60620         * elf/tst-tlsmod5.c: Likewise.
60621         * elf/tst-tlsmod6.c: Likewise.
60623 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60625         [BZ #12486]
60626         * malloc/malloc.c: remove checks for statistics.
60628 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60630         [BZ #15277]
60631         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60632         * inet/tst-network.c: Add testcase.
60634 2013-10-17  Andreas Schwab  <schwab@suse.de>
60636         [BZ #15218]
60637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60638         to determine canonical name.
60640 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60642         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60643         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60644         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60645         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60647         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60648         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60649         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60650         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60651         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60652         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60653         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60654         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60655         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60656         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60657         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60659         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60660         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60661         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60662         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60663         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60665         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60666         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60667         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60668         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60669         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60670         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60671         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60672         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60673         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60674         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60675         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60676         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60677         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60678         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60679         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60680         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60681         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60682         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60683         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60684         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60685         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60686         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60687         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60688         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60689         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60690         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60691         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60692         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60693         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60694         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60695         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60696         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60697         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60698         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60699         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60701 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60703         [BZ #16041]
60704         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60705         make result into a quiet NaN.
60707 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60709         * soft-fp/adddf3.c: Fix horizontal whitespace.
60710         * soft-fp/addsf3.c: Likewise.
60711         * soft-fp/addtf3.c: Likewise.
60712         * soft-fp/divdf3.c: Likewise.
60713         * soft-fp/divsf3.c: Likewise.
60714         * soft-fp/divtf3.c: Likewise.
60715         * soft-fp/double.h: Likewise.
60716         * soft-fp/eqdf2.c: Likewise.
60717         * soft-fp/eqsf2.c: Likewise.
60718         * soft-fp/eqtf2.c: Likewise.
60719         * soft-fp/extenddftf2.c: Likewise.
60720         * soft-fp/extended.h: Likewise.
60721         * soft-fp/extendsfdf2.c: Likewise.
60722         * soft-fp/extendsftf2.c: Likewise.
60723         * soft-fp/extendxftf2.c: Likewise.
60724         * soft-fp/fixdfdi.c: Likewise.
60725         * soft-fp/fixdfsi.c: Likewise.
60726         * soft-fp/fixdfti.c: Likewise.
60727         * soft-fp/fixsfdi.c: Likewise.
60728         * soft-fp/fixsfsi.c: Likewise.
60729         * soft-fp/fixsfti.c: Likewise.
60730         * soft-fp/fixtfdi.c: Likewise.
60731         * soft-fp/fixtfsi.c: Likewise.
60732         * soft-fp/fixtfti.c: Likewise.
60733         * soft-fp/fixunsdfdi.c: Likewise.
60734         * soft-fp/fixunsdfsi.c: Likewise.
60735         * soft-fp/fixunsdfti.c: Likewise.
60736         * soft-fp/fixunssfdi.c: Likewise.
60737         * soft-fp/fixunssfsi.c: Likewise.
60738         * soft-fp/fixunssfti.c: Likewise.
60739         * soft-fp/fixunstfdi.c: Likewise.
60740         * soft-fp/fixunstfsi.c: Likewise.
60741         * soft-fp/fixunstfti.c: Likewise.
60742         * soft-fp/floatdidf.c: Likewise.
60743         * soft-fp/floatdisf.c: Likewise.
60744         * soft-fp/floatditf.c: Likewise.
60745         * soft-fp/floatsidf.c: Likewise.
60746         * soft-fp/floatsisf.c: Likewise.
60747         * soft-fp/floatsitf.c: Likewise.
60748         * soft-fp/floattidf.c: Likewise.
60749         * soft-fp/floattisf.c: Likewise.
60750         * soft-fp/floattitf.c: Likewise.
60751         * soft-fp/floatundidf.c: Likewise.
60752         * soft-fp/floatundisf.c: Likewise.
60753         * soft-fp/floatunditf.c: Likewise.
60754         * soft-fp/floatunsidf.c: Likewise.
60755         * soft-fp/floatunsisf.c: Likewise.
60756         * soft-fp/floatunsitf.c: Likewise.
60757         * soft-fp/floatuntidf.c: Likewise.
60758         * soft-fp/floatuntisf.c: Likewise.
60759         * soft-fp/floatuntitf.c: Likewise.
60760         * soft-fp/fmadf4.c: Likewise.
60761         * soft-fp/fmasf4.c: Likewise.
60762         * soft-fp/fmatf4.c: Likewise.
60763         * soft-fp/gedf2.c: Likewise.
60764         * soft-fp/gesf2.c: Likewise.
60765         * soft-fp/getf2.c: Likewise.
60766         * soft-fp/ledf2.c: Likewise.
60767         * soft-fp/lesf2.c: Likewise.
60768         * soft-fp/letf2.c: Likewise.
60769         * soft-fp/muldf3.c: Likewise.
60770         * soft-fp/mulsf3.c: Likewise.
60771         * soft-fp/multf3.c: Likewise.
60772         * soft-fp/negdf2.c: Likewise.
60773         * soft-fp/negsf2.c: Likewise.
60774         * soft-fp/negtf2.c: Likewise.
60775         * soft-fp/op-1.h: Likewise.
60776         * soft-fp/op-2.h: Likewise.
60777         * soft-fp/op-4.h: Likewise.
60778         * soft-fp/op-8.h: Likewise.
60779         * soft-fp/op-common.h: Likewise.
60780         * soft-fp/quad.h: Likewise.
60781         * soft-fp/single.h: Likewise.
60782         * soft-fp/soft-fp.h: Likewise.
60783         * soft-fp/sqrtdf2.c: Likewise.
60784         * soft-fp/sqrtsf2.c: Likewise.
60785         * soft-fp/sqrttf2.c: Likewise.
60786         * soft-fp/subdf3.c: Likewise.
60787         * soft-fp/subsf3.c: Likewise.
60788         * soft-fp/subtf3.c: Likewise.
60789         * soft-fp/truncdfsf2.c: Likewise.
60790         * soft-fp/trunctfdf2.c: Likewise.
60791         * soft-fp/trunctfsf2.c: Likewise.
60792         * soft-fp/trunctfxf2.c: Likewise.
60793         * soft-fp/unorddf2.c: Likewise.
60794         * soft-fp/unordsf2.c: Likewise.
60795         * soft-fp/unordtf2.c: Likewise.
60797 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60799         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60800         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60802 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60804         * elf/dl-libc.c: Clear initfini list after freeing.
60806 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60808         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60809         * soft-fp/addsf3.c: Likewise.
60810         * soft-fp/addtf3.c: Likewise.
60811         * soft-fp/divdf3.c: Likewise.
60812         * soft-fp/divsf3.c: Likewise.
60813         * soft-fp/divtf3.c: Likewise.
60814         * soft-fp/double.h: Likewise.
60815         * soft-fp/eqdf2.c: Likewise.
60816         * soft-fp/eqsf2.c: Likewise.
60817         * soft-fp/eqtf2.c: Likewise.
60818         * soft-fp/extenddftf2.c: Likewise.
60819         * soft-fp/extended.h: Likewise.
60820         * soft-fp/extendsfdf2.c: Likewise.
60821         * soft-fp/extendsftf2.c: Likewise.
60822         * soft-fp/extendxftf2.c: Likewise.
60823         * soft-fp/fixdfdi.c: Likewise.
60824         * soft-fp/fixdfsi.c: Likewise.
60825         * soft-fp/fixdfti.c: Likewise.
60826         * soft-fp/fixsfdi.c: Likewise.
60827         * soft-fp/fixsfsi.c: Likewise.
60828         * soft-fp/fixsfti.c: Likewise.
60829         * soft-fp/fixtfdi.c: Likewise.
60830         * soft-fp/fixtfsi.c: Likewise.
60831         * soft-fp/fixtfti.c: Likewise.
60832         * soft-fp/fixunsdfdi.c: Likewise.
60833         * soft-fp/fixunsdfsi.c: Likewise.
60834         * soft-fp/fixunsdfti.c: Likewise.
60835         * soft-fp/fixunssfdi.c: Likewise.
60836         * soft-fp/fixunssfsi.c: Likewise.
60837         * soft-fp/fixunssfti.c: Likewise.
60838         * soft-fp/fixunstfdi.c: Likewise.
60839         * soft-fp/fixunstfsi.c: Likewise.
60840         * soft-fp/fixunstfti.c: Likewise.
60841         * soft-fp/floatdidf.c: Likewise.
60842         * soft-fp/floatdisf.c: Likewise.
60843         * soft-fp/floatditf.c: Likewise.
60844         * soft-fp/floatsidf.c: Likewise.
60845         * soft-fp/floatsisf.c: Likewise.
60846         * soft-fp/floatsitf.c: Likewise.
60847         * soft-fp/floattidf.c: Likewise.
60848         * soft-fp/floattisf.c: Likewise.
60849         * soft-fp/floattitf.c: Likewise.
60850         * soft-fp/floatundidf.c: Likewise.
60851         * soft-fp/floatundisf.c: Likewise.
60852         * soft-fp/floatunsidf.c: Likewise.
60853         * soft-fp/floatunsisf.c: Likewise.
60854         * soft-fp/floatuntidf.c: Likewise.
60855         * soft-fp/floatuntisf.c: Likewise.
60856         * soft-fp/floatuntitf.c: Likewise.
60857         * soft-fp/fmadf4.c: Likewise.
60858         * soft-fp/fmasf4.c: Likewise.
60859         * soft-fp/fmatf4.c: Likewise.
60860         * soft-fp/gedf2.c: Likewise.
60861         * soft-fp/gesf2.c: Likewise.
60862         * soft-fp/getf2.c: Likewise.
60863         * soft-fp/ledf2.c: Likewise.
60864         * soft-fp/lesf2.c: Likewise.
60865         * soft-fp/letf2.c: Likewise.
60866         * soft-fp/muldf3.c: Likewise.
60867         * soft-fp/mulsf3.c: Likewise.
60868         * soft-fp/multf3.c: Likewise.
60869         * soft-fp/negdf2.c: Likewise.
60870         * soft-fp/negsf2.c: Likewise.
60871         * soft-fp/negtf2.c: Likewise.
60872         * soft-fp/op-1.h: Likewise.
60873         * soft-fp/op-2.h: Likewise.
60874         * soft-fp/op-4.h: Likewise.
60875         * soft-fp/op-8.h: Likewise.
60876         * soft-fp/op-common.h: Likewise.
60877         * soft-fp/quad.h: Likewise.
60878         * soft-fp/single.h: Likewise.
60879         * soft-fp/soft-fp.h: Likewise.
60880         * soft-fp/sqrtdf2.c: Likewise.
60881         * soft-fp/sqrtsf2.c: Likewise.
60882         * soft-fp/sqrttf2.c: Likewise.
60883         * soft-fp/subdf3.c: Likewise.
60884         * soft-fp/subsf3.c: Likewise.
60885         * soft-fp/subtf3.c: Likewise.
60886         * soft-fp/truncdfsf2.c: Likewise.
60887         * soft-fp/trunctfdf2.c: Likewise.
60888         * soft-fp/trunctfsf2.c: Likewise.
60889         * soft-fp/trunctfxf2.c: Likewise.
60890         * soft-fp/unorddf2.c: Likewise.
60891         * soft-fp/unordsf2.c: Likewise.
60892         * soft-fp/unordtf2.c: Likewise.
60894 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60896         [BZ #15672]
60897         * misc/error.c (error_tail): Fix possible buffer overflow.
60899 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60901         [BZ #13028]
60902         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60903         address.
60905 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60907         [BZ #832]
60908         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60909         testing pipefail option.
60911 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60913         * soft-fp/double.h: Indent preprocessor directives inside #if.
60914         * soft-fp/extended.h: Likewise.
60915         * soft-fp/op-2.h: Likewise.
60916         * soft-fp/op-4.h: Likewise.
60917         * soft-fp/op-common.h: Likewise.
60918         * soft-fp/quad.h: Likewise.
60919         * soft-fp/single.h: Likewise.
60920         * soft-fp/soft-fp.h: Likewise.
60922 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60924         * iconv/iconv_prog.c: Fix typos.
60925         * stdio-common/psiginfo-data.h: Likewise.
60927 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60929         [BZ #15764]
60930         * locale/setlocale.c: Fix typo.
60932 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60934         [BZ #16036]
60935         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60936         signaling NaN arguments.
60937         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60938         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60940         [BZ #14910]
60941         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60942         unordered operands.
60943         * soft-fp/gesf2.c (__gesf2): Likewise.
60944         * soft-fp/getf2.c (__getf2): Likewise.
60945         * soft-fp/ledf2.c (__ledf2): Likewise.
60946         * soft-fp/lesf2.c (__lesf2): Likewise.
60947         * soft-fp/letf2.c (__letf2): Likewise.
60949         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60950         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60951         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60952         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60953         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60954         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60955         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60956         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60957         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60958         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60959         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60960         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60961         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60962         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60963         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60964         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60965         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60966         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60967         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60968         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60969         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60970         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60971         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60972         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60973         * soft-fp/floattidf.c (__floattidf): Likewise.
60974         * soft-fp/floattisf.c (__floattisf): Likewise.
60975         * soft-fp/floattitf.c (__floattitf): Likewise.
60976         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60977         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60978         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60979         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60980         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60981         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60982         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60983         * soft-fp/gesf2.c (__gesf2): Likewise.
60984         * soft-fp/getf2.c (__getf2): Likewise.
60985         * soft-fp/ledf2.c (__ledf2): Likewise.
60986         * soft-fp/lesf2.c (__lesf2): Likewise.
60987         * soft-fp/letf2.c (__letf2): Likewise.
60989         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60990         Undefine and redefine.
60991         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60992         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60993         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60994         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60995         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60996         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60997         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60998         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60999         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61000         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
61001         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61002         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
61003         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61004         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
61005         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61007         [BZ #16032]
61008         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
61009         without decrementing exponent if mantissa >= that for the
61010         denominator, not >.
61011         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
61012         denominator, not >.  Decrement exponent in < case instead of
61013         incrementing in >= case.
61014         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
61015         without decrementing exponent if mantissa >= that for the
61016         denominator, not >.
61018         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
61019         computing saturated result for unsigned overflow.
61021 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61022             Jeff Law  <law@redhat.com>
61024         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
61025         (atan2Mp): Add systemtap probe marker.
61026         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
61027         (__ieee754_log): Add systemtap probe marker.
61028         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
61029         (atanMp): Add systemtap probe marker.
61030         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
61031         (tanMp): Add systemtap probe marker.
61032         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
61033         (__slowexp): Add systemtap probe marker.
61034         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
61035         (__slowpow): Add systemtap probe marker.
61036         * manual/probes.texi: Document probes.
61038 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
61040         [BZ #15362]
61041         * libio/fileops.c (_IO_new_file_write): Return count of bytes
61042         written.
61043         (_IO_new_file_xsputn): Don't return EOF if nothing has been
61044         written.
61045         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
61046         written to buffer but not flushed.
61047         * libio/iofwrite_u.c:  Likewise.
61048         * libio/iopadn.c:  Return bytes returned even if EOF was
61049         encountered.
61050         * libio/iowpadn.c:  Likewise.
61051         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
61052         if _IO_padn does not write the whole buffer.
61053         [!COMPILE_WPRINTF] (PAD): Likewise.
61055 2013-10-10  David S. Miller  <davem@davemloft.net>
61057         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
61058         directory block.
61060 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61062         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
61063         instead of FSF address.
61064         * soft-fp/fixdfti.c: Likewise.
61065         * soft-fp/fixsfti.c: Likewise.
61066         * soft-fp/fixtfti.c: Likewise.
61067         * soft-fp/fixunsdfti.c: Likewise.
61068         * soft-fp/fixunssfti.c: Likewise.
61069         * soft-fp/fixunstfti.c: Likewise.
61070         * soft-fp/floattidf.c: Likewise.
61071         * soft-fp/floattisf.c: Likewise.
61072         * soft-fp/floattitf.c: Likewise.
61073         * soft-fp/floatuntidf.c: Likewise.
61074         * soft-fp/floatuntisf.c: Likewise.
61075         * soft-fp/floatuntitf.c: Likewise.
61076         * soft-fp/trunctfxf2.c: Likewise.
61078         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
61079         * soft-fp/fixdfti.c: Likewise.
61080         * soft-fp/fixsfti.c: Likewise.
61081         * soft-fp/fixtfti.c: Likewise.
61082         * soft-fp/fixunsdfti.c: Likewise.
61083         * soft-fp/fixunssfti.c: Likewise.
61084         * soft-fp/fixunstfti.c: Likewise.
61085         * soft-fp/floattidf.c: Likewise.
61086         * soft-fp/floattisf.c: Likewise.
61087         * soft-fp/floattitf.c: Likewise.
61088         * soft-fp/floatuntidf.c: Likewise.
61089         * soft-fp/floatuntisf.c: Likewise.
61090         * soft-fp/floatuntitf.c: Likewise.
61091         * soft-fp/trunctfxf2.c: Likewise.
61093 2013-10-10  David S. Miller  <davem@davemloft.net>
61095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61097 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
61099         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
61100         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
61101         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61102         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61103         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61104         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61105         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61108         for NaNs before doing comparisons on argument.
61109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61110         Likewise.
61112 2013-10-10  Will Newton  <will.newton@linaro.org>
61114         * malloc/hooks.c (memalign_check): Ensure the value of bytes
61115         passed to _int_memalign does not overflow.
61117 2013-10-10  Torvald Riegel  <triegel@redhat.com>
61119         * scripts/bench.pl: Add include-sources directive.
61120         * benchtests/README: Update documentation.
61122 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61124         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61125         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61126         instead of FP_INIT_ROUNDMODE.
61127         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61128         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61130         [BZ #16034]
61131         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
61132         copy class of input value.
61133         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
61134         not handle exceptions.
61135         * soft-fp/negsf2.c (__negsf2): Likewise.
61136         * soft-fp/negtf2.c (__negtf2): Likewise.
61137         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61139 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
61141         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61142         semicolon.  From Linux kernel.
61144 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
61146         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61148 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
61150         [BZ #156]
61151         * manual/socket.texi: Added statement about buffer
61152         for gethostbyname2_r.
61154 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
61156         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61157         Use .p2align directive instead, throughout.
61158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61159         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61160         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61161         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61162         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61163         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61164         * sysdeps/x86_64/strchr.S: Likewise.
61165         * sysdeps/x86_64/strrchr.S: Likewise.
61167 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61169         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61171         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61173         * sysdeps/generic/math_private.h (__mpsin1): Remove
61174         declaration.
61175         (__mpcos1): Likewise.
61176         (__mpsin): New argument __range_reduce.
61177         (__mpcos): Likewise.
61178         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61179         (slow): Use __mpsin and __mpcos.
61180         (slow1): Likewise.
61181         (slow2): Likewise.
61182         (sloww): Likewise.
61183         (sloww1): Likewise.
61184         (sloww2): Likewise.
61185         (bsloww): Likewise.
61186         (bsloww1): Likewise.
61187         (bsloww2): Likewise.
61188         (cslow2): Likewise.
61189         (csloww): Likewise.
61190         (csloww1): Likewise.
61191         (csloww2): Likewise.
61192         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61193         range_reduce.  Merge in __mpsin1.
61194         (__mpcos): Likewise.
61195         (__mpsin1): Remove.
61196         (__mpcos1): Likewise.
61198 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
61200         * locale/loadlocale.c (_nl_intern_locale_data): Use
61201         LOCFILE_ALIGNED_P.
61202         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61203         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61204         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61205         obstack data is appropriately aligned.
61206         (obstack_int32_grow_fast): Likewise.
61207         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61208         * locale/programs/locfile.c (add_locale_uint32): Likewise.
61209         (add_locale_uint32_array): Likewise.
61211 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61213         * benchtests/Makefile: Remove ARGLIST and RET variables.
61214         ($(objpfx)bench-%.c): Pass only function name to the script.
61215         * benchtests/README: Update documentation.
61216         * benchtests/acos-inputs: Add new directives.
61217         * benchtests/acosh-inputs: Likewise.
61218         * benchtests/asin-inputs: Likewise.
61219         * benchtests/asinh-inputs: Likewise.
61220         * benchtests/atan-inputs: Likewise.
61221         * benchtests/atanh-inputs: Likewise.
61222         * benchtests/cos-inputs: Likewise.
61223         * benchtests/cosh-inputs: Likewise.
61224         * benchtests/exp-inputs: Likewise.
61225         * benchtests/log-inputs: Likewise.
61226         * benchtests/pow-inputs: Likewise.
61227         * benchtests/rint-inputs: Likewise.
61228         * benchtests/sin-inputs: Likewise.
61229         * benchtests/sinh-inputs: Likewise.
61230         * benchtests/tan-inputs: Likewise.
61231         * benchtests/tanh-inputs: Likewise.
61232         * scripts/bench.pl: Add support for new directives.
61234 2013-10-07  Alan Modra  <amodra@gmail.com>
61236         * README: Fix careless merge.
61238 2013-10-05  Alan Modra  <amodra@gmail.com>
61240         * NEWS: Mention powerpc64le support and bugs fixed.
61241         * README: Both big-endian and little-endian powerpc64 supported.
61243 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61245         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61246         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61247         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61248         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61250 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61252         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61253         match prototype.
61255 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61257         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61258         Move -mhard-float appending from
61259         ports/sysdeps/powerpc/powerpc32/Makefile.
61260         [$(with-fp) = yes] (ASFLAGS): Likewise.
61261         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61262         * sysdeps/powerpc/nofpu: Move directory from
61263         ports/sysdeps/powerpc/nofpu.
61264         * sysdeps/powerpc/soft-fp: Move directory from
61265         ports/sysdeps/powerpc/soft-fp.
61266         * sysdeps/powerpc/powerpc32/405: Move directory from
61267         ports/sysdeps/powerpc/powerpc32/405.
61268         * sysdeps/powerpc/powerpc32/440: Move directory from
61269         ports/sysdeps/powerpc/powerpc32/440.
61270         * sysdeps/powerpc/powerpc32/464: Move directory from
61271         ports/sysdeps/powerpc/powerpc32/464.
61272         * sysdeps/powerpc/powerpc32/476: Move directory from
61273         ports/sysdeps/powerpc/powerpc32/476.
61274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61275         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61277         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61279         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61281         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61283         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61284         * README: Update for powerpc-*-linux-gnu software floating point
61285         support in libc.
61287         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61288         case to powerpc/powerpc32*.
61289         * sysdeps/unix/sysv/linux/configure: Regenerated.
61291         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61292         (_FPU_MASK_OM): Define as 0x04.
61293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61295         0x00c10080.
61296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61297         0x0000003c.
61298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61301         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61302         getcontext_e500.
61303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61304         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61305         setcontext_e500.
61306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61307         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61308         and setcontext_e500.
61310 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61312         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61314 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61316         * manual/threads.texi (Default Thread Attributes): Fix typo.
61318 2013-10-04  Will Newton  <will.newton@linaro.org>
61320         * malloc/Makefile: Add tst-memalign.
61321         * malloc/tst-memalign.c: New file.
61323         * malloc/tst-posix_memalign.c: Add comments.
61324         (do_test): Add comments and call free on all potentially
61325         allocated pointers. Add space after cast.
61327         * malloc/tst-pvalloc.c: Add comments.
61328         (do_test): Add comments and call free on all potentially
61329         allocated pointers. Remove duplicate check for NULL pointer.
61330         Add space after cast.
61332         * malloc/tst-valloc.c: Add comments.
61333         (do_test): Add comments and call free on all potentially
61334         allocated pointers. Remove duplicate check for NULL pointer.
61335         Add space after cast.
61337 2013-10-04  Alan Modra  <amodra@gmail.com>
61339         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61340         Use stdint types in rather than __attribute__((mode())).
61341         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61343 2013-10-04  Alan Modra  <amodra@gmail.com>
61345         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61346         Correct handling of unaligned relocs for little-endian.
61347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61349 2013-10-04  Alan Modra  <amodra@gmail.com>
61351         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61352         * configure: Regenerate.
61353         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61354         * shlib-versions: Likewise.
61356 2013-10-04  Alan Modra  <amodra@gmail.com>
61358         * string/tester.c (test_memrchr): Increment reported test cycle.
61360 2013-10-04  Alan Modra  <amodra@gmail.com>
61362         * string/test-memcpy.c (do_one_test): When reporting errors, print
61363         string address and don't overrun end of string.
61365 2013-10-04  Alan Modra  <amodra@gmail.com>
61367         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61368         insrdi.  Make better use of reg selection to speed exit slightly.
61369         Schedule entry path a little better.  Remove useless "are we done"
61370         checks on entry to main loop.  Handle wrapping around zero address.
61371         Correct main loop count.  Handle single left-over word from main
61372         loop inline rather than by using loop_small.  Remove extra word
61373         case in loop_small caused by wrong loop count.  Add little-endian
61374         support.
61375         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61376         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61377         cache hint.
61378         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61379         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61380         support.  Avoid rlwimi.
61381         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61383 2013-10-04  Alan Modra  <amodra@gmail.com>
61385         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61386         insrdi.  Formatting.
61387         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61388         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61389         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61390         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61391         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61392         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61394 2013-10-04  Alan Modra  <amodra@gmail.com>
61396         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61397         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61398         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61399         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61400         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61401         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61402         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61403         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61404         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61405         use of regs.  Use power7 mtocrf.  Tidy function tails.
61407 2013-10-04  Alan Modra  <amodra@gmail.com>
61409         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61410         Formatting.  Consistently use rXXX register defines or rN defines.
61411         Use early exit labels that avoid restoring unused non-volatile regs.
61412         Make cr field use more consistent with rWORDn compares.  Rename
61413         regs used as shift registers for unaligned loop, using rN defines
61414         for short lifetime/multiple use regs.
61415         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61416         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61417         addi 1,1,64 to pop stack frame.  Simplify return value code.
61418         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61420 2013-10-04  Alan Modra  <amodra@gmail.com>
61422         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61423         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61424         rather than rlwimi.
61425         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61426         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61427         little-endian support.  Correct typos.
61428         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61429         rather than rlwimi.
61430         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61431         in loop and entry code to keep "and." results.
61432         (strchr): Add little-endian support.  Comment.  Move cntlzd
61433         earlier in tail.
61434         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61436 2013-10-04  Alan Modra  <amodra@gmail.com>
61438         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61439         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61440         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61441         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61443 2013-10-04  Alan Modra  <amodra@gmail.com>
61445         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61446         (rTMP): Define as r11.
61447         (strcmp): Add little-endian support.  Optimise tail.
61448         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61449         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61450         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61451         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61452         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61453         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61454         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61456 2013-10-04  Alan Modra  <amodra@gmail.com>
61458         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61459         little-endian support.  Remove unnecessary "are we done" tests.
61460         Handle "s" wrapping around zero and extremely large "size".
61461         Correct main loop count.  Handle single left-over word from main
61462         loop inline rather than by using small_loop.  Correct comments.
61463         Delete "zero" tail, use "end_max" instead.
61464         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61466 2013-10-04  Alan Modra  <amodra@gmail.com>
61468         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61469         support.  Don't branch over align.
61470         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61471         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61472         support.  Rearrange tmp reg use to suit.  Comment.
61473         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61475 2013-10-04  Alan Modra  <amodra@gmail.com>
61477         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61479 2013-10-04  Alan Modra  <amodra@gmail.com>
61481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61482         conditional form of branch and link when obtaining pc.
61483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61485 2013-10-04  Alan Modra  <amodra@gmail.com>
61487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61488         HIWORD/LOWORD.
61489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61492 2013-10-04  Alan Modra  <amodra@gmail.com>
61494         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61495         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61496         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61497         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61498         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61499         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61500         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61501         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61502         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61503         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61505 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61506             Alistair Popple <alistair@ozlabs.au.ibm.com>
61507             Alan Modra <amodra@gmail.com>
61509         [BZ #15723]
61510         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61511         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61512         _dl_hwcap access for little-endian.
61513         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61514         destroy vmx regs when saving unaligned.
61515         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61516         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61517         destroy vmx regs when saving unaligned.
61519 2013-10-04  Alan Modra  <amodra@gmail.com>
61521         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61522         Don't use a union to pack hi/low value.
61524 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61526         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61527         for little-endian.
61528         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61529         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61530         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61531         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61532         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61534 2013-10-04  Alan Modra  <amodra@gmail.com>
61536         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61537         constants to usual value for .cst8 section, and remove redundant
61538         high address load.
61539         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61540         constant for 0x1p52.  Load little-endian words of double from
61541         correct stack offsets.
61543 2013-10-04  Alan Modra  <amodra@gmail.com>
61545         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61546         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61547         words of double from correct stack offsets.
61548         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61549         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61550         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61551         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61552         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61553         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61554         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61555         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61556         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61557         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61558         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61559         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61560         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61561         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61562         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61563         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61564         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61566 2013-10-04  Alan Modra  <amodra@gmail.com>
61568         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61569         64-bit int/double union.
61570         (_FPU_SETCW): Likewise.
61571         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61572         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61574 2013-10-04  Alan Modra  <amodra@gmail.com>
61576         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61577         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61579 2013-10-04  Alan Modra  <amodra@gmail.com>
61581         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61582         use vector int constants.
61583         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61585 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61587         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61588         array with long long.
61589         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61590         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61591         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61592         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61593         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61594         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61595         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61596         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61597         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61598         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61599         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61600         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61601         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61603 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61605         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61606         (__signbit): Likewise.  Correct for little-endian.
61607         (__signbitl): Call __signbit.
61608         (lrint): Correct for little-endian.
61609         (lrintf): Call lrint.
61611 2013-10-04  Alan Modra  <amodra@gmail.com>
61613         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61614         union 32-bit int array member with 64-bit int array.
61615         (t515, tm256): Double rather than long double.
61616         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61618 2013-10-04  Alan Modra  <amodra@gmail.com>
61620         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61621         Delete.
61622         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61624         version of math_ldbl.h.
61626 2013-10-04  Alan Modra  <amodra@gmail.com>
61628         [BZ #15734], [BZ #15735]
61629         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61630         all uses of ieee875 long double macros and unions.  Simplify test
61631         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61632         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61633         normalize after ldbl_extract_mantissa, and don't add hidden bit
61634         already handled.  Don't treat low word of ieee854 mantissa like
61635         low word of IBM long double and mask off bit when testing for
61636         zero.
61637         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61638         all uses of ieee875 long double macros and unions.  Simplify tests
61639         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61640         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61641         two1022, instead use their values.  Recognise that tests for large
61642         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61643         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61644         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61645         test for 0.0L and nan.  Correct negation.
61646         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61647         ieee875 long double macros and unions.  Correct output for large
61648         magnitude x.  Correct absolute value calculation.
61649         (__erfcl): Likewise.
61650         * math/libm-test.inc: Add tests for errors discovered in IBM long
61651         double versions of fmodl, remainderl, erfl and erfcl.
61653 2013-10-04  Alan Modra  <amodra@gmail.com>
61655         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61656         all uses of ieee854 long double macros and unions.  Simplify tests
61657         for long doubles that are fully specified by the high double.
61658         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61659         Likewise.
61660         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61661         Remove dead code too.
61662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61663         (__ieee754_ynl): Likewise.
61664         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61665         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61666         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61667         Remove dead code too.
61668         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61669         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61670         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61671         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61672         Simplify.
61673         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61674         Simplify.
61675         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61676         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61677         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61678         Comment on variable precision.
61679         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61680         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61681         Likewise.
61682         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61683         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61684         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61685         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61686         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61688 2013-10-04  Alan Modra  <amodra@gmail.com>
61690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61691         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61692         all uses of ieee854 long double macros and unions.
61693         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61694         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61695         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61696         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61697         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61698         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61699         Likewise.
61700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61701         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61702         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61703         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61704         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61706         Simplify sign and nan test too.
61707         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61708         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61709         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61710         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61711         Likewise.
61712         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61713         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61714         Likewise.
61715         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61716         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61717         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61718         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61719         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61722 2013-10-04  Alan Modra  <amodra@gmail.com>
61724         * stdio-common/printf_size.c (__printf_size): Don't use
61725         union ieee854_long_double in fpnum union.
61726         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61727         signbit macro to retrieve sign from long double.
61728         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61729         retrieve sign from long double.
61730         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61731         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61732         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61733         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61734         * math/test-misc.c (main): Don't use union ieee854_long_double.
61736 2013-10-04  Alan Modra  <amodra@gmail.com>
61738         [BZ #15680]
61739         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61740         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61741         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61742         calculation.  Remove unnecessary test for denormal exponent.
61743         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61744         Correct handling of denormals.  Avoid undefined shift behaviour.
61745         Correct normalisation of low mantissa when low double is denormal.
61746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61747         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61748         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61749         Correct normalisation of low mantissa.  Test for overflow of high
61750         mantissa and normalise.
61751         (ldbl_nearbyint): Use more readable constant for two52.
61752         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61753         (__mpn_construct_long_double): Fix test for overflow of high
61754         mantissa and correct normalisation.  Avoid undefined shift.
61756 2013-10-04  Alan Modra  <amodra@gmail.com>
61758         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61759         (union ibm_extended_long_double): Define as an array of ieee754_double.
61760         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61761         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61762         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61763         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61765         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61766         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61767         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61768         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61769         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61770         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61772 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61774         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61775         page size instead of calling getpagesize.
61777         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61778         (LOCFILE_ALIGN_MASK): Likewise.
61779         (LOCFILE_ALIGN_UP): Likewise.
61780         (LOCFILE_ALIGNED_P): Likewise.
61781         * locale/programs/ld-collate.c (collate_output): Use the new
61782         macros instead of __alignof__ (int32_t).
61783         * locale/weight.h (findidx): Likewise.
61785 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61787         [BZ #431]
61788         * manual/string.texi: Fix strncat and wcsncat.
61790 2013-10-03  Brooks Moses  <bmoses@google.com>
61792         [BZ #15915]
61793         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61794         * Makerules: ...here, and adjust associated comments.
61796 2013-10-02  Will Newton  <will.newton@linaro.org>
61798         * malloc/Makefile: Add tst-pvalloc.
61799         * malloc/tst-pvalloc.c: New file.
61801 2013-10-02  Will Newton  <will.newton@linaro.org>
61803         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61804         improve test coverage.
61806 2013-10-02  Will Newton  <will.newton@linaro.org>
61808         * malloc/Makefile: Add tst-posix_memalign.
61809         * malloc/tst-posix_memalign.c: New file.
61811 2013-10-01  Eric Blake  <eblake@redhat.com>
61813         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61814         Use __THROWNL rather than __THROW on static functions.
61816 2013-09-30  Petr Machata  <pmachata@redhat.com>
61818         * elf/elf.h (R_AARCH64_ABS16): New macro.
61819         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61820         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61821         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61822         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61823         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61824         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61825         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61826         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61827         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61828         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61829         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61830         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61831         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61832         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61833         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61834         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61835         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61836         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61837         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61838         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61839         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61840         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61841         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61842         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61843         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61844         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61845         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61846         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61847         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61848         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61849         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61850         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61851         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61852         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61853         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61854         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61855         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61856         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61857         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61858         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61859         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61860         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61861         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61862         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61863         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61864         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61865         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61866         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61867         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61868         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61869         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61870         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61871         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61872         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61873         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61874         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61875         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61876         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61877         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61878         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61879         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61880         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61881         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61882         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61883         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61884         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61885         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61886         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61887         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61888         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61889         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61890         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61891         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61892         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61893         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61894         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61895         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61896         (R_AARCH64_TLSDESC_LDR): Likewise.
61897         (R_AARCH64_TLSDESC_ADD): Likewise.
61898         (R_AARCH64_TLSDESC_CALL): Likewise.
61900 2013-09-30  Andreas Schwab  <schwab@suse.de>
61902         [BZ #15048]
61903         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61904         the nss database lookup.
61905         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61908 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61910         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61912 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61914         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61915         ${Bash-specific parameter/pattern/string} parameter expansion.
61916         * sysdeps/unix/make-syscalls.sh: Likewise.
61918 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61920         * sysdeps/sh/stackguard-macros.h: New file.
61922 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61926         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61927         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61928         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61929         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61931 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61933         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61934         Fix thread ID register.
61936 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61938         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61939         [POSIX || UNIX98]: Require rather than permitting all symbols from
61940         <time.h>.
61941         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61942         element of struct sched_param.
61943         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61944         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61945         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61946         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61947         constant.
61949 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61951         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61952         argument calculation.
61954 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61956         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61957         Expect macro.
61958         [POSIX] (pthread_attr_t): Do not require type.
61959         [POSIX] (pthread_cond_t): Likewise.
61960         [POSIX] (pthread_condattr_t): Likewise.
61961         [POSIX] (pthread_key_t): Likewise.
61962         [POSIX] (pthread_mutex_t): Likewise.
61963         [POSIX] (pthread_mutexattr_t): Likewise.
61964         [POSIX] (pthread_once_t): Likewise.
61965         [POSIX] (pthread_t): Likewise.
61966         [POSIX-based standards] (pthread_atfork): Expect function.
61968 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61969             Richard Sandiford  <richard@codesourcery.com>
61971         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61972         (swap_endianness_p): New extern variable.
61973         (set_big_endian): New inline function.
61974         (maybe_swap_uint32): Likewise.
61975         (maybe_swap_uint32_array): Likewise.
61976         (maybe_swap_uint32_obstack): Likewise.
61977         * locale/programs/locfile.c: Include <stdbool.h>.
61978         (swap_endianness_p): New variable.
61979         (add_locale_uint32): Call maybe_swap_uint32.
61980         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61981         (write_locale_data): Call maybe_swap_uint32_array.
61982         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61983         maybe_swap_uint32.
61984         (obstack_int32_grow_fast): Likewise.
61985         (output_weightwc): Call maybe_swap_uint32_obstack.
61986         (collate_output): Likewise.
61987         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61988         (OPT_LITTLE_ENDIAN): Likewise.
61989         (options): Add --little-endian and --big-endian options.
61990         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61991         * locale/programs/locarchive.c: Include "locfile.h".
61992         (GET): New macro.
61993         (SET): Likewise.
61994         (INC): Likewise.
61995         (create_archive): Use the new macros to access fields of
61996         structures directly mapped from or written to locale archives.
61997         (oldlocrecentcmp): Likewise.
61998         (enlarge_archive): Likewise.
61999         (insert_name): Likewise.
62000         (add_alias): Likewise.
62001         (add_locale): Likewise.
62002         (delete_locales_from_archive): Likewise.
62003         (show_archive_content): Likewise.
62004         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
62005         locale data.
62007 2013-09-24  Roland McGrath  <roland@hack.frob.com>
62009         * manual/freemanuals.texi: Updated from (newly) canonical copy at
62010         http://www.gnu.org/doc/freemanuals.texi.
62011         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
62013 2013-09-24  Will Newton  <will.newton@linaro.org>
62015         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
62016         macro.
62018 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
62020         * locale/hashval.h (compute_hashval): Interpret bytes of key as
62021         unsigned char.
62023 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
62025         * manual/threads.texi (POSIX Threads): Fix a typo.
62027 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62029         [BZ #14547]
62030         * string/tst-strcoll-overflow.c: New test case.
62031         * string/Makefile (xtests): Add tst-strcoll-overflow.
62032         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
62033         cache if string sizes may cause integer overflow.
62035         [BZ #14547]
62036         * string/strcoll_l.c (coll_seq): New members rule, idx,
62037         save_idx and back_us.
62038         (get_next_seq_nocache): New function.
62039         (do_compare_nocache): New function.
62040         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
62041         when malloc fails.
62043 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
62045         [BZ #15754]
62046         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
62047         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
62048         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
62050         [BZ #15754]
62051         * elf/Makefile (tests): Add tst-ptrguard1.
62052         (tests-static): Add tst-ptrguard1-static.
62053         (tst-ptrguard1-ARGS): Define.
62054         (tst-ptrguard1-static-ARGS): Define.
62055         * elf/tst-ptrguard1.c: New file.
62056         * elf/tst-ptrguard1-static.c: New file.
62057         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
62058         * sysdeps/i386/stackguard-macros.h: Likewise.
62059         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62060         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62061         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62062         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62063         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62064         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62066 2013-09-23  Hector Marco  <hecmargi@upv.es>
62067             Ismael Ripoll  <iripoll@disca.upv.es>
62068             Carlos O'Donell  <carlos@redhat.com>
62070         [BZ #15754]
62071         * sysdeps/generic/stackguard-macros.h: Define
62072         __pointer_chk_guard_local and POINTER_CHK_GUARD.
62073         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
62074         Define __pointer_chk_guard_local.
62075         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
62076         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
62078 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
62080         [BZ #15859]
62081         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
62083 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
62085         * include/string.h (__ffs): Declare as hidden.
62086         * string/ffs.c (__ffs): Define as hidden.
62087         * sysdeps/i386/ffs.c (__ffs): Likewise.
62088         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
62089         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
62090         * sysdeps/s390/ffs.c (__ffs): Likewise.
62091         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
62093 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
62095         * NEWS: Mention malloc probes.
62097         * malloc/arena.c (new_heap): New memory_heap_new probe.
62098         (grow_heap): New memory_heap_more probe.
62099         (shrink_heap): New memory_heap_less probe.
62100         (heap_trim): New memory_heap_free probe.
62101         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62102         (systrim): New memory_sbrk_less probe.
62103         * manual/probes.texi: Document them.
62105         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62106         * manual/probes.texi: Document it.
62108         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62109         (__libc_realloc): Add memory_realloc_retry probe.
62110         (__libc_memalign): Add memory_memalign_retry probe.
62111         (__libc_valloc): Add memory_valloc_retry probe.
62112         (__libc_pvalloc): Add memory_pvalloc_retry probe.
62113         (__libc_calloc): Add memory_calloc_retry probe.
62114         * manual/probes.texi: Document them.
62116         * malloc/arena.c (get_free_list): Add probe
62117         memory_arena_reuse_free_list.
62118         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62119         and memory_arena_reuse.
62120         (arena_get2) [!PER_THREAD]: Likewise.
62121         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62122         memory_arena_reuse_realloc.
62123         * manual/probes.texi: Document them.
62125         * malloc/malloc.c (__libc_free): Add
62126         memory_mallopt_free_dyn_thresholds probe.
62127         (__libc_mallopt): Add multiple memory_mallopt probes.
62128         * manual/probes.texi: Document them.
62130         * malloc/malloc.c: Include stap-probe.h.
62131         (__libc_mallopt): Add memory_mallopt probe.
62132         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62133         * manual/probes.texi: New.
62134         * manual/Makefile (chapters): Add probes.
62135         * manual/threads.texi: Set next node.
62137 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
62139         [BZ #15963, #13985]
62140         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62141         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62142         Add `Chinese' to `nan' entry name.
62144 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62146         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62147         (POLYNOMIAL): Likewise.
62148         (TAYLOR_SINCOS): Likewise.
62149         (TAYLOR_SLOW): Likewise.
62150         (__sin): Use TAYLOR_SINCOS.
62151         (__cos): Likewise.
62152         (slow): Use TAYLOR_SLOW.
62153         (sloww): Likewise.
62154         (bsloww): Likewise.
62155         (csloww): Likewise.
62157 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62159         * stdlib/strtod_l.c: Fix buffer overrun.
62161 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62163         * benchtests/Makefile (bench): Add sincos.
62164         * benchtests/bench-sincos.c: New file.
62166         * math/libm-test.inc (cos_test_data): New test inputs.
62167         (sin_test_data): Likewise.
62169         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62170         macro.
62171         (__sin): Use it.
62172         (__cos): Likewise.
62173         (slow1): Likewise.
62174         (slow2): Likewise.
62175         (sloww1): Likewise.
62176         (sloww2): Likewise.
62177         (bsloww1): Likewise.
62178         (bsloww2): Likewise.
62179         (cslow2): Likewise.
62180         (csloww1): Likewise.
62181         (csloww2): Likewise.
62183         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62184         function.
62185         (__sin): Use it.
62186         (__cos): Likewise.
62188         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62189         gotos.
62190         (__cos): Likewise.
62192 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
62194         * config.h.in (HAVE_MIPS_NAN2008): New macro.
62195         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62196         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62197         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62198         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62199         * elf/cache.c (print_entry): Handle the new cache flags.
62201 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62202             Aldy Hernandez  <aldyh@redhat.com>
62204         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62205         Change condition to [_SOFT_FLOAT].
62206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62218         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62221         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62222         declaration.
62224 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62226         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62227         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62228         (__longjmp): Use LOAD_GP to load saved GPRs.
62229         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62230         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62231         (__sigsetjmp): Use SAVE_GP to save GPRs.
62233         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62234         Do not append -msoft-float.
62235         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62237 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62239         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62241 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62243         [BZ #15966]
62244         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62245         (_FPU_GETCW): Use initial "__" on variable and field names but not
62246         on macro parameter name.
62247         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62248         parentheses around reference to macro parameter.
62250 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62252         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62253         prototype.
62254         (ctype_startup): Use uint32_t in cast and sizeof for
62255         ctype->charnames.
62257 2013-09-11  Jia Liu  <proljc@gmail.com>
62259         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62260         __daddr_t_defined.
62261         [__FreeBSD__]: Likewise.
62263 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62266         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62267         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62268         (strchr): Remove __strchr_sse42 ifunc selection.
62269         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62270         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62272 2013-09-11  Will Newton  <will.newton@linaro.org>
62274         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62275         parameter to RES. Remove hardcoded 1000 value.
62276         * benchtests/bench-skeleton.c (main): Pass RES parameter
62277         to TIMING_INIT and multiply result by 1000.
62279 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62283 2013-09-11  Andreas Schwab  <schwab@suse.de>
62285         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62286         if not defined.
62287         (O_TMPFILE) [__USE_GNU]: Define.
62288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62289         Define.
62291 2013-09-11  Will Newton  <will.newton@linaro.org>
62293         [BZ #15857]
62294         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62295         does not overflow.
62297 2013-09-11  Will Newton  <will.newton@linaro.org>
62299         [BZ #15856]
62300         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62301         does not overflow.
62303 2013-09-11  Will Newton  <will.newton@linaro.org>
62305         [BZ #15855]
62306         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62307         does not overflow.
62309 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62311         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62312         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62313         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62314         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62315         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62317 2013-09-10  Allan McRae  <allan@archlinux.org>
62319         [BZ #15748]
62320         * manual/arith.texi (Parsing of Floats): Clarify
62321         cross-reference.
62323         [BZ #15849]
62324         * manual/install.texi (Running make install): Mention
62325         --enable-pt-chown.
62326         * INSTALL: Regenerated.
62328 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62330         * csu/init-first.c (_init): Remove the !SHARED condition around
62331         FPU control word initialization.
62332         * elf/dl-support.c (_dl_fpu_control): New variable.
62333         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62334         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62335         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62336         * math/test-fpucw-static.c: New file.
62337         * math/test-fpucw-ieee.c: New file.
62338         * math/test-fpucw-ieee-static.c: New file.
62339         * math/Makefile (tests): Add `test-fpucw-ieee' and
62340         `$(tests-static)'.
62341         (tests-static): New variable.
62342         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62343         dependency to...
62344         [($(build-shared),yes)]
62345         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62346         ... this.
62347         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62348         New dependency.
62350 2013-09-09  Allan McRae  <allan@archlinux.org>
62352         [BZ #15939]
62353         * manual/string.texi (Collation Functions): Fix typo in
62354         strcoll example.
62355         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62357         [BZ #15893]
62358         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62360         [BZ #15892]
62361         * libio/memstream.c (open_memstream): Fix memory leak.
62362         * libio/wmemstream.c (open_wmemstream): Likewise.
62364         [BZ #15895]
62365         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62367 2013-09-09  Will Newton  <will.newton@linaro.org>
62369         * malloc/Makefile: Add tst-realloc to tests.
62370         * malloc/tst-realloc.c: New file.
62372 2013-09-09  Allan McRae  <allan@archlinux.org>
62374         [BZ #15844]
62375         * COPYING: Update from GNU website to fix FSF address.
62376         * COPYING.LIB: Likewise.
62378 2013-09-06  David S. Miller  <davem@davemloft.net>
62380         * po/zh_TW.po: Update Chinese (traditional) translation from
62381         translation project.
62383 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62384             Joseph Myers  <joseph@codesourcery.com>
62386         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62387         "localeinfo.h".
62388         (obstack_chunk_alloc): New macro.
62389         (obstack_chunk_free): Likewise.
62390         (record_offset): New function.
62391         (init_locale_data): Likewise.
62392         (align_locale_data): Likewise.
62393         (add_locale_empty): Likewise.
62394         (add_locale_raw_data): Likewise.
62395         (add_locale_raw_obstack): Likewise.
62396         (add_locale_string): Likewise.
62397         (add_locale_wstring): Likewise.
62398         (add_locale_uint32): Likewise.
62399         (add_locale_uint32_array): Likewise.
62400         (add_locale_char): Likewise.
62401         (start_locale_structure): Likewise.
62402         (end_locale_structure): Likewise.
62403         (start_locale_prelude): Likewise.
62404         (end_locale_prelude): Likewise.
62405         (write_locale_data): Take locale_file structure rather than an
62406         iovec.
62407         * locale/programs/locfile.h: Include "obstack.h".
62408         (struct locale_file): Change to store locale file contents instead
62409         of header.
62410         (init_locale_data): New prototype.
62411         (align_locale_data): Likewise.
62412         (add_locale_empty): Likewise.
62413         (add_locale_raw_data): Likewise.
62414         (add_locale_raw_obstack): Likewise.
62415         (add_locale_string): Likewise.
62416         (add_locale_wstring): Likewise.
62417         (add_locale_uint32): Likewise.
62418         (add_locale_uint32_array): Likewise.
62419         (add_locale_char): Likewise.
62420         (start_locale_structure): Likewise.
62421         (end_locale_structure): Likewise.
62422         (start_locale_prelude): Likewise.
62423         (end_locale_prelude): Likewise.
62424         (write_locale_data): Update prototype.
62425         * locale/programs/3level.h (struct TABLE): Remove result field.
62426         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62427         Use new locale_file interface.
62428         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62429         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62430         * locale/programs/ld-address.c (address_output): Use new
62431         locale_file interface.
62432         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62433         NO_ADD_LOCALE.
62434         (collate_finish): Don't call collseq_table_finalize.
62435         (collate_output): Use new locale_file interface.
62436         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62437         in file.
62438         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62439         (TABLE): Move defines earlier in file.
62440         (ELEMENT): Likewise.
62441         (DEFAULT): Likewise.
62442         (wctrans_table_add): Move macro and inline function earlier in
62443         file.
62444         (struct wctype_table): Move type earlier in file.
62445         (add_locale_wctype_table): New static prototype.
62446         (struct locale_ctype_t): Use logical types instead of struct iovec
62447         pointers for members.
62448         (ctype_output): Use new locale_file interface.
62449         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62450         new locale_file interface.
62451         (allocate_arrays): Update for use of new locale_file interface.
62452         * locale/programs/ld-identification.c (identification_output): Use
62453         new locale_file interface.
62454         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62455         * locale/programs/ld-messages.c (messages_output): Likewise.
62456         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62457         * locale/programs/ld-name.c (name_output): Likewise.
62458         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62459         * locale/programs/ld-paper.c (paper_output): Likewise.
62460         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62461         * locale/programs/ld-time.c (time_output): Likewise.
62463 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62465         * benchtests/Makefile: Add memrchr benchmark.
62466         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62467         benchmark as memrchr.
62468         * benchtests/bench-memrchr-ifunc.c: New file.
62469         * benchtests/bench-memrchr.c: New file.
62471 2013-09-06   Will Newton  <will.newton@linaro.org>
62473         * benchtests/Makefile (string-bench): Add memcpy.
62475 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62476             Cong Wang  <amwang@redhat.com>
62478         [BZ #15850]
62479         * sysdeps/unix/sysv/linux/bits/in.h
62480         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62481         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62482         before __USE_KERNEL_IPV6_DEFS uses.
62483         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62484         IPPROTO_BEETPH.
62485         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62486         sockaddr_in6, or ipv6_mreq.
62488 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62490         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62491         memory access for final bytes in some large inputs.
62492         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62494 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62496         * string/test-memrchr.c: New file.
62497         * string/test-memrchr-ifunc.c: New file.
62498         * string/Makefile: Add new memrchr testcase.
62500 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62502         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62503         fanotify_init returns EPERM.
62505 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62507         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62508         errors.
62509         (top level): Treat second token from macro or constant entries for
62510         allowed headers as allowed.
62511         * include/complex.h: Condition internal declarations on
62512         [!_ISOMAC].
62513         * include/fenv.h: Condition include of <stdbool.h> and internal
62514         declarations on [!_ISOMAC].
62516 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62518         [BZ #15923]
62519         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62521 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62523         * configure.in (--enable-versioning): Remove configure option.
62524         (libc_cv_asm_symver_directive): Remove configure test.
62525         (libc_cv_ld_version_script_option): Likewise.
62526         (VERSIONING): Remove variable and AC_SUBST.
62527         (DO_VERSIONING): Remove AC_DEFINE.
62528         * configure: Regenerated.
62529         * config.h.in (DO_VERSIONING): Remove macro.
62530         * Makerules [$(versioning) = yes]: Change conditionals to
62531         [$(build-shared) = yes].
62532         * config.make.in (versioning): Remove variable.
62533         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62534         [$(build-shared) = yes].
62535         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62536         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62537         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62538         [$(build-shared) = yes].
62539         * extra-lib.mk [$(versioning) = yes]: Likewise.
62540         * hurd/Makefile [$(versioning) = yes]: Likewise.
62541         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62542         [SHARED].
62543         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62544         [SHARED].
62545         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62546         [SHARED && !NO_HIDDEN].
62547         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62548         [SHARED].
62549         [SHARED && DO_VERSIONING]: Likewise..
62550         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62551         [$(build-shared) = yes].
62552         * manual/install.texi (--disable-versioning): Remove
62553         documentation.
62554         * INSTALL: Regenerated.
62555         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62556         to [SHARED].
62557         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62558         [$(build-shared) = yes].
62559         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62560         * sysdeps/i386/i686/multiarch/strstr-c.c
62561         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62562         [SHARED && !NO_HIDDEN].
62563         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62564         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62565         * sysdeps/powerpc/powerpc32/dl-machine.c
62566         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62567         * sysdeps/powerpc/powerpc32/sysdep.h
62568         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62569         to [SHARED && PIC && !NO_HIDDEN].
62570         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62571         conditional to [SHARED].
62573 2013-09-04   Will Newton  <will.newton@linaro.org>
62575         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62576         * benchtests/bench-string.h: Include bench-timing.h instead
62577         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62578         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62579         call to HP_TIMING_DIFF_INIT.
62580         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62581         instead of hp-timing.h macros.
62582         * benchtests/bench-memchr.c: Likewise.
62583         * benchtests/bench-memcmp.c: Likewise.
62584         * benchtests/bench-memcpy.c: Likewise.
62585         * benchtests/bench-memmem.c: Likewise.
62586         * benchtests/bench-memmove.c: Likewise.
62587         * benchtests/bench-memset.c: Likewise.
62588         * benchtests/bench-rawmemchr.c: Likewise.
62589         * benchtests/bench-strcasecmp.c: Likewise.
62590         * benchtests/bench-strcasestr.c: Likewise.
62591         * benchtests/bench-strcat.c: Likewise.
62592         * benchtests/bench-strchr.c: Likewise.
62593         * benchtests/bench-strcmp.c: Likewise.
62594         * benchtests/bench-strcpy.c: Likewise.
62595         * benchtests/bench-strcpy_chk.c: Likewise.
62596         * benchtests/bench-strlen.c: Likewise.
62597         * benchtests/bench-strncasecmp.c: Likewise.
62598         * benchtests/bench-strncat.c: Likewise.
62599         * benchtests/bench-strncmp.c: Likewise.
62600         * benchtests/bench-strncpy.c: Likewise.
62601         * benchtests/bench-strnlen.c: Likewise.
62602         * benchtests/bench-strpbrk.c: Likewise.
62603         * benchtests/bench-strrchr.c: Likewise.
62604         * benchtests/bench-strspn.c: Likewise.
62605         * benchtests/bench-strstr.c: Likewise.
62607 2013-09-04  Will Newton  <will.newton@linaro.org>
62609         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62611 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62613         [BZ #15427]
62614         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62615         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62616         * math/libm-test.inc (lgamma_test_data): Add more tests.
62617         * sysdeps/i386/fpu/libm-test-ulps: Update.
62618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62620 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62622         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62624         Add ifunc.
62625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62626         Add strcmp-sse2-unaligned
62627         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62629 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62631         * Versions.def (libc): Add GLIBC_2.19.
62633 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62635         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62636         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62638 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62640         [BZ #14155]
62641         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62642         intermediate calculations in recurrence.
62643         (__ieee754_ynf): Likewise.
62644         * math/libm-test.inc (jn_test_data): Do not allow spurious
62645         underflow exception.  Add more tests.
62646         (yn_test_data): Add more tests.
62647         * sysdeps/i386/fpu/libm-test-ulps: Update.
62648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62650 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62652         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62654 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62656         * csu/init-first.c: Fix then/than typos.
62657         * locale/programs/ld-collate.c: Likewise.
62658         * locale/programs/linereader.h: Likewise.
62659         * manual/charset.texi: Likewise.
62660         * manual/filesys.texi: Likewise.
62661         * manual/stdio.texi: Likewise.
62662         * manual/string.texi: Likewise.
62663         * stdlib/fmtmsg.c: Likewise.
62664         * sysdeps/i386/stpncpy.S: Likewise.
62665         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62666         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62668         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62670 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62672         * elf/dl-open.c: Fix typos.
62673         * iconvdata/gbbig5.c: Likewise.
62674         * iconvdata/iso-2022-jp.c: Likewise.
62675         * iconv/gconv_int.h: Likewise.
62676         * iconv/loop.c: Likewise.
62677         * nis/rpcsvc/nis.h: Likewise.
62678         * resolv/ns_name.c: Likewise.
62679         * stdio-common/vfscanf.c: Likewise.
62680         * streams/stropts.h: Likewise.
62681         * sunrpc/rpc_thread.c: Likewise.
62682         * sysdeps/i386/strpbrk.S: Likewise.
62683         * sysdeps/ieee754/k_standard.c: Likewise.
62684         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62685         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62686         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62687         * sysdeps/mach/hurd/profil.c: Likewise.
62688         * sysdeps/s390/dl-procinfo.h: Likewise.
62689         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62690         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62691         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62692         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62695 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62697         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62700 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62702         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62703         aix specific files.
62704         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62705         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62706         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62707         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62708         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62709         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62710         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62711         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62713 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62714             Roland McGrath  <roland@hack.frob.com>
62716         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62717         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62719 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62721         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62722         __executable_start symbol instead of _start.
62724 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62726         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62727         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62728         Move macros to...
62729         * sysdeps/gnu/ldsodefs.h: ... this new file.
62731         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62732         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62733         instead of ELFOSABI_LINUX.
62735         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62736         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62737         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62738         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62739         Likewise.
62740         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62741         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62742         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62743         Likewise.
62744         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62745         (ibm_extended_long_double): Add ieee_nan member.
62746         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62747         (do_test): New function.
62749         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62750         TEST_TRUNC.
62751         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62752         functions, renamed from truncdfsf_test, trunctfsf_test,
62753         trunctfdf_test.
62754         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62755         functions.
62756         (do_test): Run all these.
62758 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62760         * argp/argp-help.c: Fix typos.
62761         * argp/argp-parse.c: Likewise.
62762         * debug/backtracesyms.c: Likewise.
62763         * elf/elf.h: Likewise.
62764         * malloc/malloc.c: Likewise.
62765         * nis/nis_print.c: Likewise.
62766         * resolv/res_comp.c: Likewise.
62767         * stdlib/stdlib.h: Likewise.
62768         * sunrpc/clnt_tcp.c: Likewise.
62769         * sunrpc/clnt_udp.c: Likewise.
62770         * sunrpc/clnt_unix.c: Likewise.
62771         * sysdeps/unix/bsd/ptsname.c: Likewise.
62772         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62773         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62775         Likewise.
62776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62777         Likewise.
62778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62779         Likewise.
62780         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62782 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62784         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62787 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62789         [BZ #15897]
62790         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62791         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62792         ($(objpfx)bug-dl-leaf): New rule.
62793         ($(objpfx)bug-dl-leaf.so): Likewise.
62794         ($(objpfx)bug-dl-leaf.out): Likewise.
62795         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62796         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62797         * dlfcn/bug-dl-leaf.c: New test.
62798         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62799         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62800         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62801         (dlclose): Likewise.
62802         (dlmopen): Likewise.
62804 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62806         * include/netdb.h [!_ISOMAC]:
62807         Don't include <tls.h>.
62808         (h_errno, __libc_h_errno): Move declaration and macros out of
62809         [_LIBC_REENTRANT].
62811         * include/resolv.h [_RESOLV_H_]:
62812         Don't include <tls.h>.
62813         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62814         * resolv/res_libc.c: Don't include <tls.h>.
62815         (_res): Use __attribute__ ((nocommon)) in place of
62816         __attribute__ ((section (".bss"))).
62818         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62819         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62821         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62823         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62824         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62826         * resolv/res_mkquery.c: Include <sys/time.h>.
62828         * inet/ifreq.c: Moved to ...
62829         * sysdeps/unix/ifreq.c: ... here.
62830         * inet/ifreq.c: New file, true stub version.
62832         * socket/sa_len.c: New file.
62833         * socket/Makefile (aux): Add it.
62834         * sysdeps/unix/sysv/linux/Makefile
62835         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62836         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62837         and #include <socket/sa_len.c>.
62838         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62839         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62841         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62842         * bits/socket.h: ... here.
62844         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62845         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62846         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62848 2013-08-27  Andreas Schwab  <schwab@suse.de>
62850         [BZ #15736]
62851         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62852         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62853         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62854         * string/test-strcasecmp.c (test_main): Run tests in several
62855         locales.
62856         * string/test-strncasecmp.c (test_main): Likewise.
62858         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62859         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62860         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62862         (__strncasecmp_ssse3) [PIC]: Likewise.
62864 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62866         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62868         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62869         instead of explicitly declaring xdecrypt.
62870         * nis/nss_nis/nis-publickey.c: Likewise.
62872 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62874         [BZ #15890]
62875         * nscd/aicache.c: Include res_hconf.h.
62876         (addhstaiX): Initialize res_hconf.
62878 2013-08-26  Andreas Schwab  <schwab@suse.de>
62880         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62881         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62883 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62885         * nscd/aicache.c (addhstaiX): Fix indentation.
62887 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62889         * configure.ac: Quote $build_pt_chown test.
62890         * configure: Regenerated.
62892 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62894         [BZ #15532]
62895         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62896         * math/s_cexpf.c (__cexpf): Likewise.
62897         * math/s_cexpl.c (__cexpl): Likewise.
62898         * math/libm-test.inc (cexp_test_data): Correct expected return
62899         value for NaN + i0.  Add another test.
62901 2013-08-22  David S. Miller  <davem@davemloft.net>
62903         * po/ca.po: Update Catalan translation from translation project.
62904         * po/uk.po: Add Ukrainian translations from translation project.
62906 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62908         [BZ #15797]
62909         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62910         is infinite, not alongside NaN test.
62911         * math/s_fdimf.c (__fdimf): Likewise.
62912         * math/s_fdiml.c (__fdiml): Likewise.
62913         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62914         errno is unchanged.
62916 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62918         * argp/argp-help.c: Fix typos.
62919         * crypt/speeds.c: Likewise.
62920         * csu/check_fds.c: Likewise.
62921         * elf/dl-load.c: Likewise.
62922         * elf/dl-open.c: Likewise.
62923         * elf/reldep3.c: Likewise.
62924         * elf/reldep.c: Likewise.
62925         * elf/sprof.c: Likewise.
62926         * iconv/iconv_charmap.c: Likewise.
62927         * iconv/skeleton.c: Likewise.
62928         * iconv/strtab.c: Likewise.
62929         * io/lockf64.c: Likewise.
62930         * libio/libioP.h: Likewise.
62931         * resolv/gai_notify.c: Likewise.
62932         * resolv/ns_name.c: Likewise.
62933         * resolv/ns_samedomain.c: Likewise.
62934         * resolv/res_send.c: Likewise.
62935         * stdlib/random.c: Likewise.
62936         * sunrpc/rpc/xdr.h: Likewise.
62937         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62938         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62939         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62940         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62941         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62942         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62944         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62945         * sysdeps/mach/hurd/check_fds.c: Likewise.
62946         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62947         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62948         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62949         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62950         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62951         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62952         * sysdeps/pthread/aio_notify.c: Likewise.
62953         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62954         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62955         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62956         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62957         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62959 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62961         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62962         version if bit_Slow_SSE4_2 is set.
62963         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62964         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62966 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62968         [BZ #15867]
62969         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62970         trampoline stack frame information.
62971         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62972         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62973         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62974         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62975         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62976         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62977         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62978         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62979         sa_flags value.
62980         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62981         interrupting a syscall and set with option SA_SIGINFO.
62983 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62985         [BZ #15531]
62986         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62987         argument is infinite.
62988         * math/s_cprojf.c (__cprojf): Likewise.
62989         * math/s_cprojl.c (__cprojl): Likewise.
62990         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62991         * math/libm-test.inc (cproj_test_data): Add more tests.
62993         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62995         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62996         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62997         size.  Use __ffs to determine corresponding shift.
62999 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63000             Roland McGrath  <roland@hack.frob.com>
63002         * Makefile (INSTALL): Remove trailing blank lines from output of
63003         makeinfo.
63005 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63007         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
63008         Align 32 bit compat elf_greg to 8 bytes.
63010 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
63012         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
63014 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63016         * string/strcoll_l.c (coll_seq): New structure.
63017         (get_next_seq_cached): New function.
63018         (get_next_seq): New function.
63019         (do_compare): New function.
63020         (STRCOLL): Use GNU style definition.  Simplify implementation
63021         by using get_next_seq, get_next_seq_cached and do_compare.
63023 2013-08-16  Florian Weimer  <fweimer@redhat.com>
63025         [BZ #14699]
63026         CVE-2013-4237
63027         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63028         member.
63029         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
63030         member.
63031         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
63032         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
63033         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
63034         conditional.
63035         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
63036         GETDENTS_64BIT_ALIGNED.
63037         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63038         * manual/filesys.texi (Reading/Closing Directory): Document
63039         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
63040         strongly.
63041         * manual/conf.texi (Limits for Files): Add portability note to
63042         NAME_MAX, PATH_MAX.
63043         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
63045 2013-08-13  Andreas Schwab  <schwab@suse.de>
63047         [BZ #15749]
63048         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
63049         of fabs.
63050         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
63051         LDBL_MAX_EXP >= 16384]: Add tests for it.
63053 2013-08-12  David S. Miller  <davem@davemloft.net>
63055         * version.h (RELEASE): Set to "development".
63056         (VERSION): Set to "2.18.90".
63057         * NEWS: Add 2.19 section.
63059 2013-08-03  David S. Miller  <davem@davemloft.net>
63061         * po/ko.po: Update Korean translation from translation project.
63063 2013-08-01  David S. Miller  <davem@davemloft.net>
63065         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
63066         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
63067         Bilka.
63069 2013-07-30  David S. Miller  <davem@davemloft.net>
63071         * po/fr.po: Update French translation from translation project.
63073 2013-07-28  David S. Miller  <davem@davemloft.net>
63075         * po/cs.po: Update Czech translation from translation project.
63077         * po/sv.po: Update Swedish translation from translation project.
63079 2013-07-27  David S. Miller  <davem@davemloft.net>
63081         * po/eo.po: Update Esperanto translation from translation project.
63083         * po/vi.po: Update Vietnamese translation from translation project.
63085         * po/de.po: Update German translation from translation project.
63087 2013-07-26  David S. Miller  <davem@davemloft.net>
63089         * po/bg.po: Update Bulgarian translation from translation project.
63091         * po/nl.po: Update Dutch translation from translation project.
63092         * po/pl.po: Update Polish translation from translation project.
63093         * po/ru.po: Update Russian translation from translation project.
63095 2013-07-24  David S. Miller  <davem@davemloft.net>
63097         * po/libc.pot: Update.
63099 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63101         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63102         variable page size.
63103         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63104         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63105         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63107 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63109         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63111 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63112             Andreas Schwab  <schwab@suse.de>
63113             Roland McGrath  <roland@hack.frob.com>
63114             Joseph Myers  <joseph@codesourcery.com>
63115             Carlos O'Donell  <carlos@redhat.com>
63117         [BZ #15755]
63118         * config.h.in: Define HAVE_PT_CHOWN.
63119         * config.make.in (build-pt-chown): New variable.
63120         * configure.in (--enable-pt_chown): New configure option.
63121         * configure: Regenerate.
63122         * login/Makefile: Include Makeconfig.  Build pt_chown only if
63123         build-pt-chown is enabled.
63124         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63125         pt_chown to fix pty ownership.
63126         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63127         CLOSE_ALL_FDS.
63128         * manual/install.texi (Configuring and compiling): Mention
63129         --enable-pt_chown. Add @findex for grantpt.
63130         * INSTALL: Regenerate.
63132 2013-07-20  David S. Miller  <davem@davemloft.net>
63134         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63135         difference between 32-bit and 64-bit.
63137 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
63139         [BZ #15711]
63140         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63141         Avoid system header dependency with -ffreestanding.
63142         ($(objpfx)bits/syscall%d): Likewise.
63144 2013-07-13  David S. Miller  <davem@davemloft.net>
63146         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63147         underflows from atanl/atan2l due to bug 15319.
63148         (casinh_test_data): Likewise.
63150 2013-07-07  David S. Miller  <davem@davemloft.net>
63152         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63154 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
63156         * sysdeps/i386/fpu/libm-test-ulps: Update.
63157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63159 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63161         * configure.in (--enable-lock-elision): Fix message text.
63162         * INSTALL: Regenerate.
63163         * configure: Regenerate.
63165 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63169 2013-07-03  Andreas Jaeger  <aj@suse.de>
63171         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63172         define.
63173         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63174         (ptrace_peeksiginfo_args): Add.
63175         (__ptrace_peeksiginfo_flags): Add.
63176         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63177         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63178         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63180 2013-07-03  Allan McRae  <allan@archlinux.org>
63182         * sysdeps/i386/fpu/libm-test-ulps: Update.
63184 2013-07-02  David S. Miller  <davem@davemloft.net>
63186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63188 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
63190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63192 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63194         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63197 2013-07-02  Andi Kleen <ak@linux.intel.com>
63199         * config.h.in (ENABLE_LOCK_ELISION): Add.
63200         * configure.in (--enable-lock-elision): Add option.
63201         * manual/install.texi: Document --enable lock elision.
63202         * configure: Regenerate
63203         * INSTALL: Regenerate.
63205 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
63207         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63208         SSE4.2 strcasecmp for libc.a.
63209         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63211 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63213         [BZ #13304]
63214         * soft-fp/op-common.h (_FP_FMA): New macro.
63215         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63216         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
63217         (_FP_MUL_MEAT_1_imm): ... here.
63218         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
63219         (_FP_MUL_MEAT_1_wide): ... here.
63220         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
63221         (_FP_MUL_MEAT_1_hard): ... here.
63222         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63223         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
63224         (_FP_MUL_MEAT_2_wide): ... here.
63225         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
63226         (_FP_MUL_MEAT_2_wide_3mul): ... here.
63227         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
63228         (_FP_MUL_MEAT_2_gmp): ... here.
63229         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63230         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63231         (_FP_MUL_MEAT_4_wide): ... here.
63232         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63233         (_FP_MUL_MEAT_4_gmp): ... here.
63234         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63235         (_FP_WFRACBITS_DW_S): Likewise.
63236         (_FP_WFRACXBITS_DW_S): Likewise.
63237         (_FP_HIGHBIT_DW_S): Likewise.
63238         (FP_FMA_S): Likewise.
63239         (_FP_FRAC_HIGH_DW_S): Likewise.
63240         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63241         (_FP_WFRACBITS_DW_D): Likewise.
63242         (_FP_WFRACXBITS_DW_D): Likewise.
63243         (_FP_HIGHBIT_DW_D): Likewise.
63244         (FP_FMA_D): Likewise.
63245         (_FP_FRAC_HIGH_DW_D): Likewise.
63246         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63247         (_FP_WFRACBITS_DW_E): Likewise.
63248         (_FP_WFRACXBITS_DW_E): Likewise.
63249         (_FP_HIGHBIT_DW_E): Likewise.
63250         (FP_FMA_E): Likewise.
63251         (_FP_FRAC_HIGH_DW_E): Likewise.
63252         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63253         (_FP_WFRACBITS_DW_Q): Likewise.
63254         (_FP_WFRACXBITS_DW_Q): Likewise.
63255         (_FP_HIGHBIT_DW_Q): Likewise.
63256         (FP_FMA_Q): Likewise.
63257         (_FP_FRAC_HIGH_DW_Q): Likewise.
63258         * soft-fp/fmasf4.c: New file.
63259         * soft-fp/fmadf4.c: Likewise.
63260         * soft-fp/fmatf4.c: Likewise.
63262 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63265         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63266         Silvermont.
63267         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63268         macro.
63269         (index_Slow_SSE4_2): Likewise.
63270         (index_Prefer_PMINUB_for_stringop): Likewise.
63271         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63272         bit_Slow_SSE4_2 is set.
63273         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63274         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63276 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63278         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63279         rtld_global._dl_hwcap2.
63280         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63281         POWER8.
63282         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63283         POWER8 feature descriptions defined in _dl_hwcap2.
63284         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63285         string handling for POWER8 feature bits.
63286         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63287         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63288         _dl_powerpc_cap_flags.
63289         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63290         * sysdeps/powerpc/rtld-global-offsets.sym
63291         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63292         _dl_hwcap2 in the rtld_global_ro structure.
63294 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63296         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63297         hardware capabilities in support of AT_HWCAP2.
63298         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63299         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63300         GLRO(dl_hwcap2).
63301         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63302         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63303         explicitly the unknown a_type display mechanism is used.
63304         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63305         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63306         struct member.
63307         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63308         to macro prototype for AT_HWCAP2 support.
63309         * sysdeps/i386/dl-procinfo.h: Likewise.
63310         * sysdeps/s390/dl-procinfo.h: Likewise.
63311         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63312         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63313         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63314         return -1 for unknown a_type display fallback.
63315         * sysdeps/sparc/dl-procinfo.h: Likewise.
63316         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63317         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63319 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63321         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63322         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63324 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63326         [BZ #12492]
63327         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63328         mprotect making __stack_prot writable.
63330 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63331             Joseph Myers  <joseph@codesourcery.com>
63333         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63334         as being properly aligned.
63336 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63338         * dlfcn/modstatic5.c: New file.
63339         * dlfcn/tststatic5.c: New file.
63340         * dlfcn/Makefile (tests): Add tststatic5.
63341         (tests-static): Likewise.
63342         (modules-names): Add modstatic5.
63343         (tststatic5-ENV): New variable.
63344         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63346         [BZ #15022]
63347         * elf/dl-support.c (_dl_main_map): New variable.
63348         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63349         (_dl_nns, _dl_load_adds): Set to 1.
63350         (_dl_initial_searchlist): Refer to _dl_main_map.
63351         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63352         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63353         call to _dl_get_origin.
63354         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63355         around call_map.
63356         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63357         * dlfcn/modstatic3.c: New file.
63358         * dlfcn/tststatic3.c: New file.
63359         * dlfcn/tststatic4.c: New file.
63360         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63361         (tests-static): Likewise.
63362         (modules-names): Add modstatic3.
63363         (tststatic3-ENV, tststatic4-ENV): New variables.
63364         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63365         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63367 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63369         * configure.in (CC): Require GCC version 4.4 or later.
63370         * configure: Regenerated.
63371         * manual/install.texi (Tools for Compilation): Update GCC version
63372         requirement.
63373         * INSTALL: Regenerated.
63375 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63377         [BZ #15674]
63378         * string/test-memcmp.c (check2): New.
63379         (main): Call check2.
63381         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63383 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63385         [BZ #15022]
63386         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63387         over to...
63388         (dl_open_worker) [!SHARED]: ... here.
63390 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63392         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63394 2013-06-25  Richard Henderson  <rth@redhat.com>
63396         * locale/programs/locarchive.c: Include <libc-internal.h>
63398 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63400         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63401         trailing whitespace removed.
63403 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63405         [BZ #10283]
63406         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63407         * locale/programs/locarchive.c: Include libc-mmap.h.
63408         (prepare_address_space): Take two new outputs (the mmap base and len).
63409         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63410         values.
63411         (create_archive): Declare new mmap base and len values for
63412         prepare_address_space, and store the result in ah.
63413         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63414         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63415         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63416         Declare new mmap base and len values for
63417         prepare_address_space, and store the result in new_ah.
63418         (open_archive): Declare new mmap base and len values for
63419         prepare_address_space, and store the result in ah.
63420         (close_archive): If ah->mmap_base is not NULL, use that and
63421         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63422         * sysdeps/generic/libc-mmap.h: New file.
63424 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63426         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63427         (ALIGN_UP): Likewise.
63428         (PTR_ALIGN_DOWN): Likewise.
63429         (PTR_ALIGN_UP): Likewise.
63431 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63433         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63434         entry mapped to PPC_PLATFORM_POWER8.
63435         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63436         POWER8.
63437         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63438         (_dl_string_platform): Add case for exporting platform position for
63439         POWER8.
63440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63441         search path to sysdeps/powerpc/powerpc32/power8 directory.
63442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63443         search path to sysdeps/powerpc/powerpc64/power8 directory.
63444         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63445         power7 directories.
63446         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63447         power7 directories.
63449 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63451         * INSTALL: Regenerate.
63453         * nscd/connections.c (nscd_init): Fix comment.
63455 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63457         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63459         [BZ #15667]
63460         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63461         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63463 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63465         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63466         DL_DST_REQ_STATIC.
63467         (DL_DST_REQ_STATIC): Remove macro.
63469 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63471         [BZ #7006]
63472         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63473         with a shift of 0 bits.
63475 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63477         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63478         $(tststatic-ENV).
63480 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63482         [BZ #15655]
63483         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63485 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63487         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63488         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63489         accepts -fno-tree-loop-distribute-patterns.
63490         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63491         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63492         recursive call.
63493         * string/memset.c (memset): Likewise.
63494         * string/test-memmove.c (simple_memmove): Disable loop transformation
63495         to library calls.
63496         * string/test-memset.c (simple_memset): Likewise.
63497         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63498         * benchtests/bench-memset.c (simple_memset): Likewise.
63499         * configure: Regenerated.
63501 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63503         * math/test-misc.c (main): Ignore fesetround failure when failures
63504         of subsequent rounding tests would be ignored.
63506         [BZ #15654]
63507         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63508         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63509         * math/fegetenv.c (__fegetenv): Return 0.
63510         * math/fegetexcept.c (fegetexcept): Return 0.
63511         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63512         FE_TONEAREST.
63513         * math/feholdexcpt.c (feholdexcept): Return 0.
63514         * math/fesetenv.c (__fesetenv): Return 0.
63515         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63516         argument FE_TONEAREST.
63517         * math/feupdateenv.c (__feupdateenv): Return 0.
63518         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63520 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63522         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63523         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63524         ($(objpfx)rtld-%.os rules): Use them.
63526 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63528         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63529         fields.
63531 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63533         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63534         length of target pattern, then descending length of dependency pattern.
63535         * configure.in (AWK): Require gawk 3.1.2 or newer.
63536         * manual/install.texi (Tools for Compilation): Say that we do.
63537         * configure: Regenerated.
63539         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63540         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63541         * scripts/sysd-rules.awk: ... this new script.
63542         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63543         than a glob-style pattern.
63545 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63547         * math/test-misc.c (main): Do not treat incorrectly rounded
63548         conversions as failure unless ROUNDING_TESTS passes.
63550 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63552         [BZ #15631]
63553         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63554         restore exception state around main square root computation, then
63555         check for inexactness explicitly.
63557         * math/libm-test.inc (fma_test_data): Add another test.
63559 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63561         * manual/threads.texi (Non-POSIX Extensions): New document
63562         node.  Document pthread_getattr_default_np and
63563         pthread_setattr_default_np.
63565         * Versions.def (libpthread): Add GLIBC_2.18.
63566         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63568         Likewise.
63569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63570         Likewise.
63571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63572         Likewise.
63573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63574         Likewise.
63575         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63576         Likewise.
63577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63578         Likewise.
63579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63580         Likewise.
63581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63582         Likewise.
63583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63584         Likewise.
63586 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63589         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63591 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63592             H.J. Lu  <hjl.tools@gmail.com>
63594         [BZ #15627]
63595         * sysdeps/x86_64/rtld-memset.c: Remove file.
63596         * sysdeps/x86_64/rtld-memset.S: New file.
63598 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63600         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63601         (test_in_one_mode): Take arguments for whether the rounding mode
63602         is supported for each floating-point type.
63603         (do_test): Pass new arguments to test_in_one_mode using
63604         ROUNDING_TESTS.
63606 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63608         * posix/tst-waitid.c (do_test): Distinguish different instances of
63609         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63610         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63611         before entering the kernel for waitpid.
63613 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63615         * NEWS: Fix note on clock function precision.  Text by Roland
63616         McGrath.
63618 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63620         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63621         it into place only when and if the sanity check passes.
63623 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63625         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63626         output for whether conversion result is exact.  Take argument
63627         indicating whether type is IBM long double.
63628         (round_for_all): Change need_exact field to ibm_ld.
63629         * stdlib/tst-strtod-round.c (struct exactness): New type.
63630         (struct test): Change bool ld_ok field to struct exactness exact.
63631         (TEST): Update all definitions for change to field.
63632         (tests): Regenerate array contents.
63633         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63634         field value.  Check for IBM long double here.
63635         (do_test): Update calls to test_in_one_mode.
63637 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63639         [BZ #12515]
63640         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63641         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63643 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63645         [BZ #15605]
63646         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63647         generated by the compiler on loop optimizations.
63648         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63649         general definitions.
63651 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63653         * math/bug-nextafter.c: Include <math-tests.h>.
63654         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63655         the relevant type.
63656         * math/bug-nexttoward.c: Include <math-tests.h>.
63657         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63658         the relevant type.
63659         * math/test-misc.c: Include <math-tests.h>.
63660         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63661         the relevant type.
63663 2013-06-12  Andreas Jaeger  <aj@suse.de>
63665         * po/ia.po: Update Interlingua translation from translation
63666         project.
63668 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63670         * include/fenv.h: Include stdbool.h.
63671         (struct rm_ctx): New structure.
63672         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63673         Define macro.
63674         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63675         (SET_RESTORE_ROUNDF): Likewise.
63676         (SET_RESTORE_ROUNDL): Likewise.
63677         (SET_RESTORE_ROUND_NOEX): Likewise.
63678         (SET_RESTORE_ROUND_NOEXF): Likewise.
63679         (SET_RESTORE_ROUND_NOEXL): Likewise.
63680         (SET_RESTORE_ROUND_53BIT): Likewise.
63681         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63682         (libc_feresetround_noexf_ctx): Likewise.
63683         (libc_feresetround_noexl_ctx): Likewise.
63684         (libc_feholdsetround_53bit_ctx): Likewise.
63685         (libc_feresetround_53bit_ctx): Likewise.
63686         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63687         (libc_feholdexcept_setround_sse_ctx): New function.
63688         (libc_fesetenv_sse_ctx): Likewise.
63689         (libc_feupdateenv_sse_ctx): Likewise.
63690         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63691         (libc_feholdexcept_setround_387_ctx): Likewise.
63692         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63693         (libc_feholdsetround_387_prec_ctx): Likewise.
63694         (libc_feholdsetround_387_ctx): Likewise.
63695         (libc_feholdsetround_387_53bit_ctx): Likewise.
63696         (libc_feholdsetround_sse_ctx): Likewise.
63697         (libc_feresetround_sse_ctx): Likewise.
63698         (libc_feresetround_387_ctx): Likewise.
63699         (libc_feupdateenv_387_ctx): Likewise.
63700         (libc_feholdexcept_setroundf_ctx): Define macro.
63701         (libc_fesetenvf_ctx): Likewise.
63702         (libc_feupdateenvf_ctx): Likewise.
63703         (libc_feholdsetroundf_ctx): Likewise.
63704         (libc_feresetroundf_ctx): Likewise.
63705         (libc_feholdexcept_setround_ctx): Likewise.
63706         (libc_fesetenv_ctx): Likewise.
63707         (libc_feupdateenv_ctx): Likewise.
63708         (libc_feholdsetround_ctx): Likewise.
63709         (libc_feresetround_ctx): Likewise.
63710         (libc_feholdexcept_setroundl_ctx): Likewise.
63711         (libc_feupdateenvl_ctx): Likewise.
63712         (libc_feholdsetroundl_ctx): Likewise.
63713         (libc_feresetroundl_ctx): Likewise.
63714         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63715         (libc_feresetround_53bit_ctx): Likewise.
63717 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63719         * locale/iso-639.def: Convert to UTF-8.
63721 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63723         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63724         (EXCEPTION_TESTS_double): Likewise.
63725         (EXCEPTION_TESTS_long_double): Likewise.
63726         (EXCEPTION_TESTS): Likewise.
63727         * math/libm-test.inc (test_exceptions): Only test exceptions if
63728         EXCEPTION_TESTS (FLOAT).
63730 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63732         * benchtests/Makefile (string-bench): Add strcpy_chk and
63733         stpcpy_chk.
63734         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63735         * benchtests/bench-stpcpy_chk.c: New file.
63736         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63737         * benchtests/bench-strcpy_chk.c: New file.
63738         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63739         code.
63740         (do_test): Likewise.
63742 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63744         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63745         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63746         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63747         with tabs where appropriate.
63748         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63749         dl-procinfo.h.
63750         [PPC_PLATFORM_PPC440]: Likewise.
63751         [PPC_PLATFORM_PPC464]: Likewise.
63752         [PPC_PLATFORM_PPC476]: Likewise.
63753         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63754         ppc464, and ppc476 platform strings merging from ports/
63755         dl-procinfo.h.
63757 2013-06-11  Andreas Schwab  <schwab@suse.de>
63759         [BZ #14991]
63760         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63761         (from_ucs4_idx): Regenerate.
63762         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63763         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63764         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63765         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63766         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63767         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63768         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63769         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63770         from FROM_LOOP and TO_LOOP specific macros.
63771         (BODY): Handle combining characters.
63772         * iconvdata/BIG5HKSCS.irreversible: Update.
63773         * iconvdata/BIG5HKSCS.precomposed: New file.
63774         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63775         characters.
63776         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63778 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63780         * include/sys/time.h: Fix indentation and add copyright header.
63782         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63783         (do_test): Likewise.
63784         * string/test-memchr.c (do_one_test): Likewise.
63785         (do_test): Likewise.
63786         * string/test-memcmp.c (do_one_test): Likewise.
63787         (do_test): Likewise.
63788         * string/test-memcpy.c (do_one_test): Likewise.
63789         (do_test): Likewise.
63790         * string/test-memmem.c (do_one_test): Likewise.
63791         (do_test): Likewise.
63792         (do_random_tests): Likewise.
63793         * string/test-memmove.c (do_one_test): Likewise.
63794         (do_test): Likewise.
63795         * string/test-memset.c (do_one_test): Likewise.
63796         (do_test): Likewise.
63797         * string/test-rawmemchr.c (do_one_test): Likewise.
63798         (do_test): Likewise.
63799         * string/test-strcasecmp.c (do_one_test): Likewise.
63800         (do_test): Likewise.
63801         * string/test-strcasestr.c (do_one_test): Likewise.
63802         (do_test): Likewise.
63803         * string/test-strcat.c (do_one_test): Likewise.
63804         (do_test): Likewise.
63805         * string/test-strchr.c (do_one_test): Likewise.
63806         (do_test): Likewise.
63807         * string/test-strcmp.c (do_one_test): Likewise.
63808         (do_test): Likewise.
63809         * string/test-strcpy.c (do_one_test): Likewise.
63810         (do_test): Likewise.
63811         * string/test-string.h: Likewise.
63812         (test_init): Likewise.
63813         * string/test-strlen.c (do_one_test): Likewise.
63814         (do_test): Likewise.
63815         * string/test-strncasecmp.c (do_one_test): Likewise.
63816         (do_test): Likewise.
63817         * string/test-strncat.c (do_one_test): Likewise.
63818         (do_test): Likewise.
63819         * string/test-strncmp.c (do_one_test): Likewise.
63820         (do_test_limit): Likewise.
63821         (do_test): Likewise.
63822         * string/test-strncpy.c (do_one_test): Likewise.
63823         (do_test): Likewise.
63824         * string/test-strnlen.c (do_one_test): Likewise.
63825         (do_test): Likewise.
63826         * string/test-strpbrk.c (do_one_test): Likewise.
63827         (do_test): Likewise.
63828         * string/test-strrchr.c (do_one_test): Likewise.
63829         (do_test): Likewise.
63830         * string/test-strspn.c (do_one_test): Likewise.
63831         (do_test): Likewise.
63832         * string/test-strstr.c (do_one_test): Likewise.
63833         (do_test): Likewise.
63835         * benchtests/Makefile (string-bench): Add string benchmarks.
63836         * benchtests/bench-bcopy-ifunc.c: New file.
63837         * benchtests/bench-bcopy.c: New file.
63838         * benchtests/bench-bzero-ifunc.c: New file.
63839         * benchtests/bench-bzero.c: New file.
63840         * benchtests/bench-memccpy-ifunc.c: New file.
63841         * benchtests/bench-memccpy.c: New file.
63842         * benchtests/bench-memchr-ifunc.c: New file.
63843         * benchtests/bench-memchr.c: New file.
63844         * benchtests/bench-memcmp-ifunc.c: New file.
63845         * benchtests/bench-memcmp.c: New file.
63846         * benchtests/bench-memmem-ifunc.c: New file.
63847         * benchtests/bench-memmem.c: New file.
63848         * benchtests/bench-memmove-ifunc.c: New file.
63849         * benchtests/bench-memmove.c: New file.
63850         * benchtests/bench-mempcpy-ifunc.c: New file.
63851         * benchtests/bench-mempcpy.c: New file.
63852         * benchtests/bench-memset-ifunc.c: New file.
63853         * benchtests/bench-memset.c: New file.
63854         * benchtests/bench-rawmemchr-ifunc.c: New file.
63855         * benchtests/bench-rawmemchr.c: New file.
63856         * benchtests/bench-stpcpy-ifunc.c: New file.
63857         * benchtests/bench-stpcpy.c: New file.
63858         * benchtests/bench-stpncpy-ifunc.c: New file.
63859         * benchtests/bench-stpncpy.c: New file.
63860         * benchtests/bench-strcasecmp-ifunc.c: New file.
63861         * benchtests/bench-strcasecmp.c: New file.
63862         * benchtests/bench-strcasestr-ifunc.c: New file.
63863         * benchtests/bench-strcasestr.c: New file.
63864         * benchtests/bench-strcat-ifunc.c: New file.
63865         * benchtests/bench-strcat.c: New file.
63866         * benchtests/bench-strchr-ifunc.c: New file.
63867         * benchtests/bench-strchr.c: New file.
63868         * benchtests/bench-strchrnul-ifunc.c: New file.
63869         * benchtests/bench-strchrnul.c: New file.
63870         * benchtests/bench-strcmp-ifunc.c: New file.
63871         * benchtests/bench-strcmp.c: New file.
63872         * benchtests/bench-strcpy-ifunc.c: New file.
63873         * benchtests/bench-strcpy.c: New file.
63874         * benchtests/bench-strcspn-ifunc.c: New file.
63875         * benchtests/bench-strcspn.c: New file.
63876         * benchtests/bench-strlen-ifunc.c: New file.
63877         * benchtests/bench-strlen.c: New file.
63878         * benchtests/bench-strncasecmp-ifunc.c: New file.
63879         * benchtests/bench-strncasecmp.c: New file.
63880         * benchtests/bench-strncat-ifunc.c: New file.
63881         * benchtests/bench-strncat.c: New file.
63882         * benchtests/bench-strncmp-ifunc.c: New file.
63883         * benchtests/bench-strncmp.c: New file.
63884         * benchtests/bench-strncpy-ifunc.c: New file.
63885         * benchtests/bench-strncpy.c: New file.
63886         * benchtests/bench-strnlen-ifunc.c: New file.
63887         * benchtests/bench-strnlen.c: New file.
63888         * benchtests/bench-strpbrk-ifunc.c: New file.
63889         * benchtests/bench-strpbrk.c: New file.
63890         * benchtests/bench-strrchr-ifunc.c: New file.
63891         * benchtests/bench-strrchr.c: New file.
63892         * benchtests/bench-strspn-ifunc.c: New file.
63893         * benchtests/bench-strspn.c: New file.
63894         * benchtests/bench-strstr-ifunc.c: New file.
63895         * benchtests/bench-strstr.c: New file.
63897         * benchtests/Makefile: Disable parallel execution of targets.
63898         (string-bench): Add memcpy.
63899         (benchset): New variable to store a list of benchmark sets.
63900         (bench-func): Renamed from bench.
63901         (bench-set): New target.
63902         (bench): Depend on bench-func and bench-set.
63903         * benchtests/README: Add section on benchmark sets.
63904         * benchtests/bench-memcpy-ifunc.c: New file.
63905         * benchtests/bench-memcpy.c: New file.
63906         * benchtests/bench-string.h: New file.
63908 2013-06-11  Andreas Schwab  <schwab@suse.de>
63910         [BZ #15577]
63911         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63912         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63913         values in the triple.
63914         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63915         terminator in the group key.
63917 2013-06-11  Andreas Jaeger  <aj@suse.de>
63919         * po/zh_TW.po: Update Chinese (traditional) translation from
63920         translation project.
63922 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63924         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63925         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63926         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63927         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63928         (clock_getcpuclockid): Likewise.
63929         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63930         Add weak_alias and libc_hidden_def.
63931         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63932         * rt/clock_gettime.c (clock_gettime): Rename to
63933         __clock_gettime.  Add weak_alias and libc_hidden_def.
63934         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63935         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63936         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63937         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63938         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63939         Likewise.
63940         * rt/clock_settime.c (clock_settime): Rename to
63941         __clock_settime.  Add weak_alias and libc_hidden_def.
63942         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63944 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63946         * mach/err_boot.sub: Remove trailing whitespace.
63947         * mach/err_ipc.sub: Likewise.
63948         * mach/err_mach.sub: Likewise.
63950         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63951         (ROUNDING_TESTS_double): Likewise.
63952         (ROUNDING_TESTS_long_double): Likewise.
63953         (ROUNDING_TESTS): Likewise.
63954         * math/libm-test.inc: Include <math-tests.h>.
63955         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63956         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63957         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63958         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63960 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63962         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63963         of assigning.
63965 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63967         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63968         otherwise empty TRANS lines.
63969         * sysdeps/gnu/errlist.c: Regenerated.
63971         * catgets/gencat.c (error_print): Use (void) in function
63972         definition.
63973         * crypt/crypt_util.c (__init_des): Likewise.
63974         * crypt/speeds.c (Stop): Likewise.
63975         (main): Likewise.
63976         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63977         * inet/ruserpass.c (token): Likewise.
63978         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63979         * intl/localealias.c (extend_alias_table): Likewise.
63980         * intl/plural-exp.c (init_germanic_plural): Likewise.
63981         * libio/fcloseall.c (__fcloseall): Likewise.
63982         * libio/genops.c (_IO_flush_all): Likewise.
63983         (_IO_flush_all_linebuffered): Likewise.
63984         (_IO_cleanup): Likewise.
63985         (_IO_iter_begin): Likewise.
63986         (_IO_iter_end): Likewise.
63987         (_IO_list_lock): Likewise.
63988         (_IO_list_unlock): Likewise.
63989         (_IO_list_resetlock): Likewise.
63990         * libio/getchar.c (getchar): Likewise.
63991         * libio/getchar_u.c (getchar_unlocked): Likewise.
63992         * libio/getwchar.c (getwchar): Likewise.
63993         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63994         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63995         * login/getpt.c (__getpt): Likewise.
63996         * login/tst-utmp.c (main): Likewise.
63997         * malloc/hooks.c (__malloc_check_init): Likewise.
63998         * malloc/malloc.c (__malloc_stats): Likewise.
63999         * malloc/mtrace.c (tr_break): Likewise.
64000         (mtrace): Likewise.
64001         (muntrace): Likewise.
64002         * misc/fstab.c (endfsent): Likewise.
64003         * misc/getclktck.c (__getclktck): Likewise.
64004         * misc/getdtsz.c (__getdtablesize): Likewise.
64005         * misc/gethostid.c (gethostid): Likewise.
64006         * misc/getpagesize.c (__getpagesize): Likewise.
64007         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
64008         (__get_nprocs): Likewise.
64009         (__get_phys_pages): Likewise.
64010         (__get_avphys_pages): Likewise.
64011         * misc/getttyent.c (getttyent): Likewise.
64012         (setttyent): Likewise.
64013         (endttyent): Likewise.
64014         * misc/getusershell.c (getusershell): Likewise.
64015         (endusershell): Likewise.
64016         (setusershell): Likewise.
64017         (initshells): Likewise.
64018         * misc/hsearch.c (__hdestroy): Likewise.
64019         * misc/sync.c (sync): Likewise.
64020         * misc/syslog.c (closelog_internal): Likewise.
64021         (closelog): Likewise.
64022         * misc/ttyslot.c (ttyslot): Likewise.
64023         * misc/vhangup.c (vhangup): Likewise.
64024         * posix/fork.c (__fork): Likewise.
64025         * posix/getegid.c (__getegid): Likewise.
64026         * posix/geteuid.c (__geteuid): Likewise.
64027         * posix/getgid.c (__getgid): Likewise.
64028         * posix/getpid.c (__getpid): Likewise.
64029         * posix/getppid.c (__getppid): Likewise.
64030         * posix/getuid.c (__getuid): Likewise.
64031         * posix/pause.c (pause): Likewise.
64032         * posix/setpgrp.c (setpgrp): Likewise.
64033         * posix/setsid.c (__setsid): Likewise.
64034         * posix/test-vfork.c (noop): Likewise.
64035         * resolv/gethnamaddr.c (_endhtent): Likewise.
64036         (_gethtent): Likewise.
64037         (ht_endhostent): Likewise.
64038         (gethostent): Likewise.
64039         (dns_service): Likewise.
64040         * stdlib/drand48.c (drand48): Likewise.
64041         * stdlib/lrand48.c (lrand48): Likewise.
64042         * stdlib/mrand48.c (mrand48): Likewise.
64043         * stdlib/rand.c (rand): Likewise.
64044         * stdlib/random.c (__random): Likewise.
64045         * stdlib/setenv.c (clearenv): Likewise.
64046         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
64047         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
64048         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
64049         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
64050         (__get_nprocs): Likewise.
64051         (__get_phys_pages): Likewise.
64052         (__get_avphys_pages): Likewise.
64053         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
64054         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
64055         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
64056         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
64057         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
64058         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
64059         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
64060         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
64061         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
64062         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
64063         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
64064         * sysdeps/mach/hurd/sync.c (sync): Likewise.
64065         * sysdeps/posix/clock.c (clock): Likewise.
64066         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
64067         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
64068         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
64069         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
64070         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
64071         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
64072         (__get_nprocs_conf): Likewise.
64073         (__get_phys_pages): Likewise.
64074         (__get_avphys_pages): Likewise.
64075         * time/clock.c (clock): Likewise.
64076         * time/tzset.c (__tzname_max): Likewise.
64078 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
64080         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
64081         (__bswap_32): Do not use "register".
64082         * crypt/crypt.c (_ufc_doit_r): Likewise.
64083         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
64084         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
64085         * gmon/gmon.c (__monstartup): Likewise.
64086         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
64087         * hurd/hurdmalloc.c (more_memory): Likewise.
64088         (malloc): Likewise.
64089         (free): Likewise.
64090         (realloc): Likewise.
64091         (malloc_fork_prepare): Likewise.
64092         (malloc_fork_parent): Likewise.
64093         (malloc_fork_child): Likewise.
64094         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
64095         (_svcauth_des): Likewise.
64096         * inet/inet_lnaof.c (inet_lnaof): Likewise.
64097         * inet/inet_net.c (inet_network): Likewise.
64098         * inet/inet_netof.c (inet_netof): Likewise.
64099         * inet/rcmd.c (__validuser2_sa): Likewise.
64100         * io/fts.c (fts_open): Likewise.
64101         (fts_load): Likewise.
64102         (fts_close): Likewise.
64103         (fts_read): Likewise.
64104         (fts_children): Likewise.
64105         (fts_build): Likewise.
64106         (fts_stat): Likewise.
64107         (fts_sort): Likewise.
64108         (fts_alloc): Likewise.
64109         (fts_lfree): Likewise.
64110         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64111         (_IO_file_xsgetn): Likewise.
64112         (_IO_file_xsgetn_mmap): Likewise.
64113         * libio/iofopncook.c (_IO_cookie_read): Likewise.
64114         (_IO_cookie_write): Likewise.
64115         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64116         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64117         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64118         * malloc/obstack.c (_obstack_begin): Likewise.
64119         (_obstack_begin_1): Likewise.
64120         (_obstack_newchunk): Likewise.
64121         (_obstack_allocated_p): Likewise.
64122         (obstack_free): Likewise.
64123         (_obstack_memory_used): Likewise.
64124         * misc/getttyent.c (getttynam): Likewise.
64125         (getttyent): Likewise.
64126         (skip): Likewise.
64127         (value): Likewise.
64128         * misc/getusershell.c (initshells): Likewise.
64129         * misc/syslog.c (__vsyslog_chk): Likewise.
64130         * misc/ttyslot.c (ttyslot): Likewise.
64131         * nis/nis_hash.c (__nis_hash): Likewise.
64132         * posix/fnmatch_loop.c (FCT): Likewise.
64133         * posix/getconf.c (print_all): Likewise.
64134         (main): Likewise.
64135         * posix/getopt.c (exchange): Likewise.
64136         * posix/glob.c (globfree): Likewise.
64137         (prefix_array): Likewise.
64138         (__glob_pattern_type): Likewise.
64139         * resolv/arpa/nameser.h (NS_GET16): Likewise.
64140         (NS_GET32): Likewise.
64141         (NS_PUT16): Likewise.
64142         (NS_PUT32): Likewise.
64143         * resolv/gethnamaddr.c (getanswer): Likewise.
64144         (gethostbyname2): Likewise.
64145         (gethostbyaddr): Likewise.
64146         (_gethtent): Likewise.
64147         (_gethtbyname2): Likewise.
64148         (_gethtbyaddr): Likewise.
64149         * resolv/ns_print.c (dst_s_get_int16): Likewise.
64150         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64151         * resolv/res_init.c (__res_vinit): Likewise.
64152         (net_mask): Likewise.
64153         * resolv/res_mkquery.c (outchar): Likewise.
64154         (PRINT): Likewise.
64155         * stdio-common/printf_fp.c (outchar): Likewise.
64156         (PRINT): Likewise.
64157         * stdio-common/printf_fphex.c (outchar): Likewise.
64158         (PRINT): Likewise.
64159         * stdio-common/printf_size.c (outchar): Likewise.
64160         (PRINT): Likewise.
64161         * stdio-common/test_rdwr.c (main): Likewise.
64162         * stdio-common/tfformat.c (matches): Likewise.
64163         * stdio-common/vfprintf.c (outchar): Likewise.
64164         (printf_unknown): Likewise.
64165         (buffered_vfprintf): Likewise.
64166         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64167         * stdio-common/xbug.c (AppendToBuffer): Likewise.
64168         (ReadFile): Likewise.
64169         * stdlib/qsort.c (SWAP): Likewise.
64170         (_quicksort): Likewise.
64171         * stdlib/setenv.c (__add_to_environ): Likewise.
64172         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64173         * stdlib/strtol_l.c (__strtol_l): Likewise.
64174         * stdlib/tst-strtod.c (main): Likewise.
64175         * stdlib/tst-strtol.c (main): Likewise.
64176         * stdlib/tst-strtoll.c (main): Likewise.
64177         * string/bits/string2.h (__strcmp_cc): Likewise.
64178         (__strcmp_cg): Likewise.
64179         (__strcspn_c1): Likewise.
64180         (__strcspn_c2): Likewise.
64181         (__strcspn_c3): Likewise.
64182         (__strspn_c1): Likewise.
64183         (__strspn_c2): Likewise.
64184         (__strspn_c3): Likewise.
64185         (__strsep_1c): Likewise.
64186         (__strsep_2c): Likewise.
64187         (__strsep_3c): Likewise.
64188         * string/memccpy.c (__memccpy): Likewise.
64189         * string/stpcpy.c (__stpcpy): Likewise.
64190         * string/strcmp.c (strcmp): Likewise.
64191         * string/strrchr.c (strrchr): Likewise.
64192         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64193         Likewise.
64194         * sysdeps/mach/hurd/getcwd.c
64195         (_hurd_canonicalize_directory_name_internal): Likewise.
64196         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64197         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64198         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64199         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64200         Likewise, in both definitions.
64201         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64202         definitions.
64203         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64204         64] (__bswap_64): Likewise.
64205         * time/test_time.c (main): Likewise.
64206         * time/tzfile.c (__tzfile_read): Likewise.
64207         (__tzfile_compute): Likewise.
64208         * time/tzset.c (__tzset_parse_tz): Likewise.
64209         (tzset_internal): Likewise.
64210         (compute_change): Likewise.
64211         * wcsmbs/wcscat.c (__wcscat): Likewise.
64212         * wcsmbs/wcschr.c (wcschr): Likewise.
64213         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64214         * wcsmbs/wcscspn.c (wcscspn): Likewise.
64215         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64216         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64217         * wcsmbs/wcsspn.c (wcsspn): Likewise.
64218         * wcsmbs/wcsstr.c (wcsstr): Likewise.
64219         * wcsmbs/wmemchr.c (wmemchr): Likewise.
64220         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64221         * wcsmbs/wmemset.c (wmemset): Likewise.
64223 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
64225         * scripts/config.guess: Update to version 2013-05-16.
64226         * scripts/config.sub: Update to version 2013-04-24.
64227         * scripts/install-sh: Update to version 2011-11-20.07.
64228         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64229         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64231 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64233         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64234         * elf/sln.c: Likewise.
64235         * hurd/hurd/ioctl.h: Likewise.
64236         * hurd/hurdmalloc.c: Likewise.
64237         * hurd/xattr.c: Likewise.
64238         * include/shlib-compat.h: Likewise.
64239         * inet/ruserpass.c: Likewise.
64240         * libio/iofgets_u.c: Likewise.
64241         * libio/iofgetws_u.c: Likewise.
64242         * locale/programs/ld-identification.c: Likewise.
64243         * locale/programs/ld-time.c: Likewise.
64244         * mach/msg-destroy.c: Likewise.
64245         * nss/nss_files/files-netgrp.c: Likewise.
64246         * resolv/res_data.c: Likewise.
64247         * soft-fp/op-1.h: Likewise.
64248         * soft-fp/op-2.h: Likewise.
64249         * soft-fp/op-4.h: Likewise.
64250         * soft-fp/op-common.h: Likewise.
64251         * stdio-common/printf_fphex.c: Likewise.
64252         * stdlib/strtod_l.c: Likewise.
64253         * sunrpc/rpc/clnt.h: Likewise.
64254         * sysdeps/generic/framestate.c: Likewise.
64255         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64256         * sysdeps/i386/bsd-setjmp.S: Likewise.
64257         * sysdeps/i386/__longjmp.S: Likewise.
64258         * sysdeps/i386/setjmp.S: Likewise.
64259         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64260         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64261         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64262         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64263         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64264         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64265         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64266         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64267         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64268         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64269         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64270         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64271         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64272         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64273         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64274         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64275         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64276         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64277         * sysdeps/ieee754/support.c: Likewise.
64278         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64279         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64280         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64281         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64282         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64283         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64284         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64285         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64286         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64287         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64288         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64289         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64290         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64291         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64292         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64293         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64294         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64297 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64299         * posix/transbug.c: Remove executable mode.
64301 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64303         * crypt/speeds.c: Remove trailing whitespace.
64304         * dlfcn/default.c: Likewise.
64305         * elf/ifuncdep2.c: Likewise.
64306         * elf/ifuncmain1.c: Likewise.
64307         * elf/ifuncmain1vis.c: Likewise.
64308         * elf/testobj.h: Likewise.
64309         * elf/tst-stackguard1.c: Likewise.
64310         * gmon/sys/gmon.h: Likewise.
64311         * hurd/hurdmsg.c: Likewise.
64312         * hurd/new-fd.c: Likewise.
64313         * hurd/ports-get.c: Likewise.
64314         * iconvdata/ibm1008_420.c: Likewise.
64315         * inet/tst-getni1.c: Likewise.
64316         * inet/tst-getni2.c: Likewise.
64317         * libio/ioungetc.c: Likewise.
64318         * libio/wfiledoalloc.c: Likewise.
64319         * manual/libm-err-tab.pl: Likewise.
64320         * math/w_dremf.c: Likewise.
64321         * misc/ftruncate.c: Likewise.
64322         * posix/bug-glob2.c: Likewise.
64323         * posix/tst-pcre.c: Likewise.
64324         * posix/wait4.c: Likewise.
64325         * resolv/README: Likewise.
64326         * resolv/res_debug.h: Likewise.
64327         * resolv/tst-inet_ntop.c: Likewise.
64328         * setjmp/bug269-setjmp.c: Likewise.
64329         * soft-fp/extended.h: Likewise.
64330         * soft-fp/op-1.h: Likewise.
64331         * soft-fp/op-2.h: Likewise.
64332         * soft-fp/op-4.h: Likewise.
64333         * soft-fp/op-8.h: Likewise.
64334         * soft-fp/testit.c: Likewise.
64335         * stdio-common/bug16.c: Likewise.
64336         * stdlib/random.c: Likewise.
64337         * sunrpc/rpcsvc/rquota.x: Likewise.
64338         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64339         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64340         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64341         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64342         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64343         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64344         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64345         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64346         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64347         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64348         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64349         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64350         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64351         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64352         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64353         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64354         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64355         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64356         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64357         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64358         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64359         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64360         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64361         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64362         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64363         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64364         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64365         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64366         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64367         * sysdeps/ieee754/s_lib_version.c: Likewise.
64368         * sysdeps/mach/hurd/check_fds.c: Likewise.
64369         * sysdeps/mach/hurd/getsockname.c: Likewise.
64370         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64371         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64372         * sysdeps/powerpc/bits/link.h: Likewise.
64373         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64374         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64375         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64376         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64377         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64378         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64379         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64380         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64381         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64382         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64383         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64384         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64385         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64386         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64387         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64388         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64389         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64390         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64391         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64392         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64393         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64394         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64395         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64396         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64397         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64398         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64399         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64400         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64401         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64402         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64404         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64405         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64406         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64407         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64408         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64409         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64410         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64411         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64412         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64413         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64414         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64415         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64416         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64417         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64418         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64419         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64420         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64421         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64422         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64425         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64426         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64427         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64428         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64429         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64430         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64431         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64432         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64433         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64434         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64435         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64436         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64437         * sysdeps/powerpc/sysdep.h: Likewise.
64438         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64439         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64440         * sysdeps/sh/dl-trampoline.S: Likewise.
64441         * sysdeps/sh/memset.S: Likewise.
64442         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64443         * sysdeps/sh/strlen.S: Likewise.
64444         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64445         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64446         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64447         * sysdeps/sparc/sparc32/rem.S: Likewise.
64448         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64449         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64450         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64451         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64452         * sysdeps/sparc/sparc32/urem.S: Likewise.
64453         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64454         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64455         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64456         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64457         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64458         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64459         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64460         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64461         * sysdeps/unix/bsd/times.c: Likewise.
64462         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64463         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64467         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64468         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64469         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64470         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64471         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64472         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64473         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64474         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64475         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64476         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64477         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64478         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64479         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64480         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64481         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64482         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64483         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64484         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64485         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64486         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64487         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64488         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64489         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64490         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64491         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64492         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64493         * sysdeps/x86_64/strcspn.S: Likewise.
64495 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64497         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64498         generated file.  Regenerate properly from gen-translit.pl.
64499         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64500         locale/C-translit.h.
64502 2013-06-05  Andreas Schwab  <schwab@suse.de>
64504         [BZ #15100]
64505         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64506         week as 6 instead of -1.
64507         * time/tst-strptime.c (day_tests): Add test case.
64509 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64511         * sysdeps/generic/math_private.h
64512         (libc_feholdexcept_setround_53bit): Replace with
64513         libc_feholdsetround_53bit.
64514         (libc_feupdateenv_53bit): Replace with
64515         libc_feresetround_53bit.
64516         (SET_RESTORE_ROUND_53BIT): Adjust.
64518 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64520         * string/test-strchrnul.c: Add copyright header.
64522         * posix/tst-getaddrinfo4.c: Increase test timeout.
64524 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64526         [BZ #15536]
64527         * math/libm-test.inc (MAX_EXP): Remove
64528         (MIN_EXP): Define.
64529         (ulp): Use MIN_EXP - MANT_DIG.
64530         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64532 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64534         * po/be.po: Revert last change.
64535         * po/zh_CN.po: Likewise.
64536         * po/header.pot: Likewise.
64538 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64540         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64541         link-libc-deps to empty as target-specific variable.
64542         * Makerules (link-libc-args): New variable.
64543         (libc-for-link): Likewise.
64544         (link-libc-deps): Likewise.
64545         (lib%.so): Depend on $(link-libc-deps).  Link with
64546         $(link-libc-args).
64547         (build-module): Link with $(link-libc-args).
64548         (build-module-asneeded): Likewise.
64549         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64550         list of objects.
64551         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64552         target-specific variable.
64553         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64554         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64555         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64556         libc.
64557         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64558         libc and ld.so.
64559         ($(objpfx)libpcprofile.so): Likewise.
64560         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64561         libc_nonshared.a.
64562         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64563         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64564         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64565         $(link-libc-deps).
64566         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64567         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64568         * login/Makefile ($(objpfx)libutil.so): Likewise.
64569         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64570         * math/Makefile ($(objpfx)libm.so): Likewise.
64571         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64572         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64573         variable instead of depending directly on libc.
64574         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64575         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64576         $(link-libc-deps).
64577         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64578         libc.
64579         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64580         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64581         ($(objpfx)libanl.so): Likewise.
64582         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64583         ld.so.
64584         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64585         $(link-libc-deps).
64586         * sysdeps/i386/fpu/Makefile: Remove file.
64587         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64588         ($(objpfx)libm.so): Remove dependency on ld.so.
64590 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64592         [BZ # 15553]
64593         * nis/yp_xdr.c (XDRMAXNAME): Define.
64594         (XDRMAXRECORD): Define.
64595         (xdr_domainname): Use XDRMAXNAME.
64596         (xdr_mapname): Likewise.
64597         (xdr_peername): Likewise.
64598         (xdr_keydat): Use XDRMAXRECORD.
64599         (xdr_valdat): Likewise.
64601 2013-05-30  Jeff Law  <law@redhat.com>
64603         [BZ #14256]
64604         * manual/errno.texi (ESTALE): Update to account for more than
64605         just NFS file systems.
64606         * sysdeps/gnu/errlist.c: Regenerated.
64608 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64610         [BZ #15465]
64611         * elf/Makefile (tests): Add tst-null-argv.
64612         (modules-names):  Add tst-null-argv-lib.
64613         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64614         (tst-null-argv-ENV): Set environment for tst-null-argv.
64615         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64616         (RTLD_PROGNAME): New macro.
64617         * elf/tst-null-argv.c: New test case.
64618         * elf/tst-null-argv-lib.c: Library for test case.
64619         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64620         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64621         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64622         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64623         * elf/dl-init.c (call_init): Likewise.
64624         (_dl_init): Likewise.
64625         * elf/dl-load.c (print_search_path): Likewise.
64626         (_dl_map_object): Likewise.
64627         * elf/dl-lookup.c (do_lookup_x): Likewise.
64628         (add_dependency): Likewise.
64629         (_dl_lookup_symbol_x): Likewise.
64630         (_dl_debug_bindings): Likewise.
64631         * elf/dl-open.c (_dl_show_scope): Likewise.
64632         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64633         * elf/dl-version.c (match_symbol): Likewise.
64634         (_dl_check_map_versions): Likewise.
64635         * elf/rtld.c (dl_main): Likewise.
64636         (print_unresolved): Use RTLD_PROGNAME.
64637         (print_missing_version): Likewise.
64638         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64639         (elf_machine_rela): Likewise.
64640         * sysdeps/powerpc/powerpc32/dl-machine.c
64641         (__process_machine_rela): Likewise.
64642         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64643         Likewise.
64644         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64645         Likewise.
64646         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64647         Likewise.
64648         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64649         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64650         Likewise.
64651         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64652         Likewise.
64653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64655 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64657         * po/be.po: Add descriptive title.
64658         * po/zh_CN.po: Likewise.
64659         * po/header.pot: Likewise.
64661 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64663         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64664         error message.
64665         (enlarge_archive): Likewise.
64667 2013-05-28  Ben North  <ben@redfrontdoor.org>
64669         * manual/arith.texi (frexp): It is the magnitude of the return
64670         value which lies in [0.5, 1), not the return value itself.
64672 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64676 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64678         * stdio-common/bug26.c (main): Correct fscanf template.
64680         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64681         declare _dl_skip_args.
64683         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64684         Don't declare.
64686         * manual/platform.texi: Add missing @end deftypefun.
64688 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64690         [BZ #15529]
64691         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64692         bit of mantissa of 2^16382.
64693         * math/libm-test.inc (hypot_test_data): Add more tests.
64695         * math/libm-test.inc: Add drem and pow10 to list of tested
64696         functions.
64697         (pow10_test): New function.
64698         (drem_test): Likewise.
64699         (drem_test_tonearest): Likewise.
64700         (drem_test_towardzero): Likewise.
64701         (drem_test_downward): Likewise.
64702         (drem_test_upward): Likewise.
64703         (main): Call the new functions.
64705         * math/libm-test.inc (finite_test_data): Remove.
64706         (finite_test): Run tests from isfinite_test_data.
64707         (gamma_test_data): Remove.
64708         (gamma_test): Run tests from lgamma_test_data.
64709         * sysdeps/i386/fpu/libm-test-ulps: Update.
64710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64712 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64714         * manual/platform.texi: Add PowerPC PPR function set documentation.
64715         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64716         implementation.
64718 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64720         * math/libm-test.inc (MAX_EXP): Define.
64721         (ULPDIFF): Define.
64722         (ulp): New function.
64723         (check_float_internal): Use ULPDIFF.
64724         (cpow_test): Disable failing test.
64725         (check_ulp): Test ulp() implementation.
64726         (main): Call check_ulp before starting tests.
64728 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64730         * math/gen-libm-test.pl (generate_testfile): Do not handle
64731         START_DATA and END_DATA.
64732         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64733         END_DATA.
64734         (acos_tonearest_test_data): Likewise.
64735         (acos_towardzero_test_data): Likewise.
64736         (acos_downward_test_data): Likewise.
64737         (acos_upward_test_data): Likewise.
64738         (acosh_test_data): Likewise.
64739         (asin_test_data): Likewise.
64740         (asin_tonearest_test_data): Likewise.
64741         (asin_towardzero_test_data): Likewise.
64742         (asin_downward_test_data): Likewise.
64743         (asin_upward_test_data): Likewise.
64744         (asinh_test_data): Likewise.
64745         (atan_test_data): Likewise.
64746         (atanh_test_data): Likewise.
64747         (atan2_test_data): Likewise.
64748         (cabs_test_data): Likewise.
64749         (cacos_test_data): Likewise.
64750         (cacosh_test_data): Likewise.
64751         (carg_test_data): Likewise.
64752         (casin_test_data): Likewise.
64753         (casinh_test_data): Likewise.
64754         (catan_test_data): Likewise.
64755         (catanh_test_data): Likewise.
64756         (cbrt_test_data): Likewise.
64757         (ccos_test_data): Likewise.
64758         (ccosh_test_data): Likewise.
64759         (ceil_test_data): Likewise.
64760         (cexp_test_data): Likewise.
64761         (cimag_test_data): Likewise.
64762         (clog_test_data): Likewise.
64763         (clog10_test_data): Likewise.
64764         (conj_test_data): Likewise.
64765         (copysign_test_data): Likewise.
64766         (cos_test_data): Likewise.
64767         (cos_tonearest_test_data): Likewise.
64768         (cos_towardzero_test_data): Likewise.
64769         (cos_downward_test_data): Likewise.
64770         (cos_upward_test_data): Likewise.
64771         (cosh_test_data): Likewise.
64772         (cosh_tonearest_test_data): Likewise.
64773         (cosh_towardzero_test_data): Likewise.
64774         (cosh_downward_test_data): Likewise.
64775         (cosh_upward_test_data): Likewise.
64776         (cpow_test_data): Likewise.
64777         (cproj_test_data): Likewise.
64778         (creal_test_data): Likewise.
64779         (csin_test_data): Likewise.
64780         (csinh_test_data): Likewise.
64781         (csqrt_test_data): Likewise.
64782         (ctan_test_data): Likewise.
64783         (ctan_tonearest_test_data): Likewise.
64784         (ctan_towardzero_test_data): Likewise.
64785         (ctan_downward_test_data): Likewise.
64786         (ctan_upward_test_data): Likewise.
64787         (ctanh_test_data): Likewise.
64788         (ctanh_tonearest_test_data): Likewise.
64789         (ctanh_towardzero_test_data): Likewise.
64790         (ctanh_downward_test_data): Likewise.
64791         (ctanh_upward_test_data): Likewise.
64792         (erf_test_data): Likewise.
64793         (erfc_test_data): Likewise.
64794         (exp_test_data): Likewise.
64795         (exp_tonearest_test_data): Likewise.
64796         (exp_towardzero_test_data): Likewise.
64797         (exp_downward_test_data): Likewise.
64798         (exp_upward_test_data): Likewise.
64799         (exp10_test_data): Likewise.
64800         (exp2_test_data): Likewise.
64801         (expm1_test_data): Likewise.
64802         (fabs_test_data): Likewise.
64803         (fdim_test_data): Likewise.
64804         (finite_test_data): Likewise.
64805         (floor_test_data): Likewise.
64806         (fma_test_data): Likewise.
64807         (fma_towardzero_test_data): Likewise.
64808         (fma_downward_test_data): Likewise.
64809         (fma_upward_test_data): Likewise.
64810         (fmax_test_data): Likewise.
64811         (fmin_test_data): Likewise.
64812         (fmod_test_data): Likewise.
64813         (fpclassify_test_data): Likewise.
64814         (frexp_test_data): Likewise.
64815         (gamma_test_data): Likewise.
64816         (hypot_test_data): Likewise.
64817         (ilogb_test_data): Likewise.
64818         (isfinite_test_data): Likewise.
64819         (isgreater_test_data): Likewise.
64820         (isgreaterequal_test_data): Likewise.
64821         (isinf_test_data): Likewise.
64822         (isless_test_data): Likewise.
64823         (islessequal_test_data): Likewise.
64824         (islessgreater_test_data): Likewise.
64825         (isnan_test_data): Likewise.
64826         (isnormal_test_data): Likewise.
64827         (issignaling_test_data): Likewise.
64828         (isunordered_test_data): Likewise.
64829         (j0_test_data): Likewise.
64830         (j1_test_data): Likewise.
64831         (jn_test_data): Likewise.
64832         (ldexp_test_data): Likewise.
64833         (lgamma_test_data): Likewise.
64834         (lrint_test_data): Likewise.
64835         (lrint_tonearest_test_data): Likewise.
64836         (lrint_towardzero_test_data): Likewise.
64837         (lrint_downward_test_data): Likewise.
64838         (lrint_upward_test_data): Likewise.
64839         (llrint_test_data): Likewise.
64840         (llrint_tonearest_test_data): Likewise.
64841         (llrint_towardzero_test_data): Likewise.
64842         (llrint_downward_test_data): Likewise.
64843         (llrint_upward_test_data): Likewise.
64844         (log_test_data): Likewise.
64845         (log10_test_data): Likewise.
64846         (log1p_test_data): Likewise.
64847         (log2_test_data): Likewise.
64848         (logb_test_data): Likewise.
64849         (logb_downward_test_data): Likewise.
64850         (lround_test_data): Likewise.
64851         (llround_test_data): Likewise.
64852         (modf_test_data): Likewise.
64853         (nearbyint_test_data): Likewise.
64854         (nextafter_test_data): Likewise.
64855         (nexttoward_test_data): Likewise.
64856         (pow_test_data): Likewise.
64857         (pow_tonearest_test_data): Likewise.
64858         (pow_towardzero_test_data): Likewise.
64859         (pow_downward_test_data): Likewise.
64860         (pow_upward_test_data): Likewise.
64861         (remainder_test_data): Likewise.
64862         (remainder_tonearest_test_data): Likewise.
64863         (remainder_towardzero_test_data): Likewise.
64864         (remainder_downward_test_data): Likewise.
64865         (remainder_upward_test_data): Likewise.
64866         (remquo_test_data): Likewise.
64867         (rint_test_data): Likewise.
64868         (rint_tonearest_test_data): Likewise.
64869         (rint_towardzero_test_data): Likewise.
64870         (rint_downward_test_data): Likewise.
64871         (rint_upward_test_data): Likewise.
64872         (round_test_data): Likewise.
64873         (scalb_test_data): Likewise.
64874         (scalbn_test_data): Likewise.
64875         (scalbln_test_data): Likewise.
64876         (signbit_test_data): Likewise.
64877         (sin_test_data): Likewise.
64878         (sin_tonearest_test_data): Likewise.
64879         (sin_towardzero_test_data): Likewise.
64880         (sin_downward_test_data): Likewise.
64881         (sin_upward_test_data): Likewise.
64882         (sincos_test_data): Likewise.
64883         (sinh_test_data): Likewise.
64884         (sinh_tonearest_test_data): Likewise.
64885         (sinh_towardzero_test_data): Likewise.
64886         (sinh_downward_test_data): Likewise.
64887         (sinh_upward_test_data): Likewise.
64888         (sqrt_test_data): Likewise.
64889         (tan_test_data): Likewise.
64890         (tan_tonearest_test_data): Likewise.
64891         (tan_towardzero_test_data): Likewise.
64892         (tan_downward_test_data): Likewise.
64893         (tan_upward_test_data): Likewise.
64894         (tanh_test_data): Likewise.
64895         (tgamma_test_data): Likewise.
64896         (trunc_test_data): Likewise.
64897         (y0_test_data): Likewise.
64898         (y1_test_data): Likewise.
64899         (yn_test_data): Likewise.
64900         (significand_test_data): Likewise.
64902         * math/gen-libm-test.pl (@functions): Remove variable.
64903         (generate_testfile): Don't handle START and END lines.
64904         * math/libm-test.inc (START): New macro.
64905         (END): Likewise.
64906         (END_COMPLEX): Likewise.
64907         (acos_test): Use END macro without arguments.
64908         (acos_test_tonearest): Likewise.
64909         (acos_test_towardzero): Likewise.
64910         (acos_test_downward): Likewise.
64911         (acos_test_upward): Likewise.
64912         (acosh_test): Likewise.
64913         (asin_test): Likewise.
64914         (asin_test_tonearest): Likewise.
64915         (asin_test_towardzero): Likewise.
64916         (asin_test_downward): Likewise.
64917         (asin_test_upward): Likewise.
64918         (asinh_test): Likewise.
64919         (atan_test): Likewise.
64920         (atanh_test): Likewise.
64921         (atan2_test): Likewise.
64922         (cabs_test): Likewise.
64923         (cacos_test): Use END_COMPLEX macro without arguments.
64924         (cacosh_test): Likewise.
64925         (carg_test): Use END macro without arguments.
64926         (casin_test): Use END_COMPLEX macro without arguments.
64927         (casinh_test): Likewise.
64928         (catan_test): Likewise.
64929         (catanh_test): Likewise.
64930         (cbrt_test): Use END macro without arguments.
64931         (ccos_test): Use END_COMPLEX macro without arguments.
64932         (ccosh_test): Likewise.
64933         (ceil_test): Use END macro without arguments.
64934         (cexp_test): Use END_COMPLEX macro without arguments.
64935         (cimag_test): Use END macro without arguments.
64936         (clog_test): Use END_COMPLEX macro without arguments.
64937         (clog10_test): Likewise.
64938         (conj_test): Likewise.
64939         (copysign_test): Use END macro without arguments.
64940         (cos_test): Likewise.
64941         (cos_test_tonearest): Likewise.
64942         (cos_test_towardzero): Likewise.
64943         (cos_test_downward): Likewise.
64944         (cos_test_upward): Likewise.
64945         (cosh_test): Likewise.
64946         (cosh_test_tonearest): Likewise.
64947         (cosh_test_towardzero): Likewise.
64948         (cosh_test_downward): Likewise.
64949         (cosh_test_upward): Likewise.
64950         (cpow_test): Use END_COMPLEX macro without arguments.
64951         (cproj_test): Likewise.
64952         (creal_test): Use END macro without arguments.
64953         (csin_test): Use END_COMPLEX macro without arguments.
64954         (csinh_test): Likewise.
64955         (csqrt_test): Likewise.
64956         (ctan_test): Likewise.
64957         (ctan_test_tonearest): Likewise.
64958         (ctan_test_towardzero): Likewise.
64959         (ctan_test_downward): Likewise.
64960         (ctan_test_upward): Likewise.
64961         (ctanh_test): Likewise.
64962         (ctanh_test_tonearest): Likewise.
64963         (ctanh_test_towardzero): Likewise.
64964         (ctanh_test_downward): Likewise.
64965         (ctanh_test_upward): Likewise.
64966         (erf_test): Use END macro without arguments.
64967         (erfc_test): Likewise.
64968         (exp_test): Likewise.
64969         (exp_test_tonearest): Likewise.
64970         (exp_test_towardzero): Likewise.
64971         (exp_test_downward): Likewise.
64972         (exp_test_upward): Likewise.
64973         (exp10_test): Likewise.
64974         (exp2_test): Likewise.
64975         (expm1_test): Likewise.
64976         (fabs_test): Likewise.
64977         (fdim_test): Likewise.
64978         (finite_test): Likewise.
64979         (floor_test): Likewise.
64980         (fma_test): Likewise.
64981         (fma_test_towardzero): Likewise.
64982         (fma_test_downward): Likewise.
64983         (fma_test_upward): Likewise.
64984         (fmax_test): Likewise.
64985         (fmin_test): Likewise.
64986         (fmod_test): Likewise.
64987         (fpclassify_test): Likewise.
64988         (frexp_test): Likewise.
64989         (gamma_test): Likewise.
64990         (hypot_test): Likewise.
64991         (ilogb_test): Likewise.
64992         (isfinite_test): Likewise.
64993         (isgreater_test): Likewise.
64994         (isgreaterequal_test): Likewise.
64995         (isinf_test): Likewise.
64996         (isless_test): Likewise.
64997         (islessequal_test): Likewise.
64998         (islessgreater_test): Likewise.
64999         (isnan_test): Likewise.
65000         (isnormal_test): Likewise.
65001         (issignaling_test): Likewise.
65002         (isunordered_test): Likewise.
65003         (j0_test): Likewise.
65004         (j1_test): Likewise.
65005         (jn_test): Likewise.
65006         (ldexp_test): Likewise.
65007         (lgamma_test): Likewise.
65008         (lrint_test): Likewise.
65009         (lrint_test_tonearest): Likewise.
65010         (lrint_test_towardzero): Likewise.
65011         (lrint_test_downward): Likewise.
65012         (lrint_test_upward): Likewise.
65013         (llrint_test): Likewise.
65014         (llrint_test_tonearest): Likewise.
65015         (llrint_test_towardzero): Likewise.
65016         (llrint_test_downward): Likewise.
65017         (llrint_test_upward): Likewise.
65018         (log_test): Likewise.
65019         (log10_test): Likewise.
65020         (log1p_test): Likewise.
65021         (log2_test): Likewise.
65022         (logb_test): Likewise.
65023         (logb_test_downward): Likewise.
65024         (lround_test): Likewise.
65025         (llround_test): Likewise.
65026         (modf_test): Likewise.
65027         (nearbyint_test): Likewise.
65028         (nextafter_test): Likewise.
65029         (nexttoward_test): Likewise.
65030         (pow_test): Likewise.
65031         (pow_test_tonearest): Likewise.
65032         (pow_test_towardzero): Likewise.
65033         (pow_test_downward): Likewise.
65034         (pow_test_upward): Likewise.
65035         (remainder_test): Likewise.
65036         (remainder_test_tonearest): Likewise.
65037         (remainder_test_towardzero): Likewise.
65038         (remainder_test_downward): Likewise.
65039         (remainder_test_upward): Likewise.
65040         (remquo_test): Likewise.
65041         (rint_test): Likewise.
65042         (rint_test_tonearest): Likewise.
65043         (rint_test_towardzero): Likewise.
65044         (rint_test_downward): Likewise.
65045         (rint_test_upward): Likewise.
65046         (round_test): Likewise.
65047         (scalb_test): Likewise.
65048         (scalbn_test): Likewise.
65049         (scalbln_test): Likewise.
65050         (signbit_test): Likewise.
65051         (sin_test): Likewise.
65052         (sin_test_tonearest): Likewise.
65053         (sin_test_towardzero): Likewise.
65054         (sin_test_downward): Likewise.
65055         (sin_test_upward): Likewise.
65056         (sincos_test): Likewise.
65057         (sinh_test): Likewise.
65058         (sinh_test_tonearest): Likewise.
65059         (sinh_test_towardzero): Likewise.
65060         (sinh_test_downward): Likewise.
65061         (sinh_test_upward): Likewise.
65062         (sqrt_test): Likewise.
65063         (tan_test): Likewise.
65064         (tan_test_tonearest): Likewise.
65065         (tan_test_towardzero): Likewise.
65066         (tan_test_downward): Likewise.
65067         (tan_test_upward): Likewise.
65068         (tanh_test): Likewise.
65069         (tgamma_test): Likewise.
65070         (trunc_test): Likewise.
65071         (y0_test): Likewise.
65072         (y1_test): Likewise.
65073         (yn_test): Likewise.
65074         (significand_test): Likewise.
65076 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
65078         [BZ #15381]
65079         * libio/genops.c (_IO_no_init): Initialize wide struct info.
65081 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65083         [BZ #14894]
65084         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
65085         __ppc_mdoio and __ppc_mdoom.
65086         * manual/platform.texi: Document new functions __ppc_yield,
65087         __ppc_mdoio and __ppc_mdoom.
65089 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
65091         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
65092         (main): Mention "tls" pseudo-hwcap is legacy.
65093         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
65095 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65097         * math/gen-libm-test.pl (parse_args): Output only string of
65098         arguments as text for test name, not full call or descriptions of
65099         tests for extra outputs.
65100         (generate_testfile): Do not pass function name to parse_args.
65101         Generate this_func variable from START.
65102         * math/libm-test.inc (struct test_f_f_data): Rename test_name
65103         field to arg_str.
65104         (struct test_ff_f_data): Likewise.
65105         (test_ff_f_data_nexttoward): Likewise.
65106         (struct test_fi_f_data): Likewise.
65107         (struct test_fl_f_data): Likewise.
65108         (struct test_if_f_data): Likewise.
65109         (struct test_fff_f_data): Likewise.
65110         (struct test_c_f_data): Likewise.
65111         (struct test_f_f1_data): Likewise.  Remove field extra_name.
65112         (struct test_fF_f1_data): Likewise.
65113         (struct test_ffI_f1_data): Likewise.
65114         (struct test_c_c_data): Rename test_name field to arg_str.
65115         (struct test_cc_c_data): Likewise.
65116         (struct test_f_i_data): Likewise.
65117         (struct test_ff_i_data): Likewise.
65118         (struct test_f_l_data): Likewise.
65119         (struct test_f_L_data): Likewise.
65120         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
65121         and extra2_name.
65122         (COMMON_TEST_SETUP): New macro.
65123         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65124         (COMMON_TEST_CLEANUP): Likewise.
65125         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65126         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
65127         macros.
65128         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65129         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
65130         macros.
65131         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65132         (RUN_TEST_fff_f): Take argument string.  Call new setup and
65133         cleanup macros.
65134         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65135         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
65136         macros.
65137         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65138         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
65139         macros.
65140         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65141         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
65142         cleanup macros.
65143         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65144         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
65145         cleanup macros.
65146         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65147         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
65148         cleanup macros.
65149         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65150         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
65151         macros.
65152         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65153         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
65154         macros.
65155         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65156         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
65157         macros.
65158         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65159         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
65160         cleanup macros.
65161         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65162         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
65163         cleanup macros.
65164         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65165         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
65166         macros.
65167         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65168         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
65169         cleanup macros.
65170         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65171         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
65172         macros.
65173         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65174         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
65175         macros.
65176         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65177         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
65178         cleanup macros.
65179         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65181 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
65183         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65184         to _sifields.sigfault.
65185         (si_addr_lsb): Define new macro.
65186         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65187         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65188         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65190 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
65192         [BZ #15441]
65193         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65194         returns -1.
65195         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65196         null return -1.
65197         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65198         loading the domain.
65200 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65202         * math/gen-libm-test.pl (parse_args): Do not include expected
65203         result in test name.
65204         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65205         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65206         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65207         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65208         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65211 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65213         * benchtests/Makefile: Sort function entries.
65215         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65216         tanh, asinh, acosh, atanh.
65217         * benchtests/acos-inputs: New file.
65218         * benchtests/acosh-inputs: New file.
65219         * benchtests/asin-inputs: New file.
65220         * benchtests/asinh-inputs: New file.
65221         * benchtests/atanh-inputs: New file.
65222         * benchtests/cosh-inputs: New file.
65223         * benchtests/log-inputs: New file.
65224         * benchtests/sinh-inputs: New file.
65225         * benchtests/tanh-inputs: New file.
65227 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65229         [BZ #15339]
65230         * posix/tst-getaddrinfo4.c: New test.
65231         * posix/Makefile (tests): Add it.
65233 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65235         [BZ #15339]
65236         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65237         when no services were used.
65238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65239         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65241 2013-05-21  Andreas Schwab  <schwab@suse.de>
65243         [BZ #15014]
65244         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65245         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65246         successful.
65247         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65248         redundant variable declarations and reallocation of buffer when
65249         parsing as IPv6 address.  Always set NSS status when called from
65250         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65251         buffer too small.  Correct computation of needed size.
65252         * nss/Makefile (tests): Add test-digits-dots.
65253         * nss/test-digits-dots.c: New test.
65255 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65257         * benchtests/Makefile: Remove instructions for adding
65258         benchmark tests.
65259         * benchtests/README: New file to explain how to execute and
65260         enhance the benchmark tests.
65262 2013-05-21  Andreas Schwab  <schwab@suse.de>
65264         [BZ #15493]
65265         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65266         * setjmp/tst-sigsetjmp.c: New test.
65268 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65270         * sysdeps/x86_64/memset.S (memset): New implementation.
65271         (__bzero): Likewise.
65272         (__memset_tail): New function.
65274 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65276         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65277         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65278         __memcpy_sse2_unaligned ifunc selection.
65279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65280         Add memcpy-sse2-unaligned.S.
65281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65282         Add: __memcpy_sse2_unaligned.
65284 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65286         [BZ #15490]
65287         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65288         math_force_eval before restoring floating-point envrionment.
65289         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65290         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65291         Likewise.
65292         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65293         <math_private.h>.
65294         (__nearbyintl): Use math_force_eval before restoring
65295         floating-point environment.
65296         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65298         * math/gen-libm-test.pl (special_functions): Remove.
65299         (parse_args): Don't handle TEST_extra.  Handle functions with no
65300         return value.
65301         * math/libm-test.inc (struct test_sincos_data): Replace with
65302         struct test_fFF_11_data.
65303         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65304         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65305         (sincos_test_data): Change element type to struct
65306         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65307         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65308         RUN_TEST_LOOP_sincos.
65309         * math/README.libm-test: Don't mention special handling of
65310         individual functions.
65311         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65312         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65313         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65314         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65315         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65318         * math/gen-libm-test.pl (get_variable): Remove function.
65319         (parse_args): Don't show pointer parameters to call in test
65320         names.  Use "extra output N" in test names for extra outputs
65321         rather than naming variables.
65323 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65325         [BZ #15488]
65326         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65327         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65328         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65329         double tests.
65330         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65331         disable.
65332         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65333         check_long_double.
65335         * math/gen-libm-test.pl (@tests): Remove variable.
65336         ($count): Likewise.
65337         (new_test): Remove function.
65338         (show_exceptions): New function.
65339         (special_functions): Use show_exceptions instead of new_test.
65340         (parse_args): Likewise.
65341         (generate_testfile): Pass only function name in generated call to
65342         print_max_error or print_complex_max_error.
65343         (get_ulps): Do not handle complex tests specially.
65344         (output_test): Rename to ...
65345         (get_all_ulps_for_test): ... this.  Return a string rather than
65346         printing to a file.  Require ulps to be present.
65347         (output_ulps): Generate arrays rather than #defines.
65348         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65349         (struct ulp_data): New type.
65350         (BUILD_COMPLEX_ULP): Remove macro.
65351         (compare_ulp_data): New function.
65352         (find_ulps): Likewise.
65353         (find_test_ulps): Likewise.
65354         (find_function_ulps): Likewise.
65355         (find_complex_function_ulps): Likewise.
65356         (print_max_error): Determine allowed ulps using
65357         find_function_ulps.
65358         (print_complex_max_error): Determine allowed ulps using
65359         find_complex_function_ulps.
65360         (check_float_internal): Determine max ulps using find_test_ulps.
65361         (check_float): Do not take max_ulp parameter.  Update call to
65362         check_float_internal.
65363         (check_complex): Likewise.
65364         (check_int): Do not take max_ulp parameter.
65365         (check_long): Likewise.
65366         (check_bool): Likewise.
65367         (check_longlong): Likewise.
65368         (struct test_f_f_data): Remove max_ulp field.
65369         (struct test_ff_f_data): Likewise.
65370         (struct test_ff_f_data_nexttoward): Likewise.
65371         (struct test_fi_f_data): Likewise.
65372         (struct test_fl_f_data): Likewise.
65373         (struct test_if_f_data): Likewise.
65374         (struct test_fff_f_data): Likewise.
65375         (struct test_c_f_data): Likewise.
65376         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65377         (struct test_fF_f1_data): Likewise.
65378         (struct test_ffI_f1_data): Likewise.
65379         (struct test_c_c_data): Remove max_ulp field.
65380         (struct test_cc_c_data): Likewise.
65381         (struct test_f_i_data): Likewise.
65382         (struct test_ff_i_data): Likewise.
65383         (struct test_f_l_data): Likewise.
65384         (struct test_f_L_data): Likewise.
65385         (struct test_sincos_data): Likewise.
65386         (RUN_TEST_f_f): Do not handle ulps.
65387         (RUN_TEST_LOOP_f_f): Likewise.
65388         (RUN_TEST_2_f): Likewise.
65389         (RUN_TEST_LOOP_2_f): Likewise.
65390         (RUN_TEST_fff_f): Likewise.
65391         (RUN_TEST_LOOP_fff_f): Likewise.
65392         (RUN_TEST_c_f): Likewise.
65393         (RUN_TEST_LOOP_c_f): Likewise.
65394         (RUN_TEST_f_f1): Likewise.
65395         (RUN_TEST_LOOP_f_f1): Likewise.
65396         (RUN_TEST_fF_f1): Likewise.
65397         (RUN_TEST_LOOP_fF_f1): Likewise.
65398         (RUN_TEST_fI_f1): Likewise.
65399         (RUN_TEST_LOOP_fI_f1): Likewise.
65400         (RUN_TEST_ffI_f1): Likewise.
65401         (RUN_TEST_LOOP_ffI_f1): Likewise.
65402         (RUN_TEST_c_c): Likewise.
65403         (RUN_TEST_LOOP_c_c): Likewise.
65404         (RUN_TEST_cc_c): Likewise.
65405         (RUN_TEST_LOOP_cc_c): Likewise.
65406         (RUN_TEST_f_i): Likewise.
65407         (RUN_TEST_LOOP_f_i): Likewise.
65408         (RUN_TEST_f_i_tg): Likewise.
65409         (RUN_TEST_LOOP_f_i_tg): Likewise.
65410         (RUN_TEST_ff_i_tg): Likewise.
65411         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65412         (RUN_TEST_f_b): Likewise.
65413         (RUN_TEST_LOOP_f_b): Likewise.
65414         (RUN_TEST_f_b_tg): Likewise.
65415         (RUN_TEST_LOOP_f_b_tg): Likewise.
65416         (RUN_TEST_f_l): Likewise.
65417         (RUN_TEST_LOOP_f_l): Likewise.
65418         (RUN_TEST_f_L): Likewise.
65419         (RUN_TEST_LOOP_f_L): Likewise.
65420         (RUN_TEST_sincos): Likewise.
65421         (RUN_TEST_LOOP_sincos): Likewise.
65423 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65425         [BZ #15480]
65426         [BZ #15485]
65427         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65428         main case of finite arguments, set rounding mode to FE_TONEAREST
65429         and discard exceptions.
65430         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65431         exceptions.
65432         (remainder_tonearest_test_data): New variable.
65433         (remainder_test_tonearest): New function.
65434         (remainder_towardzero_test_data): New variable.
65435         (remainder_test_towardzero): New function.
65436         (remainder_downward_test_data): New variable.
65437         (remainder_test_downward): New function.
65438         (remainder_upward_test_data): New variable.
65439         (remainder_test_upward): New function.
65440         (main): Call the new test functions.
65442         * math/libm-test.inc (struct test_f_f1_data): Remove field
65443         extra_init.
65444         (struct test_fF_f1_data): Likewise.
65445         (struct test_ffI_f1_data): Likewise.
65446         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65447         based on value of EXTRA_EXPECTED.
65448         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65449         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65450         EXTRA_VAR based on value of EXTRA_EXPECTED.
65451         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65452         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65453         EXTRA_VAR based on value of EXTRA_EXPECTED.
65454         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65455         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65456         EXTRA_VAR based on value of EXTRA_EXPECTED.
65457         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65458         * math/gen-libm-test.pl (parse_args): Don't output initializers
65459         for extra output values.
65461         * math/libm-test.inc (check_int): Expect result to be exactly
65462         equal to expected value and do not handle ulps.
65463         (check_long): Likewise.
65464         (check_longlong): Likewise.
65466         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65467         exceptions.
65468         (cimag_test_data): Likewise.
65469         (conj_test_data): Likewise.
65470         (copysign_test_data): Likewise.
65471         (cproj_test_data): Likewise.
65472         (creal_test_data): Likewise.
65473         (fabs_test_data): Likewise.
65474         (fdim_test_data): Likewise.
65475         (finite_test_data): Likewise.
65476         (floor_test_data): Likewise.
65477         (fmax_test_data): Likewise.
65478         (fmin_test_data): Likewise.
65479         (fmod_test_data): Likewise.
65480         (fpclassify_test_data): Likewise.
65481         (frexp_test_data): Likewise.
65482         (ilogb_test_data): Likewise.
65483         (isfinite_test_data): Likewise.
65484         (isgreater_test_data): Likewise.
65485         (isgreaterequal_test_data): Likewise.
65486         (isinf_test_data): Likewise.
65487         (isless_test_data): Likewise.
65488         (islessequal_test_data): Likewise.
65489         (islessgreater_test_data): Likewise.
65490         (isnan_test_data): Likewise.
65491         (isnormal_test_data): Likewise.
65492         (issignaling_test_data): Likewise.
65493         (isunordered_test_data): Likewise.
65494         (ldexp_test_data): Likewise.
65495         (lrint_test_data): Likewise.
65496         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65497         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65498         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65499         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65500         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65501         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65502         test input.
65503         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65504         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65505         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65506         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65507         that test input.
65508         (lrint_downward_test_data): Test for "inexact" exceptions.
65509         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65510         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65511         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65512         test input.
65513         (lrint_upward_test_data): Test for "inexact" exceptions.
65514         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65515         test input.
65516         (llrint_test_data): Test for "inexact" exceptions.
65517         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65518         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65519         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65520         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65521         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65522         (llrint_downward_test_data): Test for "inexact" exceptions.
65523         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65524         (llrint_upward_test_data): Test for "inexact" exceptions.
65525         (logb_test_data): Likewise.
65526         (logb_downward_test_data): Likewise.
65527         (nextafter_test_data): Likewise.
65528         (nexttoward_test_data): Likewise.
65529         (remainder_test_data): Likewise.
65530         (remquo_test_data): Likewise.
65531         (scalbn_test_data): Likewise.
65532         (scalbln_test_data): Likewise.
65533         (signbit_test_data): Likewise.
65534         (sqrt_test_data): Likewise.
65535         (significand_test_data): Likewise.
65537 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65539         [BZ #15424]
65540         * benchtests/bench-modf.c (struct args): Mark arg0 as
65541         volatile.
65542         * scripts/bench.pl: Mark members of struct args as volatile.
65544 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65546         [BZ # 15497]
65547         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65548         negative infinity on POWER6 or lower.
65549         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65551 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65553         [BZ #15442]
65554         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65555         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65556         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65557         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65558         (_FP_SETQNAN): New macro.
65559         (_FP_SETQNAN_SEMIRAW): Likewise.
65560         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65561         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65562         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65563         (FP_EXTEND): Use _FP_FRAC_SNANP.
65564         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65565         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65566         into account.
65567         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65568         New macro.
65569         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65570         Likewise.
65572 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65574         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65575         with DIVIDE_BY_ZERO_EXCEPTION.
65576         (gamma_test_data): Likewise.
65577         (lgamma_test_data): Likewise.
65578         (log_test_data): Likewise.
65579         (log10_test_data): Likewise.
65580         (log2_test_data): Likewise.
65581         (tgamma_test_data): Likewise.
65583         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65584         (acos_test_tonearest): Likewise.
65585         (acos_test_towardzero): Likewise.
65586         (acos_test_downward): Likewise.
65587         (acos_test_upward): Likewise.
65588         (acosh_test): Likewise.
65589         (asin_test): Likewise.
65590         (asin_test_tonearest): Likewise.
65591         (asin_test_towardzero): Likewise.
65592         (asin_test_downward): Likewise.
65593         (asin_test_upward): Likewise.
65594         (asinh_test): Likewise.
65595         (atan_test): Likewise.
65596         (atanh_test): Likewise.
65597         (atan2_test): Likewise.
65598         (cabs_test): Likewise.
65599         (cacos_test): Likewise.
65600         (cacosh_test): Likewise.
65601         (casin_test): Likewise.
65602         (casinh_test): Likewise.
65603         (catan_test): Likewise.
65604         (catanh_test): Likewise.
65605         (cbrt_test): Likewise.
65606         (ccos_test): Likewise.
65607         (ccosh_test): Likewise.
65608         (cexp_test): Likewise.
65609         (clog_test): Likewise.
65610         (clog10_test): Likewise.
65611         (cos_test): Likewise.
65612         (cos_test_tonearest): Likewise.
65613         (cos_test_towardzero): Likewise.
65614         (cos_test_downward): Likewise.
65615         (cos_test_upward): Likewise.
65616         (cosh_test): Likewise.
65617         (cosh_test_tonearest): Likewise.
65618         (cosh_test_towardzero): Likewise.
65619         (cosh_test_downward): Likewise.
65620         (cosh_test_upward): Likewise.
65621         (cpow_test): Likewise.
65622         (csin_test): Likewise.
65623         (csinh_test): Likewise.
65624         (csqrt_test): Likewise.
65625         (ctan_test): Likewise.
65626         (ctan_test_tonearest): Likewise.
65627         (ctan_test_towardzero): Likewise.
65628         (ctan_test_downward): Likewise.
65629         (ctan_test_upward): Likewise.
65630         (ctanh_test): Likewise.
65631         (ctanh_test_tonearest): Likewise.
65632         (ctanh_test_towardzero): Likewise.
65633         (ctanh_test_downward): Likewise.
65634         (ctanh_test_upward): Likewise.
65635         (erf_test): Likewise.
65636         (erfc_test): Likewise.
65637         (exp_test): Likewise.
65638         (exp_test_tonearest): Likewise.
65639         (exp_test_towardzero): Likewise.
65640         (exp_test_downward): Likewise.
65641         (exp_test_upward): Likewise.
65642         (exp10_test): Likewise.
65643         (exp2_test): Likewise.
65644         (expm1_test): Likewise.
65645         (fmod_test): Likewise.
65646         (gamma_test): Likewise.
65647         (hypot_test): Likewise.
65648         (j0_test): Likewise.
65649         (j1_test): Likewise.
65650         (jn_test): Likewise.
65651         (lgamma_test): Likewise.
65652         (log_test): Likewise.
65653         (log10_test): Likewise.
65654         (log1p_test): Likewise.
65655         (log2_test): Likewise.
65656         (logb_test_downward): Likewise.
65657         (pow_test): Likewise.
65658         (pow_test_tonearest): Likewise.
65659         (pow_test_towardzero): Likewise.
65660         (pow_test_downward): Likewise.
65661         (pow_test_upward): Likewise.
65662         (remainder_test): Likewise.
65663         (remquo_test): Likewise.
65664         (sin_test): Likewise.
65665         (sin_test_tonearest): Likewise.
65666         (sin_test_towardzero): Likewise.
65667         (sin_test_downward): Likewise.
65668         (sin_test_upward): Likewise.
65669         (sincos_test): Likewise.
65670         (sinh_test): Likewise.
65671         (sinh_test_tonearest): Likewise.
65672         (sinh_test_towardzero): Likewise.
65673         (sinh_test_downward): Likewise.
65674         (sinh_test_upward): Likewise.
65675         (sqrt_test): Likewise.
65676         (tan_test): Likewise.
65677         (tan_test_tonearest): Likewise.
65678         (tan_test_towardzero): Likewise.
65679         (tan_test_downward): Likewise.
65680         (tan_test_upward): Likewise.
65681         (tanh_test): Likewise.
65682         (tgamma_test): Likewise.
65683         (y0_test): Likewise.
65684         (y1_test): Likewise.
65685         (yn_test): Likewise.
65687         * math/gen-libm-test.pl (adjust_arg): Remove function.
65688         (special_function): Remove argument $in_func.  Only handle
65689         generating output for tables of tests, not inside functions.
65690         (parse_args): Likewise.
65691         (generate_testfile): Remove variable $in_func.  Update call to
65692         parse_args.
65693         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65694         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65695         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65696         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65697         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65698         (MAX_VALUE_INIT): Rename macro to max_value.
65699         (MIN_VALUE_INIT): Rename macro to min_value.
65700         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65701         (plus_zero): Remove variable.
65702         (minus_zero): Likewise.
65703         (plus_infty): Likewise.
65704         (minus_infty): Likewise.
65705         (qnan_value): Likewise.
65706         (max_value): Likewise.
65707         (min_value): Likewise.
65708         (min_subnorm_value): Likewise.
65710 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65712         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65713         uint64_t or uint32_t usage.
65714         * crypt/sha256-block.c: Likewise.
65715         * crypt/sha256-crypt.c: Likewise.
65716         * crypt/sha256.c: Likewise.
65717         * crypt/sha512-block.c: Likewise.
65718         * crypt/sha512-crypt.c: Likewise.
65719         * crypt/sha512.c: Likewise.
65720         * debug/backtrace-tst.c: Likewise.
65721         * debug/pcprofiledump.c: Likewise.
65722         * elf/cache.c: Likewise.
65723         * elf/dl-cache.c: Likewise.
65724         * elf/dl-misc.c: Likewise.
65725         * elf/dl-profile.c: Likewise.
65726         * elf/dl-support.c: Likewise.
65727         * elf/ldconfig.c: Likewise.
65728         * elf/sprof.c: Likewise.
65729         * iconv/dummy-repertoire.c: Likewise.
65730         * iconv/iconv_charmap.c: Likewise.
65731         * iconv/skeleton.c: Likewise.
65732         * iconvdata/8bit-generic.c: Likewise.
65733         * iconvdata/cp737.h: Likewise.
65734         * iconvdata/cp775.h: Likewise.
65735         * iconvdata/ibm1008.h: Likewise.
65736         * iconvdata/ibm1025.h: Likewise.
65737         * iconvdata/ibm1046.h: Likewise.
65738         * iconvdata/ibm1097.h: Likewise.
65739         * iconvdata/ibm1112.h: Likewise.
65740         * iconvdata/ibm1122.h: Likewise.
65741         * iconvdata/ibm1123.h: Likewise.
65742         * iconvdata/ibm1124.h: Likewise.
65743         * iconvdata/ibm1129.h: Likewise.
65744         * iconvdata/ibm1130.h: Likewise.
65745         * iconvdata/ibm1132.h: Likewise.
65746         * iconvdata/ibm1133.h: Likewise.
65747         * iconvdata/ibm1137.h: Likewise.
65748         * iconvdata/ibm1140.h: Likewise.
65749         * iconvdata/ibm1141.h: Likewise.
65750         * iconvdata/ibm1142.h: Likewise.
65751         * iconvdata/ibm1143.h: Likewise.
65752         * iconvdata/ibm1144.h: Likewise.
65753         * iconvdata/ibm1145.h: Likewise.
65754         * iconvdata/ibm1146.h: Likewise.
65755         * iconvdata/ibm1147.h: Likewise.
65756         * iconvdata/ibm1148.h: Likewise.
65757         * iconvdata/ibm1149.h: Likewise.
65758         * iconvdata/ibm1153.h: Likewise.
65759         * iconvdata/ibm1154.h: Likewise.
65760         * iconvdata/ibm1155.h: Likewise.
65761         * iconvdata/ibm1156.h: Likewise.
65762         * iconvdata/ibm1157.h: Likewise.
65763         * iconvdata/ibm1158.h: Likewise.
65764         * iconvdata/ibm1160.h: Likewise.
65765         * iconvdata/ibm1161.h: Likewise.
65766         * iconvdata/ibm1162.h: Likewise.
65767         * iconvdata/ibm1163.h: Likewise.
65768         * iconvdata/ibm1164.h: Likewise.
65769         * iconvdata/ibm1166.h: Likewise.
65770         * iconvdata/ibm1167.h: Likewise.
65771         * iconvdata/ibm12712.h: Likewise.
65772         * iconvdata/ibm1390.h: Likewise.
65773         * iconvdata/ibm1399.h: Likewise.
65774         * iconvdata/ibm16804.h: Likewise.
65775         * iconvdata/ibm4517.h: Likewise.
65776         * iconvdata/ibm4899.h: Likewise.
65777         * iconvdata/ibm4909.h: Likewise.
65778         * iconvdata/ibm4971.h: Likewise.
65779         * iconvdata/ibm5347.h: Likewise.
65780         * iconvdata/ibm803.h: Likewise.
65781         * iconvdata/ibm856.h: Likewise.
65782         * iconvdata/ibm901.h: Likewise.
65783         * iconvdata/ibm902.h: Likewise.
65784         * iconvdata/ibm9030.h: Likewise.
65785         * iconvdata/ibm9066.h: Likewise.
65786         * iconvdata/ibm921.h: Likewise.
65787         * iconvdata/ibm922.h: Likewise.
65788         * iconvdata/ibm9448.h: Likewise.
65789         * iconvdata/isiri-3342.h: Likewise.
65790         * iconvdata/jis0201.h: Likewise.
65791         * include/link.h: Likewise.
65792         * include/netdb.h: Likewise.
65793         * inet/check_native.c: Likewise.
65794         * inet/check_pf.c: Likewise.
65795         * inet/getipv4sourcefilter.c: Likewise.
65796         * inet/getnameinfo.c: Likewise.
65797         * inet/getsourcefilter.c: Likewise.
65798         * inet/htonl.c: Likewise.
65799         * inet/setipv4sourcefilter.c: Likewise.
65800         * inet/setsourcefilter.c: Likewise.
65801         * inet/test-inet6_opt.c: Likewise.
65802         * inet/tst-network.c: Likewise.
65803         * locale/C-collate.c: Likewise.
65804         * locale/C-ctype.c: Likewise.
65805         * locale/C-time.c: Likewise.
65806         * locale/C-translit.h: Likewise.
65807         * locale/loadarchive.c: Likewise.
65808         * locale/programs/3level.h: Likewise.
65809         * locale/programs/charmap.c: Likewise.
65810         * locale/programs/charmap.h: Likewise.
65811         * locale/programs/ld-address.c: Likewise.
65812         * locale/programs/ld-collate.c: Likewise.
65813         * locale/programs/ld-ctype.c: Likewise.
65814         * locale/programs/ld-identification.c: Likewise.
65815         * locale/programs/ld-measurement.c: Likewise.
65816         * locale/programs/ld-messages.c: Likewise.
65817         * locale/programs/ld-monetary.c: Likewise.
65818         * locale/programs/ld-name.c: Likewise.
65819         * locale/programs/ld-numeric.c: Likewise.
65820         * locale/programs/ld-paper.c: Likewise.
65821         * locale/programs/ld-telephone.c: Likewise.
65822         * locale/programs/ld-time.c: Likewise.
65823         * locale/programs/linereader.c: Likewise.
65824         * locale/programs/locale.c: Likewise.
65825         * locale/programs/locarchive.c: Likewise.
65826         * locale/programs/locfile.h: Likewise.
65827         * locale/programs/repertoire.c: Likewise.
65828         * locale/programs/simple-hash.c: Likewise.
65829         * locale/programs/simple-hash.h: Likewise.
65830         * malloc/memusage.c: Likewise.
65831         * malloc/memusagestat.c: Likewise.
65832         * nis/nis_defaults.c: Likewise.
65833         * nis/nis_hash.c: Likewise.
65834         * nis/nis_print.c: Likewise.
65835         * nis/nis_xdr.c: Likewise.
65836         * nscd/connections.c: Likewise.
65837         * nscd/hstcache.c: Likewise.
65838         * nscd/nscd_gethst_r.c: Likewise.
65839         * nscd/nscd_getserv_r.c: Likewise.
65840         * nscd/nscd_helper.c: Likewise.
65841         * nscd/servicescache.c: Likewise.
65842         * nss/makedb.c: Likewise.
65843         * nss/nss_db/db-XXX.c: Likewise.
65844         * nss/nss_db/db-initgroups.c: Likewise.
65845         * nss/nss_db/db-netgrp.c: Likewise.
65846         * nss/nss_files/files-network.c: Likewise.
65847         * nss/nss_files/files-parse.c: Likewise.
65848         * posix/bug-regex5.c: Likewise.
65849         * posix/fnmatch_loop.c: Likewise.
65850         * posix/regcomp.c: Likewise.
65851         * posix/regexec.c: Likewise.
65852         * posix/tst-rfc3484-2.c: Likewise.
65853         * posix/tst-rfc3484-3.c: Likewise.
65854         * posix/tst-rfc3484.c: Likewise.
65855         * resolv/nss_dns/dns-canon.c: Likewise.
65856         * resolv/nss_dns/dns-network.c: Likewise.
65857         * resolv/res_init.c: Likewise.
65858         * resolv/res_mkquery.c: Likewise.
65859         * resolv/tst-aton.c: Likewise.
65860         * stdlib/cxa_atexit.c: Likewise.
65861         * stdlib/cxa_finalize.c: Likewise.
65862         * stdlib/gen-fpioconst.c: Likewise.
65863         * stdlib/strtol_l.c: Likewise.
65864         * string/tst-endian.c: Likewise.
65865         * sunrpc/auth_des.c: Likewise.
65866         * sunrpc/clnt_udp.c: Likewise.
65867         * sunrpc/rtime.c: Likewise.
65868         * sunrpc/svcauth_des.c: Likewise.
65869         * sunrpc/xdr.c: Likewise.
65870         * sunrpc/xdr_intXX_t.c: Likewise.
65871         * sunrpc/xdr_rec.c: Likewise.
65872         * sysdeps/generic/ldconfig.h: Likewise.
65873         * sysdeps/generic/ldsodefs.h: Likewise.
65874         * sysdeps/generic/memusage.h: Likewise.
65875         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65876         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65877         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65879         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65881         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65882         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65883         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65885         * sysdeps/posix/getaddrinfo.c: Likewise.
65886         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65887         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65888         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65889         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65890         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65891         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65892         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65893         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65894         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65895         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65896         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65897         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65898         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65899         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65900         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65901         * sysdeps/x86_64/dl-tls.h: Likewise.
65902         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65903         * time/alt_digit.c: Likewise.
65904         * time/era.c: Likewise.
65905         * wcsmbs/tst-c16c32-1.c: Likewise.
65907 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65909         * math/libm-test.inc (struct test_sincos_data): New type.
65910         (RUN_TEST_LOOP_sincos): New macro.
65911         (sincos_test_data): New variable.
65912         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65914 2013-05-16  Richard Henderson  <rth@redhat.com>
65916         * math/atest-exp2.c (LIMB64): New macro.
65917         (CONSTSZ): New macro.
65918         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65919         (hexdig): Move ...
65920         (print_mpn_fp): ... to function scope.
65921         (read_mpn_hex): Remove.
65922         (get_log2): Remove.
65923         (exp2_mpn): Use mp_log2.
65924         (main): Use mp_exp1.
65926 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65928         * math/libm-test.inc: Remove comment about not testing "inexact"
65929         exceptions.
65930         (INEXACT_EXCEPTION): New macro.
65931         (NO_INEXACT_EXCEPTION): Likewise.
65932         (INVALID_EXCEPTION_OK): Update value.
65933         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65934         (OVERFLOW_EXCEPTION_OK): Likewise.
65935         (UNDERFLOW_EXCEPTION_OK): Likewise.
65936         (IGNORE_ZERO_INF_SIGN): Likewise.
65937         (ERRNO_UNCHANGED): Likewise.
65938         (ERRNO_EDOM): Likewise.
65939         (ERRNO_ERANGE): Likewise.
65940         (test_exceptions): Handle testing "inexact" exceptions.
65941         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65942         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65943         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65944         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65945         INEXACT_EXCEPTION.
65946         (rint_towardzero_test_data): Likewise.
65947         (rint_downward_test_data): Likewise.
65948         (rint_upward_test_data): Likewise.
65950         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65951         with OVERFLOW_EXCEPTION.
65952         (exp10_test_data): Likewise.
65953         (exp2_test_data): Likewise.
65954         (expm1_test_data): Likewise.
65955         (lgamma_test_data): Likewise.
65956         (pow_test_data): Likewise.
65957         (tgamma_test_data): Likewise.
65958         (yn_test_data): Remove duplicate test of overflow.
65960         * math/libm-test.inc (struct test_cc_c_data): New type.
65961         (RUN_TEST_LOOP_cc_c): New macro.
65962         (cpow_test_data): New variable.
65963         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65965         * math/libm-test.inc (struct test_f_L_data): New type.
65966         (RUN_TEST_LOOP_f_L): New macro.
65967         (llrint_test_data): New variable.
65968         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65969         (llrint_tonearest_test_data): New variable.
65970         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65971         (llrint_towardzero_test_data): New variable.
65972         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65973         (llrint_downward_test_data): New variable.
65974         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65975         (llrint_upward_test_data): New variable.
65976         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65977         (llround_test_data): New variable.
65978         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65980 2013-05-13  Peter Collingbourne  <pcc@google.com>
65982         * math/atest-exp2.c (get_log2): Remove const attribute.
65984 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65986         * math/libm-test.inc (struct test_f_l_data): New type.
65987         (RUN_TEST_LOOP_f_l): New macro.
65988         (lrint_test_data): New variable.
65989         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65990         (lrint_tonearest_test_data): New variable.
65991         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65992         (lrint_towardzero_test_data): New variable.
65993         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65994         (lrint_downward_test_data): New variable.
65995         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65996         (lrint_upward_test_data): New variable.
65997         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65998         (lround_test_data): New variable.
65999         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
66001 2013-05-15  Peter Collingbourne  <pcc@google.com>
66003         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
66004         (EXTRACT_WORDS64) Use where appropriate.
66005         (INSERT_WORDS64) Likewise.
66007         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
66008         constraints with x constraints.
66009         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
66011         * malloc/obstack.c (_obstack_compat): Add initializer.
66013 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66015         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
66016         si_trapno and add si_addr_lsb to _sifields.sigfault.
66017         (si_trapno): Remove macro.
66018         (si_addr_lsb): Define new macro.
66019         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66021 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66023         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
66024         instead of TEST_f_l.
66025         (llrint_test_tonearest): Likewise.
66026         (llrint_test_towardzero): Likewise.
66027         (llrint_test_downward): Likewise.
66028         (llrint_test_upward): Likewise.
66029         (llround_test): Likewise.
66031         * math/libm-test.inc (struct test_f_i_data): Add comment.
66032         (RUN_TEST_LOOP_f_b): New macro.
66033         (RUN_TEST_LOOP_f_b_tg): Likewise.
66034         (finite_test_data): New variable.
66035         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
66036         (isfinite_test_data): New variable.
66037         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66038         (isinf_test_data): New variable.
66039         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66040         (isnan_test_data): New variable.
66041         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66042         (isnormal_test_data): New variable.
66043         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66044         (issignaling_test_data): New variable.
66045         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66046         (signbit_test_data): New variable.
66047         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66049         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
66050         with INVALID_EXCEPTION.
66051         (acosh_test_data): Likewise.
66052         (asin_test_data): Likewise.
66053         (atanh_test_data): Likewise.
66054         (fmod_test_data): Likewise.
66055         (log_test_data): Likewise.
66056         (log10_test_data): Likewise.
66057         (log2_test_data): Likewise.
66058         (pow_test_data): Likewise.
66059         (sqrt_test_data): Likewise.
66060         (y0_test_data): Likewise.
66061         (y1_test_data): Likewise.
66062         (yn_test_data): Likewise.
66064         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
66065         function contents.
66067         * math/libm-test.inc (struct test_ff_i_data): New type.
66068         (RUN_TEST_LOOP_ff_i_tg): New macro.
66069         (isgreater_test_data): New variable.
66070         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66071         (isgreaterequal_test_data): New variable.
66072         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66073         (isless_test_data): New variable.
66074         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66075         (islessequal_test_data): New variable.
66076         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66077         (islessgreater_test_data): New variable.
66078         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66079         (isunordered_test_data): New variable.
66080         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66082 2013-05-14  David S. Miller  <davem@davemloft.net>
66084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66086 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
66088         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
66090         * math/libm-test.inc (struct test_fF_f1_data): Change type of
66091         extra_test to int.
66092         (struct test_f_i_data): Change type of max_ulp to int.
66094         * math/libm-test.inc (test_ffI_f1_data): New type.
66095         (RUN_TEST_LOOP_ffI_f1): New macro.
66096         (remquo_test_data): New variable.
66097         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
66099         * setjmp/tst-setjmp-fp.c: New file.
66100         * setjmp/Makefile (tests): Add tst-setjmp-fp.
66101         (link-libm): New variable.
66102         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66104         * math/libm-test.inc (struct test_f_i_data): New type.
66105         (RUN_TEST_LOOP_f_i): New macro.
66106         (RUN_TEST_LOOP_f_i_tg): Likewise.
66107         (fpclassify_test_data): New variable.
66108         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66109         (ilogb_test_data): New variable.
66110         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66112         * math/libm-test.inc (scalbln_test): Correct function name in END
66113         call.
66115         * math/libm-test.inc (struct test_f_f1_data): Add comment.
66116         (RUN_TEST_LOOP_fI_f1): New macro.
66117         (frexp_test_data): New variable.
66118         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66120         * math/libm-test.inc (struct test_fF_f1_data): New type.
66121         (RUN_TEST_LOOP_fF_f1): New macro.
66122         (modf_test_data): New variable.
66123         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66125         * math/libm-test.inc (struct test_f_f1_data): New type.
66126         (RUN_TEST_LOOP_f_f1): New macro.
66127         (gamma_test_data): New variable.
66128         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66129         (lgamma_test_data): New variable.
66130         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66132 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
66134         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66135         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66136         (main): Comment "tls" pseudo-hwcap.
66138 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
66140         * math/libm-test.inc (struct test_fl_f_data): New type.
66141         (RUN_TEST_LOOP_fl_f): New variable.
66142         (scalbln_test_data): New variable.
66143         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66145         * math/libm-test.inc (struct test_fi_f_data): New type.
66146         (RUN_TEST_LOOP_fi_f): New macro.
66147         (ldexp_test_data): New variable.
66148         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66149         (scalbn_test_data): New variable.
66150         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66152         * math/libm-test.inc (struct test_c_f_data): New type.
66153         (RUN_TEST_LOOP_c_f): New macro.
66154         (cabs_test_data): New variable.
66155         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66156         (carg_test_data): New variable.
66157         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66158         (cimag_test_data): New variable.
66159         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66160         (creal_test_data): New variable.
66161         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66163         * math/libm-test.inc (struct test_if_f_data): New type.
66164         (RUN_TEST_LOOP_if_f): New macro.
66165         (jn_test_data): New variable.
66166         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66167         (yn_test_data): New variable.
66168         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66170         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66172 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66174         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66175         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66177 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66179         * benchtests/Makefile (CPPFLAGS-nonlib): Add
66180         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66181         (bench-deps): Add bench-timing.h.
66182         * benchtests-bench-skeleton.c: Include bench-timing.h.
66183         (main): Use TIMING_* macros instead of clock_gettime.
66184         * benchtests/bench-timing.h: New file.
66186         [BZ #14582]
66187         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66188         Renamed from _LIB_VERSION.
66189         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66191 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
66193         * math/libm-test.inc (struct test_fff_f_data): New type.
66194         (RUN_TEST_LOOP_fff_f): New macro.
66195         (fma_test_data): New variable.
66196         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66197         (fma_towardzero_test_data): New variable.
66198         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66199         (fma_downward_test_data): New variable.
66200         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66201         (fma_upward_test_data): New variable.
66202         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66204         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66205         (struct test_c_c_data): New type.
66206         (RUN_TEST_LOOP_c_c): New macro.
66207         (cacos_test_data): New variable.
66208         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66209         (cacosh_test_data): New variable.
66210         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66211         (casin_test_data): New variable.
66212         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66213         (casinh_test_data): New variable.
66214         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66215         (catan_test_data): New variable.
66216         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66217         (catanh_test_data): New variable.
66218         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66219         (ccos_test_data): New variable.
66220         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66221         (ccosh_test_data): New variable.
66222         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66223         (cexp_test_data): New variable.
66224         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66225         (clog_test_data): New variable.
66226         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66227         (clog10_test_data): New variable.
66228         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66229         (conj_test_data): New variable.
66230         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66231         (cproj_test_data): New variable.
66232         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66233         (csin_test_data): New variable.
66234         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66235         (csinh_test_data): New variable.
66236         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66237         (csqrt_test_data): New variable.
66238         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66239         (ctan_test_data): New variable.
66240         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66241         (ctan_tonearest_test_data): New variable.
66242         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66243         (ctan_towardzero_test_data): New variable.
66244         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66245         (ctan_downward_test_data): New variable.
66246         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66247         (ctan_upward_test_data): New variable.
66248         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66249         (ctanh_test_data): New variable.
66250         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66251         (ctanh_tonearest_test_data): New variable.
66252         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66253         (ctanh_towardzero_test_data): New variable.
66254         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66255         (ctanh_downward_test_data): New variable.
66256         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66257         (ctanh_upward_test_data): New variable.
66258         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66259         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66260         of BUILD_COMPLEX.
66262         * math/libm-test.inc (struct test_ff_f_data): New type.
66263         (struct test_ff_f_data_nexttoward): Likewise.
66264         (RUN_TEST_LOOP_2_f): New macro.
66265         (RUN_TEST_LOOP_ff_f): Likewise.
66266         (atan2_test_data): New variable.
66267         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66268         (copysign_test_data): New variable.
66269         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66270         (fdim_test_data): New variable.
66271         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66272         (fmax_test_data): New variable.
66273         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66274         (fmin_test_data): New variable.
66275         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66276         (fmod_test_data): New variable.
66277         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66278         (hypot_test_data): New variable.
66279         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66280         (nextafter_test_data): New variable.
66281         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66282         (nexttoward_test_data): New variable.
66283         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66284         (pow_test_data): New variable.
66285         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66286         (pow_tonearest_test_data): New variable.
66287         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66288         (pow_towardzero_test_data): New variable.
66289         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66290         (pow_downward_test_data): New variable.
66291         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66292         (pow_upward_test_data): New variable.
66293         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66294         (remainder_test_data): New variable.
66295         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66296         (scalb_test_data): New variable.
66297         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66298         * sysdeps/i386/fpu/libm-test-ulps: Update.
66300 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66302         * math/libm-test.inc (fma_test): Use max_value instead of local
66303         variable fltmax.
66304         (nextafter_test): Likewise.
66306         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66307         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66308         (acos_downward_test_data): New variable.
66309         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66310         (acos_upward_test_data): New variable.
66311         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66312         (acosh_test_data): New variable.
66313         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66314         (asin_test_data): New variable.
66315         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66316         (asin_tonearest_test_data): New variable.
66317         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66318         (asin_towardzero_test_data): New variable.
66319         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66320         (asin_downward_test_data): New variable.
66321         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66322         (asin_upward_test_data): New variable.
66323         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66324         (asinh_test_data): New variable.
66325         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66326         (atan_test_data): New variable.
66327         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66328         (atanh_test_data): New variable.
66329         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66330         (cbrt_test_data): New variable.
66331         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66332         (ceil_test_data): New variable.
66333         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66334         (cos_test_data): New variable.
66335         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66336         (cos_tonearest_test_data): New variable.
66337         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66338         (cos_towardzero_test_data): New variable.
66339         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66340         (cos_downward_test_data): New variable.
66341         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66342         (cos_upward_test_data): New variable.
66343         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66344         (cosh_test_data): New variable.
66345         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66346         (cosh_tonearest_test_data): New variable.
66347         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66348         (cosh_towardzero_test_data): New variable.
66349         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66350         (cosh_downward_test_data): New variable.
66351         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66352         (cosh_upward_test_data): New variable.
66353         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66354         (erf_test_data): New variable.
66355         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66356         (erfc_test_data): New variable.
66357         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66358         (exp_test_data): New variable.
66359         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66360         (exp_tonearest_test_data): New variable.
66361         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66362         (exp_towardzero_test_data): New variable.
66363         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66364         (exp_downward_test_data): New variable.
66365         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66366         (exp_upward_test_data): New variable.
66367         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66368         (exp10_test_data): New variable.
66369         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66370         (exp2_test_data): New variable.
66371         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66372         (expm1_test_data): New variable.
66373         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66374         (fabs_test_data): New variable.
66375         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66376         (floor_test_data): New variable.
66377         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66378         (j0_test_data): New variable.
66379         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66380         (j1_test_data): New variable.
66381         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66382         (log_test_data): New variable.
66383         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66384         (log10_test_data): New variable.
66385         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66386         (log1p_test_data): New variable.
66387         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66388         (log2_test_data): New variable.
66389         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66390         (logb_test_data): New variable.
66391         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66392         (logb_downward_test_data): New variable.
66393         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66394         (nearbyint_test_data): New variable.
66395         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66396         (rint_test_data): New variable.
66397         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66398         (rint_tonearest_test_data): New variable.
66399         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66400         (rint_towardzero_test_data): New variable.
66401         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66402         (rint_downward_test_data): New variable.
66403         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66404         (rint_upward_test_data): New variable.
66405         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66406         (round_test_data): New variable.
66407         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66408         (sin_test_data): New variable.
66409         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66410         (sin_tonearest_test_data): New variable.
66411         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66412         (sin_towardzero_test_data): New variable.
66413         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66414         (sin_downward_test_data): New variable.
66415         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66416         (sin_upward_test_data): New variable.
66417         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66418         (sinh_test_data): New variable.
66419         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66420         (sinh_tonearest_test_data): New variable.
66421         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66422         (sinh_towardzero_test_data): New variable.
66423         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66424         (sinh_downward_test_data): New variable.
66425         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66426         (sinh_upward_test_data): New variable.
66427         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66428         (sqrt_test_data): New variable.
66429         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66430         (tan_test_data): New variable.
66431         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66432         (tan_tonearest_test_data): New variable.
66433         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66434         (tan_towardzero_test_data): New variable.
66435         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66436         (tan_downward_test_data): New variable.
66437         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66438         (tan_upward_test_data): New variable.
66439         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66440         (tanh_test_data): New variable.
66441         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66442         (tgamma_test_data): New variable.
66443         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66444         (trunc_test_data): New variable.
66445         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66446         (y0_test_data): New variable.
66447         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66448         (y1_test_data): New variable.
66449         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66450         (significand_test_data): New variable.
66451         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66453 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66455         [BZ #12387]
66456         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66458 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66460         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66462 2013-05-10  Andreas Jaeger  <aj@suse.de>
66464         [BZ #15448]
66465         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66466         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66468 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66470         * math/gen-libm-test.pl (adjust_arg): New function.
66471         (special_functions): Handle generating output in both functions
66472         and arrays.
66473         (parse_args): Likewise.
66474         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66475         $in_func argument to parse_args.
66476         * math/libm-test.inc (struct test_f_f_data): New type.
66477         (IF_ROUND_INIT_): New macro.
66478         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66479         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66480         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66481         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66482         (ROUND_RESTORE_): Likewise.
66483         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66484         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66485         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66486         (ROUND_RESTORE_FE_UPWARD): Likewise.
66487         (RUN_TEST_LOOP_f_f): New macro.
66488         (acos_test_data): New variable.
66489         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66490         (acos_tonearest_test_data): New variable.
66491         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66493 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66495         * benchtests/bench-skeleton.c (startup): Fix coding style.
66497 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66499         [BZ #6809]
66500         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66501         negative infinity argument.
66502         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66503         negative infinity argument.
66504         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66505         negative infinity argument.
66506         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66507         domain errors.
66509 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66511         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66512         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66513         * iconv/iconv_prog.c (main): Likewise.
66514         * locale/programs/charmap-dir.c (charmap_readdir)
66515         (fopen_uncompressed): Likewise.
66516         * locale/programs/locfile.c (siblings_uncached)
66517         (write_locale_data): Use lstat64 instead of lstat.
66518         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66519         stat.
66521 2013-05-10  Andreas Jaeger  <aj@suse.de>
66523         [BZ #15395]
66524         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66525         localization.
66526         Include <locale.h>.
66528 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66530         * elf/dl-close.c (_dl_close_worker): Add comments.
66532 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66534         [BZ #15359]
66535         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66536         high part of pi/2.
66537         (__ieee754_rem_pio2l): Update comments.
66539         [BZ #15429]
66540         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66541         high part of pi/2.
66542         (__ieee754_rem_pio2l): Update comments.
66544         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66545         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66547         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66548         M_PI_4l.
66550         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66551         (M_PI_34_LOG10El): Likewise.
66552         (M_PI2_LOG10El): Likewise.
66553         (M_PI4_LOG10El): Likewise.
66554         (M_PI_LOG10El): Likewise.
66556 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66560 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66562         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66563         (MINUS_ZERO_INIT): Likewise.
66564         (PLUS_INFTY_INIT): Likewise.
66565         (MINUS_INFTY_INIT): Likewise.
66566         (QNAN_VALUE_INIT): Likewise.
66567         (MAX_VALUE_INIT): Likewise.
66568         (MIN_VALUE_INIT): Likewise.
66569         (MIN_SUBNORM_VALUE_INIT): Likewise.
66570         (plus_zero): Initialize with PLUS_ZERO_INIT.
66571         (minus_zero): Initialize with MINUS_ZERO_INIT.
66572         (plus_infty): Initialize with PLUS_INFTY_INIT.
66573         (minus_infty): Initialize with MINUS_INFTY_INIT.
66574         (qnan_value): Initialize with QNAN_VALUE_INIT.
66575         (max_value): Initialize with MAX_VALUE_INIT.
66576         (min_value): Initialize with MIN_VALUE_INIT.
66577         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66579         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66580         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66581         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66582         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66584         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66585         (RUN_TEST_2_f): Likewise.
66586         (RUN_TEST_ff_f): Likewise.
66587         (RUN_TEST_fi_f): Likewise.
66588         (RUN_TEST_fl_f): Likewise.
66589         (RUN_TEST_fff_f): Likewise.
66590         (RUN_TEST_c_f): Likewise.
66591         (RUN_TEST_f_f1): Likewise.
66592         (RUN_TEST_fF_f1): Likewise.
66593         (RUN_TEST_fI_f1): Likewise.
66594         (RUN_TEST_ffI_f1): Likewise.
66595         (RUN_TEST_c_c): Likewise.
66596         (RUN_TEST_cc_c): Likewise.
66597         (RUN_TEST_f_i): Likewise.
66598         (RUN_TEST_f_i_tg): Likewise.
66599         (RUN_TEST_ff_i_tg): Likewise.
66600         (RUN_TEST_f_b): Likewise.
66601         (RUN_TEST_f_b_tg): Likewise.
66602         (RUN_TEST_f_l): Likewise.
66603         (RUN_TEST_f_L): Likewise.
66604         (RUN_TEST_sincos): Likewise.
66605         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66606         whether to show exceptions.  Do not include ");\n" in return
66607         value.
66608         (special_functions): Output call to RUN_TEST_sincos instead of
66609         check_float calls.  Update calls to new_test.
66610         (parse_args): Output call to single RUN_TEST_* macro instead of
66611         check_* calls and other assignments.  Update calls to new_test.
66613         [BZ #2546]
66614         [BZ #2560]
66615         [BZ #5159]
66616         [BZ #15426]
66617         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66618         input to result for tgamma overflow.
66619         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66620         (gamma_coeff): New variable.
66621         (NCOEFF): New macro.
66622         (gamma_positive): New function.
66623         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66624         underflow here.  Use gamma_positive instead of exp (lgamma) for
66625         other arguments.
66626         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66627         (gamma_coeff): New variable.
66628         (NCOEFF): New macro.
66629         (gammaf_positive): New function.
66630         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66631         underflow here.  Use gamma_positive instead of exp (lgamma) for
66632         other arguments.
66633         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66634         (gamma_coeff): New variable.
66635         (NCOEFF): New macro.
66636         (gammal_positive): New function.
66637         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66638         underflow here.  Use gamma_positive instead of exp (lgamma) for
66639         other arguments.
66640         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66641         (gamma_coeff): New variable.
66642         (NCOEFF): New macro.
66643         (gammal_positive): New function.
66644         (__ieee754_gammal_r): Handle positive infinity, overflow and
66645         underflow here.  Handle NaN the same as positive infinity.  Remove
66646         check x < 0xffffffff for negative integers.  Use gamma_positive
66647         instead of exp (lgamma) for other arguments.
66648         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66649         (gamma_coeff): New variable.
66650         (NCOEFF): New macro.
66651         (gammal_positive): New function.
66652         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66653         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66654         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66655         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66656         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66657         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66658         * sysdeps/generic/math_private.h (__gamma_productf): New
66659         prototype.
66660         (__gamma_product): Likewise.
66661         (__gamma_productl): Likewise.
66662         * math/Makefile (libm-calls): Add gamma_product.
66663         * math/libm-test.inc (tgamma_test): Add more tests.
66664         * sysdeps/i386/fpu/libm-test-ulps: Update.
66665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66667 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66669         * benchtests/bench-skeleton.c (main): Preheat CPU.
66671 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66673         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66675 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66677         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66678         and _dl_skip_args_internal.
66680 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66682         * manual/message.texi (Message Translation): Talk about users.
66683         Message to key mapping impacts design.
66685 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66687         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66689         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66691         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66692         * sysdeps/wordsize-64/glob64.c: ... here.
66694         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66695         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66696         New macros.
66698         * debug/getlogin_r_chk.c: Moved to ...
66699         * login/getlogin_r_chk.c: ... here.
66700         * debug/Makefile (routines): Move getlogin_r_chk to ...
66701         * login/Makefile (routines): ... here.
66702         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66703         * login/Versions (libc: GLIBC_2.4): ... here.
66705         * io/poll.c (__poll): Renamed from poll.
66706         Add libc_hidden_def.
66707         (poll): Define as weak alias.
66709         * debug/ptsname_r_chk.c: Moved to ...
66710         * login/ptsname_r_chk.c: ... here.
66711         * debug/Makefile (routines): Move ptsname_r_chk to ...
66712         * login/Makefile (routines): ... here.
66713         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66714         * login/Versions (libc: GLIBC_2.4): ... here.
66716         * posix/getlogin.c: Moved to ...
66717         * login/getlogin.c: ... here.
66718         * posix/getlogin_r.c: Moved to ...
66719         * login/getlogin_r.c: ... here.
66720         * posix/getlogin_r.c: Moved to ...
66721         * login/getlogin_r.c: ... here.
66722         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66723         * login/Makefile (routines): ... here.
66724         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66725         * login/Versions (libc: GLIBC_2.0): ... here.
66727         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66728         (setrlimit): Define as weak alias.
66730         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66731         Call __ names for open, ftruncate, and close.
66732         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66733         (truncate): Define as weak alias.
66735 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66737         * math/gen-libm-test.pl (parse_args): Initialize x before each
66738         test of frexp, modf and remquo.
66740         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66741         test signgam value.
66743 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66745         [BZ #15418]
66746         [BZ #15419]
66747         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66748         internal tests.
66749         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66751 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66753         * elf/dl-writev.h: New file.
66754         * elf/dl-misc.c: Include it.
66755         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66756         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66758 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66760         * math/libm-test.inc (noXFails): Remove variable.
66761         (noXPasses): Likewise.
66762         (BUILD_COMPLEX_INT): Remove macro.
66763         (print_screen): Remove xfail argument.
66764         (print_screen_max_error): Likewise.
66765         (update_stats): Likewise.
66766         (print_max_error): Likewise.  Update calls to other affected
66767         functions.
66768         (print_complex_max_error): Likewise.
66769         (test_single_exception): Update calls to print_screen.
66770         (test_single_errno): Likewise.
66771         (check_float_internal): Remove xfail argument.  Update calls to
66772         other affected functions.
66773         (check_float): Likewise.
66774         (check_complex): Likewise.
66775         (check_int): Likewise.
66776         (check_long): Likewise.
66777         (check_bool): Likewise.
66778         (check_longlong): Likewise.
66779         (main): Don't print noXFails and noXPasses.
66780         * math/gen-libm-test.pl (top level): Don't mention expected
66781         failure handling in comment.
66782         (new_test): Don't handle expected failures.
66783         (parse_args): Don't mention expected failure handling in comment.
66784         (generate_testfile): Don't handle expected failures.
66785         (parse_ulps): Likewise.
66786         (print_ulps_file): Likewise.
66787         (get_failure): Remove function.
66788         (output_test): Don't handle expected failures.
66789         * make/README.libm-test: Don't mention expected failure handling.
66791         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66792         (minus_zero): Likewise.
66793         (plus_infty): Likewise.
66794         (minus_infty): Likewise.
66795         (qnan_value): Likewise.
66796         (max_value): Likewise.
66797         (min_value): Likewise.
66798         (min_subnorm_value): Likewise.
66799         (initialize): Do not initialize those variables dynamically.
66801 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66803         * io/open.c (__open_2): Moved to ...
66804         * io/open_2.c: ... this new file.
66805         * io/open64.c (__open64_2): Moved to ...
66806         * io/open64_2.c: ... this new file.
66807         * io/openat.c (__openat_2): Moved to ...
66808         * io/openat_2.c: ... this new file.
66809         * io/openat64.c (__openat64_2): Moved to ...
66810         * io/openat64_2.c: ... this new file.
66811         * io/Makefile (routines): Add them.
66812         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66813         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66814         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66815         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66816         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66817         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66818         (__openat64): Add hidden_ver.
66819         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66820         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66822         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66823         Separately conditionalize setting of GLRO(dl_sysinfo) so
66824         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66825         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66827 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66829         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66830         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66831         definition.
66832         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66833         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66834         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66835         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66836         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66838 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66840         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66841         test signgam value.
66843         * math/libm-test.inc (hypot_test): Do not use
66844         IGNORE_ZERO_INF_SIGN.
66846 2013-05-03  Andreas Jaeger  <aj@suse.de>
66848         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66849         Linux 3.9.
66850         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66851         (PF_MAX): Adjust for VSOCK change.
66853 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66857 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66859         [BZ #15264]
66860         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66861         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66862         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66864 2013-05-02  David S. Miller  <davem@davemloft.net>
66866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66868 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66870         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66872 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66874         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66876 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66878         [BZ #14952]
66879         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66880         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66881         Use __attribute__ ((__gnu_inline__)).
66882         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66883         Don't use __attribute__ ((__gnu_inline__)).
66885 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66887         [BZ #15423]
66888         * math/s_catan.c (__catan): Handle small real or imaginary part of
66889         input specially to avoid spurious underflow.
66890         * math/s_catanf.c (__catanf): Likewise.
66891         * math/s_catanh.c (__catanh): Likewise.
66892         * math/s_catanhf.c (__catanhf): Likewise.
66893         * math/s_catanhl.c (__catanhl): Likewise.
66894         * math/s_catanl.c (__catanl): Likewise.
66895         * math/libm-test.inc (catan_test): Add more tests.
66896         (catanh_test): Likewise.
66897         * sysdeps/i386/fpu/libm-test-ulps: Update.
66898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66900 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66904 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66906         [BZ #15416]
66907         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66908         accurately for denominator in atan2.
66909         * math/s_catanf.c (__catanf): Likewise.
66910         * math/s_catanh.c (__catanh): Likewise.
66911         * math/s_catanhf.c (__catanhf): Likewise.
66912         * math/s_catanhl.c (__catanhl): Likewise.
66913         * math/s_catanl.c (__catanl): Likewise.
66914         * math/libm-test.inc (catan_test): Add more tests.
66915         (catanh_test): Likewise.
66916         * sysdeps/i386/fpu/libm-test-ulps: Update.
66917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66919 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66921         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66923         * benchtests/Makefile (bench): Remove slow benchmarks.
66924         * benchtests/atan-inputs: Add slow benchmark inputs.
66925         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66926         (BENCH_FUNC): Accept variant offset.
66927         (VARIANT): Define.
66928         * benchtests/bench-skeleton.c (main): Run benchmark for each
66929         variant.
66930         * benchtests/cos-inputs: Add slow benchmark inputs.
66931         * benchtests/exp-inputs: Likewise.
66932         * benchtests/pow-inputs: Likewise.
66933         * benchtests/sin-inputs: Likewise.
66934         * benchtests/slowatan-inputs: Remove.
66935         * benchtests/slowatan.c: Remove.
66936         * benchtests/slowcos-inputs: Remove.
66937         * benchtests/slowcos.c: Remove.
66938         * benchtests/slowexp-inputs: Remove.
66939         * benchtests/slowexp.c: Remove.
66940         * benchtests/slowpow-inputs: Remove.
66941         * benchtests/slowpow.c: Remove.
66942         * benchtests/slowsin-inputs: Remove.
66943         * benchtests/slowsin.c: Remove.
66944         * benchtests/slowtan-inputs: Remove.
66945         * benchtests/slowtan.c: Remove.
66946         * benchtests/tan-inputs: Add slow benchmark inputs.
66947         * scripts/bench.pl: Parse comments and directives.
66949         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66950         in CPPFLAGS.
66951         ($(objpfx)bench-%.c): Remove *-ITER.
66952         * benchtests/bench-modf.c: Remove definition of ITER.
66953         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66954         (main): Loop for DURATION seconds instead of fixed number of
66955         iterations.
66956         * scripts/bench.pl: Don't expect iterations in parameters.
66958 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66960         * io/fchdir.c (__fchdir): Renamed from fchdir.
66961         (fchdir): Define as weak alias.
66963 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66965         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66966         (ERRNO_EDOM): Likewise.
66967         (ERRNO_ERANGE): Likewise.
66968         (noErrnoTests): New variable.
66969         (init_max_error): Set errno to 0.
66970         (test_single_errno): New function.
66971         (test_errno): Likewise.
66972         (check_float_internal): Call test_errno.  Set errno to 0.
66973         (check_complex): Refer to errno tests in comment.
66974         (check_int): Call test_errno.  Set errno to 0.
66975         (check_long): Likewise.
66976         (check_bool): Likewise.
66977         (check_longlong): Likewise.
66978         (cos_test): Use ERRNO_* flags for errno tests instead of
66979         check_int.
66980         (expm1_test): Likewise.
66981         (fmod_test): Likewise.
66982         (ilogb_test): Likewise.
66983         (lgamma_test): Likewise.
66984         (pow_test): Likewise.
66985         (remainder_test): Likewise.
66986         (sin_test): Likewise.
66987         (tan_test): Likewise.
66988         (yn_test): Likewise.
66989         (initialize): Set errno to 0.
66990         (main): Print number of errno tests.
66991         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66993 2013-04-29  Andreas Jaeger  <aj@suse.de>
66995         [BZ #15084]
66996         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66997         and RES_USEVC.
66999         [BZ #15085]
67000         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
67001         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
67002         unimplemented.
67004         [BZ #15380]
67005         * stdlib/random.c (__initstate): Return NULL if
67006         __initstate fails.
67008         [BZ #15086]
67009         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
67010         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
67011         RES_SNGLKUPREOP.
67013 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67017 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67019         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
67020         of individual tests.
67021         (casin_test): Likewise.
67022         (casinh_test): Likewise.
67024 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
67026         [BZ #15409]
67027         * math/s_catan.c (__catan): Handle arguments with large real or
67028         imaginary part separately without squaring.
67029         * math/s_catanf.c (__catanf): Likewise.
67030         * math/s_catanh.c (__catanh): Likewise.
67031         * math/s_catanhf.c (__catanhf): Likewise.
67032         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67033         and redefine.
67034         (__catanhl): Handle arguments with large real or imaginary part
67035         separately without squaring.
67036         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67037         and redefine.
67038         (__catanl): Handle arguments with large real or imaginary part
67039         separately without squaring.
67040         * math/libm-test.inc (catan_test): Add more tests.
67041         (catanh_test): Likewise.
67042         * sysdeps/i386/fpu/libm-test-ulps: Update.
67043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67045 2013-04-27  Andreas Jaeger  <aj@suse.de>
67047         [BZ #15007]
67048         * stdlib/stdlib.h: Update guards for qecvt.
67049         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
67050         <stdlib.h>.
67052 2013-04-27  Allan McRae  <allan@archlinux.org>
67054         * sysdeps/i386/fpu/libm-test-ulps: Update.
67056 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
67058         [BZ #15406]
67059         * math/s_catan.c: Include <float.h>.
67060         (__catan): Ensure underflow exception occurs for underflowed
67061         result.
67062         * math/s_catanf.c: Include <float.h>.
67063         (__catanf): Ensure underflow exception occurs for underflowed
67064         result.
67065         * math/s_catanh.c: Include <float.h>.
67066         (__catanh): Ensure underflow exception occurs for underflowed
67067         result.
67068         * math/s_catanhf.c: Include <float.h>.
67069         (__catanhf): Ensure underflow exception occurs for underflowed
67070         result.
67071         * math/s_catanhl.c: Include <float.h>.
67072         (__catanhl): Ensure underflow exception occurs for underflowed
67073         result.
67074         * math/s_catanl.c: Include <float.h>.
67075         (__catanl): Ensure underflow exception occurs for underflowed
67076         result.
67077         * math/libm-test.inc (catan_test): Add more tests.
67078         (catanh_test): Likewise.
67080         [BZ #15405]
67081         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
67082         underflowed result.
67083         * math/s_ccoshf.c (__ccoshf): Likewise.
67084         * math/s_ccoshl.c (__ccoshl): Likewise.
67085         * math/s_csin.c (__csin): Likewise.
67086         * math/s_csinf.c (__csinf): Likewise.
67087         * math/s_csinh.c (__csinh): Likewise.
67088         * math/s_csinhf.c (__csinhf): Likewise.
67089         * math/s_csinhl.c (__csinhl): Likewise.
67090         * math/s_csinl.c (__csinl): Likewise.
67091         * math/libm-test.inc (ccos_test): Add more tests.
67092         (ccosh_test): Likewise.
67093         (csin_test): Likewise.
67094         (csinh_test): Likewise.
67096 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67098         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
67099         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
67100         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
67101         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67102         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67103         powerpc/power5+/fpu folders.
67104         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67107 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67111 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
67113         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67114         additions to variable.
67115         [$(config-machine) = x86_64] (modules-names): Likewise.
67116         ($(objpfx)tst-audit3): Remove dependency.
67117         ($(objpfx)tst-audit3.out): Likewise.
67118         ($(objpfx)tst-audit4): Likewise.
67119         ($(objpfx)tst-audit4.out): Likewise.
67120         ($(objpfx)tst-audit5): Likewise.
67121         ($(objpfx)tst-audit5.out): Likewise.
67122         ($(objpfx)tst-audit6): Likewise.
67123         ($(objpfx)tst-audit6.out): Likewise.
67124         ($(objpfx)tst-audit7): Likewise.
67125         ($(objpfx)tst-audit7.out): Likewise.
67126         (tst-audit3-ENV): Remove variable.
67127         (tst-audit4-ENV): Likewise.
67128         (tst-audit5-ENV): Likewise.
67129         (tst-audit6-ENV): Likewise.
67130         (tst-audit7-ENV): Likewise.
67131         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67132         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67133         addition to variable.
67134         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67135         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67136         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67137         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67138         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67139         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67140         tst-audit3, tst-audit4 and tst-audit5.
67141         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67142         tst-audit6 and tst-audit7.
67143         [$(subdir) = elf] (modules-names): Add audit modules for those
67144         tests.
67145         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67146         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67147         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67148         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67149         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67150         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67151         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67152         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67153         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67154         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67155         [$(subdir) = elf] (tst-audit3-ENV): New variable.
67156         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67157         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67158         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67159         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67160         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67161         Likewise.
67162         [$(subdir) = elf && $(config-cflags-avx) = yes]
67163         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67164         [$(subdir) = elf && $(config-cflags-avx) = yes]
67165         (CFLAGS-tst-auditmod4a.c): Likewise.
67166         [$(subdir) = elf && $(config-cflags-avx) = yes]
67167         (CFLAGS-tst-auditmod4b.c): Likewise.
67168         [$(subdir) = elf && $(config-cflags-avx) = yes]
67169         (CFLAGS-tst-auditmod6b.c): Likewise.
67170         [$(subdir) = elf && $(config-cflags-avx) = yes]
67171         (CFLAGS-tst-auditmod6c.c): Likewise.
67172         [$(subdir) = elf && $(config-cflags-avx) = yes]
67173         (CFLAGS-tst-auditmod7b.c): Likewise.
67174         * elf/tst-audit3.c: Move to ...
67175         * sysdeps/x86_64/tst-audit3.c: ... here.
67176         * elf/tst-audit4.c: Move to ...
67177         * sysdeps/x86_64/tst-audit4.c: ... here.
67178         * elf/tst-audit5.c: Move to ...
67179         * sysdeps/x86_64/tst-audit5.c: ... here.
67180         * elf/tst-audit6.c: Move to ...
67181         * sysdeps/x86_64/tst-audit6.c: ... here.
67182         * elf/tst-audit7.c: Move to ...
67183         * sysdeps/x86_64/tst-audit7.c: ... here.
67184         * elf/tst-auditmod3a.c: Move to ...
67185         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67186         * elf/tst-auditmod3b.c: Move to ...
67187         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67188         * elf/tst-auditmod4a.c: Move to ...
67189         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67190         * elf/tst-auditmod4b.c: Move to ...
67191         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67192         * elf/tst-auditmod5a.c: Move to ...
67193         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67194         * elf/tst-auditmod5b.c: Move to ...
67195         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67196         * elf/tst-auditmod6a.c: Move to ...
67197         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67198         * elf/tst-auditmod6b.c: Move to ...
67199         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67200         * elf/tst-auditmod6c.c: Move to ...
67201         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67202         * elf/tst-auditmod7a.c: Move to ...
67203         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67204         * elf/tst-auditmod7b.c: Move to ...
67205         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67207 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
67209         [BZ #15366]
67210         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67211         define unconditionally.
67212         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67213         define unconditionally.
67214         (INT8_C, INT16_C, etc.): Likewise.
67216 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
67218         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67219         __ehdr_start with hidden visibility.
67221         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67223 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
67225         * math/libm-test.inc (cos_test): Use accurate hex constants.
67226         (sincost_test): Likewise.
67228 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67230         * math/libm-test.inc (catan_test): Add more tests.
67231         (catanh_test): Likewise.
67233         * math/s_catanf.c (__catanf): Use suffixed floating-point
67234         constants.
67235         * math/s_catanhf.c (__catanhf): Likewise.
67236         * math/s_catanhl.c (__catanhl): Likewise.
67237         * math/s_catanl.c (__catanl): Likewise.
67239         [BZ #15394]
67240         * math/s_catan.c (__catan): Calculate imaginary part of result
67241         with log1p not log unless computing log of number close to 0.
67242         * math/s_catanf.c (__catanf): Likewise.
67243         * math/s_catanl.c (__catanl): Likewise.
67244         * math/s_catanh.c (__catanh): Calculate real part of result with
67245         log1p not log unless computing log of number close to 0.
67246         * math/s_catanhf.c (__catanhf): Likewise.
67247         * math/s_catanhl.c (__catanhl): Likewise.
67248         * math/libm-test.inc (catan_test): Add more tests.
67249         (catanh_test): Likewise.
67250         * sysdeps/i386/fpu/libm-test-ulps: Update.
67251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67253 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67255         * benchtests/Makefile: Mention files in which fast and slow
67256         paths of math functions are implemented.
67258 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67260         * sysdeps/posix/timespec_get.c: New file.
67262 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67264         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67265         POWER.
67266         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67267         for POWER.
67268         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67269         powerpc/power5/fpu folders.
67270         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67271         * benchtests/Makefile: Add modf testcase.
67272         * benchtests/bench-modf.c: New file: Benchmark test for mo
67274 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67276         [BZ #14888]
67277         * time/Makefile (tests): Add tst-strptime-whitespace.
67278         * time/strptime_l.c (get_number): Use ISSPACE.
67279         (__strptime_internal): Likewise.
67280         * time/tst-strptime-whitespace.c: New test case.
67282 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67284         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67285         member.
67286         (_nss_files_init): Set it here.
67288 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67290         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67291         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67292         unsigned.
67294 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67296         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67298 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67300         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67301         size just once.
67303 2013-04-21  David S. Miller  <davem@davemloft.net>
67305         * po/ru.po: Update Russion translation from translation project.
67307 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67309         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67310         and setfsgid.
67312 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67314         * configure.in: Remove i386 configure warning. Remove i386 case.
67315         * configure: Regenerate.
67316         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67317         Add example to error message.
67318         * sysdeps/i386/configure: Regenerate.
67320 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67322         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67323         slowtan.
67324         * benchtests/cos-inputs: New file.
67325         * benchtests/slowcos-inputs: New file.
67326         * benchtests/slowcos.c: New file.
67327         * benchtests/slowtan-inputs: New file.
67328         * benchtests/slowtan.c: New file.
67329         * benchtests/tan-inputs: New file.
67331 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67333         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67334         considered kosher.
67336 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67338         * benchtests/Makefile: Include cppflags-iterator.mk to add
67339         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67341         * Makefile.in (bench-clean): New target.
67342         * benchtests/Makefile (bench-clean): Likewise.
67344 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67346         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67348 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67350         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67352 2013-04-15  Andreas Schwab  <schwab@suse.de>
67354         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67355         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67356         * nscd/pwdcache.c (cache_addpw): Likewise.
67357         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67358         more than recsize.
67360 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67362         * benchtests/Makefile (bench): Write all output to
67363         bench-out.tmp together.
67365 2013-04-15  Andreas Schwab  <schwab@suse.de>
67367         * nscd/nscd.c (main): Don't fork again after closing files.
67369 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67371         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67373         * benchtests/Rules (bench-deps): Collect dependencies into a
67374         single variable.  Add Makefile to dependencies.
67375         ($(objpfx)bench-%.c): Depend on bench-deps.
67377 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67378             Xavier Roche  <roche+kml2@exalead.com>
67380         [BZ #15361]
67381         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67382         just that it's a file descriptor.
67383         * manual/llio.texi (Synchronizing AIO Operations): Update description
67384         for EBADF error from aio_fsync.
67386 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67388         * Rules (bench): Move target definition...
67389         * benchtests/Makefile: ... here.
67391 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67393         * math/libm-test.inc (cos_test): Fix PI/2 test.
67394         (sincos_test): Likewise.
67395         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67396         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67398 2013-04-11  Andreas Schwab  <schwab@suse.de>
67400         [BZ #13988]
67401         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67402         accept exponent character only when digits were seen.
67403         * stdio-common/Makefile (tests): Add bug26.
67404         * stdio-common/bug26.c: New file.
67406         [BZ #14293]
67407         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67408         non-freeable.
67410 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67412         * Makeconfig (rtld-prefix): Define built linker prefix.
67413         * Rules (run-bench): Use it.
67414         * math/Makefile (run-regen-ulps): Likewise.
67416         * Rules (bench): Remove eval.
67418 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67419             Roland McGrath  <roland@hack.frob.com>
67420             Ondrej Bilka  <neleai@seznam.cz>
67422         [BZ #15346]
67423         * time/getdate.c: Include ctype.h and alloca.h.
67424         (__getdate_r): Trim leading and trailing spaces of input.
67425         * time/tst-getdate.c (tests): Add tests with leading and
67426         trailing spaces.
67428 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67430         [BZ #14280]
67431         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67432         when computing value.
67434 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67436         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67437         Use testrun.sh to run libm tests.
67439         [BZ #15309]
67440         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67442 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67444         [BZ #15264]
67445         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67447 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67449         * Makefile.in (regen-ulps): New target.
67450         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67451         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67452         [ifneq (no,$(PERL)] (regen-ulps): New target.
67453         [ifeq (no,$(PERL)] (regen-ulps): New target.
67454         * math/libm-test.inc (ulps_file_name): Define.
67455         (output_dir): New variable.
67456         (options): Add "output-dir" option.
67457         (parse_opt): Handle 'o' case.
67458         (main): If output_dir is non-NULL use it as a prefix
67459         otherwise use "".
67460         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67462 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67464         [BZ #10060, #10062]
67465         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67466         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67467         fail configure if __sync_val_compare_and_swap is not inlined.
67468         * sysdeps/i386/configure: Regenerate.
67469         * configure.in: Build for i686 when configured for i386.
67470         * configure: Regenerate.
67471         * README: Remove i386 reference.
67473 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67475         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67476         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67478 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67480         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67481         (lmsnanval): New variables.
67482         (F): Add conversion tests.
67483         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67484         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67486         * stdio-common/tstdiomisc.c (F): Properly collect individual
67487         tests' results.
67489         [BZ #14686, #15336]
67490         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67491         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67492         Instead, use input NaN values or generate a qNaN by arithmetic
67493         operation.  Also fix bugs to comply with the standard.
67494         * math/libm-test.inc (remainder_test): Add more tests.
67496         [BZ #15335, #15342]
67497         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67498         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67499         input NaN values or generate a qNaN by arithmetic operation.
67501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67502         unreachable code.
67504         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67505         definitions.
67507 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67509         [BZ #14478]
67510         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67511         underflowed result.
67512         * math/s_cexpf.c (__cexpf): Likewise.
67513         * math/s_cexpl.c (__cexpl): Likewise.
67514         * math/libm-test.inc (cexp_test): Add more tests.
67516 2013-04-03  Andreas Schwab  <schwab@suse.de>
67518         [BZ #15330]
67519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67520         order arrays from heap if bigger than alloca cutoff.
67522 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67524         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67525         (SNAN_TESTS_double): Refer to GCC PR56831.
67526         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67527         GCC PR56828.
67529 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67531         * Rules (bench): Move bench.out after the run is complete.
67533         * Rules (bench): Echo currently running benchmark.
67535         * benchtests/Makefile (bench): Add atan and slowatan.
67536         * benchtests/atan-inputs: New file.
67537         * benchtests/slowatan-inputs: New file.
67538         * benchtests/slowatan.c: New file.
67540         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67541         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67542         its value.
67544         [BZ #15305]
67545         * sysdeps/unix/sysv/linux/kernel-features.h
67546         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67547         __ASSUME_XFS_RESTRICTED_CHOWN.
67548         * sysdeps/unix/sysv/linux/pathconf.c
67549         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67550         Save and restore errno.
67552 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67554         [BZ #15327]
67555         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67556         arguments using __kernel_casinh.
67557         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67558         arguments using __kernel_casinhf.
67559         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67560         arguments using __kernel_casinhl.
67561         * math/libm-test.inc (cacosh_test): Add more tests.
67562         * sysdeps/i386/fpu/libm-test-ulps: Update.
67563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67565 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67567         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67568         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67570         * bench/Makefile (bench): Add sin and slowsin.
67571         * benchtests/sin-inputs: New file.
67572         * benchtests/slowsin-inputs: New file.
67573         * benchtests/slowsin.c: New file.
67575         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67576         (bench): Add slowexp and slowpow.
67577         (exp-ITER): Increase iterations.
67578         (pow-ITER): Likewise.
67579         * benchtests/exp-inputs: Change input.
67580         * benchtests/pow-inputs: Likewise.
67581         * benchtests/slowexp-inputs: New file.
67582         * benchtests/slowexp.c: New file.
67583         * benchtests/slowpow-inputs: New file.
67584         * benchtests/slowpow.c: New file.
67586 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67588         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67589         instructions.
67590         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67591         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67592         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67593         * benchtests/Makefile: Add rint benchtest.
67594         * benchtests/rint-inputs: Input for rint benchtest.
67596 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67598         * Versions.def (libm): Add GLIBC_2.18.
67599         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67600         hidden libm prototypes.
67601         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67602         * math/Makefile (libm-calls): Add s_issignaling.
67603         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67604         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67605         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67606         declaration.
67607         * math/math.h [__USE_GNU] (issignaling): New macro.
67608         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67609         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67611         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67612         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67613         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67614         * manual/arith.texi (issignaling): New section.
67615         * manual/libm-err-tab.pl (@all_functions): Update comment.
67616         * math/gen-libm-test.pl (parse_args): Apply special handling for
67617         issignaling.
67618         * math/libm-test.inc (print_float, issignaling_test): New
67619         functions.
67620         (check_float_internal): Add issignaling checks.
67621         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67622         default definition.
67623         * sysdeps/powerpc/math-tests.h: New file.
67624         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67625         tests.
67626         * math/test-snan.c (TEST_FUNC): Likewise.
67628 2013-03-30  David S. Miller  <davem@davemloft.net>
67630         * po/de.po: Update from translation team.
67632 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67634         [BZ #10357]
67635         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67636         imaginary part less than 1.0 and real part less than 0.5
67637         specially.
67638         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67639         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67640         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67641         (cacos_test): Add more tests.
67642         (casin_test): Likewise.
67643         (casinh_test): Likewise.
67644         * sysdeps/i386/fpu/libm-test-ulps: Update.
67645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67647 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67649         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67650         ONE with its value.
67652         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67653         (__pow_mp): Replace ONE and MONE with their values.
67654         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67657         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67658         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67659         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67661         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67663         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67664         (__pow_mp): Replace ZERO and MZERO with their values.
67665         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67667         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67669         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67670         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67671         (__sqr): Likewise.
67673         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67675         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67677 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67679         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67680         Declare with __attribute__ ((weak)).
67681         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67682         Call __call_tls_dtors only if it's not NULL.
67684 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67686         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67687         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67688         magic __ehdr_start linker symbol if it's defined.
67689         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67690         them up here if it was already done.
67692         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67693         (_dl_aux_init): Use const in cast when setting it.
67694         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67695         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67696         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67698         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67699         Declare them here.
67700         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67701         * csu/libc-tls.c: Nor here.
67702         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67704         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67705         (__libc_message): Never call vsyslog.
67707 2013-03-28  Alan Modra  <amodra@gmail.com>
67709         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67710         Define as empty.
67711         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67712         Likewise.
67714 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67716         [BZ #15214]
67717         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67718         underflow.
67719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67721 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67723         [BZ #15304]
67724         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67725         Don't add gid passed as argument.
67727         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67729 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67731         [BZ #15307]
67732         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67733         imaginary part between 1.0 and 1.5 and real part less than 0.5
67734         specially.
67735         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67736         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67737         * math/libm-test.inc (cacos_test): Add more tests.
67738         (casin_test): Likewise.
67739         (casinh_test): Likewise.
67740         * sysdeps/i386/fpu/libm-test-ulps: Update.
67741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67743 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67745         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67746         constants.
67747         (norm): Likewise.
67748         (denorm): Likewise.
67749         (__dbl_mp): Likewise.
67750         (add_magnitudes): Likewise.
67751         (sub_magnitudes): Likewise.
67752         (__add): Likewise.
67753         (__sub): Likewise.
67754         (__mul): Likewise.
67755         (__sqr): Likewise.
67756         (__inv): Likewise.
67757         (__dvd): Likewise.
67759         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67760         commented code.
67761         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67762         (__dubcos): Likewise.
67763         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67764         (__ieee754_acos): Likewise.
67765         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67766         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67767         (__exp1): Likewise.
67768         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67770         (log1): Likewise.
67771         (my_log2): Likewise.
67772         (checkint): Likewise.
67773         * sysdeps/ieee754/dbl-64/e_remainder.c
67774         (__ieee754_remainder): Likewise.
67775         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67777         (bsloww): Likewise.
67778         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67780         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67781         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67782         MANTISSA_STORE_T to store computations on mantissa.  Use
67783         macros for rounding and division.
67784         (denorm): Likewise.
67785         (__dbl_mp): Likewise.
67786         (add_magnitudes): Likewise.
67787         (sub_magnitudes): Likewise.
67788         (__mul): Likewise.
67789         (__sqr): Likewise.
67790         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67791         powers of two in terms of TWOPOW macro.
67792         (mp_no): Make type of mantissa as MANTISSA_T.
67793         [!RADIXI]: Define RADIXI.
67794         [!TWO52]: Define TWO52.
67795         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67797 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67799         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67800         llroundl symbol when building for PPC32.
67802 2013-03-24  Mark H Weaver  <mhw@netris.org>
67804         * manual/arith.texi (Normalization Functions): Fix prototypes for
67805         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67807 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67809         [BZ #13889]
67810         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67811         high value to check if expl overflow.
67812         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67813         to check for underflow and overflow.
67814         * math/libm-test.inc: Add exp test.
67816 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67818         [BZ #11120]
67819         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67820         with NOT_IN_libc.
67822 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67824         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67825         symbol.
67827 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67829         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67830         wrap blocks consisting of several statements.
67832         * sysdeps/generic/math-tests.h: New file.
67833         * sysdeps/i386/fpu/math-tests.h: Likewise.
67834         * math/test-snan.c: Include it.
67835         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67837 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67839         [BZ #15285]
67840         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67841         (__ieee754_j0l): Do not improve calculations using cos of twice
67842         input for inputs above LDBL_MAX / 2.0L.
67843         (__ieee754_y0l): Likewise.
67844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67845         (__ieee754_j1l): Do not improve calculations using cos of twice
67846         input for inputs above LDBL_MAX / 2.0L.
67847         (__ieee754_y1l): Likewise.
67848         * math/libm-test.inc (j0_test): Add another test.
67849         (j1_test): Likewise.
67850         (y0_test): Likewise.
67851         (y1_test): Likewise.
67852         * sysdeps/i386/fpu/libm-test-ulps: Update.
67854 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67856         * Rules ($(objpfx)bench-%.c): Include code from a C source
67857         file.
67859 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67861         [BZ #15287]
67862         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67863         imaginary part 1.0 and real part less than 0.5 specially.
67864         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67865         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67866         * math/libm-test.inc (cacos_test): Add more tests.
67867         (casin_test): Likewise.
67868         (casinh_test): Likewise.
67869         * sysdeps/i386/fpu/libm-test-ulps: Update.
67870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67872 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67874         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67875         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67877 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67879         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67880         * config.make.in (config-cflags-sse4): Remove variable.
67881         (config-cflags-avx): Likewise.
67882         (config-cflags-sse2avx): Likewise.
67883         (config-cflags-novzeroupper): Likewise.
67884         (config-asflags-i686): Likewise.
67885         (have-mfma4): Likewise.
67886         (have-as-vis3): Likewise.
67887         (MIG): Likewise.
67888         * configure.in (MIG): Do not AC_SUBST.
67889         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67890         (libc_cv_cc_sse4): Do not AC_SUBST.
67891         (libc_cv_cc_avx): Likewise.
67892         (libc_cv_cc_sse2avx): Likewise.
67893         (libc_cv_cc_novzeroupper): Likewise.
67894         (libc_cv_cc_fma4): Likewise.
67895         (libc_cv_as_i686): Likewise.
67896         (libc_cv_sparc_as_vis3): Likewise.
67897         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67898         LIBC_CONFIG_VAR.
67899         (config-asflags-i686): Likewise.
67900         (config-cflags-avx): Likewise.
67901         (config-cflags-sse2avx): Likewise.
67902         (have-mfma4): Likewise.
67903         (config-cflags-novzeroupper): Likewise.
67904         * sysdeps/mach/configure.in (MIG): Likewise.
67905         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67906         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67907         LIBC_CONFIG_VAR.
67908         (config-cflags-avx): Likewise.
67909         (config-cflags-sse2avx): Likewise.
67910         (have-mfma4): Likewise.
67911         (config-cflags-novzeroupper): Likewise.
67912         * configure: Regenerated.
67913         * sysdeps/i386/configure: Likewise.
67914         * sysdeps/mach/configure: Likewise.
67915         * sysdeps/sparc/configure: Likewise.
67916         * sysdeps/x86_64/configure: Likewise.
67918 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67920         [BZ #14812]
67921         * locale/programs/localedef.c (options): Put N_ translation marker
67922         on argument names, not just descriptions.
67924 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67926         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67928 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67930         [BZ #14176]
67931         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67933 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67935         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67936         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67937         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67938         [!BEFORE_ABORT] (before_abort): New function.
67939         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67940         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67941         (writev_for_fatal): New function.
67942         (WRITEV_FOR_FATAL): New macro; call that.
67943         (backtrace_and_maps): New function.
67944         (BEFORE_ABORT): New macro; call that.
67945         (struct str_list): Type removed.
67946         (__libc_message, __libc_fatal): Functions removed.
67947         Include <sysdeps/posix/libc_fatal.c> instead.
67949 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67951         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67952         constants.
67953         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67954         double constants.
67956 2013-03-19  Andreas Schwab  <schwab@suse.de>
67958         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67959         * sysdeps/gnu/configure: Regenerate.
67961         * configure.in: Substitute libc_cv_rtlddir.
67962         * configure: Regenerate.
67963         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67964         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67965         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67966         * elf/Makefile (install-others, CFLAGS-interp.c)
67967         (ldso_install, common-ldd-rewrite): Likewise.
67968         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67969         $(inst_slibdir)/$(rtld-installed-name).
67970         * scripts/rellns-sh: Add -p option.
67971         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67972         for source.
67974 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67976         * manual/nptl.texi: Renamed to ...
67977         * manual/threads.texi: ... this.
67978         * manual/Makefile (chapters): Update.
67980 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67982         [BZ #14812]
67983         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67984         on argument names, not just descriptions.
67985         * malloc/memusagestat.c (options): Likewise.
67986         * nss/getent.c (options): Likewise.
67988 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67990         [BZ #14812]
67991         * iconv/iconv_prog.c (options): Put N_ translation marker
67992         on argument names, not just descriptions.
67993         * iconv/iconvconfig.c (options): Likewise.
67995 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67997         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67998         implementation which is faster on all x86_64 architectures.
67999         Tested on AMD, Intel Nehalem, SNB, IVB.
68000         * sysdeps/x86_64/strnlen.S: Likewise.
68002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68003         Remove all multiarch strlen and strnlen versions.
68004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
68005         Remove strlen and strnlen related parts.
68007         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
68008         Inline strlen part.
68009         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
68011         * sysdeps/x86_64/multiarch/strlen.S: Remove.
68012         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
68013         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
68014         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
68015         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68016         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
68018 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
68020         * manual/memory.texi (Malloc Tunable Parameters):
68021         Sort parameters alphabetically. Add comments for missing entries.
68023 2013-03-17  David S. Miller  <davem@davemloft.net>
68025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68027 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
68029         [BZ #15283]
68030         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
68031         for arguments at most half maximum finite value.
68032         * math/libm-test.inc (j0_test): Add more tests.
68033         (j1_test): Likewise.
68034         (y0_test): Likewise.
68035         (y1_test): Likewise.
68036         * sysdeps/i386/fpu/libm-test-ulps: Update.
68037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68039         [BZ #14155]
68040         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
68041         1 / x and functions P and Q for arguments above 0x1p256L.
68042         (__ieee754_y0l): Likewise.
68043         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
68044         (__ieee754_y1l): Likewise.
68045         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
68046         (j1_test): Likewise.
68047         (y0_test): Likewise.
68048         (y1_test): Likewise.
68050 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
68052         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
68053         variable.
68055 2013-03-15  Roland McGrath  <roland@hack.frob.com>
68057         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
68058         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
68059         zero since it's initialized to EXEC_PAGESIZE.
68061         * sysdeps/unix/sysv/linux/ldsodefs.h
68062         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
68063         * sysdeps/generic/ldsodefs.h: ... here.
68065 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
68067         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
68069         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
68070         math/test-snan.c.
68071         * math/test-snan.c: Renamed from
68072         sysdeps/powerpc/fpu/test-powerpc-snan.c.
68073         * math/Makefile (tests): Add test-snan.
68074         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
68075         test-powerpc-snan.
68077         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
68078         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
68079         functions.
68080         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
68081         __builtin_nan family of functions.
68082         * math/libm-test.inc (initialize): Initialize qnan_value with
68083         __builtin_nan family of functions.
68084         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68085         Remove variables.
68086         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
68087         Remove functions.
68088         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
68089         storage class.  Initialize qNaN_var and sNaN_var with
68090         __builtin_nan and __builtin_nans families of functions,
68091         respectively.
68093         * math/libm-test.inc (acosh_test): Also test with qNaN input.
68094         (sqrt_test): Remove duplicate test with qNaN input.
68095         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
68096         (round_test, signbit_test, significand_test): Note missing +/-Inf
68097         as well as qNaN tests.
68099         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
68100         qNaN_var.  Fix a few strings, too.
68101         * math/libm-test.inc (nan_value): Rename to qnan_value.
68102         * math/gen-libm-test.pl (%beautify): Adjust to that.
68103         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68104         * math/test-misc.c (main): Likewise.
68105         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68106         to __qnan_bytes, and __qnan_union, respectively.
68107         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68108         Likewise.
68109         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68110         and lqnanval, respectively.
68111         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68112         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68113         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68114         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68116         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68117         * math/test-misc.c (main) [__x86_64__]: Enable test for long
68118         doubles.
68120         * math/test-misc.c (main): Fix copy'n'pastos.
68121         * misc/tst-efgcvt.c (special): Likewise.
68123         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68124         Remove declarations.
68126 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68128         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68129         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68130         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68131         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68133 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68136         macro to return vdso values correctly in IFUNC implementations.
68137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68138         Optimization by using IFUNC.
68140 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68141             Richard Henderson  <rth@redhat.com>
68142             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68144         * Makefile.in (bench): New target.
68145         * NEWS: Mention the benchmark framework.
68146         * Rules (bench): Likewise.
68147         (binaries-bench): Generate binaries for functions to
68148         benchmark.
68149         * benchtests/Makefile: New makefile for benchmark tests.
68150         * benchtests/bench-skeleton.c: New skeleton file for benchmark
68151         programs.
68152         * benchtests/exp-inputs: New input file for EXP function.
68153         * benchtests/pow-inputs: New input file for POW function.
68154         * scripts/bench.pl: New script to generate source files for
68155         benchmark programs.
68157 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68159         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68160         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68161         computations on mantissa.  Use macros for rounding and
68162         division.
68163         (denorm): Likewise.
68164         (__dbl_mp): Likewise.
68165         (add_magnitudes): Likewise.
68166         (sub_magnitudes): Likewise.
68167         (__mul): Likewise.
68168         (__sqr): Likewise.
68169         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68170         powers of two in terms of TWOPOW macro.
68171         (mp_no): Make type of mantissa as MANTISSA_T.
68172         [!RADIXI]: Define RADIXI.
68173         [!TWO52]: Define TWO52.
68174         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68176         * manual/nptl.texi (cindex): Modify threads to pthreads.
68178 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
68180         * sysdeps/x86_64/preconfigure: Regenerated.
68182 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
68184         [BZ #14155]
68185         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68186         0x1p28 and above.
68187         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68188         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68189         0x1p28 and above.
68190         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68191         * math/libm-test.inc (j0_test): Do not allow one spurious
68192         underflow exception.
68193         (y1_test): Likewise.
68195 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68197         * manual/Makefile (chapters): Add nptl.
68198         * manual/debug.texi (Debugging Support): Add link to Threads
68199         chapter.
68200         * manual/nptl.texi: New file.
68202         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68204 2013-03-14  Petr Baudis  <pasky@ucw.cz>
68206         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68207         for non-NULL pointer before the memory validity test. Pointed
68208         out by Holger Brunck <holger.brunck@keymile.com>.
68210 2013-03-13  Andreas Schwab  <schwab@suse.de>
68212         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68213         instead of .os.
68215 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
68217         * timezone/zic.c: Update from tzcode 2013b.
68219 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
68221         * manual/install.texi (Configuring and compiling):
68222         Mention i686 and i586.
68223         * INSTALL: Regenerate.
68225 2013-03-12  Roland McGrath  <roland@hack.frob.com>
68227         * sysdeps/init_array/elf-init.c: New file.
68228         * csu/elf-init.c
68229         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68230         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68232         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68233         __gmon_start__ as global, but as static with a .preinit_array pointer.
68234         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68235         * sysdeps/init_array/crti.S: New file, empty except for comments.
68236         * sysdeps/init_array/crtn.S: Likewise.
68238 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68240         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68241         definining bcopy.
68242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68243         Remove Prefer_SSE_for_memop.
68244         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68245         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68246         HAS_PREFER_SSE_FOR_MEMOP.
68247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68248         memset-x86-64.
68249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68250         Remove bzero, memset ifunc support.
68251         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68252         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68253         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68254         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68256 2013-03-11  Andreas Schwab  <schwab@suse.de>
68258         [BZ #15234]
68259         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68260         by SHLIB_COMPAT.
68261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68262         (GLIBC_2.16): Remove pthread_atfork.
68264 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68266         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68267         (ptestcases.h): Likewise.
68269 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68271         * Makeconfig ($(common-objpfx)config.status): Depend on
68272         sysdeps/*/preconfigure{,.in} too.
68274 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68276         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68277         (__free_hook): Use void * instead of __malloc_ptr_t.
68278         (__malloc_hook): Likewise.
68279         (__realloc_hook): Likewise.
68280         (__memalign_hook): Likewise.
68281         (__after_morecore_hook): Likewise.
68282         * malloc/arena.c (save_malloc_hook): Likewise.
68283         (save_free_hook): Likewise.
68284         * malloc/hooks.c (malloc_hook_ini): Likewise.
68285         (realloc_hook_ini): Likewise.
68286         (memalign_hook_ini): Likewise.
68287         * malloc/malloc.c (malloc_hook_ini): Likewise.
68288         (realloc_hook_ini): Likewise.
68289         (memalign_hook_ini): Likewise.
68290         (__free_hook): Likewise.
68291         (__malloc_hook): Likewise.
68292         (__realloc_hook): Likewise.
68293         (__memalign_hook): Likewise.
68294         (__libc_malloc): Likewise.
68295         (__libc_free): Likewise.
68296         (__libc_realloc): Likewise.
68297         (__libc_memalign): Likewise.
68298         (__libc_valloc): Likewise.
68299         (__libc_pvalloc): Likewise.
68300         (__libc_calloc): Likewise.
68301         (__posix_memalign): Likewise.
68302         * malloc/morecore.c (__sbrk): Likewise.
68303         (__default_morecore): Likewise.
68305         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68307         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68308         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68309         __malloc_ptrdiff_t.
68311         * malloc/malloc.h (__malloc_size_t): Remove macro.
68312         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68313         __malloc_size_t.
68314         (old_memalign_hook): Likewise.
68315         (old_realloc_hook): Likewise.
68316         (struct hdr): Likewise.
68317         (flood): Likewise.
68318         (mallochook): Likewise.
68319         (memalignhook): Likewise.
68320         (reallochook): Likewise.
68321         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68322         (tr_old_realloc_hook): Likewise.
68323         (tr_old_memalign_hook): Likewise.
68324         (tr_mallochook): Likewise.
68325         (tr_reallochook): Likewise.
68326         (tr_memalignhook): Likewise.
68328 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68331         default_ldbl_pack and using as default implementation.
68332         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68333         implementation.
68334         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68335         redundant definition.
68336         (ldbl_insert_mantissa): Likewise.
68337         (ldbl_canonicalize): Likewise.
68338         (ldbl_nearbyint): Likewise.
68339         (ldbl_pack): Rename to ldbl_pack_ppc.
68340         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68341         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68342         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68344 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68347         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68348         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68349         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68351         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68352         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68353         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68355 2013-03-07  Andreas Jaeger  <aj@suse.de>
68357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68358         bits/mman-linux.h.
68360 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68362         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68363         Include mpa.h and declare __MPEXP.
68364         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68365         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68366         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68367         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68368         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68369         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68370         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68372         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68373         (__slowpow): Use long double EXPL and LOGL functions to
68374         compute POW.
68375         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68376         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68377         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68378         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68379         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68380         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68383         intermediate variable to calculate exponent.
68384         (__sqr): Likewise.
68385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68386         Likewise.
68387         (__sqr): Likewise.
68389         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68390         [!NO__SQR]: Define __sqr.
68391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68392         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68393         sysdeps/ieee754/dbl-64/mpa.c.
68394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68396         [BZ #12723]
68397         * posix/Makefile (tests): Add tst-pathconf.
68398         * posix/tst-pathconf.c: New test case.
68399         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68400         _PC_PIPE_BUF.
68401         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68403 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68405         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68407 2013-03-06  Andreas Jaeger  <aj@suse.de>
68409         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68410         definition via __MAP_ANONYMOUS.
68412         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68413         it's not part of Linux headers.
68415         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68416         (MAP_HUGE_MASK): Define.
68418         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68419         Define.
68420         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68421         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68422         Define.
68423         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68424         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68425         Define.
68426         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68427         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68428         Define.
68429         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68431         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68432         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68433         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68434         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68435         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68436         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68438         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68439         Handle f2fs.
68441         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68442         Handle f2fs and efivarfs.
68444         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68445         f2fs.
68447         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68448         (EFIVARFS_MAGIC): Add.
68449         (F2FS_LINK_MAX): Add.
68451 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68453         * stdio-common/vfprintf.c: Replace __builtin_expect with
68454         __glibc_unlikely.
68456 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68458         [BZ #13550]
68459         * sysdeps/generic/bp-sym.h: Remove file.
68460         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68461         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68462         <bp-sym.h> and <bp-asm.h>.
68463         (__longjmp): Don't use BP_SYM.
68464         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68465         and <bp-asm.h>.
68466         (memcpy): Don't use BP_SYM.
68467         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68468         <bp-sym.h> and <bp-asm.h>.
68469         (memcpy): Don't use BP_SYM.
68470         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68471         <bp-asm.h>.
68472         (memcpy): Don't use BP_SYM.
68473         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68474         <bp-asm.h>.
68475         (memset): Don't use BP_SYM.
68476         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68477         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68478         (__bzero): Don't use BP_SYM.
68479         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68480         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68481         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68482         <bp-sym.h> and <bp-asm.h>.
68483         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68484         pointers.
68485         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68486         <bp-sym.h> and <bp-asm.h>.
68487         (memcpy): Don't use BP_SYM.
68488         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68489         <bp-sym.h> and <bp-asm.h>.
68490         (memset): Don't use BP_SYM.
68491         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68492         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68493         (__bzero): Don't use BP_SYM.
68494         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68495         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68496         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68497         <bp-sym.h> and <bp-asm.h>.
68498         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68499         pointers.
68500         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68501         <bp-sym.h> and <bp-asm.h>.
68502         (memcpy): Don't use BP_SYM.
68503         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68504         <bp-sym.h> and <bp-asm.h>.
68505         (memset): Don't use BP_SYM.
68506         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68507         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68508         (__bzero): Don't use BP_SYM.
68509         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68510         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68511         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68512         <bp-sym.h> and <bp-asm.h>.
68513         (__memchr): Don't use BP_SYM.
68514         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68515         <bp-sym.h> and <bp-asm.h>.
68516         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68517         pointers.
68518         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68519         <bp-sym.h> and <bp-asm.h>.
68520         (memcpy): Don't use BP_SYM.
68521         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68522         <bp-sym.h> and <bp-asm.h>.
68523         (__mempcpy): Don't use BP_SYM.
68524         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68525         <bp-sym.h> and <bp-asm.h>.
68526         (__memrchr): Don't use BP_SYM.
68527         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68528         <bp-sym.h> and <bp-asm.h>.
68529         (memset): Don't use BP_SYM.
68530         (__bzero): Likewise.
68531         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68532         <bp-sym.h> and <bp-asm.h>.
68533         (__rawmemchr): Don't use BP_SYM.
68534         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68535         <bp-sym.h> and <bp-asm.h>.
68536         (__STRCMP): Don't use BP_SYM.
68537         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68538         <bp-sym.h> and <bp-asm.h>.
68539         (strchr): Don't use BP_SYM.
68540         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68541         <bp-sym.h> and <bp-asm.h>.
68542         (__strchrnul): Don't use BP_SYM.
68543         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68544         <bp-sym.h> and <bp-asm.h>.
68545         (strlen): Don't use BP_SYM.
68546         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68547         <bp-sym.h> and <bp-asm.h>.
68548         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68549         pointers.
68550         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68551         <bp-sym.h> and <bp-asm.h>.
68552         (__strnlen): Don't use BP_SYM.
68553         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68554         <bp-sym.h> and <bp-asm.h>.
68555         (__GI__setjmp): Don't use BP_SYM.
68556         (_setjmp): Likewise.
68557         (__sigsetjmp): Likewise.
68558         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68559         (L(start_addresses)): Don't use BP_SYM.
68560         (_start): Likewise.
68561         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68562         <bp-asm.h>.
68563         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68564         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68565         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68566         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68567         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68568         <bp-asm.h>.
68569         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68570         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68571         about bounded pointers.
68572         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68573         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68574         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68575         <bp-asm.h>.
68576         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68577         about bounded pointers.  Remove GKM FIXME comments.
68578         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68579         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68580         <bp-asm.h>.
68581         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68582         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68583         Remove GKM FIXME comments.
68584         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68585         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68586         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68587         <bp-asm.h>.
68588         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68589         about bounded pointers.  Remove GKM FIXME comment.
68590         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68591         and <bp-asm.h>.
68592         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68593         pointers.
68594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68595         <bp-sym.h> and <bp-asm.h>.
68596         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68598         <bp-sym.h> and <bp-asm.h>.
68599         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68600         comment.
68602 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68604         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68605         call free(NULL).
68607 2013-03-05  David S. Miller  <davem@davemloft.net>
68609         * po/es.po: Update from translation team.
68611 2013-03-05  Andreas Jaeger  <aj@suse.de>
68613         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68614         <bits/mman-linux.h>.
68615         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68616         is fine.
68617         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68618         <bits/mman-linux.h> to end of file.
68619         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68620         is fine.
68621         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68622         <bits/mman-linux.h> to end of file.
68623         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68624         is fine.
68625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68626         <bits/mman-linux.h> to end of file.
68628         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68629         (MCL_CURRENT, MCL_FUTURE): Define here.
68631 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68633         [BZ #15232]
68634         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68635         attribute_hidden.
68636         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68638 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68640         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68641         fourth parameter needed for rt_sigprocmask syscall.
68642         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68643         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68644         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68645         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68646         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68647         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68649 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68651         [BZ #13550]
68652         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68653         comment about bounded pointers.
68654         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68655         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68657 2013-03-04  Andreas Jaeger  <aj@suse.de>
68659         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68660         common definitions.
68662         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68663         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68664         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68665         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68666         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68667         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68669 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68671         [BZ #15055]
68672         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68673         __ieee754_sqrl instead of __sqrl.
68675 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68677         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68678         * sysdeps/powerpc/fpu_control.h: ... here.
68679         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68680         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68681         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68682         * sysdeps/powerpc/bits/mathinline.h: ... here.
68684 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68686         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68687         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68688         to just [NEED_DL_SYSINFO_DSO].
68689         * elf/dl-support.c: Likewise.
68690         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68691         * elf/rtld.c (dl_main): Likewise.
68692         * elf/setup-vdso.h (setup_vdso): Likewise.
68693         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68694         * sysdeps/unix/sysv/linux/dl-sysdep.c
68695         (_dl_discover_osversion): Likewise.
68697 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68699         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68700         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68702 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68704         * NEWS: Mention libm performance improvements and non-x86 PI
68705         futex support.
68707         * csu/libc-start.c (__pthread_initialize_minimal): Change
68708         function arguments.
68709         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68711 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68713         [BZ #13550]
68714         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68715         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68716         <bp-sym.h> and <bp-asm.h>.
68717         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68718         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68719         and <bp-asm.h>.
68720         (memcpy): Don't use BP_SYM.
68721         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68722         <bp-asm.h>.
68723         (__mpn_add_n): Don't use BP_SYM.
68724         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68725         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68726         and <bp-asm.h>.
68727         (__mpn_addmul_1): Don't use BP_SYM.
68728         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68729         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68730         <bp-sym.h>.
68731         (_setjmp): Don't use BP_SYM.
68732         (__novmx_setjmp): Likewise.
68733         (__GI__setjmp): Likewise.
68734         (__vmx_setjmp): Likewise.
68735         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68736         <bp-sym.h>.
68737         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68738         (__bzero): Don't use BP_SYM.
68739         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68740         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68741         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68742         <bp-sym.h> and <bp-asm.h>.
68743         (memcpy): Don't use BP_SYM.
68744         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68745         <bp-sym.h> and <bp-asm.h>.
68746         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68747         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68748         <bp-sym.h> and <bp-asm.h>.
68749         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68750         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68751         <bp-asm.h>.
68752         (__mpn_lshift): Don't use BP_SYM.
68753         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68754         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68755         <bp-asm.h>.
68756         (memset): Don't use BP_SYM.
68757         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68758         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68759         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68760         <bp-asm.h>.
68761         (__mpn_mul_1): Don't use BP_SYM.
68762         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68763         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68764         <bp-sym.h> and <bp-asm.h>.
68765         (memcmp): Don't use BP_SYM.
68766         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68767         <bp-sym.h> and <bp-asm.h>.
68768         (memcpy): Don't use BP_SYM.
68769         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68770         <bp-sym.h> and <bp-asm.h>.
68771         (memset): Don't use BP_SYM.
68772         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68773         <bp-sym.h> and <bp-asm.h>.
68774         (strncmp): Don't use BP_SYM.
68775         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68776         <bp-sym.h> and <bp-asm.h>.
68777         (memcpy): Don't use BP_SYM.
68778         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68779         <bp-sym.h> and <bp-asm.h>.
68780         (memset): Don't use BP_SYM.
68781         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68782         <bp-sym.h> and <bp-asm.h>.
68783         (__memchr): Don't use BP_SYM.
68784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68785         <bp-sym.h> and <bp-asm.h>.
68786         (memcmp): Don't use BP_SYM.
68787         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68788         <bp-sym.h> and <bp-asm.h>.
68789         (memcpy): Don't use BP_SYM.
68790         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68791         <bp-sym.h> and <bp-asm.h>.
68792         (__mempcpy): Don't use BP_SYM.
68793         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68794         <bp-sym.h> and <bp-asm.h>.
68795         (__memrchr): Don't use BP_SYM.
68796         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68797         <bp-sym.h> and <bp-asm.h>.
68798         (memset): Don't use BP_SYM.
68799         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68800         <bp-sym.h> and <bp-asm.h>.
68801         (__rawmemchr): Don't use BP_SYM.
68802         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68803         <bp-sym.h> and <bp-asm.h>.
68804         (__STRCMP): Don't use BP_SYM.
68805         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68806         <bp-sym.h> and <bp-asm.h>.
68807         (strchr): Don't use BP_SYM.
68808         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68809         <bp-sym.h> and <bp-asm.h>.
68810         (__strchrnul): Don't use BP_SYM.
68811         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68812         <bp-sym.h> and <bp-asm.h>.
68813         (strlen): Don't use BP_SYM.
68814         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68815         <bp-sym.h> and <bp-asm.h>.
68816         (strncmp): Don't use BP_SYM.
68817         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68818         <bp-sym.h> and <bp-asm.h>.
68819         (__strnlen): Don't use BP_SYM.
68820         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68821         <bp-asm.h>.
68822         (__mpn_rshift): Don't use BP_SYM.
68823         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68824         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68825         <bp-sym.h> and <bp-asm.h>.
68826         (__sigsetjmp): Don't use BP_SYM.
68827         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68828         (L(start_addresses)): Don't use BP_SYM.
68829         (_start): Likewise.
68830         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68831         <bp-asm.h>.
68832         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68833         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68834         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68835         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68836         <bp-asm.h>.
68837         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68838         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68839         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68840         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68841         <bp-asm.h>.
68842         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68843         comments.
68844         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68845         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68846         <bp-asm.h>.
68847         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68848         FIXME comments.
68849         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68850         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68851         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68852         <bp-asm.h>.
68853         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68854         comment.
68855         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68856         and <bp-asm.h>.
68857         (strncmp): Don't use BP_SYM,
68858         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68859         <bp-asm.h>.
68860         (__mpn_sub_n): Don't use BP_SYM.
68861         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68862         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68863         and <bp-asm.h>.
68864         (__mpn_submul_1): Don't use BP_SYM.
68865         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68867         <bp-sym.h> and <bp-asm.h>.
68868         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68870         <bp-sym.h> and <bp-asm.h>.
68871         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68872         comment.
68874 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68877         Use ZK to minimize writes to Z.
68878         (sub_magnitudes): Simplify code a bit.
68879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68880         Use ZK to minimize writes to Z.
68881         (sub_magnitudes): Simplify code a bit.
68883 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68885         * csu/gmon-start.c: Add special exception to license text.
68887 2013-02-27  Richard Henderson  <rth@redhat.com>
68889         * scripts/config.guess: Update from config.git.
68890         * scripts/config.sub: Likewise.
68892 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68894         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68896         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68898         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68900         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68902         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68904 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68906         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68907         [$(build-shared = yes].
68909 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68911         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68912         (__mul): Reduce iterations for calculating mantissa.
68914         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68915         MPTWO.
68916         (__mpranred): Likewise.
68918         [BZ #15160]
68919         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68920         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68922 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68924         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68925         Define __attribute__.
68927 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68929         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68930         unused.
68931         * posix/regex_internal.h (__attribute): Remove.
68932         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68933         (re_string_context_at): Likewise.
68934         (bitset_not): Use __attribute__ and mark function as possibly
68935         unused.
68936         (bitset_merge): Likewise.
68937         (bitset_mask): Likewise.
68938         (re_string_char_size_at): Likewise.
68939         (re_string_wchar_at): Likewise.
68940         (re_string_elem_size_at): Likewise.
68942 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68944         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68945         code.
68946         (cc32): Likewise.
68948         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68949         (__acr): Likewise.
68950         (__cpy): Likewise.
68951         (norm): Likewise.
68952         (denorm): Likewise.
68953         (__dbl_mp): Likewise.
68954         (add_magnitudes): Likewise.
68955         (sub_magnitudes): Likewise.
68956         (__mul): Likewise.
68957         (__inv): Likewise.
68959         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68960         style.
68962         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68963         style.
68965         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68966         code.
68968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68969         up changes with default code.
68970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68971         Likewise.
68973 2013-02-24  Allan McRae  <allan@archlinux.org>
68975         * manual/socket.texi (The Internet Namespace): Order menu items
68976         to match that in the file.
68978         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68979         node listing of the info page menu.
68981 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68983         [BZ #13550]
68984         * sysdeps/i386/bp-asm.h: Remove file.
68985         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68986         (PARMS): Do not use macros from bp-asm.h.
68987         (S1): Likewise.
68988         (S2): Likewise.
68989         (SIZE): Likewise.
68990         (__mpn_add_n): Do not use BP_SYM
68991         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68992         "bp-asm.h".
68993         (PARMS): Do not use macros from bp-asm.h.
68994         (S1): Likewise.
68995         (SIZE): Likewise.
68996         (__mpn_addmul_1): Do not use BP_SYM
68997         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68998         "bp-asm.h".
68999         (PARMS): Do not use macros from bp-asm.h.
69000         (SIGMSK): Likewise.
69001         (_setjmp): Likewise.  Do not use BP_SYM.
69002         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
69003         "bp-asm.h".
69004         (PARMS): Do not use macros from bp-asm.h.
69005         (SIGMSK): Likewise.
69006         (setjmp): Likewise.  Do not use BP_SYM.
69007         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
69008         "bp-asm.h".
69009         (PARMS): Do not use macros from bp-asm.h.
69010         (__frexp): Do not use BP_SYM.
69011         (frexp): Likewise.
69012         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
69013         "bp-asm.h".
69014         (PARMS): Do not use macros from bp-asm.h.
69015         (__frexpf): Do not use BP_SYM.
69016         (frexpf): Likewise.
69017         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
69018         "bp-asm.h".
69019         (PARMS): Do not use macros from bp-asm.h.
69020         (__frexpl): Do not use BP_SYM.
69021         (frexpl): Likewise.
69022         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
69023         "bp-asm.h".
69024         (PARMS): Do not use macros from bp-asm.h.
69025         (__remquo): Do not use BP_SYM.
69026         (remquo): Likewise.
69027         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69028         "bp-asm.h".
69029         (PARMS): Do not use macros from bp-asm.h.
69030         (__remquof): Do not use BP_SYM.
69031         (remquof): Likewise.
69032         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
69033         "bp-asm.h".
69034         (PARMS): Do not use macros from bp-asm.h.
69035         (__remquol): Do not use BP_SYM.
69036         (remquol): Likewise.
69037         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
69038         "bp-asm.h".
69039         (PARMS): Do not use macros from bp-asm.h.
69040         (DEST): Likewise.
69041         (SRC): Likewise.
69042         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
69043         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69044         "bp-asm.h".
69045         (PARMS): Do not use macros from bp-asm.h.
69046         (strlen): Do not use BP_SYM.
69047         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
69048         "bp-asm.h".
69049         (PARMS): Do not use macros from bp-asm.h.
69050         (S1): Likewise.
69051         (S2): Likewise.
69052         (SIZE): Likewise.
69053         (__mpn_add_n): Do not use BP_SYM.
69054         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
69055         "bp-asm.h".
69056         (PARMS): Do not use macros from bp-asm.h.
69057         (S1): Likewise.
69058         (SIZE): Likewise.
69059         (__mpn_addmul_1): Do not use BP_SYM.
69060         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
69061         weak_alias.
69062         (bzero): Likewise.
69063         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
69064         "bp-asm.h".
69065         (PARMS): Do not use macros from bp-asm.h.
69066         (S): Likewise.
69067         (SIZE): Likewise.
69068         (__mpn_lshift): Do not use BP_SYM.
69069         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
69070         "bp-asm.h".
69071         (PARMS): Do not use macros from bp-asm.h.
69072         (DEST): Likewise.
69073         (SRC): Likewise.
69074         (LEN): Likewise.
69075         (memcpy): Likewise.  Do not use BP_SYM.
69076         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
69077         libc_hidden_def and weak_alias.
69078         (mempcpy): Do not use BP_SYM in weak_alias.
69079         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
69080         "bp-asm.h".
69081         (PARMS): Do not use macros from bp-asm.h.
69082         (DEST): Likewise.
69083         (LEN): Likewise.
69084         [!BZERO_P] (CHR): Likewise.
69085         (memset): Likewise.  Do not use BP_SYM.
69086         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
69087         "bp-asm.h".
69088         (PARMS): Do not use macros from bp-asm.h.
69089         (S1): Likewise.
69090         (SIZE): Likewise.
69091         (__mpn_mul_1): Do not use BP_SYM.
69092         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
69093         "bp-asm.h".
69094         (PARMS): Do not use macros from bp-asm.h.
69095         (S): Likewise.
69096         (SIZE): Likewise.
69097         (__mpn_rshift): Do not use BP_SYM.
69098         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
69099         "bp-asm.h".
69100         (PARMS): Do not use macros from bp-asm.h.
69101         (STR): Likewise.
69102         (CHR): Likewise.
69103         (strchr): Likewise.  Do not use BP_SYM.
69104         (index): Do not use BP_SYM in weak_alias.
69105         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69106         "bp-asm.h".
69107         (PARMS): Do not use macros from bp-asm.h.
69108         (DEST): Likewise.
69109         (SRC): Likewise.
69110         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
69111         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69112         "bp-asm.h".
69113         (PARMS): Do not use macros from bp-asm.h.
69114         (strlen): Do not use BP_SYM.
69115         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69116         "bp-asm.h".
69117         (PARMS): Do not use macros from bp-asm.h.
69118         (S1): Likewise.
69119         (S2): Likewise.
69120         (SIZE): Likewise.
69121         (__mpn_sub_n): Do not use BP_SYM.
69122         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69123         "bp-asm.h".
69124         (PARMS): Do not use macros from bp-asm.h.
69125         (S1): Likewise.
69126         (SIZE): Likewise.
69127         (__mpn_submul_1): Do not use BP_SYM.
69128         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69129         "bp-asm.h".
69130         (PARMS): Do not use macros from bp-asm.h.
69131         (S1): Likewise.
69132         (S2): Likewise.
69133         (SIZE): Likewise.
69134         (__mpn_add_n): Do not use BP_SYM.
69135         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69136         weak_alias.
69137         (bzero): Likewise.
69138         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69139         "bp-asm.h".
69140         (PARMS): Do not use macros from bp-asm.h.
69141         (BLK2): Likewise.
69142         (LEN): Likewise.
69143         (memcmp): Do not use BP_SYM.
69144         (bcmp): Do not use BP_SYM in weak_alias.
69145         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69146         "bp-asm.h".
69147         (PARMS): Do not use macros from bp-asm.h.
69148         (DEST): Likewise.
69149         (SRC): Likewise.
69150         (LEN): Likewise.
69151         (memcpy): Likewise.  Do not use BP_SYM.
69152         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
69153         "bp-asm.h".
69154         (PARMS): Do not use macros from bp-asm.h.
69155         (DEST): Likewise.
69156         (SRC): Likewise.
69157         (LEN): Likewise.
69158         (memmove): Likewise.  Do not use BP_SYM.
69159         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69160         "bp-asm.h".
69161         (PARMS): Do not use macros from bp-asm.h.
69162         (DEST): Likewise.
69163         (SRC): Likewise.
69164         (LEN): Likewise.
69165         (__mempcpy): Likewise.  Do not use BP_SYM.
69166         (mempcpy): Do not use BP_SYM in weak_alias.
69167         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69168         "bp-asm.h".
69169         (PARMS): Do not use macros from bp-asm.h.
69170         (DEST): Likewise.
69171         (LEN): Likewise.
69172         [!BZERO_P] (CHR): Likewise.
69173         (memset): Likewise.  Do not use BP_SYM.
69174         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69175         "bp-asm.h".
69176         (PARMS): Do not use macros from bp-asm.h.
69177         (STR2): Likewise.
69178         (strcmp): Do not use BP_SYM.
69179         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69180         "bp-asm.h".
69181         (PARMS): Do not use macros from bp-asm.h.
69182         (STR): Likewise.
69183         (DELIM): Likewise.
69184         [USE_AS_STRTOK_R] (SAVE): Likewise.
69185         (FUNCTION): Likewise.  Do not use BP_SYM.
69186         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69187         aliases.
69188         (strtok_r): Likewise.
69189         (__GI___strtok_r): Likewise.
69190         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69191         (PARMS): Do not use macros from bp-asm.h.
69192         (S): Likewise.
69193         (SIZE): Likewise.
69194         (__mpn_lshift): Do not use BP_SYM.
69195         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69196         (PARMS): Do not use macros from bp-asm.h.
69197         (STR): Likewise.
69198         (CHR): Likewise.
69199         (__memchr): Do not use BP_SYM.
69200         (memchr): Do not use BP_SYM in weak_alias.
69201         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69202         (PARMS): Do not use macros from bp-asm.h.
69203         (BLK2): Likewise.
69204         (LEN): Likewise.
69205         (memcmp): Do not use BP_SYM.
69206         (bcmp): Do not use BP_SYM in weak_alias.
69207         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69208         (PARMS): Do not use macros from bp-asm.h.
69209         (S1): Likewise.
69210         (SIZE): Likewise.
69211         (__mpn_mul_1): Do not use BP_SYM.
69212         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69213         "bp-asm.h".
69214         (PARMS): Do not use macros from bp-asm.h.
69215         (STR): Likewise.
69216         (CHR): Likewise.
69217         (__rawmemchr): Do not use BP_SYM.
69218         (rawmemchr): Do not use BP_SYM in weak_alias.
69219         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69220         (PARMS): Do not use macros from bp-asm.h.
69221         (S): Likewise.
69222         (SIZE): Likewise.
69223         (__mpn_rshift): Do not use BP_SYM.
69224         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69225         (PARMS): Do not use macros from bp-asm.h.
69226         (SIGMSK): Likewise.
69227         (__sigsetjmp): Likewise.  Do not use BP_SYM.
69228         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69229         (_start): Do not use BP_SYM.
69230         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69231         (PARMS): Do not use macros from bp-asm.h.
69232         (DEST): Likewise.
69233         (SRC): Likewise.
69234         (__stpcpy): Likewise.  Do not use BP_SYM.
69235         (stpcpy): Do not use BP_SYM in weak_alias.
69236         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69237         "bp-asm.h".
69238         (PARMS): Do not use macros from bp-asm.h.
69239         (DEST): Likewise.
69240         (SRC): Likewise.
69241         (LEN): Likewise.
69242         (__stpncpy): Likewise.  Do not use BP_SYM.
69243         (stpncpy): Do not use BP_SYM in weak_alias.
69244         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69245         (PARMS): Do not use macros from bp-asm.h.
69246         (STR): Likewise.
69247         (CHR): Likewise.
69248         (strchr): Likewise.  Do not use BP_SYM.
69249         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69250         "bp-asm.h".
69251         (PARMS): Do not use macros from bp-asm.h.
69252         (STR): Likewise.
69253         (CHR): Likewise.
69254         (__strchrnul): Likewise.  Do not use BP_SYM.
69255         (strchrnul): Do not use BP_SYM in weak_alias.
69256         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69257         "bp-asm.h".
69258         (PARMS): Do not use macros from bp-asm.h.
69259         (STOP): Likewise.
69260         (strcspn): Do not use BP_SYM.
69261         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69262         "bp-asm.h".
69263         (PARMS): Do not use macros from bp-asm.h.
69264         (STR): Likewise.
69265         (STOP): Likewise.
69266         (strpbrk): Likewise.  Do not use BP_SYM.
69267         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69268         "bp-asm.h".
69269         (PARMS): Do not use macros from bp-asm.h.
69270         (STR): Likewise.
69271         (CHR): Likewise.
69272         (strrchr): Likewise.  Do not use BP_SYM.
69273         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69274         (PARMS): Do not use macros from bp-asm.h.
69275         (SKIP): Likewise.
69276         (strspn): Do not use BP_SYM.
69277         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69278         (PARMS): Do not use macros from bp-asm.h.
69279         (STR): Likewise.
69280         (DELIM): Likewise.
69281         (SAVE): Likewise.
69282         (FUNCTION): Likewise.  Do not use BP_SYM.
69283         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69284         aliases.
69285         (strtok_r): Likewise.
69286         (__GI___strtok_r): Likewise.
69287         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69288         (PARMS): Do not use macros from bp-asm.h.
69289         (S1): Likewise.
69290         (S2): Likewise.
69291         (SIZE): Likewise.
69292         (__mpn_sub_n): Do not use BP_SYM.
69293         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69294         "bp-asm.h".
69295         (PARMS): Do not use macros from bp-asm.h.
69296         (S1): Likewise.
69297         (SIZE): Likewise.
69298         (__mpn_submul_1): Do not use BP_SYM.
69299         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69300         <bp-sym.h>.
69301         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69302         and <bp-asm.h>.
69303         (PARMS): Do not use macros from bp-asm.h.
69304         (FLAGS): Likewise.
69305         (PTID): Likewise.
69306         (TLS): Likewise.
69307         (CTID): Likewise.
69308         (__clone): Do not use BP_SYM.
69309         (clone): Do not use BP_SYM in weak_alias.
69310         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69311         and <bp-asm.h>.
69312         (PARMS): Do not use macros from bp-asm.h.
69313         (LEN): Likewise.
69314         (__mmap64): Do not use BP_SYM.
69315         (mmap64): Do not use BP_SYM in weak_alias.
69316         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69317         <bp-sym.h> and <bp-asm.h>.
69318         (PARMS): Do not use macros from bp-asm.h.
69319         (__posix_fadvise64_l64): Do not use BP_SYM.
69320         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69321         (PARMS): Do not use macros from bp-asm.h.
69322         (NSOPS): Likewise.
69323         (semtimedop): Do not use BP_SYM.
69324         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69325         and <bp-asm.h>.
69327 2013-02-21  Allan McRae  <allan@archlinux.org>
69329         * manual/message.texi (Charset conversion in gettext):
69330         Move @end statement to beginning of line.
69332 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69335         static.
69336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69337         Likewise.
69339         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69340         (denorm): Likewise.
69341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69344 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69346         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69347         tail-call to the resolved function if pltexit isn't needed.
69349 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69352         or Y being zero as being unlikely.
69353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69354         Likewise.
69356 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69358         * manual/nss.texi (System Databases and Name Service Switch):
69359         Remove frobnicate @pxref.
69361 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69363         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69364         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69366 2013-02-20  Petr Machata  <pmachata@redhat.com>
69368         * elf/elf.h (R_ARM_TARGET1): New macro.
69369         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69370         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69371         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69372         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69373         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69374         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69375         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69376         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69377         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69378         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69379         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69380         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69381         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69382         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69383         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69384         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69385         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69386         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69387         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69388         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69389         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69390         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69391         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69392         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69393         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69394         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69395         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69396         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69397         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69398         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69399         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69400         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69401         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69402         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69403         (R_ARM_THM_GOT_BREL12): Likewise.
69404         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69405         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69406         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69407         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69408         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69409         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69410         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69411         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69412         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69414 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69416         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69417         __attribute_used__ to __attribute__ ((unused)).
69419 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69421         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69422         powerpc mpa.c.
69423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69424         comment formatting.
69425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69427 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69429         [BZ #13550]
69430         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69431         Remove macro.
69432         (ENTER): Remove both macro definitions.
69433         (LEAVE): Likewise.
69434         (CHECK_BOUNDS_LOW): Likewise.
69435         (CHECK_BOUNDS_HIGH): Likewise.
69436         (CHECK_BOUNDS_BOTH): Likewise.
69437         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69438         (RETURN_BOUNDED_POINTER): Likewise.
69439         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69440         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69441         (POP_ERRNO_LOCATION_RETURN): Likewise.
69442         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69443         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69444         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69445         macros.
69446         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69447         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69448         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69449         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69450         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69451         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69452         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69453         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69454         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69455         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69456         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69457         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69458         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69459         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69460         removed macros.
69461         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69462         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69463         macros.
69464         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69465         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69466         * sysdeps/i386/i586/memset.S (memset): Likewise.
69467         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69468         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69469         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69470         macros.
69471         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69472         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69473         Change uses of L(2) to L(out).
69474         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69475         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69476         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69477         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69478         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69479         removed macros.
69480         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69481         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69482         macros.
69483         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69484         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69485         (RETURN): Do not use macro LEAVE.
69486         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69487         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69488         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69489         * sysdeps/i386/i686/memset.S (memset): Likewise.
69490         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69491         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69492         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69493         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69494         Likewise.
69495         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69496         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69497         L(1_2) and L(1_3) into L(1).
69498         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69499         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69500         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69501         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69502         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69503         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69504         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69505         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69506         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69507         macros.
69508         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69509         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69510         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69511         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69512         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69513         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69514         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69515         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69516         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69517         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69518         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69519         * sysdeps/i386/strspn.S (strspn): Likewise.
69520         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69521         conditional code.
69522         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69523         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69524         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69525         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69526         L(1_3) into L(1_1).
69527         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69528         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69529         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69530         macros.
69531         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69533 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69535         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69536         macro.
69538 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69540         * math/atest-exp.c (exp_mpn): Remove ROUND.
69541         * math/atest-exp2.c (exp_mpn): Likewise.
69542         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69544         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69545         * stdlib/tst-tls-atexit-lib.c: Likewise.
69546         * stdlib/tst-tls-atexit.c: Likewise.
69548 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69550         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69551         and __attribute_alloc_size__.
69553 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69555         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69556         __attribute_alloc_size__.
69557         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69558         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69560 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69562         * include/programs/xmalloc.h: New file.
69563         * catgets/gencat.c: Include it.
69564         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69565         * elf/pldd.c: Likewise.
69566         * iconv/iconv_charmap.c: Likewise.
69567         * iconv/iconvconfig.c: Likewise.
69568         * iconv/strtab.c: Likewise.
69569         * locale/programs/locale.c: Likewise.
69570         * locale/programs/localedef.h: Likewise.
69571         * locale/programs/simple-hash.c: Likewise.
69572         * nscd/nscd.h: Likewise.
69573         * nss/makedb.c: Likewise.
69574         * sysdeps/generic/ldconfig.h: Likewise.
69576 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69578         * Versions.def: Add GLIBC_2.18.
69579         * include/link.h (struct link_map): New member l_tls_dtor_count.
69580         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69581         (__call_tls_dtors): Likewise.
69582         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69583         __cxa_thread_atexit_impl.
69584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69585         Likewise.
69586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69587         Likewise.
69588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69589         Likewise.
69590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69591         Likewise.
69592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69594         Likewise.
69595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69596         Likewise.
69597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69599         Likewise.
69600         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69601         (tests): Add test case tst-tls-atexit.
69602         (modules-names): Add shared library for tst-tls-atexit.
69603         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69604         (GLIBC_PRIVATE): Add __call_tls_dtors.
69605         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69606         for libstdc++.
69607         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69608         * stdlib/tst-tls-atexit.c: New test case.
69609         * stdlib/tst-tls-atexit-lib.c: New test case.
69611         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69613         * elf/Versions (ld): Add _dl_find_dso_for_object.
69614         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69615         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69616         (dl_open_worker): Use _dl_find_dso_for_object.
69617         * elf/dl-sym.c (do_sym): Likewise.
69618         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69620 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69622         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69623         Syntactic changes only.
69624         (_dl_runtime_profile): Do a tail-call to the resolved function.
69626 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69628         [BZ #13550]
69629         * sysdeps/x86_64/bp-asm.h: Remove file.
69630         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69631         <bp-sym.h> and <bp-asm.h>.
69632         (__clone): Do not use BP_SYM.
69633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69634         <bp-sym.h> and <bp-asm.h>.
69635         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69636         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69637         "bp-asm.h".
69638         (_setjmp): Do not use BP_SYM.
69639         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69640         "bp-asm.h".
69641         (setjmp): Do not use BP_SYM.
69642         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69643         libc_hidden_def.
69644         (mempcpy): Do not use BP_SYM in weak_alias.
69645         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69646         "bp-asm.h".
69647         (strchr): Do not use BP_SYM.
69648         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69649         "bp-asm.h".
69650         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69651         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69652         (_start): Do not use BP_SYM.
69653         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69654         "bp-asm.h".
69655         (strcat): Do not use BP_SYM.
69656         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69657         "bp-asm.h".
69658         (STRCMP): Do not use BP_SYM.
69659         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69660         "bp-asm.h".
69661         (STRCPY): Do not use BP_SYM.
69662         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69663         "bp-asm.h".
69664         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69665         "bp-asm.h".
69666         (FUNCTION): Do not use BP_SYM.
69667         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69668         weak_alias.
69669         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69671 2013-02-17  Andreas Jaeger  <aj@suse.de>
69673         * time/Versions: Sort entries.
69674         * string/Versions: Likewise.
69675         * resolv/Versions: Likewise.
69676         * posix/Versions: Likewise.
69677         * iconv/Versions: Likewise.
69678         * elf/Versions: Likewise.
69679         * wcsmbs/Versions: Likewise.
69681 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69683         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69684         loop termination condition.
69686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69687         variable to calculate EZ.
69688         (__sqr): Likewise.
69690         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69691         the lower precision input.
69693 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69695         [BZ #13550]
69696         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69697         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69698         (run-via-rtld-prefix): Do not handle %-bp tests.
69699         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69700         (all-object-suffixes): Remove .ob.
69701         (bppfx): Remove variable.
69702         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69703         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69704         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69705         [$(build-bounded) = yes] (libtype.ob): Likewise.
69706         * Makerules (elide-routines.ob): Remove variable.
69707         (do-tests-clean): Do not handle *-bp.out.
69708         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69709         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69710         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69711         (tests): Do not include $(tests-bp.out).
69712         (xtests): Do not include $(xtests-bp.out).
69713         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69714         [$(build-bounded) = yes] ($(addprefix
69715         $(objpfx),$(binaries-bounded))): Remove rule.
69716         ($(objpfx)%-bp.out): Remove rule.
69717         * config.make.in (build-bounded): Remove variable.
69718         * crypt/Makefile [$(build-bounded) = yes]
69719         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69720         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69721         append to variable.
69722         [$(build-bounded) = yes] (install-lib): Likewise.
69723         [$(build-bounded) = yes] (generated): Likewise.
69724         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69725         Remove rule.
69726         * intl/Makefile [$(build-bounded) = yes]
69727         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69728         * math/Makefile [$(build-bounded) = yes]
69729         ($(tests:%=$(objpfx)%-bp): Likewise.
69730         * misc/Makefile [$(build-bounded) = yes]
69731         ($(objpfx)tst-tsearch-bp): Likewise.
69732         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69733         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69734         Remove dependency.
69735         * string/Makefile (o-objects.ob): Remove variable.
69736         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69737         (CFLAGS-.ob): Remove variable.
69738         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69739         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69740         both definitions of variable.
69741         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69742         (ASFLAGS-.ob): Remove variable.
69744 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69746         [BZ #13550]
69747         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69748         Remove __BOUNDED_POINTERS__ from condition.
69749         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69750         * string/bits/string2.h [!__NO_STRING_INLINES &&
69751         !__BOUNDED_POINTERS__]: Likewise.
69752         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69753         Likewise.
69754         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69755         Remove conditional code.
69756         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69757         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69758         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69759         condition.
69761         [BZ #13550]
69762         * csu/libc-start.c: Do not include <bp-sym.h>.
69763         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69764         * elf/dl-open.c: Do not include <bp-sym.h>.
69765         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69766         * math/fegetenv.c: Do not include <bp-sym.h>.
69767         (fegetenv): Do not use BP_SYM in versioned symbols.
69768         * nptl/sysdeps/pthread/bits/libc-lockP.h
69769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69770         <bp-sym.h>.
69771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69772         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69774         (__pthread_mutex_destroy): Likewise.
69775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69776         (__pthread_mutex_lock): Likewise.
69777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69778         (__pthread_mutex_trylock): Likewise.
69779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69780         (__pthread_mutex_unlock): Likewise.
69781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69782         (__pthread_mutexattr_init): Likewise.
69783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69784         (__pthread_mutexattr_destroy): Likewise.
69785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69786         (__pthread_mutexattr_settype): Likewise.
69787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69788         (__pthread_rwlock_init): Likewise.
69789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69790         (__pthread_rwlock_destroy): Likewise.
69791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69792         (__pthread_rwlock_rdlock): Likewise.
69793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69794         (__pthread_rwlock_tryrdlock): Likewise.
69795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69796         (__pthread_rwlock_wrlock): Likewise.
69797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69798         (__pthread_rwlock_trywrlock): Likewise.
69799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69800         (__pthread_rwlock_unlock): Likewise.
69801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69802         (__pthread_key_create): Likewise.
69803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69804         (__pthread_setspecific): Likewise.
69805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69806         (__pthread_getspecific): Likewise.
69807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69808         Likewise.
69809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69810         (_pthread_cleanup_push_defer): Likewise.
69811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69812         (_pthread_cleanup_pop_restore): Likewise.
69813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69814         (pthread_setcancelstate): Likewise.
69815         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69816         <bp-sym.h>.
69817         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69818         (memchr): Do not use BP_SYM in weak_alias.
69819         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69820         (fegetenv): Do not use BP_SYM in versioned symbols.
69821         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69822         (fesetenv): Do not use BP_SYM in versioned symbols.
69823         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69824         (feupdateenv): Do not use BP_SYM in versioned symbols.
69825         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69826         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69827         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69828         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69829         (open64): Do not use BP_SYM in weak_alias.
69830         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69831         (fegetenv): Do not use BP_SYM in versioned symbols.
69832         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69833         (fesetenv): Do not use BP_SYM in versioned symbols.
69834         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69835         (feupdateenv): Do not use BP_SYM in versioned symbols.
69836         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69837         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69838         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69839         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69840         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69841         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69842         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69843         <bp-sym.h>.
69844         (__libc_start_main): Do not use BP_SYM.
69846 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69849         redundant return line.
69850         (norm): Likewise.
69851         (denorm): Likewise.
69852         (dbl_mp): Likewise.
69853         (sub_magnitudes): Likewise.
69854         (__add): Likewise.
69855         (__sub): Likewise.
69856         (__mul): Likewise.
69857         (__inv): Likewise.
69858         (__dvd): Likewise.
69859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69860         (norm): Likewise.
69861         (denorm): Likewise.
69862         (dbl_mp): Likewise.
69863         (sub_magnitudes): Likewise.
69864         (__add): Likewise.
69865         (__sub): Likewise.
69866         (__mul): Likewise.
69867         (__inv): Likewise.
69868         (__dvd): Likewise.
69870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69871         instead of __mul.
69872         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69873         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69874         (cc32): Likewise.
69876         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69877         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69879         of __mul for squares.
69880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69881         function
69882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69883         Likewise.
69884         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69885         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69887 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69889         [BZ #13550]
69890         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69891         code.
69892         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69893         prototype or function definition.  Rename ubp_* variables and
69894         parameters.  Remove argv definitions conditional on
69895         [__BOUNDED_POINTERS__].
69896         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69897         * elf/dl-runtime.c (_dl_fixup): Likewise.
69898         * include/set-hooks.h (RUN_HOOK): Likewise.
69899         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69900         definition.
69901         * string/strcpy.c (strcpy): Do not use __unbounded.
69902         * sysdeps/generic/frame.h (struct layout): Likewise.
69903         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69904         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69905         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69906         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69907         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69908         (__backtrace): Likewise.
69909         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69910         use __ptrvalue.
69911         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69912         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69913         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69914         Likewise.
69915         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69916         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69917         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69918         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69919         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69920         Do not use __unbounded.
69921         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69922         Rename __unboundedrlimits parameter to rlimits in prototype.
69923         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69924         Do not use __unbounded.
69925         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69926         not use __ptrvalue.
69927         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69928         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69929         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69930         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69931         __ptrvalue or __unbounded.
69932         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69933         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69934         use __unbounded.
69935         (__new_msgctl): Do not use __ptrvalue.
69936         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69937         __unbounded.
69938         (__libc_msgrcv): Do not use __ptrvalue.
69939         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69940         startup_info): Do not use __unbounded.
69941         (__libc_start_main): Likewise.  Rename ubp_* variables and
69942         parameters.  Remove argv definitions conditional on
69943         [__BOUNDED_POINTERS__].
69944         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69945         __ptrvalue.
69946         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69947         use __unbounded.
69948         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69949         or __ptrvalue.
69950         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69951         use __unbounded.
69952         (__new_shmctl): Do not use __ptrvalue.
69953         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69954         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69955         Likewise.
69956         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69957         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69958         (__libc_sigaction): Likewise.
69959         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69960         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69961         Likewise.
69962         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69964 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69966         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69968         * string/mempcpy.c: Implement by calling memcpy.
69970 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69972         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69975         evaluation.
69977         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69978         values in the mantissa.
69980         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69981         minimize writes to Z.
69982         (sub_magnitudes): Simplify code a bit.
69984 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69986         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69987         from the message.  The linker prefixes all warnings with that already.
69989 2013-02-12  Andreas Schwab  <schwab@suse.de>
69991         [BZ #15078]
69992         * posix/regexec.c (extend_buffers): Add parameter min_len.
69993         (check_matching): Pass minimum needed length.
69994         (clean_state_log_if_needed): Likewise.
69995         (get_subexp): Likewise.
69996         * posix/Makefile (tests): Add bug-regex34.
69997         (bug-regex34-ENV): Define.
69998         * posix/bug-regex34.c: New file.
70000         [BZ #11561]
70001         * posix/regcomp.c (parse_bracket_exp): When looking up collating
70002         elements compare against the byte sequence of it, not its name.
70003         * posix/Makefile (tests): Add bug-regex35.
70004         (bug-regex35-ENV): Define.
70005         * posix/bug-regex35.c: New file.
70007 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70009         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
70010         comment.
70011         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
70012         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
70013         (CHECK_EOL): Add undef.
70015 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
70017         * bits/stdlib-bsearch.h: New file.
70018         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
70019         * stdlib/stdlib.h: Likewise.
70021 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70023         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
70024         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
70025         declaration.
70026         * manual/search.texi (Array Search Function): Add missing const in
70027         lfind prototype.
70028         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
70029         declaration to use rlim_t.
70030         (Basic Scheduling Functions): Remove erroneous const from
70031         sched_getparam prototype.  Remove erroneous * from
70032         sched_get_priority_max and sched_get_priority_min prototypes.
70033         (Resource Usage): Fix summary @comment on vtimes to refer to
70034         sys/vtimes.h rather than vtimes.h.
70035         Add missing *s in vtimes prototype.
70036         (Limits on Resources): Fix ulimit prototype to return long int.
70037         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
70038         prototypes to use long int rather than double.
70039         (BSD Random): Fix initstate and setstate to use char *, not void *.
70040         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
70041         prototype to make second argument 'struct aiocb64 *const[]'.
70042         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
70043         (Status of AIO Operations): Remove erroneous const in aio_return and
70044         aio_return64 prototypes.
70045         (Synchronizing I/O): Fix sync prototype to return void.
70046         * manual/startup.texi (Suboptions): Remove an erroneous const in
70047         getsubopt prototype.
70048         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
70049         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
70050         use size_t rather than int.
70051         (Scanning All Users): Likewise for getpwent_r.
70052         (Setting Groups): Add missing const to setgroups prototype.
70053         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
70054         * manual/socket.texi (Host Names): Fix gethostbyaddr and
70055         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
70056         'const void *' rather than 'const char *'.
70057         (Host Address Functions): Likewise for inet_ntop.
70058         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
70059         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
70060         ssize_t for return value.
70061         (Sending Data): Likewise for send, sendto, sendmsg.
70062         (Socket Option Functions): Add a missing const in setsockopt prototype.
70063         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
70064         use wchar_t for the argument.
70065         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
70066         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
70067         take no arguments.
70068         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
70069         double/float/long double for second argument.
70070         Fix return types of significand, significandf, significandl.
70071         * manual/filesys.texi (Setting Permissions): Use mode_t for second
70072         argument in fchmod prototype.
70073         (File Owner): Use uid_t and gid_t in fchown prototype.
70074         (File Times): Add const to utimes, futimes, and lutimes prototypes.
70075         (Making Special Files): Use mode_t and dev_t in mknod prototype.
70076         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
70077         use 'const struct dirent **' as argument types to CMP function pointer
70078         argument.
70079         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
70080         (File Times): Fix summary magic @comment for struct utimbuf and utime
70081         to refer to utime.h, not time.h.
70082         * manual/string.texi (Argz Functions): Add missing const in
70083         argz_extract and argz_next prototypes.
70084         (Finding Tokens in a String): Likewise for basename.
70085         (String/Array Comparison): Fix typo in wcscasecmp prototype.
70086         (Copying and Concatenation): Fix typo in wmemmove prototype.
70087         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
70088         (Signal Stack): Remove erroneous const in sigstack prototype.
70089         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70090         prototype.
70091         (Simple Calendar Time): Likewise for stime.
70092         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
70093         prototype.
70094         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
70095         say sys/sysctl.h instead.
70096         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
70097         and vsyslog prototypes.
70099 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70101         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70102         Remove.
70104 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70106         * misc/sys/mman.h: Fix typo in mremap comment.
70108 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70110         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70111         the '\0' terminator.
70113 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70115         [BZ #13550]
70116         * debug/segfault.c: Don't include <bp-checks.h>.
70117         * sysdeps/generic/bp-checks.h: Remove file.
70118         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70119         (__GETDENTS): Don't use CHECK_N.
70120         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70121         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70122         (__getgroups): Don't use CHECK_N.
70123         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70124         (setgroups): Don't use CHECK_N.
70125         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70126         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70127         (__libc_msgrcv): Don't use CHECK_N.
70128         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70129         (__libc_msgsnd): Don't use CHECK_N.
70130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70131         <bp-checks.h>.
70132         (__libc_pread): Don't use CHECK_N.
70133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70134         include <bp-checks.h>.
70135         (__libc_pread64): Don't use CHECK_N.
70136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70137         include <bp-checks.h>.
70138         (__libc_pwrite): Don't use CHECK_N.
70139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70140         include <bp-checks.h>.
70141         (__libc_pwrite64): Don't use CHECK_N.
70142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70143         <bp-checks.h>.
70144         (__libc_pread): Don't use CHECK_N.
70145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70146         include <bp-checks.h>.
70147         (__libc_pread64): Don't use CHECK_N.
70148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70149         include <bp-checks.h>.
70150         (__libc_pwrite): Don't use CHECK_N.
70151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70152         include <bp-checks.h>.
70153         (__libc_pwrite64): Don't use CHECK_N.
70154         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70155         (do_pread): Don't use CHECK_N.
70156         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70157         (do_pread64): Don't use CHECK_N.
70158         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70159         (do_pwrite): Don't use CHECK_N.
70160         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70161         (do_pwrite64): Don't use CHECK_N.
70162         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70163         (__libc_readv): Don't use CHECK_N.
70164         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70165         (semop): Don't use CHECK_N.
70166         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70167         <bp-checks.h>.
70168         (semtimedop): Don't use CHECK_N.
70169         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70170         (__libc_pread): Don't use CHECK_N.
70171         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70172         <bp-checks.h>.
70173         (__libc_pread64): Don't use CHECK_N.
70174         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70175         <bp-checks.h>.
70176         (__libc_pwrite): Don't use CHECK_N.
70177         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70178         <bp-checks.h>.
70179         (__libc_pwrite64): Don't use CHECK_N.
70180         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70181         <bp-checks.h>.
70182         (__libc_msgrcv): Don't use CHECK_N.
70183         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70184         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
70185         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70186         (__libc_writev): Don't use CHECK_N.
70188 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70190         * string/strcpy.c: Removed unused variable.
70192         * Makeconfig (+sysdep-includes): Define with := rather than =.
70193         Use an existing include/ subdir of each sysdeps dir before it.
70195 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70197         * nscd/connection.c (register_traced_file): Comment function.
70198         [HAVE_INOTIFY] (union __inev): Define.
70199         [HAVE_INOTIFY] (inotify_check_files): New function.
70200         [HAVE_INOTIFY] (clear_db_cache): Likewise.
70201         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70202         clear_db_cache.
70203         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70205 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70207         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70208         loaded if not already and that a failure is permanent.
70210 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70212         [BZ #15006]
70213         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70214         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70216 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70218         [BZ #13550]
70219         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70220         (CHECK_1_NULL_OK): Likewise.
70221         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70222         (__fxstat): Do not use CHECK_1.
70223         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70224         <bp-checks.h>.
70225         (___fxstat64): Do not use CHECK_1.
70226         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70227         <bp-checks.h>.
70228         (__fxstatat): Do not use CHECK_1.
70229         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70230         <bp-checks.h>.
70231         (__fxstatat64): Do not use CHECK_1.
70232         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70233         <bp-checks.h>.
70234         (__fxstat): Do not use CHECK_1.
70235         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70236         <bp-checks.h>.
70237         (__fxstatat): Do not use CHECK_1.
70238         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70239         <bp-checks.h>.
70240         (__getresgid): Do not use CHECK_1.
70241         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70242         <bp-checks.h>.
70243         (__getresuid): Do not use CHECK_1.
70244         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70245         <bp-checks.h>.
70246         (__lxstat): Do not use CHECK_1.
70247         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70248         <bp-checks.h>.
70249         (__old_msgctl): Do not use CHECK_1.
70250         (__new_msgctl): Likewise.
70251         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70252         <bp-checks.h>.
70253         (__new_setrlimit): Do not use CHECK_1.
70254         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70255         <bp-checks.h>.
70256         (__old_shmctl): Do not use CHECK_1.
70257         (__new_shmctl): Likewise.
70258         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70259         <bp-checks.h>.
70260         (__xstat): Do not use CHECK_1.
70261         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70262         (__lxstat): Do not use CHECK_1.
70263         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70264         <bp-checks.h>.
70265         (___lxstat64): Do not use CHECK_1.
70266         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70267         (__old_msgctl): Do not use CHECK_1.
70268         (__new_msgctl): Likewise.
70269         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70270         <bp-checks.h>.
70271         (__gettimeofday): Do not use CHECK_1.
70272         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70273         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70274         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70275         <bp-checks.h>.
70276         (__gettimeofday): Do not use CHECK_1.
70277         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70278         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70279         (__new_shmctl): Do not use CHECK_1.
70280         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70281         <bp-checks.h>.
70282         (do_sigtimedwait): Do not use CHECK_1.
70283         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70284         <bp-checks.h>.
70285         (do_sigwaitinfo): Do not use CHECK_1.
70286         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70287         <bp-checks.h>.
70288         (msgctl): Do not use CHECK_1.
70289         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70290         <bp-checks.h>.
70291         (shmctl): Do not use CHECK_1.
70292         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70293         (ustat): Do not use CHECK_1.
70294         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70295         <bp-checks.h>.
70296         (__fxstat): Do not use CHECK_1.
70297         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70298         <bp-checks.h>.
70299         (__fxstatat): Do not use CHECK_1.
70300         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70301         <bp-checks.h>.
70302         (__lxstat): Do not use CHECK_1.
70303         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70304         <bp-checks.h>.
70305         (__xstat): Do not use CHECK_1.
70306         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70307         (__xstat): Do not use CHECK_1.
70308         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70309         (___xstat64): Do not use CHECK_1.
70311         [BZ #13550]
70312         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70313         definitions.
70314         (CHECK_BOUNDS_HIGH): Likewise.
70315         * string/strcpy.c: Do not include <bp-checks.h>.
70316         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70318 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70320         * nscd/nscd-client.h (__nscd_drop_map_ref):
70321         Add __attribute__ ((unused)).
70322         * nis/nss-nisplus.h (niserr2nss): Likewise.
70324         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70325         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70327         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70328         Remove inline keyword.
70329         * include/rounding-mode.h (round_away): Likewise.
70330         * libio/wfileops.c (adjust_wide_data): Likewise.
70331         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70332         (__m128i_strloadu_tolower): Likewise.
70333         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70334         (__m128i_strloadu_tolower): Likewise.
70335         * time/mktime.c (ydhms_diff): Likewise.
70336         * locale/elem-hash.h (elem_hash): Likewise.
70337         * locale/setlocale.c (setdata): Likewise.
70338         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70339         (re_string_wchar_at): Likewise.
70340         (bitset_not, bitset_merge, bitset_mask): Likewise.
70341         [!(__GNUC__ > 3)] (inline): Remove macro.
70342         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70343         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70344         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70345         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70346         * string/memcmp.c (memcmp_bytes): Likewise.
70347         * locale/programs/locarchive.c (compute_hashval): Likewise.
70348         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70349         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70350         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70351         * nss/getent.c (print_rpc, print_protocols): Likewise.
70352         (print_passwd, print_group, print_aliases): Likewise.
70353         * nis/nss-nisplus.h (niserr2nss): Likewise.
70354         * nscd/connections.c (restart_p): Likewise.
70355         Change return type to bool.
70357 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70359         * Makeconfig (all-Depend-files): Add existing
70360         $(sorted-subdirs:=/Depend) files.
70361         (all-subdirs): Remove nss.
70362         * sysdeps/unix/inet/Subdirs: Add it here instead.
70363         * hesiod/Depend: New file.
70365         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70366         instead of calling alloca.
70368         * io/lseek.c (__lseek): Rename to __libc_lseek.
70369         Define __lseek as an alias.
70371         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70373 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70375         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70376         else clause and remove check for non-standard endianness.
70378 2013-02-04  David S. Miller  <davem@davemloft.net>
70380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70382 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70384         [BZ #13550]
70385         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70386         (__ubp_memchr): Remove prototype.
70387         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70388         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70389         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70390         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70391         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70392         Remove alias.
70393         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70394         (__ubp_memchr): Likewise.
70395         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70396         (__ubp_memchr): Likewise.
70397         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70398         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70399         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70400         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70401         CHECK_STRING.
70402         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70403         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70404         (__getcwd): Do not use CHECK_STRING.
70405         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70406         <bp-checks.h>.
70407         (__real_chown): Do not use CHECK_STRING.
70408         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70409         <bp-checks.h>.
70410         (fchownat): Do not use CHECK_STRING.
70411         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70412         CHECK_STRING.
70413         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70414         <bp-checks.h>.
70415         (__lchown): Do not use CHECK_STRING.
70416         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70417         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70418         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70419         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70421         include <bp-checks.h>.
70422         (truncate64): Do not use CHECK_STRING.
70423         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70424         <bp-checks.h>.
70425         (__real_chown): Do not use CHECK_STRING.
70426         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70427         <bp-checks.h>.
70428         (__lchown): Do not use CHECK_STRING.
70429         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70430         <bp-checks.h>.
70431         (__chown): Do not use CHECK_STRING.
70432         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70433         <bp-checks.h>.
70434         (truncate64): Do not use CHECK_STRING.
70435         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70436         Likewise.
70437         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70438         (__xmknod): Do not use CHECK_STRING.
70439         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70440         <bp-checks.h>.
70441         (__xmknodat): Do not use CHECK_STRING.
70442         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70443         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70445 2013-02-04  Andreas Schwab  <schwab@suse.de>
70447         [BZ #14142]
70448         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70449         * include/netdb.h: Likewise for h_errno.
70450         * elf/tst-stackguard1.c: Include <tls.h>.
70452 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70454         * elf/link.h (struct link_map): Extend the l_addr comment.
70455         * include/link.h (struct link_map): Likewise.
70457 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70459         [BZ #13550]
70460         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70461         (BOUNDED_1): Remove macro.
70462         * debug/backtrace.c: Don't include <bp-checks.h>.
70463         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70464         (__backtrace): Likewise.
70465         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70466         <bp-checks.h>.
70467         (__backtrace): Don't use BOUNDED_1.
70468         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70469         <bp-checks.h>.
70470         (__backtrace): Don't use BOUNDED_1.
70471         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70472         (__backtrace): Don't use BOUNDED_1.
70473         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70474         (shmat): Don't use BOUNDED_N.
70476 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70478         [BZ #13550]
70479         * sysdeps/generic/bp-start.h: Remove file.
70480         * csu/libc-start.c: Don't include <bp-start.h>.
70481         (LIBC_START_MAIN): Set up __environ directly instead of using
70482         INIT_ARGV_and_ENVIRON.
70483         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70484         <bp-start.h>.
70486         [BZ #13550]
70487         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70488         definitions.
70489         (CHECK_FCNTL): Likewise.
70490         (CHECK_N_PAGES): Likewise.
70492         [BZ #13550]
70493         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70494         definitions.
70495         (CHECK_SIGSET_NULL_OK): Likewise.
70496         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70497         <bp-checks.h>.
70498         (sigpending): Don't use CHECK_SIGSET.
70499         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70500         <bp-checks.h>.
70501         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70502         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70503         <bp-checks.h>.
70504         (do_sigsuspend): Don't use CHECK_SIGSET.
70505         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70506         use CHECK_SIGSET.
70507         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70508         (do_sigwait): Don't use CHECK_SIGSET.
70509         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70510         use CHECK_SIGSET.
70511         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70512         include <bp-checks.h>.
70513         (sigpending): Don't use CHECK_SIGSET.
70514         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70515         include <bp-checks.h>.
70516         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70517         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70518         <bp-checks.h>.
70519         (sigpending): Don't use CHECK_SIGSET.
70520         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70521         <bp-checks.h>.
70522         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70524         [BZ #13550]
70525         * sysdeps/generic/bp-semctl.h: Remove file.
70526         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70527         <bp-checks.h> and <bp-semctl.h>.
70528         (__old_semctl): Don't use CHECK_SEMCTL.
70529         (__new_semctl): Likewise.
70530         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70531         and <bp-semctl.h>.
70532         (__old_semctl): Don't use CHECK_SEMCTL.
70533         (__new_semctl): Likewise.
70534         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70535         <bp-checks.h> and <bp-semctl.h>.
70536         (__old_semctl): Don't use CHECK_SEMCTL.
70537         (__new_semctl): Likewise.
70538         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70539         <bp-checks.h> and <bp-semctl.h>.
70540         (semctl): Don't use CHECK_SEMCTL.
70542         [BZ #13550]
70543         * Makerules (elide-bp-thunks): Remove variable.
70544         (elide-routines.oS): Don't use $(elide-bp-thunks).
70545         (elide-routines.os): Likewise.
70546         (elide-routines.o): Likewise.
70547         (elide-routines.op): Likewise.
70548         (elide-routines.og): Likewise.
70549         (objects): Don't use $(bp-thunks).
70550         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70551         include.
70552         (common-generated): Do not add s-proto-bp.d.
70553         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70554         (int): Likewise.
70555         (typ): Likewise.
70556         Do not generate makefile rules for bounded-pointer thunks.
70557         * sysdeps/generic/bp-thunks.h: Remove file.
70558         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70559         * sysdeps/unix/s-proto-bp.S: Likewise.
70561         [BZ #15062]
70562         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70563         parts of result separately when argument is not close to line from
70564         -i to i and one part of argument is small.
70565         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70566         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70567         * math/libm-test.inc (cacos_test): Add more tests.
70568         (casin_test): Likewise.
70569         (casinh_test): Likewise.
70570         * sysdeps/i386/fpu/libm-test-ulps: Update.
70571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70573 2013-01-31  David S. Miller  <davem@davemloft.net>
70575         * po/de.po: Update from translation team.
70577 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70579         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70581 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70583         * configure.in (_AC_PROG_CC_C89): New definition.
70584         * configure: Regenerate.
70586         * configure.in (AC_PROG_CPP): New definition.
70587         * configure: Regenerate.
70589 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70591         * debug/tst-backtrace.h: New file.
70592         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70593         (ret): Remove variable.
70594         (x): Likewise.
70595         (FAIL): Remove macro.
70596         (NO_INLINE): Likewise.
70597         (fn1): Use match function instead of strstr.
70598         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70599         (ret): Remove variable.
70600         (x): Likewise.
70601         (FAIL): Remove macro.
70602         (NO_INLINE): Likewise.
70603         (fn): Use match function instead of strstr.
70604         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70605         (ret): Remove variable.
70606         (x): Likewise.
70607         (FAIL): Remove macro.
70608         (NO_INLINE): Likewise.
70609         (handle_signal): Use match function instead of strstr.
70610         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70611         (ret): Remove variable.
70612         (x): Likewise.
70613         (FAIL): Remove macro.
70614         (NO_INLINE): Likewise.
70615         (handle_signal): Use match function instead of strstr.
70617 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70619         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70621 2013-01-23  David S. Miller  <davem@davemloft.net>
70623         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70624         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70625         argument of CAS if possible.
70626         * sysdeps/sparc/sparc64/bits/atomic.h
70627         (__arch_compare_and_exchange_val_32_acq): Likewise.
70628         (__arch_compare_and_exchange_val_64_acq): Likewise.
70630 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70632         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70633         * sysdeps/posix/ulimit.c: ... this.
70634         Include <limits.h>.
70635         * sysdeps/unix/bsd/ulimit.c: Remove file.
70637 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70639         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70640         (LDFLAGS-tst-array5): Likewise.
70642 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70644         [BZ #15036]
70645         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70646         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70647         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70648         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70650 2013-01-21  David S. Miller  <davem@davemloft.net>
70652         * sysdeps/sparc/backtrace.c: New file.
70653         * sysdeps/sparc/sparc32/backtrace.h: New file.
70654         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70655         * sysdeps/sparc/sparc64/backtrace.h: New file.
70656         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70657         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70658         -funwind-tables.
70660 2013-01-21  Andreas Schwab  <schwab@suse.de>
70662         [BZ #15020]
70663         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70664         closed its stdout.
70666 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70669         "mpa2.h".
70670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70672 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70673             Mark Mitchell  <mark@codesourcery.com>
70674             Tom de Vries  <tom@codesourcery.com>
70675             Paul Pluzhnikov  <ppluzhnikov@google.com>
70677         * debug/tst-backtrace2.c: New file.
70678         * debug/tst-backtrace3.c: Likewise.
70679         * debug/tst-backtrace4.c: Likewise.
70680         * debug/tst-backtrace5.c: Likewise.
70681         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70682         (CFLAGS-tst-backtrace3.c): Likewise.
70683         (CFLAGS-tst-backtrace4.c): Likewise.
70684         (CFLAGS-tst-backtrace5.c): Likewise.
70685         (LDFLAGS-tst-backtrace2): Likewise.
70686         (LDFLAGS-tst-backtrace3): Likewise.
70687         (LDFLAGS-tst-backtrace4): Likewise.
70688         (LDFLAGS-tst-backtrace5): Likewise.
70689         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70690         tst-backtrace4 and tst-backtrace5.
70692 2013-01-18  Anton Blanchard  <anton@samba.org>
70693             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70695         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70696         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70697         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70698         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70700         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70701         "+r" and remove output regs list as redundant.  Add explicit inline
70702         asm to specify register of return val to work around compiler codegen
70703         bug.  Remove (int) cast on return value.  Add return type parameter to
70704         use in macro so that this macro does not truncate return value for
70705         64-bit values.
70706         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70707         pass to INTERNAL_VSYSCALL_NCS.
70708         (INLINE_VSYSCALL): Add 'long int' as return type to
70709         INTERNAL_VSYSCALL_NCS macro invocation.
70710         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70711         INTERNAL_VSYSCALL_NCS macro invocation.
70712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70714 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70716         [BZ #14496]
70717         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70718         Fix application of SIMD FP exception mask.
70720         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70721         mp_no from a power of two.
70722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70723         __mpexp_twomm1.  Use __pow_mp.
70725         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70726         multiplication.
70728 2013-01-17  David S. Miller  <davem@davemloft.net>
70730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70732 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70734         [BZ #15023]
70735         * include/complex.h: Condition contents on [!_COMPLEX_H].
70736         (__kernel_casinhf): New prototype.
70737         (__kernel_casinh): Likewise.
70738         (__kernel_casinhl): Likewise.
70739         * math/Makefile (libm_calls): Add k_casinh.
70740         * math/k_casinh.c: New file.
70741         * math/k_casinhf.c: Likewise.
70742         * math/k_casinhl.c: Likewise.
70743         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70744         finite nonzero arguments.
70745         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70746         finite nonzero arguments.
70747         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70748         finite nonzero arguments.
70749         * math/s_casinh.c: Do not include <float.h>.
70750         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70751         * math/s_casinhf.c: Do not include <float.h>.
70752         (__casinhf): Move code for finite nonzero arguments to
70753         k_casinhf.c.
70754         * math/s_casinhl.c: Do not include <float.h>.
70755         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70756         redefine.
70757         (__casinhl): Move code for finite nonzero arguments to
70758         k_casinhl.c.
70759         * math/libm-test.inc (cacos_test): Add more tests.
70760         * sysdeps/i386/fpu/libm-test-ulps: Update.
70761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70763 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70765         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70766         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70767         [!HAVE_MREMAP]: Remove [defined linux] case.
70768         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70770 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70772         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70774 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70776         * elf/elf.h (R_386_SIZE32): New relocation.
70777         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70778         R_386_SIZE32.
70779         (elf_machine_rela): Likewise.
70780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70781         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70783 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70785         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70786         (FP_FAST_FMA): Do not define.
70787         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70788         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70789         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70790         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70791         !_SOFT_FLOAT]: Likewise.
70792         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70793         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70794         value.
70795         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70796         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70797         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70798         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70799         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70800         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70801         file.
70803 2013-01-16  Andreas Schwab  <schwab@suse.de>
70805         [BZ #14327]
70806         * include/stdlib.h (__mktemp): Add declaration.
70807         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70808         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70810 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70812         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70813         definitions.
70814         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70815         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70816         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70817         definitions here.
70818         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70819         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70820         definitions.
70821         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70822         and ONE.
70823         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70824         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70825         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70826         definitions.
70827         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70828         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70829         definitions.
70830         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70832         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70834 2013-01-15  David S. Miller  <davem@davemloft.net>
70836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70837         trunc{,f} to libm-sysdep_routes.
70838         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70840         file.
70841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70843         file.
70844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70845         file.
70846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70848         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70849         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70850         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70851         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70852         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70853         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70856         nearbyint{,f} to libm-sysdep_routes.
70857         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70859         New file.
70860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70861         file.
70862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70863         New file.
70864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70865         file.
70866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70868         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70869         file.
70870         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70871         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70872         file.
70873         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70874         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70875         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70877         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70878         libc_feholdexcept and libc_fesetenv.
70880 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70882         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70884 2013-01-14  David S. Miller  <davem@davemloft.net>
70886         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70887         (SPARC_ASM_VIS2_IFUNC): Likewise.
70888         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70890         use of 'siam' instruction.
70891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70892         Likewise.
70893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70894         Likewise.
70895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70896         Likewise.
70897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70902         file.
70903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70904         file.
70905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70906         file.
70907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70908         file.
70909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70914         new VIS2 routines.
70915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70918         Likewise.
70919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70924         routines to libm-sysdep_routines.
70925         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70928         fdim/fdimf to libm-sysdep_routines.
70929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70930         file.
70931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70933         file.
70934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70937         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70938         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70939         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70940         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70942 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70944         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70945         to optimize copies.
70947         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70952         local variable MPTWO.
70953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70954         Likewise.
70956 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70958         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70959         GLOB_NOESCAPE.
70961 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70963         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70965 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70967         * manual/pattern.texi (glob_t): Document gl_flags.
70968         (glob64_t): Likewise.
70970 2013-01-11  David S. Miller  <davem@davemloft.net>
70972         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70973         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70974         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70975         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70976         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70977         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70978         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70979         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70980         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70981         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70982         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70983         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70984         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70986         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70987         sparc V9 rather than using V8 code.
70988         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70989         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70991         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70992         Move to...
70993         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70994         Here.
70996 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70998         [BZ #14941]
70999         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
71000         not in the main loop.
71001         * configure: Regenerated.
71003 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
71005         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
71006         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
71007         to just #else.
71008         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
71009         [!__GLIBC_HAVE_LONG_LONG] case.
71010         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
71011         condition to just #else.
71012         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71013         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
71014         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
71015         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
71016         unconditional.
71017         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
71018         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71019         #elif condition to just #else.
71020         * sysdeps/unix/sysv/linux/sys/sysmacros.h
71021         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
71022         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71023         #elif condition to just #else.
71025 2013-01-11  Steve Ellcey  <sellcey@mips.com>
71027         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
71028         (EF_MIPS_ARCH_64): Fix value.
71029         (EF_MIPS_ARCH_32R2): New.
71030         (EF_MIPS_ARCH_64R2): New.
71032 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
71034         * Makeconfig (+link-pie-before-libc): New.
71035         (+link-pie-after-libc): Likewise.
71036         (+link-pie-tests): Likewise.
71037         (+link-pie): Rewritten.
71038         (link-before-libc): Remove $(config-LDFLAGS).
71039         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
71040         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
71041         (config-LDFLAGS): Renamed to ...
71042         (rtld-LDFLAGS): This.
71043         (rtld-tests-LDFLAGS): New macro.
71044         (link-libc-rpath-link): Likewise.
71045         (link-libc-tests-rpath-link): Likewise.
71046         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
71047         (link-libc): Prepand $(link-libc-rpath-link).
71048         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
71049         (test-program-prefix): New macro.
71050         (test-via-rtld-prefix): Likewise.
71051         (test-program-cmd): Likewise.
71052         (host-test-program-cmd): Likewise.
71053         * Makefile ($(common-objpfx)testrun.sh): Replace
71054         $(run-program-prefix) with $(test-program-prefix).
71055         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
71056         $(rtld-LDFLAGS).
71057         ($(common-objpfx)shlib.lds): Likewise.
71058         (build-module-helper): Likewise.
71059         ($(common-objpfx)format.lds): Likewise.
71060         * Rules (binaries-pie-tests): New.
71061         (binaries-pie-notests): Likewise.
71062         (binaries-pie): Rewritten.
71063         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
71064         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
71065         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
71066         (make-test-out): Replace $(host-built-program-cmd) with
71067         $(host-test-program-cmd).
71068         * config.make.in (build-hardcoded-path-in-tests): New variable.
71069         * configure.in (--enable-hardcoded-path-in-tests): New configure
71070         option.
71071         (hardcoded_path_in_tests): New AC_SUBST.
71072         * configure: Regenerated.
71073         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
71074         $(built-program-cmd) with $(test-program-cmd).
71075         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
71076         (test_program_cmd): This.
71077         * elf/Makefile ($(objpfx)order.out): Run test with
71078         $(test-program-prefix).
71079         ($(objpfx)order2.out): Likewise.
71080         ($(objpfx)tst-initorder.out): Likewise.
71081         ($(objpfx)tst-initorder2.out): Likewise.
71082         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
71083         $(test-program-cmd).
71084         ($(objpfx)tst-array1-static.out): Likewise.
71085         ($(objpfx)tst-array2.out): Likewise.
71086         ($(objpfx)tst-array3.out): Likewise.
71087         ($(objpfx)tst-array4.out): Likewise.
71088         ($(objpfx)tst-array5.out): Likewise.
71089         ($(objpfx)tst-array5-static.out): Likewise.
71090         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
71091         $(test-program-cmd).
71092         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
71093         $(run-program-prefix) with $(test-program-prefix).
71094         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71095         (test_program_prefix): This.
71096         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
71097         $(run-program-prefix) with $(test-program-prefix).
71098         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
71099         (test_program_prefix): This.
71100         * iconvdata/tst-tables.sh: Likewise.
71101         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71102         $(run-program-prefix) with $(test-program-prefix).
71103         ($(objpfx)tst-translit.out): Likewise.
71104         ($(objpfx)tst-gettext2.out): Likewise.
71105         ($(objpfx)tst-gettext4.out): Likewise.
71106         ($(objpfx)tst-gettext6.out): Likewise.
71107         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71108         (test_program_prefix): This.
71109         * intl/tst-gettext2.sh: Likewise.
71110         * intl/tst-gettext4.sh  Likewise.
71111         * intl/tst-gettext6.sh: Likewise.
71112         * intl/tst-translit.sh: Likewise.
71113         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71114         with $(test-program-cmd).
71115         * libio/Makefile ($(objpfx)test-freopen.out): Replace
71116         $(run-program-prefix) with $(test-program-prefix).
71117         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71118         (test_program_prefix): This.
71119         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71120         $(run-program-prefix) with $(test-program-prefix).
71121         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71122         (test_program_prefix): This.
71123         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71124         * posix/Makefile ($(objpfx)globtest.out): Replace
71125         $(run-via-rtld-prefix) and $(test-wrapper) with
71126         $(test-program-prefix) and $(test-via-rtld-prefix).
71127         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71128         $(test-program-prefix).
71129         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71130         $(host-test-program-cmd).
71131         (tst-spawn-ARGS): Likewise.
71132         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71133         $(test-program-prefix).
71134         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71135         (test_via_rtld_prefix): This.
71136         (test_wrapper): Renamed to ...
71137         (test_program_prefix): This.
71138         (run_program_prefix): Replaced by test_program_prefix.
71139         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71140         (test_program_prefix): This.
71141         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71142         with $(host-test-program-cmd).
71143         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71144         $(run-program-prefix) with $(test-program-prefix).
71145         ($(objpfx)tst-printf.out): Likewise.
71146         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71147         $(test-program-cmd).
71148         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71149         (test_program_prefix): This.
71150         * stdio-common/tst-unbputc.sh: Likewise.
71151         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71152         $(run-program-prefix) with $(test-program-prefix).
71153         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71154         (test_program_prefix): This.
71155         * string/Makefile ($(objpfx)tst-svc.out):  Replace
71156         $(built-program-cmd) with $(test-program-cmd).
71158 2013-01-11  Andreas Jaeger  <aj@suse.de>
71160         [BZ #15003]
71161         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71162         value. Sync with Linux 3.7.
71164 2013-01-10  David S. Miller  <davem@davemloft.net>
71166         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71167         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71168         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71170 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71172         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71173         never set.
71174         * configure: Regenerated.
71176 2013-01-10  David S. Miller  <davem@davemloft.net>
71178         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71179         sparc V9 rather than using V8 code.
71180         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71181         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71183 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71185         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71186         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71187         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71188         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71189         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71190         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71191         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71192         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71193         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71194         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71195         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71196         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71197         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71198         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71199         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71200         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71201         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71202         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71203         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71204         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71205         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71206         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71207         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71208         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71209         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71210         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71211         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71213 2013-01-10  David S. Miller  <davem@davemloft.net>
71215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71217 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71219         * posix/Makefile (tests-static): New variable.
71220         (tests): Add $(tests-static).
71221         (tst-exec-static-ARGS): New variable.
71222         (tst-spawn-static-ARGS): Likewise.
71223         * posix/tst-exec-static.c: New file.
71224         * posix/tst-spawn-static.c: Likewise.
71225         * posix/tst-exec.c: Support run directly.
71226         * posix/tst-spawn.c: Likewise.
71228 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71230         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71231         long.
71232         * math/bits/mathcalls.h (llrint): Likewise.
71233         (llround): Likewise.
71234         * stdlib/stdlib.h (struct drand48_data): Likewise.
71235         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71236         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71237         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71238         Likewise.
71239         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71240         Likewise.
71241         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71242         (elf_greg_t): Likewise.
71243         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71244         (__jmp_buf): Likewise.
71245         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71246         definitions.
71247         (llrint): Likewise, for all definitions.
71248         (llrintl): Likewise.
71250         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71251         Remove [__GNUC__] condition.
71252         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71253         condition to just [__USE_ISOC99].
71254         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71256 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71258         [BZ #14200]
71259         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71260         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71261         defined.
71262         (_POSIX_V6_ILP32_OFF32): Likewise.
71263         (_XBS5_ILP32_OFF32): Likewise.
71264         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71265         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71267 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71269         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71272         doubles __mpexp_twomm1.  Adjust usage.
71273         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71274         Remove.
71276 2013-01-10  Andreas Schwab  <schwab@suse.de>
71278         [BZ #14964]
71279         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71280         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71282 2013-01-09  David S. Miller  <davem@davemloft.net>
71284         [BZ #15003]
71285         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71286         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71287         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71288         (TCP_FASTOPEN): Define.
71289         (tcp_repair_opt): New structure.
71290         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71291         enum values.
71292         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71293         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71294         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71295         (tcp_cookie_transactions): New structure.
71297 2013-01-09  Anton Blanchard  <anton@samba.org>
71299         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71300         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71302         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71304 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71306         * include/features.h (__USE_ANSI): Remove.
71308 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71310         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71312         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71314 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71316         * sysdeps/s390/fpu/libm-test-ulps: Update.
71318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71320         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71321         (__acr): Likewise.
71322         (__cpy): Likewise.
71323         (norm): Likewise.
71324         (denorm): Likewise.
71325         (__mp_dbl): Likewise.
71326         (__dbl_mp): Likewise.
71327         (add_magnitudes): Likewise.
71328         (sub_magnitudes): Likewise.
71329         (__add): Likewise.
71330         (__sub): Likewise.
71331         (__mul): Likewise.
71332         (__inv): Likewise.
71333         (__dvd): Likewise.
71334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71335         (__acr): Likewise.
71336         (__cpy): Likewise.
71337         (norm): Likewise.
71338         (denorm): Likewise.
71339         (__mp_dbl): Likewise.
71340         (__dbl_mp): Likewise.
71341         (add_magnitudes): Likewise.
71342         (sub_magnitudes): Likewise.
71343         (__add): Likewise.
71344         (__sub): Likewise.
71345         (__mul): Likewise.
71346         (__inv): Likewise.
71347         (__dvd): Likewise.
71348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71349         (__acr): Likewise.
71350         (__cpy): Likewise.
71351         (norm): Likewise.
71352         (denorm): Likewise.
71353         (__mp_dbl): Likewise.
71354         (__dbl_mp): Likewise.
71355         (add_magnitudes): Likewise.
71356         (sub_magnitudes): Likewise.
71357         (__add): Likewise.
71358         (__sub): Likewise.
71359         (__mul): Likewise.
71360         (__inv): Likewise.
71361         (__dvd): Likewise.
71363 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71365         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71366         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71367         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71368         2 && __USE_EXTERN_INLINES]: Likewise.
71370 2013-01-08  Andreas Jaeger  <aj@suse.de>
71372         [BZ #14985]
71373         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71374         Remove.
71375         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71376         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71378 2013-01-07  Anton Blanchard  <anton@samba.org>
71380         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71381         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71382         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71383         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71384         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71385         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71386         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71387         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71389         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71390         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71391         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71392         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71393         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71394         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71395         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71396         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71397         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71398         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71399         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71400         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71401         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71402         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71403         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71404         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71405         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71406         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71407         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71408         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71409         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71410         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71412         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71413         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71414         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71415         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71416         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71417         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71418         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71419         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71420         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71422         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71424 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71426         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71427         (__MALLOC_PMT): Likewise.
71428         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71429         [__GNUC__], only on [_LIBC].
71430         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71431         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71432         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71433         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71434         forward declaration.
71435         (realloc_hook_ini): Likewise.
71436         (memalign_hook_ini): Likewise.
71437         (__libc_memalign): Do not use __MALLOC_PMT in variable
71438         declaration.
71439         (__libc_valloc): Likewise.
71440         (__libc_pvalloc): Likewise.
71441         (__libc_calloc): Likewise.
71442         (__posix_memalign): Likewise.
71444         [BZ #14996]
71445         * math/s_casinh.c: Include <float.h>.
71446         (__casinh): Do not do computation with squaring and square root
71447         for large arguments.
71448         * math/s_casinhf.c: Include <float.h>.
71449         (__casinhf): Do not do computation with squaring and square root
71450         for large arguments.
71451         * math/s_casinhl.c: Include <float.h>.
71452         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71453         (__casinhl): Do not do computation with squaring and square root
71454         for large arguments.
71455         * math/libm-test.inc (casin_test): Add more tests.
71456         (casinh_test): Likewise.
71457         * sysdeps/i386/fpu/libm-test-ulps: Update.
71458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71460 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71462         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71463         (__x86_64_raw_data_cache_size): Likewise.
71464         (__x86_64_data_cache_size_half): Likewise.
71465         (__x86_64_raw_data_cache_size_half): Likewise.
71466         (__x86_64_shared_cache_size): Likewise.
71467         (__x86_64_raw_shared_cache_size): Likewise.
71468         (__x86_64_shared_cache_size_half): Likewise.
71469         (__x86_64_raw_shared_cache_size_half): Likewise.
71470         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71471         to ...
71472         (__x86_data_cache_size): This.
71473         (__x86_64_raw_data_cache_size): Renamed to ...
71474         (__x86_raw_data_cache_size): This.
71475         (__x86_64_data_cache_size_half): Renamed to ...
71476         (__x86_data_cache_size_half): This.
71477         (__x86_64_raw_data_cache_size_half): Renamed to ...
71478         (__x86_raw_data_cache_size_half): This.
71479         (__x86_64_shared_cache_size): Renamed to ...
71480         (__x86_shared_cache_size): This.
71481         (__x86_64_raw_shared_cache_size): Renamed to ...
71482         (__x86_raw_shared_cache_size): This.
71483         (__x86_64_shared_cache_size_half): Renamed to ...
71484         (__x86_shared_cache_size_half): This.
71485         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71486         (__x86_raw_shared_cache_size_half): This.
71487         * sysdeps/x86_64/memcpy.S: Updated.
71488         * sysdeps/x86_64/memset.S: Likewise.
71489         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71490         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71491         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71493 2013-01-04  David S. Miller  <davem@davemloft.net>
71495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71497 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71499         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71500         1 to avoid redefinition warning.
71501         (__USE_GNU): Don't define.
71502         (init_signaling_nan): Protoize.
71504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71506 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71508         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71510         (__cpymn): Likewise.
71511         (norm): Remove commented code.
71512         (denorm): Likewise.
71513         (__mp_dbl): Likewise.
71514         (__inv): Likewise.
71515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71516         (__cpymn): Likewise.
71517         (norm): Remove commented code.
71518         (denorm): Likewise.
71519         (__mp_dbl): Likewise.
71520         (__inv): Likewise.
71522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71523         mp_no value for 1.0 and 2.0.
71524         (norm): Use RADIXI instead of radixi.d.
71525         (denorm): Likewise.
71526         (__mul): Use 0.0 instead of zero.d.
71527         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71528         mp_no value for 1.0 and 2.0.
71529         (norm): Use RADIXI instead of radixi.d.
71530         (denorm): Likewise.
71531         (__mul): Use 0.0 instead of zero.d.
71533 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71535         [BZ #14994]
71536         * math/s_casinh.c (__casinh): Reduce finite argument to first
71537         quadrant then set signs of results at the end.
71538         * math/s_casinhf.c (__casinhf): Likewise.
71539         * math/s_casinhl.c (__casinhl): Likewise.
71540         * math/libm-test.inc (casin_test): Add more tests.
71541         (casinh_test): Likewise.
71542         * sysdeps/i386/fpu/libm-test-ulps: Update.
71543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71545 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71547         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71549         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71551         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71552         declarations.
71553         (denorm): Likewise.
71554         (__mp_dbl): Likewise.
71555         (__inv): Likewise.
71557         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71558         and adjust the header comment.
71560         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71561         variable name from declaration.
71563 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71566         Initialize COMMON_CPUID_INDEX_7 element.
71567         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71568         (CPUID_RTM): Likewise.
71569         (HAS_RTM): Likewise.
71570         (COMMON_CPUID_INDEX_7): New enum.
71572 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71574         [BZ #14981]
71575         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71576         size is zero, record memory as freed.
71578 2013-01-03  Andreas Jaeger  <aj@suse.de>
71580         * po/ia.po: Add new Interlingua translation.
71582 2012-01-03  Allan McRae  <allan@archlinux.org>
71584         * locale/programs/localedef.c: Fix description of '--posix' flag.
71586 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71588         * NEWS: Update dates in second copyright notice.
71589         * README: Update copyright dates in example.
71590         * manual/libc.texinfo: Update copyright dates.
71591         * scripts/test-installation.pl: Update copyright date in --version
71592         output.
71594         * hurd/ctty-input.c: Fix copyright notice formatting.
71595         * hurd/ctty-output.c: Likewise.
71596         * hurd/dtable.c: Likewise.
71597         * hurd/hurd-raise.c: Likewise.
71598         * hurd/hurdprio.c: Likewise.
71599         * hurd/msgportdemux.c: Likewise.
71600         * misc/sys/file.h: Likewise.
71601         * misc/sys/ioctl.h: Likewise.
71602         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71603         * sysdeps/mach/hurd/chdir.c: Likewise.
71604         * sysdeps/mach/hurd/fchdir.c: Likewise.
71605         * sysdeps/mach/hurd/rename.c: Likewise.
71606         * sysdeps/mach/hurd/rmdir.c: Likewise.
71607         * sysdeps/mach/hurd/seekdir.c: Likewise.
71608         * sysdeps/mach/hurd/setsid.c: Likewise.
71609         * sysdeps/posix/wait3.c: Likewise.
71611         * All files with FSF copyright notices: Update copyright dates
71612         using scripts/update-copyrights.
71613         * intl/plural.c: Regenerated.
71614         * locale/programs/charmap-kw.h: Likewise.
71615         * locale/programs/locfile-kw.h: Likewise.
71617 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71619         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71620         four values.
71622         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71623         calculation loop and add branch prediction.
71625         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71626         check access beyond bounds of m1np.
71628         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71629         MPTWO.
71630         (__inv): Remove local variable MPTWO to use the global
71631         constant.
71632         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71633         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71634         variable MPTWO.
71635         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71636         MP3HALFS static const.
71638 2013-01-01  David S. Miller  <davem@davemloft.net>
71640         * po/ca.po: Update from translation team.
71642 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71644         * scripts/update-copyrights: New file.
71645         * Makeconfig: Reformat copyright notice.
71646         * ctype/ctype.h: Likewise.
71647         * debug/swprintf_chk.c: Likewise.
71648         * elf/dl-cache.c: Likewise.
71649         * elf/dl-debug.c: Likewise.
71650         * elf/dl-object.c: Likewise.
71651         * grp/initgroups.c: Likewise.
71652         * hurd/Makefile: Likewise.
71653         * hurd/hurd/signal.h: Likewise.
71654         * hurd/hurdfault.c: Likewise.
71655         * hurd/hurdioctl.c: Likewise.
71656         * hurd/hurdlookup.c: Likewise.
71657         * hurd/intr-msg.c: Likewise.
71658         * iconv/gconv_open.c: Likewise.
71659         * libio/swprintf.c: Likewise.
71660         * locale/lc-ctype.c: Likewise.
71661         * locale/nl_langinfo.c: Likewise.
71662         * mach/Machrules: Likewise.
71663         * mach/Makefile: Likewise.
71664         * malloc/obstack.h: Likewise.
71665         * manual/Makefile: Likewise.
71666         * manual/tsort.awk: Likewise.
71667         * misc/bits/stab.def: Likewise.
71668         * nis/nis_print_group_entry.c: Likewise.
71669         * nis/nis_table.c: Likewise.
71670         * nis/nss_compat/compat-pwd.c: Likewise.
71671         * nis/nss_compat/compat-spwd.c: Likewise.
71672         * po/Makefile: Likewise.
71673         * posix/fnmatch.c: Likewise.
71674         * posix/regex.h: Likewise.
71675         * resolv/Makefile: Likewise.
71676         * resolv/nss_dns/dns-network.c: Likewise.
71677         * resolv/res_hconf.c: Likewise.
71678         * scripts/gen-sorted.awk: Likewise.
71679         * soft-fp/soft-fp.h: Likewise.
71680         * stdio-common/printf.h: Likewise.
71681         * stdlib/monetary.h: Likewise.
71682         * stdlib/random.c: Likewise.
71683         * stdlib/random_r.c: Likewise.
71684         * sysdeps/generic/Makefile: Likewise.
71685         * sysdeps/gnu/Makefile: Likewise.
71686         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71688         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71689         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71690         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71691         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71692         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71693         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71694         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71696         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71697         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71698         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71699         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71700         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71701         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71702         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71703         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71704         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71705         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71706         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71707         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71708         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71709         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71710         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71711         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71712         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71713         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71714         * sysdeps/mach/hurd/errnos.awk: Likewise.
71715         * sysdeps/mach/hurd/fork.c: Likewise.
71716         * sysdeps/mach/hurd/getcwd.c: Likewise.
71717         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71718         * sysdeps/mach/hurd/mmap.c: Likewise.
71719         * sysdeps/mach/hurd/utimes.c: Likewise.
71720         * sysdeps/mach/hurd/xmknod.c: Likewise.
71721         * sysdeps/posix/profil.c: Likewise.
71722         * sysdeps/posix/readdir_r.c: Likewise.
71723         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71724         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71725         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71726         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71728         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71729         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71730         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71732         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71733         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71734         * sysdeps/pthread/lio_listio.c: Likewise.
71735         * sysdeps/sparc/dl-procinfo.h: Likewise.
71736         * sysdeps/unix/i386/sysdep.S: Likewise.
71737         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71738         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71739         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71740         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71742         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71743         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71744         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71745         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71746         * sysdeps/wordsize-32/divdi3.c: Likewise.
71747         * time/sys/time.h: Likewise.
71748         * wcsmbs/Makefile: Likewise.
71750 2013-01-01  David S. Miller  <davem@davemloft.net>
71752         * po/fr.po: Update from translation team.
71754         * catgets/gencat.c: Update copyright year.
71755         * csu/version.c: Likewise.
71756         * debug/catchsegv.sh: Likewise.
71757         * debug/pcprofiledump.c: Likewise.
71758         * debug/xtrace.sh: Likewise.
71759         * elf/ldconfig.c: Likewise.
71760         * elf/ldd.bash.in: Likewise.
71761         * elf/pldd.c: Likewise.
71762         * elf/sotruss.ksh: Likewise.
71763         * elf/sprof.c: Likewise.
71764         * iconv/iconv_prog.c: Likewise.
71765         * iconv/iconvconfig.c: Likewise.
71766         * locale/programs/locale.c: Likewise.
71767         * locale/programs/localedef.c: Likewise.
71768         * login/programs/pt_chown.c: Likewise.
71769         * malloc/memusage.sh: Likewise.
71770         * malloc/memusagestat.c: Likewise.
71771         * malloc/mtrace.pl: Likewise.
71772         * nscd/nscd.c: Likewise.
71773         * nss/getent.c: Likewise.
71774         * nss/makedb.c: Likewise.
71775         * posix/getconf.c: Likewise.
71777 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71779         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71780         numbers.
71782 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71784         * math/bits/mathcalls.h (modf): Use __nonnull.
71786 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71788         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71789         (split): Use macro CN instead of the bare value.
71790         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71791         could be used.
71792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71793         instead of the bare value.
71794         (power1): Likewise.
71796 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71798         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71799         __ATAN_TWOM.
71800         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71802         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71803         their values.
71804         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71805         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71806         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71807         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71809 2012-12-28  Andreas Jaeger  <aj@suse.de>
71811         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71812         values are from Linux 3.7.
71814         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71815         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71817 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71819         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71820         TRUE case.
71822         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71823         (norm): Likewise.
71824         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71825         variables with preprocessor constants.
71826         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71827         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71828         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71830 2012-12-27  Bruno Haible  <bruno@clisp.org>
71832         [BZ #14317]
71833         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71834         only if needed.
71836 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71839         and use variable directly.
71840         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71842         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71843         MPONE.
71844         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71845         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71846         variable MPONE.
71847         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71848         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71849         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71850         include directive.  Remove local variable MPONE.
71851         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71852         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71853         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71855 2012-12-25  David S. Miller  <davem@davemloft.net>
71857         * version.h (RELEASE): Set to "development".
71858         (VERSION): Set to "2.17.90".
71859         * NEWS: Add 2.18 section.
71861 2012-12-21  David S. Miller  <davem@davemloft.net>
71863         * po/hr.po: Update from translation team.
71865 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71867         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71869 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71871         * NEWS:  Mention new memcpy for MIPS.
71873 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71875         * manual/contrib.texi (Contributors): Spelling correction.
71877 2012-12-15  David S. Miller  <davem@davemloft.net>
71879         * po/ru.po: Update from translation team.
71881 2012-12-13  David S. Miller  <davem@davemloft.net>
71883         * NEWS: Mention IFUNC testsuite enhancements.
71885         * po/pl.po: Update from translation team.
71886         * po/bg.po: Likewise.
71888         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71889         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71891 2012-12-11  David S. Miller  <davem@davemloft.net>
71893         * po/sv.po: Update from translation team.
71895         * po/vi.po: Update from translation team.
71897         * po/cs.po: Update from translation team.
71899         * po/de.po: Update from translation team.
71900         * po/eo.po: Likewise.
71901         * po/nl.po: Likewise.
71903 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71905         [BZ #14246]
71906         * manual/argp.texi (Argp Helper Functions): Move node to follow
71907         Argp Parsing State.
71909         [BZ #14872]
71910         * manual/conf.texi (Limits on File System Capacity): Mention if
71911         terminating null is included in the max size.
71913 2012-12-10  Andreas Jaeger  <aj@suse.de>
71915         * po/cs.po: Update from translation team.
71917 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71919         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71920         void pointer and cast to uintptr_t.
71921         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71922         path.
71923         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71924         * sysdeps/s390/s390-64/memset.S: Likewise.
71926 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71928         [BZ #14833]
71929         * menual/message.texi (Message Translation): Fix typos.
71930         (Helper programs for gettext): Likewise.
71932 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71934         [BZ #14898]
71935         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71936         Change to -1.
71938 2012-12-07  David S. Miller  <davem@davemloft.net>
71940         * po/libc.pot: Update.
71942 2012-12-07  Richard Henderson  <rth@redhat.com>
71944         [BZ #10114]
71945         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71946         normal/normal case to before the switch.
71947         (_FP_DIV): Likewise.
71949 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71950             Mike Frysinger  <vapier@gentoo.org>
71952         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71953         check for __NR_fadvise64_64.
71955 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71957         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71958         0, not just to plain "0" as a statement.
71959         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71960         with cw.
71962 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71964         * NEWS: Use sourceware.org in Bugzilla URL.
71966 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71969         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71971         * stdio-common/tst-put-error.c (do_test): Add newline to the
71972         padded test to ensure flush.
71974 2012-12-05  Jeff Law  <law@redhat.com>
71976         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71978 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71980         * README: Don't refer to ports add-on as distributed separately.
71981         Mention AArch64 in list of systems supported in the ports add-on.
71983         * LICENSES: Add more non-FSF copyright and license notices.
71985         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71986         ((unused)).
71988         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71990         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71991         10000 as width of padded output.
71993 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71995         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71997         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71998         variable LX with __attribute__ ((unused)).
71999         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
72000         Likewise.
72001         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
72002         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72004         with __attribute__ ((unused)).
72006 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
72008         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
72010 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72012         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
72013         (CFLAGS-nldbl-acos.c): New variable.
72014         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
72015         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
72016         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
72017         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
72018         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
72019         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
72020         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
72021         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
72022         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
72023         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
72024         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
72025         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
72026         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
72027         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
72028         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
72029         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
72030         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
72031         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
72032         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
72033         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
72034         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
72035         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
72036         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72037         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
72038         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
72039         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
72040         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
72041         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
72042         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
72043         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
72044         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72045         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
72046         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
72047         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
72048         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
72049         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
72050         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
72051         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
72052         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
72053         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
72054         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
72055         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
72056         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
72057         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
72058         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
72059         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
72060         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
72061         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
72062         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
72063         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
72064         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
72065         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72066         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
72067         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
72068         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
72069         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
72070         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
72071         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
72072         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
72073         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
72074         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
72075         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
72076         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72077         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
72078         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
72079         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
72080         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
72081         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
72082         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
72083         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
72084         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
72085         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
72086         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
72087         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
72088         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
72089         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
72090         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
72091         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
72092         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
72093         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
72094         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
72095         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
72096         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
72097         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
72098         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
72099         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
72100         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
72101         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72102         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72103         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72104         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72105         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72106         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72107         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72108         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72109         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72110         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72113         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72115         [BZ #14914]
72116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72117         whole low double instead of just low 47 bits when splitting values
72118         into two parts.
72120 2012-12-03  Allan McRae  <allan@archlinux.org>
72122         * manual/stdio.texi (Predefined Printf Handlers): Remove
72123         @hsep and @vsep usage.
72125 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
72127         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72128         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72130 2012-12-03  Jeff Law  <law@redhat.com>
72132         * time/sys/time.h (settimeofday): Do not mark TV argument
72133         as __nonnull.
72135 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
72137         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72138         when currently writing and seek to current position when not.
72139         * libio/Makefile (tests): Remove bug-fclose1.
72140         * libio/bug-fclose1.c: Delete.
72142 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
72144         * manual/arith.texi (feenableexcept): Fix typo.
72145         (fedisableexcept): Likewise.
72147 2012-11-30  Roland McGrath  <roland@hack.frob.com>
72149         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72150         second, differently-typed declaration, rather than a cast.
72152 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72154         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72155         * include/rpc/svc.h: ... here.
72157 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
72159         [BZ #13013]
72160         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72161         depending n and resplen2 to catch cases where answer
72162         equals answerp2.
72164 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
72166         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72167         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72169 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
72171         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72173 2012-11-29  Roland McGrath  <roland@hack.frob.com>
72175         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72177 2012-11-28  Jeff Law  <law@redhat.com>
72179         [BZ #13761]
72180         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72181         dataset_temporary.  Track alloca usage into alloca_used.
72182         If dataset is large allocate and release it via malloc/free.
72184 2012-06-04  Florian Weimer  <fweimer@redhat.com>
72186         [BZ #14197]
72187         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72189 2012-11-28  David S. Miller  <davem@davemloft.net>
72191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72193 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72195         [BZ #14803]
72196         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72197         of pi/2 rounded to nearest to 64 bits.
72198         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72199         nearest to 64 bits.
72200         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72201         bits.
72203 2012-11-28  Jeff Law <law@redhat.com>
72204             Martin Osvald <mosvald@redhat.com>
72206         [BZ #14889]
72207         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72208         * sunrpc/svc.c: Include time.h.
72209         (__svc_accept_failed): New function.
72210         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72211         any reason other than EINTR, call __svc_accept_failed.
72212         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72213         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72215 2012-11-28  Andreas Schwab  <schwab@suse.de>
72217         * scripts/abilist.awk: Also handle indirect functions in .opd
72218         section.
72220 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72222         [BZ #13881]
72223         * sysdeps/x86/fpu/powl_helper.c: New file.
72224         * sysdeps/x86/fpu/Makefile: Likewise.
72225         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72226         (p3): New object.
72227         (__ieee754_powl): Use __powl_helper for finite arguments except
72228         integer exponents below 8.
72229         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72230         (p3): New object.
72231         (__ieee754_powl): Use __powl_helper for finite arguments except
72232         integer exponents below 8.
72233         * math/libm-test.inc (pow_test): Add more tests and enable some
72234         previously disabled tests.
72235         * sysdeps/i386/fpu/libm-test-ulps: Update.
72236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72238 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72239             Carlos O'Donell  <carlos_odonell@mentor.com>
72241         * nss/makedb.c (is_prime): Assert that input is odd and greater
72242         than 4.  Note that fact in a comment too.
72243         (next_prime): Add 4 to input.
72245 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72247         [BZ #11741]
72248         * libio/Makefile (tests): Add test case tst-fwrite-error.
72249         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72250         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72251         * libio/tst-fwrite-error.c: New test case.
72253 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72255         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72256         before casting to void *.
72257         * include/libc-internal.h (__pointer_type): New macro.
72258         (__integer_if_pointer_type_sub): Likewise.
72259         (__integer_if_pointer_type): Likewise.
72260         (cast_to_integer): Likewise.
72261         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72262         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72263         before casting to atomic64_t.
72264         (atomic_exchange_acq): Likewise.
72265         (__arch_exchange_and_add_body): Likewise.
72266         (__arch_add_body): Likewise.
72267         (atomic_add_negative): Likewise.
72268         (atomic_add_zero): Likewise.
72270 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72272         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72273         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72274         (add_fdes): Likewise.
72275         (linear_search_fdes): Likewise.
72276         (binary_search_unencoded_fdes): Likewise.
72278 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72280         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72282 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72284         * configure.in: Autodetect C++ header directories.
72285         * configure: Regenerated.
72287 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72289         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72291 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72295 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72297         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72298         LDBL_MANT_DIG == 106]: Disable some tests.
72299         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72300         Likewise.
72301         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72302         Likewise.
72304         [BZ #14871]
72305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72306         input for small inputs.  Return +/- pi/2 for large inputs.
72307         * math/libm-test.inc (atan_test): Add more tests.
72309         * sysdeps/generic/unwind-dw2-fde-glibc.c
72310         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72311         __attribute__ ((unused)).
72313         [BZ #14645]
72314         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72315         x * y if x and y are nonzero and z is zero.
72317         [BZ #14811]
72318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72319         nonzero exponents with absolute value below 0x1p-117 to +/-
72320         0x1p-117.
72322         [BZ #14869]
72323         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72324         up arguments below 2**-450, not just those below 2**-500.
72325         * math/libm-test.inc (hypot_test): Add another test.
72327         [BZ #14868]
72328         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72329         Return a+b for ratio over 2**120, not 2**60.
72330         * math/libm-test.inc (hypot_test): Add another test.
72332         * math/libm-test.inc (clog_test): Use
72333         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72334         (clog10_test): Likewise.
72336         [BZ #6778]
72337         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72339 2012-11-22  Andreas Schwab  <schwab@suse.de>
72341         * sysdeps/i386/fpu/libm-test-ulps: Update.
72343 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72345         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72346         printf output with newline.
72348 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72350         [BZ #14865]
72351         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72352         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72353         -z nodlopen, -z initfirst and -z execstack support.
72354         * configure: Regenerated.
72356         * elf/elf.h (DF_1_NODIRECT): New macro.
72357         (DF_1_IGNMULDEF): Likewise.
72358         (DF_1_NOKSYMS): Likewise.
72359         (DF_1_NOHDR): Likewise.
72360         (DF_1_EDITED): Likewise.
72361         (DF_1_NORELOC): Likewise.
72362         (DF_1_SYMINTPOSE): Likewise.
72363         (DF_1_GLOBAUDIT): Likewise.
72364         (DF_1_SINGLETON): Likewise.
72365         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72366         DT_1_SUPPORTED_MASK bits.
72367         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72369 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72371         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72373 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72375         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72376         macro.
72378         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72379         (sendmmsg): Move declarations...
72380         * socket/sys/socket.h: ... here.
72381         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72382         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72383         include it from...
72384         * socket/recvmmsg.c: ... this new file.
72385         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72386         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72387         definition of __sendmmsg hidden.
72388         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72389         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72390         Move ENOSYS stub into and include it from...
72391         * socket/sendmmsg.c: ... this new file.
72392         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72393         (sysdep_routines): Move recvmmsg and sendmmsg...
72394         * socket/Makefile (routines): ... here.
72395         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72396         (GLIBC_PRIVATE): Add __sendmmsg.
72397         * include/sys/socket.h (__sendmmsg): Add declarations.
72398         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72399         sendmmsg.
72401 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72403         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72404         variable I1 with __attribute__ ((unused)).
72405         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72407 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72409         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72410         DUMMY variables with __attribute__ ((unused)).
72412         * bits/byteswap.h: Include <bits/types.h>.
72413         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72415 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72417         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72418         string_t.  Do not manually set errno.
72419         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72420         length with __strnlen.  Make sure to both set errno and return it on
72421         failure.
72423 2012-11-19  David S. Miller  <davem@davemloft.net>
72425         With help from Joseph Myers.
72426         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72427         very large arguments properly.
72428         * math/libm-test.inc (atan_test): New tests.
72429         (atan2_test): New tests.
72430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72433 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72435         [BZ #14856]
72436         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72437         Define to 3.
72439         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72440         [POSIX] (EADDRNOTAVAIL): Likewise.
72441         [POSIX] (EAFNOSUPPORT): Likewise.
72442         [POSIX] (EALREADY): Likewise.
72443         [POSIX] (ECONNABORTED): Likewise.
72444         [POSIX] (ECONNREFUSED): Likewise.
72445         [POSIX] (ECONNRESET): Likewise.
72446         [POSIX] (EDESTADDRREQ): Likewise.
72447         [POSIX] (EDQUOT): Likewise.
72448         [POSIX] (EHOSTUNREACH): Likewise.
72449         [POSIX] (EIDRM): Likewise.
72450         [POSIX] (EISCONN): Likewise.
72451         [POSIX] (ELOOP): Likewise.
72452         [POSIX] (EMULTIHOP): Likewise.
72453         [POSIX] (ENETDOWN): Likewise.
72454         [POSIX] (ENETUNREACH): Likewise.
72455         [POSIX] (ENOBUFS): Likewise.
72456         [POSIX] (ENODATA): Likewise.
72457         [POSIX] (ENOLINK): Likewise.
72458         [POSIX] (ENOMSG): Likewise.
72459         [POSIX] (ENOPROTOOPT): Likewise.
72460         [POSIX] (ENOSR): Likewise.
72461         [POSIX] (ENOSTR): Likewise.
72462         [POSIX] (ENOTCONN): Likewise.
72463         [POSIX] (ENOTSOCK): Likewise.
72464         [POSIX] (EOPNOTSUPP): Likewise.
72465         [POSIX] (EOVERFLOW): Likewise.
72466         [POSIX] (EPROTO): Likewise.
72467         [POSIX] (EPROTONOSUPPORT): Likewise.
72468         [POSIX] (EPROTOTYPE): Likewise.
72469         [POSIX] (ESTALE): Likewise.
72470         [POSIX] (ETIME): Likewise.
72471         [POSIX] (ETXTBSY): Likewise.
72472         [POSIX] (EWOULDBLOCK): Likewise.
72473         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72474         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72475         [POSIX] (SEEK_CUR): Likewise.
72476         [POSIX] (SEEK_END): Likewise.
72477         [POSIX || UNIX98] (mode_t): Do not require.
72478         [POSIX] (off_t): Likewise.
72479         [POSIX] (pid_t): Likewise.
72480         [POSIX] (sys/stat.h): Do not allow header.
72481         [POSIX] (unistd.h): Likewise.
72482         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72483         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72484         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72485         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72486         require.
72487         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72488         sigevent): Specify elements.
72489         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72490         entry.
72491         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72492         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72494         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72495         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72496         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72497         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72498         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72499         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72500         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72501         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72502         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72503         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72504         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72505         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72506         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72507         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72508         Likewise.
72509         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72510         Likewise.
72511         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72512         Likewise.
72513         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72514         Likewise.
72515         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72516         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72517         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72518         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72519         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72520         Specify lower bound on value.
72521         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72522         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72523         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72524         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72525         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72526         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72527         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72528         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72529         value.
72530         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72531         as optional.
72532         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72533         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72534         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72535         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72536         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72537         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72538         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72539         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72540         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72541         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72542         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72543         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72544         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72545         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72546         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72547         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72548         entry.
72549         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72550         optional.
72551         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72552         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72553         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72554         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72555         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72556         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72557         Likewise.
72558         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72559         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72560         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72561         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72562         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72563         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72564         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72565         as optional.
72566         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72567         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72568         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72569         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72570         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72571         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72572         specify as optional.
72573         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72574         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72575         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72576         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72577         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72578         [XPG3] (NL_LANGMAX): Likewise.
72579         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72580         [POSIX || XPG3] (NL_NMAX): Likewise.
72581         [POSIX || XPG3] (NL_SETMAX): Likewise.
72582         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72583         [XPG3] (NZERO): Likewise.
72584         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72585         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72586         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72587         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72588         (REG_ERANGE): Expect.
72589         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72590         optional-constant.
72591         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72592         Use (void) in prototype.
72593         [POSIX] (*_t): Allow.
72594         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72595         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72596         (WRDE_BADVAL): Expect.
72598         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72599         expect.
72600         [XPG3 || XPG4] (O_RSYNC): Likewise.
72601         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72602         Likewise.
72603         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72604         [XPG3 || XPG4] (sigqueue): Likewise.
72605         [XPG3 || XPG4] (sigtimedwait): Likewise.
72606         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72607         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72608         [XPG3 || XPG4] (vsnprintf): Likewise.
72609         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72610         Likewise.
72611         [XPG3 || XPG4] (blksize_t): Likewise.
72612         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72613         Likewise.
72614         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72615         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72616         [XPG3 || XPG4] (struct itimerspec): Likewise.
72617         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72618         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72619         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72620         [XPG3 || XPG4] (clockid_t): Likewise.
72621         [XPG3 || XPG4] (timer_t): Likewise.
72622         [XPG3 || XPG4] (clock_getres): Likewise.
72623         [XPG3 || XPG4] (clock_gettime): Likewise.
72624         [XPG3 || XPG4] (clock_settime): Likewise.
72625         [XPG3 || XPG4] (nanosleep): Likewise.
72626         [XPG3 || XPG4] (timer_create): Likewise.
72627         [XPG3 || XPG4] (timer_delete): Likewise.
72628         [XPG3 || XPG4] (timer_gettime): Likewise.
72629         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72630         [XPG3 || XPG4] (timer_settime): Likewise.
72631         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72632         [XPG3 || XPG4] (getlogin_r): Likewise.
72633         [XPG3 || XPG4] (pread): Likewise.
72634         [XPG3 || XPG4] (pthread_atfork): Likewise.
72635         [XPG3 || XPG4] (pwrite): Likewise.
72637         [BZ #14835]
72638         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72639         <bits/siginfo.h>.
72641 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72643         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72644         finalizing MALLSTREAM.
72646         * sysdeps/mach/hurd/syncfs.c: New file.
72648 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72650         [BZ #14719]
72651         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72652         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72654         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72655         (_nss_dns_gethostbyname4_r): Likewise.
72656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72657         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72659 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72661         [BZ #13763]
72662         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72664 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72666         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72667         * elf/cache.c (print_entry): Print ",AArch64" for
72668         FLAG_AARCH64_LIB64
72670         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72671         * elf/cache.c (print_entry): Print ",hard-float" for
72672         FLAG_ARM_LIBHF.
72674 2012-11-18  David S. Miller  <davem@davemloft.net>
72676         With help from Joseph Myers.
72677         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72678         cutoff to 2**-13.
72679         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72680         cutoff to 2**-25.
72681         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72682         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72683         small.
72684         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72685         * math/libm-test.inc (y0_test): New tests.
72686         (y1_test): New tests.
72687         * sysdeps/i386/fpu/libm-test-ulps: Update.
72688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72691 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72693         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72694         64-bit targets.
72695         * configure: Regenerated.
72697 2012-11-17  David S. Miller  <davem@davemloft.net>
72699         [BZ #14811]
72700         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72701         nonzero exponents with absolute value below 0x1p-128 to +/-
72702         0x1p-128.
72704 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72706         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72708         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72710         * posix/getconf-speclist.c: New file.
72711         * posix/posix-envs.def: Likewise.
72712         * posix/confstr.c (START_ENV_GROUP): New macro.
72713         (END_ENV_GROUP): Likewise.
72714         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72715         (KNOWN_PRESENT_ENV_STRING): Likewise.
72716         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72717         (UNKNOWN_ENVIRONMENT): Likewise.
72718         (confstr): Include posix-envs.def instead of handling
72719         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72720         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72721         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72722         (END_ENV_GROUP): Likewise.
72723         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72724         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72725         (UNKNOWN_ENVIRONMENT): Likewise.
72726         (__sysconf): Include posix-envs.def instead of handling associated
72727         cases directly here.
72728         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72729         preprocessing getconf-speclist.c rather than running getconf or
72730         generating empty file.
72732 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72734         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72736 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72738         [BZ #14672]
72739         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72741 2012-11-16  David S. Miller  <davem@davemloft.net>
72743         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72744         smaller than LDBL_EPSILON/2.0L, just return xm1.
72746 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72748         * elf/tst-array1.c (init): Set constructor priority to 1000.
72749         (fini): Set destructor priority to 1000.
72750         * elf/tst-array2dep.c: Likewise.
72752 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72754         [BZ #11741]
72755         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72756         (_IO_new_file_xsputn): Also return EOF if none of the input
72757         data was written when overflow failed.
72758         * libio/iopadn.c (_IO_padn): Likewise.
72759         * libio/iowpadn.c (_IO_wpadn): Likewise.
72760         * stdio-common/tst-put-error.c: Add copyright notice.
72761         (do_test): Add case for printing padded string.
72762         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72763         _IO_padn returned error.
72764         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72765         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72766         return EOF.
72768 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72770         * libio/libioP.h: Add comment note that the references to C++
72771         bits are now obsolete.
72773 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72775         * math/libm-test.inc (check_complex): Use asprintf.
72777 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72779         * debug/pcprofiledump.c (print_version): Update copyright year.
72780         * malloc/memusagestat.c (print_version): Likewise.
72782 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72784         [BZ #14831]
72785         * elf/Makefile (tests): Add tst-audit8.
72786         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72787         ($(objpfx)tst-audit8.out): New target.
72788         (tst-audit8-ENV): New variable.
72789         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72790         audit if l_reloc_result is NULL.
72791         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72792         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72793         * elf/tst-audit8.c: New file.
72795 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72797         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72798         * misc/Makefile (CFLAGS-select.c): Define.
72799         * posix/Makefile (CFLAGS-pause.c): Define.
72801 2012-11-13  David S. Miller  <davem@davemloft.net>
72803         * crypt/Makefile: Move test targets after toplevel Rules
72804         inclusion.  Grab any necessary sysdep routines when linking.
72805         * crypt/md5.c (md5_process_block): Remove define, we will always
72806         name it __md5_process_block.
72807         (md5_finish_ctx): Update md5_process_block call.
72808         (md5_stream): Likewise.
72809         (md5_process_bytes): Likewise.
72810         (md5_process_block): Rename to __md5_process_block and move to ...
72811         * crypt/md5-block.c: ... here.
72812         * crypt/sha256.c (sha256_process_block): Move to ...
72813         * crypt/sha256-block.c: ... here.
72814         * crypt/sha512.c (sha512_process_block): Move to ...
72815         * crypt/sha512-block.c: ... here.
72816         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72817         path.
72818         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72819         * sysdeps/sparc/sparc64/multiarch/Makefile
72820         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72821         crypt subdir.
72822         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72823         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72824         multiarch changes.
72825         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72826         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72827         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72828         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72829         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72830         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72831         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72832         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72833         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72834         file.
72835         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72836         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72837         file.
72838         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72840 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72842         * timezone/tzselect.ksh: Update from tzcode git revision
72843         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72844         * timezone/zdump.c: Likewise.
72845         * timezone/zic.c: Likewise.
72846         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72847         in TZVERSION setting, not $(PKGVERSION).
72848         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72849         REPORT_BUGS_TO settings.
72851         [BZ #14838]
72852         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72853         macro.
72855 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72857         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72858         detection to immediately after _FP_ROUND().
72859         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72860         bits are 0.
72862 2012-11-11  David S. Miller  <davem@davemloft.net>
72864         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72865         inttypes.h
72866         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72867         __close rather than their public counterparts.
72869 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72871         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72872         file.
72873         [UNIX98] (sem_timedwait): Do not expect.
72874         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72875         [XPG4 || UNIX98] (sockatmark): Do not expect.
72876         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72877         (clock_getcpuclockid): Do not expect.
72878         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72879         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72880         Do not expect.
72881         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72882         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72883         [UNIX98] (vwscanf): Likewise.
72884         [UNIX98] (vswscanf): Likewise.
72886 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72888         * timezone/version.h: Remove file.
72889         * timezone/README: Do not refer to version.h.
72890         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72891         $(objpfx)version.h.
72892         ($(objpfx)zdump.o): Likewise.
72893         ($(objpfx)version.h): New target.
72895         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72896         2012i.
72897         * timezone/README: Don't mention modification to tzselect.ksh.
72898         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72899         work on unmodified tzselect.ksh.  Substitute version numbers in
72900         tzselect.ksh.
72902         * Makefile (format-me): Remove.
72903         (INSTALL): Adjust indentation.  Use commands directly instead of
72904         using $(format-me).
72906         * aclocal.m4 (ACX_PKGVERSION): New macro.
72907         (ACX_BUGURL): Likewise.
72908         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72909         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72910         (REPORT_BUGS_TO): Likewise.
72911         * configure: Regenerated.
72912         * config.h.in (PKGVERSION): New macro.
72913         (REPORT_BUGS_TO): Likewise.
72914         * config.make.in (PKGVERSION): New variable.
72915         (PKGVERSION_TEXI): Likewise.
72916         (REPORT_BUGS_TO): Likewise.
72917         (REPORT_BUGS_TEXI): Likewise.
72918         * Makefile (format-me): Use -I$(common-objpfx)manual.
72919         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72920         ($(common-objpfx)manual/%): New target.
72921         (manual/%): Remove target.
72922         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72923         (print_version): Use PKGVERSION.
72924         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72925         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72926         and REPORT_BUGS_TO.
72927         ($(objpfx)xtrace): Likewise.
72928         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72929         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72930         (print_version): Use PKGVERSION.
72931         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72932         (do_version): Use PKGVERSION.
72933         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72934         REPORT_BUGS_TO.
72935         (common-ldd-rewrite): Likewise.
72936         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72937         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72938         (print_version): Use PKGVERSION.
72939         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72940         * elf/pldd.c (argp_program_bug_address): Remove variable.
72941         (more_help): New function.
72942         (argp): Use more_help.
72943         (print_version): Use PKGVERSION.
72944         * elf/sln.c (main): Use PKGVERSION.
72945         (usage): Use REPORT_BUGS_TO.
72946         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72947         (top level): Use PKGVERSION.
72948         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72949         (print_version): Use PKGVERSION.
72950         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72951         (print_version): Use PKGVERSION.
72952         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72953         (print_version): Use PKGVERSION.
72954         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72955         (print_version): Use PKGVERSION.
72956         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72957         (print_version): Use PKGVERSION.
72958         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72959         (print_version): Use PKGVERSION.
72960         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72961         and BUGURL.
72962         ($(objpfx)memusage): Likewise.
72963         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72964         (do_version): Use PKGVERSION.
72965         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72966         (print_version): Use PKGVERSION.
72967         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72968         ($PKGVERSION): New variable.
72969         ($REPORT_BUGS_TO): Likewise.
72970         (usage): Use $REPORT_BUGS_TO.
72971         (top level): Use $PKGVERSION.
72972         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72973         ($(objpfx)pkgvers.texi): New rule.
72974         ($(objpfx)stamp-pkgvers): Likewise.
72975         * manual/install.texi: Include pkgvers.texi.
72976         (--with-pkgversion): Document new configure option.
72977         (--with-bugurl): Likewise.
72978         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72979         than necessarily for this particular distribution.  Use
72980         REPORT_BUGS_TO for where to report bugs.
72981         * INSTALL: Regenerated.
72982         * manual/libc.texinfo: Include pkgvers.texi.
72983         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72984         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72985         (print_version): Use PKGVERSION.
72986         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72987         (print_version): Use PKGVERSION.
72988         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72989         (print_version): Use PKGVERSION.
72990         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72991         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72992         macro.
72993         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72994         (print_version): Use PKGVERSION.
72995         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72996         (print_version): Use PKGVERSION.
72997         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72998         and PKGVERSION.
73000         * timezone/checktab.awk: Update from tzcode 2012i.
73001         * timezone/ialloc.c: Likewise.
73002         * timezone/private.h: Likewise.
73003         * timezone/scheck.c: Likewise.
73004         * timezone/tzfile.h: Likewise.
73005         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
73006         (TZVERSION): Hardcode tzcode version number.
73007         * timezone/zdump.c: Update from tzcode 2012i.
73008         * timezone/zic.c: Likewise.
73009         * timezone/version.h: New file.
73010         * timezone/README: Describe version.h.  Update upstream location.
73012         [BZ #14824]
73013         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
73014         (mktemp): Enable declaration.
73015         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
73016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
73017         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
73018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
73019         Likewise.
73020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
73021         Likewise.
73022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
73023         Likewise.
73024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
73025         Likewise.
73026         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
73027         Likewise.
73028         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
73029         Likewise.
73031         [BZ #14821]
73032         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
73033         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
73034         for copies of such integer values.
73035         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73036         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73038 2012-11-09  Andreas Jaeger  <aj@suse.de>
73040         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
73041         definitions and declarations that are provided by
73042         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73044 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73046         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
73047         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
73048         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
73049         definition.
73051 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73053         * elf/elf.h: Update comment before AArch64 relocations.
73055 2012-11-07  David S. Miller  <davem@davemloft.net>
73057         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
73058         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73059         (__start_context): Declare.
73060         (__makecontext_ret): Delete.
73061         (__makecontext): Hook up __start_context instead of
73062         __makecontext_ret.
73063         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
73064         (sysdep_routines): Add __start_context when in stdlib.
73066 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73068         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
73069         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73070         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
73071         hardcoded "nm".
73072         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
73073         (READELF): New variable.  Use it instead of hardcoded "readelf".
73075 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73077         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
73078         * sysdeps/x86/Makefile: Here.
73079         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
73080         * sysdeps/x86/tst-xmmymm.sh: This.
73082 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73084         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
73085         expectations.
73086         [UNIX98] (pthread_barrier_t): Do not expect.
73087         [UNIX98] (pthread_barrierattr_t): Likewise.
73088         [UNIX98] (pthread_spinlock_t): Likewise.
73089         [UNIX98] (pthread_barrier_destroy): Likewise.
73090         [UNIX98] (pthread_barrier_init): Likewise.
73091         [UNIX98] (pthread_barrier_wait): Likewise.
73092         [UNIX98] (pthread_barrierattr_destroy): Likewise.
73093         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
73094         [UNIX98] (pthread_barrierattr_init): Likewise.
73095         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
73096         [UNIX98] (pthread_getcpuclockid): Likewise.
73097         [UNIX98] (pthread_mutex_timedlock): Likewise.
73098         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
73099         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
73100         [UNIX98] (pthread_sigmask): Likewise.
73101         [UNIX98] (pthread_spin_destroy): Likewise.
73102         [UNIX98] (pthread_spin_init): Likewise.
73103         [UNIX98] (pthread_spin_lock): Likewise.
73104         [UNIX98] (pthread_spin_trylock): Likewise.
73105         [UNIX98] (pthread_spin_unlock): Likewise.
73106         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73107         Do not expect.
73108         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73109         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73110         [XPG3 || XPG4] (pthread_cond_t): Likewise.
73111         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73112         [XPG3 || XPG4] (pthread_key_t): Likewise.
73113         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73114         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73115         [XPG3 || XPG4] (pthread_once_t): Likewise.
73116         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73117         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73118         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73119         [XPG3 || XPG4] (pthread_t): Likewise.
73121         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73122         not expect.
73123         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73125         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73126         Change function return type to int.
73128         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73129         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73130         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73131         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73132         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73133         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73134         [!POSIX] (posix_madvise): Likewise.
73135         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73136         && !UNIX98].
73137         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73138         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73139         (mode_t): Likewise.
73140         (posix_mem_offset): Likewise.
73141         (posix_typed_mem_get_info): Likewise.
73142         (posix_typed_mem_open): Likewise.
73144         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73145         Change condition to [XOPEN2K8].
73147         * conform/conformtest.pl: Preprocess allow-header data with -x c
73148         instead of from stdin.
73149         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73150         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73151         [C99-based standards] (cerfc): Likewise.
73152         [C99-based standards] (cexp2): Likewise.
73153         [C99-based standards] (cexpm1): Likewise.
73154         [C99-based standards] (clog10): Likewise.
73155         [C99-based standards] (clog1p): Likewise.
73156         [C99-based standards] (clog2): Likewise.
73157         [C99-based standards] (clgamma): Likewise.
73158         [C99-based standards] (ctgamma): Likewise.
73159         [C99-based standards] (cerff): Likewise.
73160         [C99-based standards] (cerfcf): Likewise.
73161         [C99-based standards] (cexp2f): Likewise.
73162         [C99-based standards] (cexpm1f): Likewise.
73163         [C99-based standards] (clog10f): Likewise.
73164         [C99-based standards] (clog1pf): Likewise.
73165         [C99-based standards] (clog2f): Likewise.
73166         [C99-based standards] (clgammaf): Likewise.
73167         [C99-based standards] (ctgammaf): Likewise.
73168         [C99-based standards] (cerfl): Likewise.
73169         [C99-based standards] (cerfcl): Likewise.
73170         [C99-based standards] (cexp2l): Likewise.
73171         [C99-based standards] (cexpm1l): Likewise.
73172         [C99-based standards] (clog10l): Likewise.
73173         [C99-based standards] (clog1pl): Likewise.
73174         [C99-based standards] (clog2l): Likewise.
73175         [C99-based standards] (clgammal): Likewise.
73176         [C99-based standards] (ctgammal): Likewise.
73177         * conform/data/inttypes.h-data [C99-based standards]: Include
73178         stdint.h-data.  Remove all expectations for stdint.h contents.
73179         [C99-based standards] (PRI*): Do not allow.
73180         [C99-based standards] (SCN*): Likewise.
73181         [C99-based standards] (*_t): Likewise.
73182         [C99-based-standards] (PRId8): Expect macro.
73183         [C99-based-standards] (PRIi8): Likewise.
73184         [C99-based-standards] (PRIo8): Likewise.
73185         [C99-based-standards] (PRIu8): Likewise.
73186         [C99-based-standards] (PRIx8): Likewise.
73187         [C99-based-standards] (PRIX8): Likewise.
73188         [C99-based-standards] (SCNd8): Likewise.
73189         [C99-based-standards] (SCNi8): Likewise.
73190         [C99-based-standards] (SCNo8): Likewise.
73191         [C99-based-standards] (SCNu8): Likewise.
73192         [C99-based-standards] (SCNx8): Likewise.
73193         [C99-based-standards] (PRIdLEAST8): Likewise.
73194         [C99-based-standards] (PRIiLEAST8): Likewise.
73195         [C99-based-standards] (PRIoLEAST8): Likewise.
73196         [C99-based-standards] (PRIuLEAST8): Likewise.
73197         [C99-based-standards] (PRIxLEAST8): Likewise.
73198         [C99-based-standards] (PRIXLEAST8): Likewise.
73199         [C99-based-standards] (SCNdLEAST8): Likewise.
73200         [C99-based-standards] (SCNiLEAST8): Likewise.
73201         [C99-based-standards] (SCNoLEAST8): Likewise.
73202         [C99-based-standards] (SCNuLEAST8): Likewise.
73203         [C99-based-standards] (SCNxLEAST8): Likewise.
73204         [C99-based-standards] (PRIdFAST8): Likewise.
73205         [C99-based-standards] (PRIiFAST8): Likewise.
73206         [C99-based-standards] (PRIoFAST8): Likewise.
73207         [C99-based-standards] (PRIuFAST8): Likewise.
73208         [C99-based-standards] (PRIxFAST8): Likewise.
73209         [C99-based-standards] (PRIXFAST8): Likewise.
73210         [C99-based-standards] (SCNdFAST8): Likewise.
73211         [C99-based-standards] (SCNiFAST8): Likewise.
73212         [C99-based-standards] (SCNoFAST8): Likewise.
73213         [C99-based-standards] (SCNuFAST8): Likewise.
73214         [C99-based-standards] (SCNxFAST8): Likewise.
73215         [C99-based-standards] (PRId16): Likewise.
73216         [C99-based-standards] (PRIi16): Likewise.
73217         [C99-based-standards] (PRIo16): Likewise.
73218         [C99-based-standards] (PRIu16): Likewise.
73219         [C99-based-standards] (PRIx16): Likewise.
73220         [C99-based-standards] (PRIX16): Likewise.
73221         [C99-based-standards] (SCNd16): Likewise.
73222         [C99-based-standards] (SCNi16): Likewise.
73223         [C99-based-standards] (SCNo16): Likewise.
73224         [C99-based-standards] (SCNu16): Likewise.
73225         [C99-based-standards] (SCNx16): Likewise.
73226         [C99-based-standards] (PRIdLEAST16): Likewise.
73227         [C99-based-standards] (PRIiLEAST16): Likewise.
73228         [C99-based-standards] (PRIoLEAST16): Likewise.
73229         [C99-based-standards] (PRIuLEAST16): Likewise.
73230         [C99-based-standards] (PRIxLEAST16): Likewise.
73231         [C99-based-standards] (PRIXLEAST16): Likewise.
73232         [C99-based-standards] (SCNdLEAST16): Likewise.
73233         [C99-based-standards] (SCNiLEAST16): Likewise.
73234         [C99-based-standards] (SCNoLEAST16): Likewise.
73235         [C99-based-standards] (SCNuLEAST16): Likewise.
73236         [C99-based-standards] (SCNxLEAST16): Likewise.
73237         [C99-based-standards] (PRIdFAST16): Likewise.
73238         [C99-based-standards] (PRIiFAST16): Likewise.
73239         [C99-based-standards] (PRIoFAST16): Likewise.
73240         [C99-based-standards] (PRIuFAST16): Likewise.
73241         [C99-based-standards] (PRIxFAST16): Likewise.
73242         [C99-based-standards] (PRIXFAST16): Likewise.
73243         [C99-based-standards] (SCNdFAST16): Likewise.
73244         [C99-based-standards] (SCNiFAST16): Likewise.
73245         [C99-based-standards] (SCNoFAST16): Likewise.
73246         [C99-based-standards] (SCNuFAST16): Likewise.
73247         [C99-based-standards] (SCNxFAST16): Likewise.
73248         [C99-based-standards] (PRId32): Likewise.
73249         [C99-based-standards] (PRIi32): Likewise.
73250         [C99-based-standards] (PRIo32): Likewise.
73251         [C99-based-standards] (PRIu32): Likewise.
73252         [C99-based-standards] (PRIx32): Likewise.
73253         [C99-based-standards] (PRIX32): Likewise.
73254         [C99-based-standards] (SCNd32): Likewise.
73255         [C99-based-standards] (SCNi32): Likewise.
73256         [C99-based-standards] (SCNo32): Likewise.
73257         [C99-based-standards] (SCNu32): Likewise.
73258         [C99-based-standards] (SCNx32): Likewise.
73259         [C99-based-standards] (PRIdLEAST32): Likewise.
73260         [C99-based-standards] (PRIiLEAST32): Likewise.
73261         [C99-based-standards] (PRIoLEAST32): Likewise.
73262         [C99-based-standards] (PRIuLEAST32): Likewise.
73263         [C99-based-standards] (PRIxLEAST32): Likewise.
73264         [C99-based-standards] (PRIXLEAST32): Likewise.
73265         [C99-based-standards] (SCNdLEAST32): Likewise.
73266         [C99-based-standards] (SCNiLEAST32): Likewise.
73267         [C99-based-standards] (SCNoLEAST32): Likewise.
73268         [C99-based-standards] (SCNuLEAST32): Likewise.
73269         [C99-based-standards] (SCNxLEAST32): Likewise.
73270         [C99-based-standards] (PRIdFAST32): Likewise.
73271         [C99-based-standards] (PRIiFAST32): Likewise.
73272         [C99-based-standards] (PRIoFAST32): Likewise.
73273         [C99-based-standards] (PRIuFAST32): Likewise.
73274         [C99-based-standards] (PRIxFAST32): Likewise.
73275         [C99-based-standards] (PRIXFAST32): Likewise.
73276         [C99-based-standards] (SCNdFAST32): Likewise.
73277         [C99-based-standards] (SCNiFAST32): Likewise.
73278         [C99-based-standards] (SCNoFAST32): Likewise.
73279         [C99-based-standards] (SCNuFAST32): Likewise.
73280         [C99-based-standards] (SCNxFAST32): Likewise.
73281         [C99-based-standards] (PRId64): Likewise.
73282         [C99-based-standards] (PRIi64): Likewise.
73283         [C99-based-standards] (PRIo64): Likewise.
73284         [C99-based-standards] (PRIu64): Likewise.
73285         [C99-based-standards] (PRIx64): Likewise.
73286         [C99-based-standards] (PRIX64): Likewise.
73287         [C99-based-standards] (SCNd64): Likewise.
73288         [C99-based-standards] (SCNi64): Likewise.
73289         [C99-based-standards] (SCNo64): Likewise.
73290         [C99-based-standards] (SCNu64): Likewise.
73291         [C99-based-standards] (SCNx64): Likewise.
73292         [C99-based-standards] (PRIdLEAST64): Likewise.
73293         [C99-based-standards] (PRIiLEAST64): Likewise.
73294         [C99-based-standards] (PRIoLEAST64): Likewise.
73295         [C99-based-standards] (PRIuLEAST64): Likewise.
73296         [C99-based-standards] (PRIxLEAST64): Likewise.
73297         [C99-based-standards] (PRIXLEAST64): Likewise.
73298         [C99-based-standards] (SCNdLEAST64): Likewise.
73299         [C99-based-standards] (SCNiLEAST64): Likewise.
73300         [C99-based-standards] (SCNoLEAST64): Likewise.
73301         [C99-based-standards] (SCNuLEAST64): Likewise.
73302         [C99-based-standards] (SCNxLEAST64): Likewise.
73303         [C99-based-standards] (PRIdFAST64): Likewise.
73304         [C99-based-standards] (PRIiFAST64): Likewise.
73305         [C99-based-standards] (PRIoFAST64): Likewise.
73306         [C99-based-standards] (PRIuFAST64): Likewise.
73307         [C99-based-standards] (PRIxFAST64): Likewise.
73308         [C99-based-standards] (PRIXFAST64): Likewise.
73309         [C99-based-standards] (SCNdFAST64): Likewise.
73310         [C99-based-standards] (SCNiFAST64): Likewise.
73311         [C99-based-standards] (SCNoFAST64): Likewise.
73312         [C99-based-standards] (SCNuFAST64): Likewise.
73313         [C99-based-standards] (SCNxFAST64): Likewise.
73314         [C99-based-standards] (PRIdMAX): Likewise.
73315         [C99-based-standards] (PRIiMAX): Likewise.
73316         [C99-based-standards] (PRIoMAX): Likewise.
73317         [C99-based-standards] (PRIuMAX): Likewise.
73318         [C99-based-standards] (PRIxMAX): Likewise.
73319         [C99-based-standards] (PRIXMAX): Likewise.
73320         [C99-based-standards] (SCNdMAX): Likewise.
73321         [C99-based-standards] (SCNiMAX): Likewise.
73322         [C99-based-standards] (SCNoMAX): Likewise.
73323         [C99-based-standards] (SCNuMAX): Likewise.
73324         [C99-based-standards] (SCNxMAX): Likewise.
73325         [C99-based-standards] (PRIdPTR): Likewise.
73326         [C99-based-standards] (PRIiPTR): Likewise.
73327         [C99-based-standards] (PRIoPTR): Likewise.
73328         [C99-based-standards] (PRIuPTR): Likewise.
73329         [C99-based-standards] (PRIxPTR): Likewise.
73330         [C99-based-standards] (PRIXPTR): Likewise.
73331         [C99-based-standards] (SCNdPTR): Likewise.
73332         [C99-based-standards] (SCNiPTR): Likewise.
73333         [C99-based-standards] (SCNoPTR): Likewise.
73334         [C99-based-standards] (SCNuPTR): Likewise.
73335         [C99-based-standards] (SCNxPTR): Likewise.
73336         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73337         allow.
73338         * conform/data/stdint.h-data: Update comments to clarify
73339         requirements.
73340         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73341         type.
73342         [C99-based standards] (INT8_MAX): Likewise.
73343         [C99-based standards] (INT16_MIN): Likewise.
73344         [C99-based standards] (INT16_MAX): Likewise.
73345         [C99-based standards] (INT32_MIN): Likewise.
73346         [C99-based standards] (INT32_MAX): Likewise.
73347         [C99-based standards] (INT64_MIN): Likewise.
73348         [C99-based standards] (INT64_MAX): Likewise.
73349         [C99-based standards] (UINT8_MAX): Likewise.
73350         [C99-based standards] (UINT16_MAX): Likewise.
73351         [C99-based standards] (UINT32_MAX): Likewise.
73352         [C99-based standards] (UINT64_MAX): Likewise.
73353         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73354         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73355         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73356         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73357         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73358         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73359         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73360         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73361         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73362         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73363         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73364         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73365         [C99-based standards] (INT_FAST8_MIN): Likewise.
73366         [C99-based standards] (INT_FAST8_MAX): Likewise.
73367         [C99-based standards] (INT_FAST16_MIN): Likewise.
73368         [C99-based standards] (INT_FAST16_MAX): Likewise.
73369         [C99-based standards] (INT_FAST32_MIN): Likewise.
73370         [C99-based standards] (INT_FAST32_MAX): Likewise.
73371         [C99-based standards] (INT_FAST64_MIN): Likewise.
73372         [C99-based standards] (INT_FAST64_MAX): Likewise.
73373         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73374         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73375         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73376         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73377         [C99-based standards] (INTPTR_MIN): Likewise.
73378         [C99-based standards] (INTPTR_MAX): Likewise.
73379         [C99-based standards] (UINTPTR_MAX): Likewise.
73380         [C99-based standards] (INTMAX_MIN): Likewise.
73381         [C99-based standards] (INTMAX_MAX): Likewise.
73382         [C99-based standards] (UINTMAX_MAX): Likewise.
73383         [C99-based standards] (PTRDIFF_MIN): Likewise.
73384         [C99-based standards] (PTRDIFF_MAX): Likewise.
73385         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73386         [C99-based standards] (SIZE_MAX): Likewise.
73387         [C99-based standards] (WCHAR_MAX): Likewise.
73388         [C99-based standards] (WINT_MAX): Likewise.
73389         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73390         constraint on value.
73391         [C99-based standards] (WCHAR_MIN): Likewise.
73392         [C99-based standards] (WINT_MIN): Likewise.
73393         [C99-based standards] (*_t): Allow.
73394         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73395         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73396         Include math.h-data and complex.h-data.  Remove all expectations
73397         of math.h and complex.h contents.
73398         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73399         at end of line.
73400         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73401         (struct tm): Expect tag.
73402         [C99-based-standards] (wcstof): Expect function.
73403         [C99-based-standards] (wcstold): Likewise.
73404         [C99-based-standards] (wcstoll): Likewise.
73405         [C99-based-standards] (wcstoull): Likewise.
73406         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73407         macro-int-constant.  Specify type.
73408         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73409         constraint on value.
73410         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73411         Specify type.
73412         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73413         Specify value.
73414         [ISO C standards]: Do not allow headers.
73415         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73416         wcs[abcdefghijklmnopqrstuvwxyz]*.
73417         [ISO C standards] (*_t): Do not allow.
73418         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73419         Expect function.
73420         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73421         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73422         Specify type.
73423         [ISO C standards]: Do not allow headers.
73424         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73425         is[abcdefghijklmnopqrstuvwxyz]*.
73426         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73427         to[abcdefghijklmnopqrstuvwxyz]*.
73428         [ISO C standards] (*_t): Do not allow.
73429         * conform/data/stdalign.h-data: New file.
73430         * conform/data/stdbool.h-data: Likewise.
73431         * conform/data/stdnoreturn.h-data: Likewise.
73433 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73435         [BZ #14815]
73436         * manual/filesys.texi (Directory Entries): Typo fix.
73437         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73439 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73441         * elf/elf.h (EM_AARCH64): New macro.
73442         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73443         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73444         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73445         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73446         (R_AARCH64_TLSDESC): Likewise.
73447         (NT_ARM_TLS): Likewise.
73448         (NT_ARM_HW_BREAK): Likewise.
73449         (NT_ARM_HW_WATCH): Likewise.
73451 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73453         [BZ #14811]
73454         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73455         (__ieee754_powl): Saturate nonzero exponents with absolute value
73456         below 0x1p-79 to +/- 0x1p-79.
73457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73458         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73459         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73460         nonzero exponents with absolute value below 0x1p-32 to +/-
73461         0x1p-32.
73462         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73463         (__ieee754_powl): Saturate nonzero exponents with absolute value
73464         below 0x1p-79 to +/- 0x1p-79.
73465         * math/libm-test.inc (pow_test): Add more tests.
73467 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73469         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73470         _dl_s390_cap_flags with kernel. Increase string length.
73471         (_dl_s390_platforms): Add z196 and zEC12.
73473 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73475         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73476         Change XOPEN21K to XOPEN2K.
73478 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73480         * string/memmove.c: Use memcpy when possible.
73482 2012-11-06  Andreas Jaeger  <aj@suse.de>
73484         * po/eo.po: Update from translation team.
73486 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73488         [BZ #14793]
73489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73490         exponent and small x and y exponents, scale x or y up.  Increase
73491         by 2 the exponent used in scaling up.
73492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73494         * math/libm-test.inc (fma_test): Add more tests.
73495         (fma_test_towardzero): Likewise.
73496         (fma_test_downward): Likewise.
73497         (fma_test_upward): Likewise.
73499 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73501         [BZ #14805]
73502         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73503         fenv_t *.
73505         [BZ #14801]
73506         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73507         namespace for names of struct fields.
73508         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73509         fenv_t fields.
73510         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73511         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73513 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73515         [BZ #3665]
73516         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73518 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73520         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73521         PTR_DEMANGLE.
73523         [BZ #5246]
73524         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73525         PTR_DEMANGLE.
73527 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73529         [BZ #14797]
73530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73531         definitely overflow as x * y not x * y + z.
73532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73534         * math/libm-test.inc (fma_test): Add more tests.
73535         (fma_test_towardzero): Likewise.
73536         (fma_test_downward): Likewise.
73537         (fma_test_upward): Likewise.
73539 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73541         [BZ #157]
73543         * include/stub-tag.h: Remove file.
73544         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73545         '#include' of it.
73546         * manual/maint.texi (Porting): Don't reference it.
73547         * Makerules ($(objpfx)stubs): Likewise.
73548         * dirent/closedir.c: Don't include <stub-tag.h>.
73549         * dirent/dirfd.c: Likewise.
73550         * dirent/fdopendir.c: Likewise.
73551         * dirent/getdents.c: Likewise.
73552         * dirent/getdents64.c: Likewise.
73553         * dirent/opendir.c: Likewise.
73554         * dirent/readdir.c: Likewise.
73555         * dirent/readdir64.c: Likewise.
73556         * dirent/readdir64_r.c: Likewise.
73557         * dirent/readdir_r.c: Likewise.
73558         * dirent/rewinddir.c: Likewise.
73559         * dirent/seekdir.c: Likewise.
73560         * dirent/telldir.c: Likewise.
73561         * gmon/profil.c: Likewise.
73562         * grp/setgroups.c: Likewise.
73563         * inet/if_index.c: Likewise.
73564         * io/access.c: Likewise.
73565         * io/chdir.c: Likewise.
73566         * io/chmod.c: Likewise.
73567         * io/chown.c: Likewise.
73568         * io/close.c: Likewise.
73569         * io/dup.c: Likewise.
73570         * io/dup2.c: Likewise.
73571         * io/dup3.c: Likewise.
73572         * io/euidaccess.c: Likewise.
73573         * io/faccessat.c: Likewise.
73574         * io/fchdir.c: Likewise.
73575         * io/fchmod.c: Likewise.
73576         * io/fchmodat.c: Likewise.
73577         * io/fchown.c: Likewise.
73578         * io/fchownat.c: Likewise.
73579         * io/fcntl.c: Likewise.
73580         * io/flock.c: Likewise.
73581         * io/fstatfs.c: Likewise.
73582         * io/fstatfs64.c: Likewise.
73583         * io/fstatvfs.c: Likewise.
73584         * io/fstatvfs64.c: Likewise.
73585         * io/futimens.c: Likewise.
73586         * io/fxstat.c: Likewise.
73587         * io/fxstat64.c: Likewise.
73588         * io/fxstatat.c: Likewise.
73589         * io/fxstatat64.c: Likewise.
73590         * io/getcwd.c: Likewise.
73591         * io/isatty.c: Likewise.
73592         * io/lchmod.c: Likewise.
73593         * io/lchown.c: Likewise.
73594         * io/link.c: Likewise.
73595         * io/linkat.c: Likewise.
73596         * io/lseek.c: Likewise.
73597         * io/lseek64.c: Likewise.
73598         * io/lxstat64.c: Likewise.
73599         * io/mkdir.c: Likewise.
73600         * io/mkdirat.c: Likewise.
73601         * io/mkfifo.c: Likewise.
73602         * io/mkfifoat.c: Likewise.
73603         * io/open.c: Likewise.
73604         * io/open64.c: Likewise.
73605         * io/openat.c: Likewise.
73606         * io/openat64.c: Likewise.
73607         * io/pipe.c: Likewise.
73608         * io/pipe2.c: Likewise.
73609         * io/poll.c: Likewise.
73610         * io/posix_fadvise.c: Likewise.
73611         * io/posix_fadvise64.c: Likewise.
73612         * io/posix_fallocate.c: Likewise.
73613         * io/posix_fallocate64.c: Likewise.
73614         * io/read.c: Likewise.
73615         * io/readlink.c: Likewise.
73616         * io/readlinkat.c: Likewise.
73617         * io/rmdir.c: Likewise.
73618         * io/sendfile.c: Likewise.
73619         * io/sendfile64.c: Likewise.
73620         * io/statfs.c: Likewise.
73621         * io/statfs64.c: Likewise.
73622         * io/statvfs.c: Likewise.
73623         * io/statvfs64.c: Likewise.
73624         * io/symlink.c: Likewise.
73625         * io/symlinkat.c: Likewise.
73626         * io/ttyname.c: Likewise.
73627         * io/ttyname_r.c: Likewise.
73628         * io/umask.c: Likewise.
73629         * io/unlink.c: Likewise.
73630         * io/unlinkat.c: Likewise.
73631         * io/utime.c: Likewise.
73632         * io/utimensat.c: Likewise.
73633         * io/write.c: Likewise.
73634         * io/xmknod.c: Likewise.
73635         * io/xmknodat.c: Likewise.
73636         * io/xstat.c: Likewise.
73637         * io/xstat64.c: Likewise.
73638         * login/getpt.c: Likewise.
73639         * login/grantpt.c: Likewise.
73640         * login/unlockpt.c: Likewise.
73641         * math/e_acoshl.c: Likewise.
73642         * math/e_acosl.c: Likewise.
73643         * math/e_asinl.c: Likewise.
73644         * math/e_atan2l.c: Likewise.
73645         * math/e_atanhl.c: Likewise.
73646         * math/e_coshl.c: Likewise.
73647         * math/e_expl.c: Likewise.
73648         * math/e_fmodl.c: Likewise.
73649         * math/e_gammal_r.c: Likewise.
73650         * math/e_hypotl.c: Likewise.
73651         * math/e_j0l.c: Likewise.
73652         * math/e_j1l.c: Likewise.
73653         * math/e_jnl.c: Likewise.
73654         * math/e_lgammal_r.c: Likewise.
73655         * math/e_log10l.c: Likewise.
73656         * math/e_log2l.c: Likewise.
73657         * math/e_logl.c: Likewise.
73658         * math/e_powl.c: Likewise.
73659         * math/e_rem_pio2l.c: Likewise.
73660         * math/e_sinhl.c: Likewise.
73661         * math/e_sqrtl.c: Likewise.
73662         * math/fclrexcpt.c: Likewise.
73663         * math/fedisblxcpt.c: Likewise.
73664         * math/feenablxcpt.c: Likewise.
73665         * math/fegetenv.c: Likewise.
73666         * math/fegetexcept.c: Likewise.
73667         * math/fegetround.c: Likewise.
73668         * math/feholdexcpt.c: Likewise.
73669         * math/fesetenv.c: Likewise.
73670         * math/fesetround.c: Likewise.
73671         * math/feupdateenv.c: Likewise.
73672         * math/fgetexcptflg.c: Likewise.
73673         * math/fraiseexcpt.c: Likewise.
73674         * math/fsetexcptflg.c: Likewise.
73675         * math/ftestexcept.c: Likewise.
73676         * math/k_cosl.c: Likewise.
73677         * math/k_rem_pio2l.c: Likewise.
73678         * math/k_sinl.c: Likewise.
73679         * math/k_tanl.c: Likewise.
73680         * math/s_asinhl.c: Likewise.
73681         * math/s_atanl.c: Likewise.
73682         * math/s_cbrtl.c: Likewise.
73683         * math/s_erfl.c: Likewise.
73684         * math/s_expm1l.c: Likewise.
73685         * math/s_log1pl.c: Likewise.
73686         * math/s_tanhl.c: Likewise.
73687         * misc/acct.c: Likewise.
73688         * misc/brk.c: Likewise.
73689         * misc/chflags.c: Likewise.
73690         * misc/chroot.c: Likewise.
73691         * misc/fchflags.c: Likewise.
73692         * misc/fgetxattr.c: Likewise.
73693         * misc/flistxattr.c: Likewise.
73694         * misc/fremovexattr.c: Likewise.
73695         * misc/fsetxattr.c: Likewise.
73696         * misc/fsync.c: Likewise.
73697         * misc/ftruncate.c: Likewise.
73698         * misc/futimes.c: Likewise.
73699         * misc/futimesat.c: Likewise.
73700         * misc/getdomain.c: Likewise.
73701         * misc/getdtsz.c: Likewise.
73702         * misc/gethostid.c: Likewise.
73703         * misc/gethostname.c: Likewise.
73704         * misc/getloadavg.c: Likewise.
73705         * misc/getpagesize.c: Likewise.
73706         * misc/getsysstats.c: Likewise.
73707         * misc/getxattr.c: Likewise.
73708         * misc/gtty.c: Likewise.
73709         * misc/ioctl.c: Likewise.
73710         * misc/lgetxattr.c: Likewise.
73711         * misc/listxattr.c: Likewise.
73712         * misc/llistxattr.c: Likewise.
73713         * misc/lremovexattr.c: Likewise.
73714         * misc/lsetxattr.c: Likewise.
73715         * misc/lutimes.c: Likewise.
73716         * misc/madvise.c: Likewise.
73717         * misc/mincore.c: Likewise.
73718         * misc/mlock.c: Likewise.
73719         * misc/mlockall.c: Likewise.
73720         * misc/mmap.c: Likewise.
73721         * misc/mprotect.c: Likewise.
73722         * misc/msync.c: Likewise.
73723         * misc/munlock.c: Likewise.
73724         * misc/munlockall.c: Likewise.
73725         * misc/munmap.c: Likewise.
73726         * misc/preadv.c: Likewise.
73727         * misc/preadv64.c: Likewise.
73728         * misc/ptrace.c: Likewise.
73729         * misc/pwritev.c: Likewise.
73730         * misc/pwritev64.c: Likewise.
73731         * misc/readv.c: Likewise.
73732         * misc/reboot.c: Likewise.
73733         * misc/remap_file_pages.c: Likewise.
73734         * misc/removexattr.c: Likewise.
73735         * misc/revoke.c: Likewise.
73736         * misc/select.c: Likewise.
73737         * misc/setdomain.c: Likewise.
73738         * misc/setegid.c: Likewise.
73739         * misc/seteuid.c: Likewise.
73740         * misc/sethostid.c: Likewise.
73741         * misc/sethostname.c: Likewise.
73742         * misc/setregid.c: Likewise.
73743         * misc/setreuid.c: Likewise.
73744         * misc/setxattr.c: Likewise.
73745         * misc/sstk.c: Likewise.
73746         * misc/stty.c: Likewise.
73747         * misc/swapoff.c: Likewise.
73748         * misc/swapon.c: Likewise.
73749         * misc/sync.c: Likewise.
73750         * misc/syncfs.c: Likewise.
73751         * misc/syscall.c: Likewise.
73752         * misc/truncate.c: Likewise.
73753         * misc/ualarm.c: Likewise.
73754         * misc/usleep.c: Likewise.
73755         * misc/ustat.c: Likewise.
73756         * misc/utimes.c: Likewise.
73757         * misc/vhangup.c: Likewise.
73758         * misc/writev.c: Likewise.
73759         * posix/_exit.c: Likewise.
73760         * posix/alarm.c: Likewise.
73761         * posix/execve.c: Likewise.
73762         * posix/fexecve.c: Likewise.
73763         * posix/fork.c: Likewise.
73764         * posix/fpathconf.c: Likewise.
73765         * posix/getaddrinfo.c: Likewise.
73766         * posix/getegid.c: Likewise.
73767         * posix/geteuid.c: Likewise.
73768         * posix/getgid.c: Likewise.
73769         * posix/getgroups.c: Likewise.
73770         * posix/getlogin.c: Likewise.
73771         * posix/getlogin_r.c: Likewise.
73772         * posix/getpgid.c: Likewise.
73773         * posix/getpid.c: Likewise.
73774         * posix/getppid.c: Likewise.
73775         * posix/getresgid.c: Likewise.
73776         * posix/getresuid.c: Likewise.
73777         * posix/getsid.c: Likewise.
73778         * posix/getuid.c: Likewise.
73779         * posix/glob64.c: Likewise.
73780         * posix/nanosleep.c: Likewise.
73781         * posix/pathconf.c: Likewise.
73782         * posix/pause.c: Likewise.
73783         * posix/posix_madvise.c: Likewise.
73784         * posix/pread.c: Likewise.
73785         * posix/pread64.c: Likewise.
73786         * posix/pwrite.c: Likewise.
73787         * posix/pwrite64.c: Likewise.
73788         * posix/sched_getaffinity.c: Likewise.
73789         * posix/sched_getp.c: Likewise.
73790         * posix/sched_gets.c: Likewise.
73791         * posix/sched_primax.c: Likewise.
73792         * posix/sched_primin.c: Likewise.
73793         * posix/sched_rr_gi.c: Likewise.
73794         * posix/sched_setaffinity.c: Likewise.
73795         * posix/sched_setp.c: Likewise.
73796         * posix/sched_sets.c: Likewise.
73797         * posix/sched_yield.c: Likewise.
73798         * posix/setgid.c: Likewise.
73799         * posix/setlogin.c: Likewise.
73800         * posix/setpgid.c: Likewise.
73801         * posix/setresgid.c: Likewise.
73802         * posix/setresuid.c: Likewise.
73803         * posix/setsid.c: Likewise.
73804         * posix/setuid.c: Likewise.
73805         * posix/sleep.c: Likewise.
73806         * posix/spawni.c: Likewise.
73807         * posix/sysconf.c: Likewise.
73808         * posix/times.c: Likewise.
73809         * posix/wait.c: Likewise.
73810         * posix/wait3.c: Likewise.
73811         * posix/wait4.c: Likewise.
73812         * posix/waitpid.c: Likewise.
73813         * resolv/gai_sigqueue.c: Likewise.
73814         * resource/getpriority.c: Likewise.
73815         * resource/getrlimit.c: Likewise.
73816         * resource/getrusage.c: Likewise.
73817         * resource/nice.c: Likewise.
73818         * resource/setpriority.c: Likewise.
73819         * resource/setrlimit.c: Likewise.
73820         * resource/ulimit.c: Likewise.
73821         * rt/aio_cancel.c: Likewise.
73822         * rt/aio_fsync.c: Likewise.
73823         * rt/aio_read.c: Likewise.
73824         * rt/aio_sigqueue.c: Likewise.
73825         * rt/aio_suspend.c: Likewise.
73826         * rt/aio_write.c: Likewise.
73827         * rt/clock_getres.c: Likewise.
73828         * rt/clock_gettime.c: Likewise.
73829         * rt/clock_nanosleep.c: Likewise.
73830         * rt/clock_settime.c: Likewise.
73831         * rt/lio_listio.c: Likewise.
73832         * rt/mq_close.c: Likewise.
73833         * rt/mq_getattr.c: Likewise.
73834         * rt/mq_notify.c: Likewise.
73835         * rt/mq_open.c: Likewise.
73836         * rt/mq_receive.c: Likewise.
73837         * rt/mq_send.c: Likewise.
73838         * rt/mq_setattr.c: Likewise.
73839         * rt/mq_timedreceive.c: Likewise.
73840         * rt/mq_timedsend.c: Likewise.
73841         * rt/mq_unlink.c: Likewise.
73842         * rt/shm_open.c: Likewise.
73843         * rt/shm_unlink.c: Likewise.
73844         * rt/timer_create.c: Likewise.
73845         * rt/timer_delete.c: Likewise.
73846         * rt/timer_getoverr.c: Likewise.
73847         * rt/timer_gettime.c: Likewise.
73848         * rt/timer_settime.c: Likewise.
73849         * setjmp/__longjmp.c: Likewise.
73850         * setjmp/setjmp.c: Likewise.
73851         * signal/kill.c: Likewise.
73852         * signal/killpg.c: Likewise.
73853         * signal/raise.c: Likewise.
73854         * signal/sigaction.c: Likewise.
73855         * signal/sigaltstack.c: Likewise.
73856         * signal/sigblock.c: Likewise.
73857         * signal/sigignore.c: Likewise.
73858         * signal/sigintr.c: Likewise.
73859         * signal/signal.c: Likewise.
73860         * signal/sigpause.c: Likewise.
73861         * signal/sigpending.c: Likewise.
73862         * signal/sigqueue.c: Likewise.
73863         * signal/sigreturn.c: Likewise.
73864         * signal/sigset.c: Likewise.
73865         * signal/sigsetmask.c: Likewise.
73866         * signal/sigstack.c: Likewise.
73867         * signal/sigsuspend.c: Likewise.
73868         * signal/sigtimedwait.c: Likewise.
73869         * signal/sigvec.c: Likewise.
73870         * signal/sigwait.c: Likewise.
73871         * signal/sigwaitinfo.c: Likewise.
73872         * signal/sysv_signal.c: Likewise.
73873         * socket/accept.c: Likewise.
73874         * socket/accept4.c: Likewise.
73875         * socket/bind.c: Likewise.
73876         * socket/connect.c: Likewise.
73877         * socket/getpeername.c: Likewise.
73878         * socket/getsockname.c: Likewise.
73879         * socket/getsockopt.c: Likewise.
73880         * socket/isfdtype.c: Likewise.
73881         * socket/listen.c: Likewise.
73882         * socket/recv.c: Likewise.
73883         * socket/recvfrom.c: Likewise.
73884         * socket/recvmsg.c: Likewise.
73885         * socket/send.c: Likewise.
73886         * socket/sendmsg.c: Likewise.
73887         * socket/sendto.c: Likewise.
73888         * socket/setsockopt.c: Likewise.
73889         * socket/shutdown.c: Likewise.
73890         * socket/sockatmark.c: Likewise.
73891         * socket/socket.c: Likewise.
73892         * socket/socketpair.c: Likewise.
73893         * stdio-common/ctermid.c: Likewise.
73894         * stdio-common/cuserid.c: Likewise.
73895         * stdio-common/remove.c: Likewise.
73896         * stdio-common/rename.c: Likewise.
73897         * stdio-common/renameat.c: Likewise.
73898         * stdio-common/tempname.c: Likewise.
73899         * stdlib/getcontext.c: Likewise.
73900         * stdlib/makecontext.c: Likewise.
73901         * stdlib/setcontext.c: Likewise.
73902         * stdlib/swapcontext.c: Likewise.
73903         * stdlib/system.c: Likewise.
73904         * streams/fattach.c: Likewise.
73905         * streams/fdetach.c: Likewise.
73906         * streams/getmsg.c: Likewise.
73907         * streams/getpmsg.c: Likewise.
73908         * streams/putmsg.c: Likewise.
73909         * streams/putpmsg.c: Likewise.
73910         * sysdeps/unix/bsd/getpt.c: Likewise.
73911         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73912         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73913         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73915         Likewise.
73916         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73917         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73918         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73919         * sysvipc/msgctl.c: Likewise.
73920         * sysvipc/msgget.c: Likewise.
73921         * sysvipc/msgrcv.c: Likewise.
73922         * sysvipc/msgsnd.c: Likewise.
73923         * sysvipc/semctl.c: Likewise.
73924         * sysvipc/semget.c: Likewise.
73925         * sysvipc/semop.c: Likewise.
73926         * sysvipc/semtimedop.c: Likewise.
73927         * sysvipc/shmat.c: Likewise.
73928         * sysvipc/shmctl.c: Likewise.
73929         * sysvipc/shmdt.c: Likewise.
73930         * sysvipc/shmget.c: Likewise.
73931         * termios/tcdrain.c: Likewise.
73932         * termios/tcflow.c: Likewise.
73933         * termios/tcflush.c: Likewise.
73934         * termios/tcgetattr.c: Likewise.
73935         * termios/tcgetpgrp.c: Likewise.
73936         * termios/tcsendbrk.c: Likewise.
73937         * termios/tcsetattr.c: Likewise.
73938         * termios/tcsetpgrp.c: Likewise.
73939         * time/adjtime.c: Likewise.
73940         * time/clock.c: Likewise.
73941         * time/getitimer.c: Likewise.
73942         * time/gettimeofday.c: Likewise.
73943         * time/setitimer.c: Likewise.
73944         * time/settimeofday.c: Likewise.
73945         * time/stime.c: Likewise.
73946         * time/time.c: Likewise.
73948 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73950         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73951         /usr/old/bin.
73953         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73954         instead of spaces.
73955         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73957 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73959         [BZ #14796]
73960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73961         FE_TONEAREST before applying Dekker multiplication and Knuth
73962         addition.  Clear inexact exceptions and check for exact zero
73963         results afterwards.
73964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73965         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73966         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73967         * math/libm-test.inc (fma_test): Add more tests.
73968         (fma_test_towardzero): Likewise.
73969         (fma_test_downward): Likewise.
73970         (fma_test_upward): Likewise.
73971         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73972         function.
73973         (libc_fesetround): New macro.
73974         (libc_fesetroundf): Likewise.
73975         (libc_fesetroundl): Likewise.
73976         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73977         function.
73978         (libc_fesetround_387): Likewise.
73979         (libc_fesetroundf): New macro.
73980         (libc_fesetround): Likewise.
73981         (libc_fesetroundl): Likewise.
73982         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73983         function.
73984         (libc_fesetroundf): New macro.
73985         (libc_fesetround): Likewise.
73986         (libc_fesetroundl): Likewise.
73987         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73988         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73989         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73990         libm_hidden_ver.
73991         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73992         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73993         libm_hidden_def.
73994         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73995         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73996         libm_hidden_ver.
73997         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73998         libm_hidden_def.
74000         [BZ #3439]
74001         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
74002         integer constant usable in #if and use that to give value to enum
74003         constant.
74004         (FE_DIVBYZERO): Likewise.
74005         (FE_UNDERFLOW): Likewise.
74006         (FE_OVERFLOW): Likewise.
74007         (FE_INVALID): Likewise.
74008         (FE_INVALID_SNAN): Likewise.
74009         (FE_INVALID_ISI): Likewise.
74010         (FE_INVALID_IDI): Likewise.
74011         (FE_INVALID_ZDZ): Likewise.
74012         (FE_INVALID_IMZ): Likewise.
74013         (FE_INVALID_COMPARE): Likewise.
74014         (FE_INVALID_SOFTWARE): Likewise.
74015         (FE_INVALID_SQRT): Likewise.
74016         (FE_INVALID_INTEGER_CONVERSION): Likewise.
74017         (FE_TONEAREST): Likewise.
74018         (FE_TOWARDZERO): Likewise.
74019         (FE_UPWARD): Likewise.
74020         (FE_DOWNWARD): Likewise.
74021         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
74022         (FE_DIVBYZERO): Likewise.
74023         (FE_OVERFLOW): Likewise.
74024         (FE_UNDERFLOW): Likewise.
74025         (FE_INEXACT): Likewise.
74026         (FE_TONEAREST): Likewise.
74027         (FE_DOWNWARD): Likewise.
74028         (FE_UPWARD): Likewise.
74029         (FE_TOWARDZERO): Likewise.
74030         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
74031         (FE_UNDERFLOW): Likewise.
74032         (FE_OVERFLOW): Likewise.
74033         (FE_DIVBYZERO): Likewise.
74034         (FE_INVALID): Likewise.
74035         (FE_TONEAREST): Likewise.
74036         (FE_TOWARDZERO): Likewise.
74037         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
74038         (FE_OVERFLOW): Likewise.
74039         (FE_UNDERFLOW): Likewise.
74040         (FE_DIVBYZERO): Likewise.
74041         (FE_INEXACT): Likewise.
74042         (FE_TONEAREST): Likewise.
74043         (FE_TOWARDZERO): Likewise.
74044         (FE_UPWARD): Likewise.
74045         (FE_DOWNWARD): Likewise.
74046         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
74047         (FE_DIVBYZERO): Likewise.
74048         (FE_OVERFLOW): Likewise.
74049         (FE_UNDERFLOW): Likewise.
74050         (FE_INEXACT): Likewise.
74051         (FE_TONEAREST): Likewise.
74052         (FE_DOWNWARD): Likewise.
74053         (FE_UPWARD): Likewise.
74054         (FE_TOWARDZERO): Likewise.
74056 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
74058         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
74060 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
74062         * scripts/cross-test-ssh.sh (command): Use newlines to separate
74063         commands.  Quote $PWD.
74064         (blacklist_exports): Don't use remove_newlines.  Replace "declare
74065         -x" by "export".
74066         (remove_newlines): Remove.
74068 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
74070         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74071         * stdlib/stdlib.h (atof): Moved to ...
74072         * include/bits/stdlib-float.h: Here.  New file.
74073         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
74074         * stdlib/bits/stdlib-float.h: New file.
74075         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
74076         -mno-sse -mno-mmx.
74077         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
74078         <xmmintrin.h>.
74080 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74082         * conform/conformtest.pl (@headers): Add fenv.h.
74083         * conform/data/fenv.h-data: New file.
74084         * include/fenv.h [_ISOMAC]: Disable all contents of file except
74085         include of <math/fenv.h>.
74087         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
74088         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
74089         && !UNIX98].  Enables tests for XOPEN2K8.
74090         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
74091         POSIX2008]: Likewise.
74093         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
74094         (struct rusage): Do not expect type or its members.
74096         [BZ #3439]
74097         * math/math.h (FP_NAN): Define macro to integer constant usable in
74098         #if and use that to give value to enum constant.
74099         (FP_INFINITE): Likewise.
74100         (FP_ZERO): Likewise.
74101         (FP_SUBNORMAL): Likewise.
74102         (FP_NORMAL): Likewise.
74104 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
74106         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74107         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74108         arguments.
74110 2012-11-02  Roland McGrath  <roland@hack.frob.com>
74112         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74113         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74114         autoconf-time if not.
74115         * configure.in: Remove AC_PREREQ.
74117 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74119         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74120         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74121         of the internal implementation.
74123 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74125         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74126         except include of <misc/sys/syslog.h>.
74128 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74131         function returns with a NULL context exit with zero.
74133 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74135         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74137 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
74139         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74140         (run_program_cmd): This.
74141         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74142         (tst_langinfo): New variable.  Use it.
74144 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
74146         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74147         floating point opcodes.
74149 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74151         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74152         variable.
74154         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74156         * sysdeps/mach/hurd/powerpc: Remove directory.
74157         * sysdeps/mach/powerpc: Likewise.
74159 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74161         * scripts/check-local-headers.sh: Ignore c++ headers.
74163 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74165         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74166         __libc_cleanup_region_start argument.
74168 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
74170         [BZ #14784]
74171         [BZ #14785]
74172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74173         x * y using scaling, not as x * y + z.
74174         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74175         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74176         * math/libm-test.inc (fma_test): Add more tests.
74177         (fma_test_towardzero): Likewise.
74178         (fma_test_downward): Likewise.
74179         (fma_test_upward): Likewise.
74181 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74183         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74185 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74187         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74188         New variable.
74190 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
74192         * rt/tst-shm.c (worker): Correct checking for mmap failure.
74194 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74197         Fix sort order.
74198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74199         Likewise.
74201 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74204         Fix the order of the list for glibc 2.17.
74205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74206         Likewise.
74208 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74212 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74214         [BZ #14610]
74215         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74216         for low part of x being zero before using __atanl (y).
74217         * math/libm-test.inc (atan2_test): Add another test.
74219         * manual/install.texi (Configuring and compiling): Document
74220         general use of test-wrapper and test-wrapper-env.
74221         * INSTALL: Regenerated.
74223         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74224         (__fma): Do not extract and scale down low bits on after-rounding
74225         systems when result rounded to normal precision would have normal
74226         exponent.
74227         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74228         (__fmal): Do not extract and scale down low bits on after-rounding
74229         systems when result rounded to normal precision would have normal
74230         exponent.
74231         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74232         (__fmal): Do not extract and scale down low bits on after-rounding
74233         systems when result rounded to normal precision would have normal
74234         exponent.
74235         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74236         macro.
74237         (fma_test): Add more tests.
74238         (fma_test_towardzero): Likewise.
74239         (fma_test_downward): Likewise.
74240         (fma_test_upward): Likewise.
74242 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74244         * sysdeps/i386/tininess.h: Renamed to ...
74245         * sysdeps/x86/tininess.h: This.
74246         * sysdeps/x86_64/tininess.h: Removed.
74248 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74250         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74251         input.  Use $(build-program-cmd).
74252         ($(objpfx)tst-array1-static.out): Likewise.
74253         ($(objpfx)tst-array2.out): Likewise.
74254         ($(objpfx)tst-array3.out): Likewise.
74255         ($(objpfx)tst-array4.out): Likewise.
74256         ($(objpfx)tst-array5.out): Likewise.
74257         ($(objpfx)tst-array5-static.out): Likewise.
74259 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74261         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74262         if defined.
74264         * nss/nsswitch.h (nss_interface_function): Provide new
74265         macro for use with NSS functions.
74266         * grp/initgroups.c: Use new macro.
74267         * nss/getXXbyYY.c: Likewise.
74268         * nss/getXXbyYY_r.c: Likewise.
74269         * nss/getXXent.c: Likewise.
74270         * nss/getXXent_r.c: Likewise.
74271         * sysdeps/posix/getaddrinfo.c: Likewise.
74273 2012-10-30  Andreas Jaeger  <aj@suse.de>
74275         * po/ru.po: Update Russion translation from translation project.
74277 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74279         [BZ #14152]
74280         [BZ #14783]
74281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74282         result and shift together with sticky bit instead of replicating
74283         round-to-nearest rounding.
74284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74285         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74286         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74287         missing underflow exceptions.
74288         (fma_test_towardzero): Add more tests.
74289         (fma_test_downward): Likewise.
74290         (fma_test_upward): Likewise.
74292         [BZ #14047]
74293         * sysdeps/generic/tininess.h: New file.
74294         * sysdeps/i386/tininess.h: Likewise.
74295         * sysdeps/sh/tininess.h: Likewise.
74296         * sysdeps/x86_64/tininess.h: Likewise.
74297         * stdlib/tst-strtod-underflow.c: Likewise.
74298         * stdlib/tst-tininess.c: Likewise.
74299         * stdlib/strtod_l.c: Include <tininess.h>.
74300         (round_and_return): Do not set errno for exact underflow cases.
74301         Force an underflow exception when setting errno for underflow.
74302         Determine underflow based on rounding to normal precision if
74303         TININESS_AFTER_ROUNDING.
74304         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74305         ERANGE for exact underflow cases.
74306         * stdlib/Makefile (tests): Add tst-tininess and
74307         tst-strtod-underflow.
74308         ($(objpfx)tst-tininess): Use $(link-libm).
74309         ($(objpfx)tst-strtod-underflow): Likewise.
74311 2012-10-30  Andreas Jaeger  <aj@suse.de>
74313         [BZ #14767]
74314         * elf/Makefile (tests): Remove conditional for have-initfini-array
74315         since this is now always required and the variable does not exist
74316         anymore.
74317         (tests-static): Likewise.
74318         (modules-names): Likewise.
74320         * po/eo.po: Add Esperanto translation from translation project.
74322         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74323         merged with constructor/destructor.
74324         (init_array): Likewise.
74325         * elf/tst-array2dep.c (fini_array): Likewise.
74326         (init_array): Likewise.
74328 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74330         * manual/message.texi: Delete @cartouche tags.
74332 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74334         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74335         EOPNOTSUPP.
74336         * sysdeps/mach/hurd/fsync.c: Likewise.
74338         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74339         [_POSIX_REALTIME_SIGNALS]: Change condition to
74340         [_POSIX_REALTIME_SIGNALS > 0].
74342 2012-10-27  Andreas Jaeger  <aj@suse.de>
74344         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74345         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74347         [__WORDSIZE != 64]: Likewise.
74349 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74351         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74352         *  iconvdata/tst-tables.sh: Likewise.
74354 2012-10-25  David S. Miller  <davem@davemloft.net>
74356         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74357         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74358         of strtoull.
74360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74361         ifunc-impl-list.c
74362         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74363         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74364         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74365         file.
74367 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74370         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74371         __getdirentries.
74373 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74374             Jim Blandy  <jimb@codesourcery.com>
74376         * scripts/cross-test-ssh.sh: New file.
74377         * manual/install.texi (Configuring and compiling): Document use of
74378         cross-test-ssh.sh.
74379         * INSTALL: Regenerated.
74381 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74383         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74384         EOPNOTSUPP.
74386 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74388         * Makeconfig (run-program-prefix): Fix comment.
74390 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74391             Jim Blandy  <jimb@codesourcery.com>
74393         * Makeconfig (test-wrapper): New variable,
74394         (test-wrapper-env): Likewise.
74395         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74396         (run-built-tests): Define to yes.
74397         (run-program-prefix): Use $(test-wrapper).
74398         (built-program-cmd): Likewise.
74399         * Rules (make-test-out): Use $(test-wrapper-env) and
74400         $(host-built-program-cmd).
74401         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74402         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74403         tst-pathopt.sh.
74404         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74405         $(test-wrapper-env) to tst-rtld-load-self.sh.
74406         ($(objpfx)order2.out): Use $(test-wrapper).
74407         ($(objpfx)tst-initorder.out): Likewise.
74408         ($(objpfx)tst-initorder2.out): Likewise.
74409         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74410         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74411         (test_wrapper_env): New variable.  Use it to run ld.so.
74412         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74413         Use it to run ld.so.
74414         (test_wrapper_env): Likewise.
74415         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74416         $(test-wrapper) to run-iconv-test.sh.
74417         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74418         (ICONV): Use $test_wrapper.
74419         * posix/Makefile ($(objpfx)globtest.out): Pass
74420         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74421         globtest.sh, not $(run-program-prefix).
74422         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74423         (test_wrapper): Likewise.
74424         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74425         set together with run_via_rtld_prefix.
74426         (run_program_prefix): Define in terms of test_wrapper and
74427         run_via_rtld_prefix.
74429 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74431         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74432         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74433         Targets removed.
74435         [BZ #14743]
74436         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74437         Declare __clock_getres, __clock_gettime, __clock_settime,
74438         __clock_nanosleep, and __clock_getcpuclockid.
74439         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74440         Remove librt_hidden_def (clock_gettime).
74441         * sysdeps/unix/clock_gettime.c: Likewise.
74442         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74443         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74444         * rt/clock_getres.c: Define __clock_getres as an alias.
74445         * sysdeps/posix/clock_getres.c: Likewise.
74446         * rt/clock_settime.c: Define __clock_settime as an alias.
74447         * sysdeps/unix/clock_settime.c: Likewise.
74448         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74449         * sysdeps/unix/clock_nanosleep.c: Likewise.
74450         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74451         * rt/clock-compat.c: New file.
74452         * rt/Makefile (librt-routines): Add clock-compat and move
74453         $(clock-routines) to ...
74454         (routines): ... here, new variable.
74455         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74456         Don't add get_clockfreq here.
74457         * rt/Versions (libc: GLIBC_2.17): New version set.
74458         Add clock_* symbols here.
74459         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74460         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74461         (GLIBC_2.17): Add clock_* symbols.
74462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74464         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74466         Likewise.
74467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74468         Likewise.
74469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74473         * NEWS: Mention the move.
74475         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74476         Use __open, __read, __close rather than their public counterparts.
74477         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74478         (__get_clockfreq_via_cpuinfo): Likewise.
74479         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74480         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74482         * config.h.in (HAVE_IFUNC): New #undef.
74483         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74484         was successful.
74485         * configure: Regenerated.
74487 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74489         * configure.in: Move READELF check to start of file.
74490         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74491         libc_cv_asm_gnu_indirect_function in the process.
74492         * configure: Regenerated.
74494 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74496         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74497         send the output to /dev/null.
74498         (libc_cv_cc_with_libunwind): Likewise.
74499         (libc_cv_as_noexecstack): Likewise.
74500         * configure: Regenerate.
74502 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74504         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74506         * posix/globtest.sh (TMPDIR): Do not set.
74507         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74508         (testout): Likewise.
74510 2012-10-24  Andreas Jaeger  <aj@suse.de>
74512         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74513         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74514         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74515         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74516         posix_fadvise64, posix_fallocate64.
74518         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74519         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74520         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74521         Likewise.
74522         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74523         Likewise.
74524         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74527         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74528         <bits/fcntl-linux.h>.
74529         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74531         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74532         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74533         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74534         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74535         [__WORDSIZE != 64]: Likewise.
74537 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74539         * Makeconfig (run-built-tests): New variable.
74540         * Rules [$(cross-compiling) = yes]: Change condition to
74541         [$(run-built-tests) = no].
74542         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74543         to [$(run-built-tests) = yes].
74544         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74545         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74546         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74547         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74548         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74549         * io/Makefile [$(cross-compiling) = no]: Likewise.
74550         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74551         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74552         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74553         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74554         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74555         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74556         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74557         * string/Makefile [$(cross-compiling) = no]: Likewise.
74559         * posix/Makefile ($(objpfx)globtest.out): Pass
74560         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74561         $(rtld-installed-name).
74562         * posix/globtest.sh (elf_objpfx): Remove variable.
74563         (rtld_installed_name): Likewise.
74564         (library_path): Likewise.
74565         (run_program_prefix): New variable.  Use for running globtest
74566         binary.
74568 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74569             Joseph Myers  <joseph@codesourcery.com>
74571         * Makeconfig (host-built-program-cmd): New variable.
74572         * elf/Makefile (tst-stackguard1-ARGS): Use
74573         $(host-built-program-cmd).
74574         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74575         (tst-spawn-ARGS): Likewise.
74576         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74578 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74579             Jim Blandy  <jimb@codesourcery.com>
74581         * Makeconfig (run-via-rtld-prefix): New variable.
74582         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74583         (built-program-cmd): Likewise.
74585 2012-10-22  Andreas Jaeger  <aj@suse.de>
74587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74588         __O_RSYNC if it exists, otherwise to O_SYNC.
74590 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74591             Joseph Myers  <joseph@codesourcery.com>
74593         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74594         /dev/null.
74595         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74596         from /dev/null
74597         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74598         /dev/null.
74600 2012-10-22  Andreas Jaeger  <aj@suse.de>
74602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74603         Define always.
74604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74607         bits/fcntl-linux.h.
74609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74610         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74613         to __O_LARGEFILE.
74614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74615         to __O_LARGEFILE.
74617 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74618             Joseph Myers  <joseph@codesourcery.com>
74620         * config.make.in (NM): New variable.
74622 2012-10-21  Andreas Jaeger  <aj@suse.de>
74624         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74625         definitions and declarations that are provided by
74626         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74628 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74630         [BZ #14683]
74631         * elf/Makefile (tests-static): Add tst-leaks1-static.
74632         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74633         ($(objpfx)tst-leaks1-static): New rule.
74634         ($(objpfx)tst-leaks1-static-mem): Likewise.
74635         (tst-leaks1-static-ENV): New macro.
74636         * elf/dl-open.c (dl_open_worker): Check the main application
74637         only if SHARED is defined.
74638         * elf/tst-leaks1-static.c: New file.
74640 2012-10-20  Andreas Jaeger  <aj@suse.de>
74642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74643         generic values for Linux.
74644         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74645         and declarations that are provided by <bits/fcntl-linux.h> and
74646         include <bits/fcntl-linux.h>.
74647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74648         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74650 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74652         * io/fcntl.h: Move include of <bits/types.h> to the top and
74653         include it unconditionally.
74655 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74657         * wcsmbs/Makefile (tests-ifunc): New variable.
74658         (tests): Add $(tests-ifunc).
74659         * wcsmbs/test-wcschr-ifunc.c: New file.
74660         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74661         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74662         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74663         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74664         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74666         * string/Makefile (tests-ifunc): New variable.
74667         (tests): Add $(tests-ifunc).
74668         * string/test-memccpy.c (TEST_NAME): New macro.
74669         * string/test-memchr.c (TEST_NAME): Likewise.
74670         * string/test-memcmp.c (TEST_NAME): Likewise.
74671         * string/test-memcpy.c (TEST_NAME): Likewise.
74672         * string/test-memmem.c (TEST_NAME): Likewise.
74673         * string/test-memmove.c (TEST_NAME): Likewise.
74674         * string/test-memset.c (TEST_NAME): Likewise.
74675         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74676         * string/test-stpcpy.c (TEST_NAME): Likewise.
74677         * string/test-stpncpy.c (TEST_NAME): Likewise.
74678         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74679         * string/test-strcasestr.c (TEST_NAME): Likewise.
74680         * string/test-strcat.c (TEST_NAME): Likewise.
74681         * string/test-strchr.c (TEST_NAME): Likewise.
74682         * string/test-strcmp.c(TEST_NAME): Likewise.
74683         * string/test-strcpy.c (TEST_NAME): Likewise.
74684         * string/test-strcspn.c (TEST_NAME): Likewise.
74685         * string/test-strlen.c (TEST_NAME): Likewise.
74686         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74687         * string/test-strncmp.c (TEST_NAME): Likewise.
74688         * string/test-strncpy.c (TEST_NAME): Likewise.
74689         * string/test-strnlen.c (TEST_NAME): Likewise.
74690         * string/test-strpbrk.c (TEST_NAME): Likewise.
74691         * string/test-strrchr.c (TEST_NAME): Likewise.
74692         * string/test-strspn.c (TEST_NAME): Likewise.
74693         * string/test-strstr.c (TEST_NAME): Likewise.
74694         * string/test-bcopy-ifunc.c: New file.
74695         * string/test-bzero-ifunc.c: Likewise.
74696         * string/test-memccpy-ifunc.c: Likewise.
74697         * string/test-memchr-ifunc.c: Likewise.
74698         * string/test-memcmp-ifunc.c: Likewise.
74699         * string/test-memcpy-ifunc.c: Likewise.
74700         * string/test-memmem-ifunc.c: Likewise.
74701         * string/test-memmove-ifunc.c: Likewise.
74702         * string/test-mempcpy-ifunc.c: Likewise.
74703         * string/test-memset-ifunc.c: Likewise.
74704         * string/test-rawmemchr-ifunc.c: Likewise.
74705         * string/test-stpcpy-ifunc.c: Likewise.
74706         * string/test-stpncpy-ifunc.c: Likewise.
74707         * string/test-strcasecmp-ifunc.c: Likewise.
74708         * string/test-strcasestr-ifunc.c: Likewise.
74709         * string/test-strcat-ifunc.c: Likewise.
74710         * string/test-strchr-ifunc.c: Likewise.
74711         * string/test-strchrnul-ifunc.c: Likewise.
74712         * string/test-strcmp-ifunc.c: Likewise.
74713         * string/test-strcpy-ifunc.c: Likewise.
74714         * string/test-strcspn-ifunc.c: Likewise.
74715         * string/test-strlen-ifunc.c: Likewise.
74716         * string/test-strncasecmp-ifunc.c: Likewise.
74717         * string/test-strncat-ifunc.c: Likewise.
74718         * string/test-strncmp-ifunc.c: Likewise.
74719         * string/test-strncpy-ifunc.c: Likewise.
74720         * string/test-strnlen-ifunc.c: Likewise.
74721         * string/test-strpbrk-ifunc.c: Likewise.
74722         * string/test-strrchr-ifunc.c: Likewise.
74723         * string/test-strspn-ifunc.c: Likewise.
74724         * string/test-strstr-ifunc.c: Likewise.
74726         * debug/Makefile (tests-ifunc): New variable.
74727         (tests): Add $(tests-ifunc).
74728         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74729         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74730         * debug/test-stpcpy_chk-ifunc.c: New file.
74731         * debug/test-strcpy_chk-ifunc.c: Likewise.
74733 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74735         [BZ #13601]
74736         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74737         header is not read in.
74739 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74741         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74742         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74743         directly.  Pass built executable to script as
74744         $(built-program-cmd).
74745         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74746         $testprogram without using LD_LIBRARY_PATH and $ldso.
74748         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74749         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74750         $(rtld-installed-name).
74751         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74752         (rtld_installed_name): Likewise.
74753         (library_path): Likewise.
74754         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74755         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74756         $(run-program-prefix) to tst-tables.sh.
74757         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74758         it to run tst-table-from and tst-table-to.
74759         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74760         Pass it to tst-table.sh.
74761         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74762         $(run-program-prefix) to tst-gettext.sh.
74763         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74764         tst-translit.sh.
74765         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74766         tst-gettext2.sh.
74767         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74768         to run tst-gettext.
74769         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74770         to run tst-gettext2.
74771         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74772         to run tst-translit.
74773         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74774         $(run-program-prefix) to tst-mtrace.sh.
74775         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74776         to run tst-mtrace.
74777         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74778         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74779         $(rtld-installed-name).
74780         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74781         (rtld_installed_name): Likewise.
74782         (run_program_prefix): New variable.  Use it to run wordexp-test.
74784         * Makeconfig (ARCH): Remove all definitions.
74785         (machine): Likewise.
74786         [ARCH]: Remove conditional code.
74787         [!objdir]: Give error.
74788         [!objdir] (objpfx): Remove.
74789         [!objdir] (common-objpfx): Likewise.
74790         [!objdir] (common-objdir): Likewise.
74791         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74792         AC_CONFIG_FILES call.
74793         * configure: Regenerated.
74795         [BZ #13888]
74796         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74797         or TMPDIR.
74798         (testout): Likewise.
74800         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74801         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74802         $(rtld-installed-name).
74803         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74804         (rtld_installed_name): Likewise.
74805         (runit): Remove function.
74806         (run_getconf): New variable,  Use it for running getconf binary.
74808 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74810         [BZ #14716]
74811         * string/test-memmem.c (check_result): New function.
74812         (do_one_test): Use it.
74813         (check1): New function.
74814         (test_main): Use it.
74816 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74818         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74820 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74822         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74823         (_G_LSEEK64): Likewise.
74824         (_G_MMAP64): Likewise.
74825         (_G_FSTAT64): Likewise.
74826         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74827         (_G_LSEEK64): Likewise.
74828         (_G_MMAP64): Likewise.
74829         (_G_FSTAT64): Likewise.
74830         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74831         unconditional.  Call __mmap64 directly.
74832         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74833         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74834         __lseek64 directly.
74835         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74836         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74837         __mmap64 directly.
74838         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74839         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74840         __lseek64 directly.
74841         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74842         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74843         __lseek64 directly.
74844         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74845         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74846         __lseek64 directly.
74847         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74848         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74849         __fxstat64 directly.
74850         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74851         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74852         unconditional.
74853         (freopen64) [!_G_OPEN64]: Remove conditional code.
74854         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74855         unconditional.
74856         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74857         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74858         unconditional.
74859         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74860         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74861         unconditional.
74862         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74863         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74864         unconditional.
74865         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74866         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74867         unconditional.
74868         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74869         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74870         unconditional.
74871         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74872         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74873         unconditional.
74874         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74876 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74878         [BZ #12140]
74879         * manual/memory.texi (Malloc Tunable Parameters): Add note
74880         about free list pointers overwriting some perturb bytes.
74881         Wording suggested by Roland McGrath.
74883 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74885         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74886         (lgamma_test): Likewise.
74887         (tgamma_test): Likewise.
74889 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74891         [BZ #14700]
74892         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74893         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74895 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74897         * NEWS: Mention BZ #14716.
74898         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74899         when removing AVAILABLE1_USES_J macro.
74901 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74903         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74904         (__bswap_64): __uint64_t for unsigned 64-bit int.
74906 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74908         * include/string.h (memmem): Declare libc hidden alias.
74909         * string/memmem.c (memmem): Define libc hidden alias.
74910         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74911         __read, __close instead of open, read, close.
74913 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74916         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74917         global and hidden.
74918         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74919         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74920         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74921         Likewise.
74922         (__rawmemchr_sse2): Likewise.
74923         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74924         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74925         (__strchr_sse2): Likewise.
74926         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74927         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74928         (__strcasecmp_sse2): Likewise.
74929         (__strncasecmp_sse2): Likewise.
74930         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74931         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74932         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74933         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74934         (__strrchr_sse2): Likewise.
74935         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74936         ifunc-impl-list.c.
74937         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74938         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74939         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74940         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74941         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74942         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74943         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74944         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74945         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74946         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74947         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74948         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74949         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74950         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74951         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74952         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74953         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74954         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74955         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74956         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74957         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74958         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74959         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74960         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74961         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74962         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74963         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74964         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74965         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74966         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74968         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74969         global and hidden.
74970         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74971         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74972         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74973         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74974         Likewise.
74975         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74976         Likewise.
74977         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74978         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74979         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74980         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74981         ifunc-impl-list.c.
74982         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74983         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74984         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74985         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74986         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74987         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74988         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74989         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74990         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74991         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74992         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74993         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74994         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74995         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74996         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74997         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74998         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74999         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
75000         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75001         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75002         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75003         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75004         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75005         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75006         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75007         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
75008         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
75009         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
75010         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
75011         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75012         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
75013         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75014         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75015         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
75016         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75017         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75018         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75019         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75020         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75021         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75022         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
75024         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
75025         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
75026         * include/ifunc-impl-list.h: New file.
75027         * misc/ifunc-impl-list.c: Likewise.
75028         * misc/Makefile (routines): Add ifunc-impl-list.
75029         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
75030         * string/test-string.h: Include <ifunc-impl-list.h>.
75031         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
75032         TEST_NAME]: New variables.
75033         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
75034         are defined.
75035         (test_init): Call __libc_ifunc_impl_list to initialize
75036         func_list if TEST_IFUNC and TEST_NAME are defined.
75038         * string/Makefile (strop-tests): Add bcopy and bzero.
75039         * string/test-bcopy.c: New file.
75040         * string/test-bzero.c: Likewise.
75041         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
75042         defined.
75043         * string/test-memset.c: Support bzero test if TEST_BZERO is
75044         defined.
75045         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
75046         __libc_memmove.
75047         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
75048         __libc_memset.
75049         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
75050         of memset.
75052 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
75054         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
75055         * configure: Regenerated.
75057         * Makeconfig (+link-static-before-libc): Don't include
75058         $(link-static-libc).
75060         * libio/libio.h (_IO_pos_t): Remove.
75062 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75064         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
75065         McGrath.
75067 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75069         * crypt/crypt-entry.c: Include fips-private.h.
75070         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
75071         * crypt/md5c-test.c (main): Tolerate disabled MD5.
75072         * sysdeps/unix/sysv/linux/fips-private.h: New file.
75073         * sysdeps/generic/fips-private.h: New file, dummy fallback.
75075 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75077         * crypt/crypt-private.h: Include stdbool.h.
75078         (_ufc_setup_salt_r): Return bool.
75079         * crypt/crypt-entry.c: Include errno.h.
75080         (__crypt_r): Return NULL with EINVAL for bad salt.
75081         * crypt/crypt_util.c (bad_for_salt): New.
75082         (_ufc_setup_salt_r): Check that salt is long enough and within
75083         the specified alphabet.
75084         * crypt/badsalttest.c: New file.
75085         * crypt/Makefile (tests): Add it.
75086         ($(objpfx)badsalttest): New.
75088 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
75090         * NEWS: Add entry for BZ #14602.
75092 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75094         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75095         type-generic.
75096         * math/libm-test.inc: Update comment listing what functions and
75097         macros are tested.
75098         (isgreater_test): New function.
75099         (isgreaterequal_test): Likewise.
75100         (isless_test): Likewise.
75101         (islessequal_test): Likewise.
75102         (islessgreater_test): Likewise.
75103         (isunordered_test): Likewise.
75104         (main): Call the new functions.
75106 2012-10-09  Roland McGrath  <roland@hack.frob.com>
75108         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75109         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75110         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75111         * sysdeps/i386/configure: Regenerated.
75112         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75113         * sysdeps/mach/configure: Regenerated.
75114         * sysdeps/mach/hurd/configure: Regenerated.
75115         * sysdeps/powerpc/configure: Regenerated.
75116         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75117         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75118         * sysdeps/s390/s390-32/configure: Regenerated.
75119         * sysdeps/s390/s390-64/configure: Regenerated.
75120         * sysdeps/sh/configure: Regenerated.
75121         * sysdeps/sparc/configure: Regenerated.
75122         * sysdeps/unix/sysv/linux/configure: Regenerated.
75123         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75124         * sysdeps/x86_64/configure: Regenerated.
75126         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75127         defined.  Don't check if MAP is NULL.
75129 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75131         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75132         (_G_stat64): Likewise.
75133         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75134         (_G_stat64): Likewise.
75135         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75136         instead of struct _G_stat64.
75137         * libio/fileops.c (mmap_remap_check): Likewise.
75138         (decide_maybe_mmap): Likewise.
75139         (_IO_new_file_seekoff): Likewise.
75140         (_IO_file_stat): Likewise.
75141         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75142         _G_off64_t.
75143         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75144         instead of struct _G_stat64.
75145         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75147 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
75149         [BZ #14602]
75150         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75151         Replace with ...
75152         (CHECK_EOL): New macro.
75153         (two_way_short_needle): Check beginning of haystack for EOL.  Use
75154         CHECK_EOL.
75155         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75156         Replace with CHECK_EOL.
75157         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75158         Replace with CHECK_EOL.
75160 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
75162         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75163         type-generic.
75164         * math/libm-test.inc: Update comment listing what functions and
75165         macros are tested.
75166         (finite_test): New function.
75167         (isinf_test): Likewise.
75168         (isnan_test): Likewise.
75169         (fpclassify_test): Test subnormal input.
75170         (isfinite_test): Likewise.
75171         (isnormal_test): Likewise.
75172         (main): Call the new functions.
75174 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
75176         [BZ #14660]
75177         * Makerules (%.dynsym): Force C locale when running
75178         $(OBJDUMP) --dynamic-syms.
75180 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
75182         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75183         <stdint.h>.
75185 2012-10-06  David S. Miller  <davem@davemloft.net>
75187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75188         upper 32-bits of the length value in %o2 since we use branch-on-register
75189         tests which consider the entire 64-bit register.
75191 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
75193         * string/test-strstr.c (check2): Add a test for page boundary.
75195 2012-10-05  David S. Miller  <davem@davemloft.net>
75197         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75198         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75199         file.
75200         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75201         sysdep_routines.
75202         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75203         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75204         and bzero when HWCAP_SPARC_CRYPTO is present.
75206 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
75208         [BZ #14602]
75209         * string/test-strstr.c (check2): New function.
75210         (test_main): Call check2.
75212         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75213         and bug-strchr1.
75214         * string/bug-strcasestr1.c (do_test): Moved to ...
75215         * string/test-strcasestr.c (check1): Here.  New function.
75216         (do_one_test): Break out result checking code into ...
75217         (check_result): This.  New function.
75218         (do_one_test): Call check_result.
75219         (test_main): Call check1.
75220         * string/bug-strchr1.c (do_test): Moved to ...
75221         * string/test-strchr.c (check1): Here.  New function.
75222         (do_one_test): Break out result checking code into ...
75223         (check_result): This.  New function.
75224         (do_one_test): Call check_result.
75225         (test_main): Call check1.
75226         * string/bug-strstr1.c (main): Moved to ...
75227         * string/test-strstr.c (check1): Here.  New function.
75228         (do_one_test): Break out result checking code into ...
75229         (check_result): This.  New function.
75230         (do_one_test): Call check_result.
75231         (test_main): Call check1.
75232         * string/bug-strcasestr1.c: Removed.
75233         * string/bug-strchr1.c: Likewise.
75234         * string/bug-strstr1.c: Likewise.
75236         * elf/Makefile (dl-routines): Add hwcaps.
75237         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75238         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75239         (_dl_important_hwcaps): Moved to ...
75240         * elf/dl-hwcaps.c: Here.  New file.
75241         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75243         [BZ #14557]
75244         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75245         if IS_IN_rtld isn't defined.
75247         * elf/dl-support.c (_dl_sysinfo_map): New.
75248         Include "get-dynamic-info.h" and "setup-vdso.h".
75249         (_dl_non_dynamic_init): Call setup_vdso.
75250         * elf/dynamic-link.h: Don't include <assert.h>.
75251         (elf_get_dynamic_info): Moved to ...
75252         * elf/get-dynamic-info.h: Here.  New file.
75253         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75254         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75255         * elf/setup-vdso.h: Here.  New file.
75256         * elf/rtld.c: Include "setup-vdso.h".
75257         (dl_main): Call setup_vdso.
75259 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75261         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75262         creal in comment listing functions tested.  List finite, isinf,
75263         isnan, isless, islessequal, isgreater, isgreaterequal,
75264         islessgreater, isunordered, lgamma_r and pow10 as functions and
75265         macros not tested.  Mention which functions not tested are aliases
75266         for other functions.  Fix typo.  Note that signs of NaNs are not
75267         tested.
75269         * scripts/config.guess: Update from config.git.
75270         * scripts/config.sub: Likewise.
75272 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75274         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75275         * misc/madvise.c (madvise): Renamed to __madvise.
75276         Make madvise a weak alias.
75277         * include/sys/mman.h: Declare __madvise.
75278         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75279         * sysdeps/unix/syscalls.list
75280         (madvise): Make __madvise the strong name, and madvise a weak alias.
75281         * sysdeps/unix/sysv/linux/syscalls.list
75282         (madvise, mmap): Remove redundant entries.
75283         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75284         * malloc/malloc.c (mtrim): Likewise.
75285         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75287 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75289         * sysdeps/mach/hurd/dl-cache.c: File removed.
75290         * config.h.in (USE_LDCONFIG): New #undef.
75291         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75292         * configure: Regenerated.
75293         * elf/Makefile (dl-routines): Add dl-cache only under
75294         [$(use-ldconfig) = yes].
75295         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75296         cache on [USE_LDCONFIG].
75297         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75298         [USE_LDCONFIG].
75299         * elf/rtld.c (dl_main): Likewise.
75301 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75303         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75304         _SC_LEVEL4_CACHE_LINESIZE.
75306 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75308         * sysdeps/unix/bsd/confstr.h: File removed.
75310 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75312         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75313         sys/sdt-config.h.
75315 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75317         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75318         Make 'mapoff' field ElfW(Off) rather than off_t.
75320 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75322         * nscd/Makefile: Remove nscd-cflags and all its users.
75323         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75324         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75326         [BZ #10631]
75327         * malloc.c (malloc_printerr): Clarify error message.
75329 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75331         [BZ #14648]
75332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75333         Set bit_FMA_Usable if FMA is supported.
75334         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75335         macro.
75336         (bit_FMA4_Usable): Updated.
75337         (index_FMA_Usable): New macro.
75338         (CPUID_FMA): Likewise.
75339         (HAS_FMA): Defined with bit_FMA_Usable.
75341 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75343         * bits/types.h (__swblk_t): Type removed.
75344         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75345         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75347         (__SWBLK_T_TYPE): Likewise.
75348         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75349         (__SWBLK_T_TYPE): Likewise.
75350         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75351         (__SWBLK_T_TYPE): Likewise.
75352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75353         (__SWBLK_T_TYPE): Likewise.
75355 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75356             Honza Horak <hhorak@redhat.com>
75358         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75359         (xdr_mapname): Use YPMAXMAP as maxsize.
75360         (xdr_peername): Use YPMAXPEER as maxsize.
75361         (xdr_keydat): Use YPAXRECORD as maxsize.
75362         (xdr_valdat): Use YPMAXRECORD as maxsize.
75364 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75366         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75368         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75369         * csu/init-first.c: ... here.
75370         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75371         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75372         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75373         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75374         * sysdeps/i386/init-first.c: File removed.
75375         * sysdeps/sh/init-first.c: File removed.
75377 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75379         [BZ #14645]
75380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75381         if x * y might underflow to zero and z is zero.
75382         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75384         * math/libm-test.inc (min_subnorm_value): New variable.
75385         (fma_test): Add more tests.
75386         (fma_test_towardzero): Likewise.
75387         (fma_test_downward): Likewise.
75388         (fma_test_upward): Likewise.
75389         (initialize): Set min_subnorm_value.
75391 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75393         [BZ #14638]
75394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75395         0 + 0.
75396         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75397         mode for addition resulting in exact zero.
75398         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75400         exact 0 + 0.
75401         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75402         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75403         * math/libm-test.inc (fma_test): Add more tests.
75404         (fma_test_towardzero): New function.
75405         (fma_test_downward): Likewise.
75406         (fma_test_upward): Likewise.
75407         (main): Call the new functions.
75409 2012-09-28  David S. Miller  <davem@davemloft.net>
75411         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75413 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75415         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75416         instead of SIGALRM.
75418         * sysdeps/gnu/_G_config.h: Moved to ...
75419         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75420         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75421         * sysdeps/generic/_G_config.h: ... here.
75423         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75425         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75427         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75428         Conditionalize target on [libnss_test1.so-version].
75430         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75432         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75433         (elfobjdir): Move out of conditionals.
75435         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75436         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75437         (__nss_lookup_function): Conditionalize label remove_from_tree on
75438         [!DO_STATIC_NSS || SHARED], matching its only use.
75440 2012-09-28  David S. Miller  <davem@davemloft.net>
75442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75443         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75444         file.
75445         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75446         sysdep_routines.
75447         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75448         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75449         when HWCAP_SPARC_CRYPTO is present.
75451 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75453         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75455 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75457         [BZ #6530]
75458         * stdio-common/vfprintf.c (process_string_arg): Revert
75459         2000-07-22 change.
75461 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75463         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75464         for testcase.
75465         * stdio-common/tst-sprintf.c: Include <locale.h>
75466         (main): Test sprintf's handling of incomplete multibyte
75467         characters.
75469 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75471         * elf/dl-runtime.c (VERSYMIDX): Removed.
75472         * elf/dl-version.c (VERSYMIDX): Likewise.
75473         * elf/do-rel.h (VERSYMIDX): Likewise.
75474         (VALIDX): Likewise.
75475         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75476         * elf/rtld.c (VALIDX): Likewise.
75477         (ADDRIDX): Likewise.
75478         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75479         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75480         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75481         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75482         (VALIDX): Likewise.
75483         (ADDRIDX): Likewise.
75485 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75487         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75489 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75491         [BZ #11438]
75492         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75493         to global scope.
75494         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75495         addresses are in the same scope as 192.0.2/24.
75496         * posix/gai.conf: Document new scope table defaults.
75498 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75500         [BZ #5298]
75501         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75502         for ftell.  Compute offsets from write pointers instead.
75503         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75505 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75507         [BZ #14543]
75508         * libio/Makefile (tests): New test case tst-fseek.
75509         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75510         combination works in wide mode.
75511         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75512         state when the external buffer state changes.
75514 2012-09-27  David S. Miller  <davem@davemloft.net>
75516         [BZ #14376]
75517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75518         pass reloc->r_addend in as the 'high' argument to
75519         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75523 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75525         * rt/tst-aio2.c: Include <pthread.h>.
75526         * rt/tst-aio3.c: Likewise.
75528 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75530         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75532 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75534         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75535         contents on [SHARED].
75537 2012-09-26  Marek Polacek  <polacek@redhat.com>
75539         [BZ #14530]
75540         [BZ #13741]
75541         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75542         for C++ and GCC <4.3 as well as for non GCC compilers.
75544 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75548 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75550         * Makefile.in (all, install): Declare with .PHONY.
75551         Reported by Michael Hope <michael.hope@linaro.org>.
75553 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75555         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75556         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75557         system header.
75558         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75559         Likewise.
75560         (sydep_routines): Add the new and the internal functions.
75561         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75562         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75564         (GLIBC_2.17): Add the new function.
75565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75566         (GLIBC_2.17): Likewise.
75567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75568         (GLIBC_2.17): Likewise.
75569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75570         (GLIBC_2.17): Likewise.
75571         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75573 2012-09-25  Alan Modra  <amodra@gmail.com>
75575         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75576         Add release barrier before setting once_control to say
75577         initialisation is done.  Add hints on lwarx.  Use macro in
75578         place of isync.
75579         (clear_once_control): Add release barrier.
75581 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75583         [BZ #13629]
75584         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75585         specially.
75586         * math/s_clog10.c (__clog10): Likewise.
75587         * math/s_clog10f.c (__clog10f): Likewise.
75588         * math/s_clog10l.c (__clog10l): Likewise.
75589         * math/s_clogf.c (__clogf): Likewise.
75590         * math/s_clogl.c (__clogl): Likewise.
75591         * math/Makefile (libm-calls): Add x2y2m1.
75592         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75593         (__x2y2m1): Likewise.
75594         (__x2y2m1l): Likewise.
75595         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75596         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75597         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75598         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75599         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75600         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75601         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75602         * sysdeps/i386/fpu/libm-test-ulps: Update.
75603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75605         [BZ #14621]
75606         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75607         int as type of variable DEPTH.
75608         (glob): Use size_t instead of int as type of variables NEWCOUNT
75609         and OLD_PATHC.
75611 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75613         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75614         Add s_sincosf-sse2.
75615         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75616         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75617         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75618         macros for using routine as __sincosf_ia32.
75619         Use macro for function declaration and weak_alias.
75620         * sysdeps/i386/fpu/libm-test-ulps: Update.
75622         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75625         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75626         subnormal argument.
75627         * math/s_cexpf.c (__cexpf): Likewise.
75628         * math/s_csinf.c (__csinf): Likewise.
75629         * math/s_csinhf.c (__csinhf): Likewise.
75630         * math/s_ctanf.c (__ctanf): Likewise.
75631         * math/s_ctanhf.c (__ctanhf): Likewise.
75632         * math/s_ccosh.c (__ccoshf): Likewise.
75633         * math/s_cexp.c (__cexpl): Likewise.
75634         * math/s_csin.c (__csin): Likewise.
75635         * math/s_csinh.c (__csinh): Likewise.
75636         * math/s_ctan.c (__ctan): Likewise.
75637         * math/s_ctanh.c (ctanh): Likewise.
75638         * math/s_ccoshl.c (__ccoshl): Likewise.
75639         * math/s_cexpl.c (__cexpl): Likewise.
75640         * math/s_csinl.c (__csinl): Likewise.
75641         * math/s_csinhl.c (__csinhl): Likewise.
75642         * math/s_ctanl.c (__ctanl): Likewise.
75643         * math/s_ctanhl.c (__ctanhl): Likewise.
75645 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75647         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75648         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75649         (_IO_off_t): Define to __off_t, not _G_off_t.
75650         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75651         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75652         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75653         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75654         type of __dummy and __dummy2 fields.
75655         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75656         (_G_ssize_t): Likewise.
75657         (_G_off_t): Likewise.
75658         (_G_pid_t): Likewise.
75659         (_G_uid_t): Likewise.
75660         (_G_wchar_t): Likewise.
75661         (_G_wint_t): Likewise.
75662         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75663         (_G_ssize_t): Likewise.
75664         (_G_off_t): Likewise.
75665         (_G_pid_t): Likewise.
75666         (_G_uid_t): Likewise.
75667         (_G_wchar_t): Likewise.
75668         (_G_wint_t): Likewise.
75669         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75670         (_G_ssize_t): Likewise.
75671         (_G_off_t): Likewise.
75672         (_G_pid_t): Likewise.
75673         (_G_uid_t): Likewise.
75674         (_G_wchar_t): Likewise.
75675         (_G_wint_t): Likewise.
75677 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75679         * malloc/arena.c: Include malloc-sysdep.h.
75680         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75681         is sufficient to shrink the heap or an unmap is needed.
75682         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75683         new function check_may_shrink_heap.
75684         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75685         new function check_may_shrink_heap.
75687 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75689         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75690         comments.
75692 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75694         * catgets/test-gencat.sh: Add "set -e".
75695         * elf/tst-pathopt.sh: Likewise.
75696         * grp/tst_fgetgrent.sh: Likewise.
75697         * iconvdata/run-iconv-test.sh: Likewise.
75698         * intl/tst-gettext.sh: Likewise.
75699         * intl/tst-gettext2.sh: Likewise.
75700         * intl/tst-gettext4.sh: Likewise.
75701         * intl/tst-gettext6.sh: Likewise.
75702         * intl/tst-translit.sh: Likewise.
75703         * io/ftwtest-sh: Likewise.
75704         * libio/test-freopen.sh: Likewise.
75705         * malloc/tst-mtrace.sh: Likewise.
75706         * posix/globtest.sh: Likewise.
75707         * posix/tst-getconf.sh: Likewise.
75708         * posix/wordexp-tst.sh: Likewise.
75709         * stdio-common/tst-printf.sh: Likewise.
75710         * stdio-common/tst-unbputc.sh: Likewise.
75711         * stdlib/tst-fmtmsg.sh: Likewise.
75712         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75713         * catgets/Makefile: Do not specify -e option when running
75714         testsuite shell scripts.
75715         * elf/Makefile: Likewise.
75716         * grp/Makefile: Likewise.
75717         * iconvdata/Makefile: Likewise.
75718         * intl/Makefile: Likewise.
75719         * io/Makefile: Likewise.
75720         * libio/Makefile: Likewise.
75721         * malloc/Makefile: Likewise.
75722         * posix/Makefile: Likewise.
75723         * stdio-common/Makefile: Likewise.
75724         * stdlib/Makefile: Likewise.
75725         * sysdeps/x86_64/Makefile: Likewise.
75727         * io/ftwtest-sh: Add copyright header.
75728         * posix/globtest.sh: Likewise.
75729         * posix/tst-getconf.sh: Likewise.
75730         * posix/wordexp-tst.sh: Likewise.
75731         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75733 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75735         [BZ #13679]
75736         * Makeconfig (+link): Defined as $(+link-static) if
75737         $(build-shared) isn't yes.
75738         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75739         isn't yes.
75740         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75742         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75744         [BZ #14562]
75745         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75746         new chunk size with MALLOC_ALIGN_MASK.
75748 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75750         [BZ #5044]
75751         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75752         <rounding-mode.h>.
75753         (__printf_fphex): Determine rounding using get_rounding_mode and
75754         round_away.
75755         * stdio-common/tst-printf-round.c (struct hex_test): New
75756         structure.
75757         (hex_tests): New variable.
75758         (test_hex_in_one_mode): New function.
75759         (do_test): Also run tests for hex float output.
75761 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75763         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75764         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75765         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75766         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75767         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75768         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75769         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75770         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75772 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75774         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75775         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75776         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75777         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75779 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75781         [BZ #14579]
75782         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75783         mode only.
75784         * elf/tst-rtld-load-self.sh: New test.
75785         * elf/Makefile: Run it.
75787 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75789         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75790         (tst-writev-ENV): Remove.
75791         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75793 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75795         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75797 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75799         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75800         unconditional.
75801         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75802         Likewise.
75803         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75804         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75805         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75806         Likewise.
75808 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75810         [BZ #14587]
75811         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75812         * config.make.in (have-cpp-asm-debuginfo): Removed.
75813         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75814         * configure: Regenerated.
75816 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75818         [BZ #5044]
75819         * stdio-common/printf_fp.c: Include <stdbool.h> and
75820         <rounding-mode.h>.
75821         (___printf_fp): Determine rounding using get_rounding_mode and
75822         round_away.
75823         * stdio-common/tst-printf-round.c: New file.
75824         * stdio-common/Makefile (tests): Add tst-printf-round.
75825         (link-libm): New variable.
75826         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75828 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75830         [BZ #14576]
75831         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75832         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75833         Likewise.
75834         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75835         Likewise.
75837 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75839         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75840         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75841         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75842         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75844 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75846         [BZ #14518]
75847         * include/rounding-mode.h: New file.
75848         * sysdeps/generic/get-rounding-mode.h: Likewise.
75849         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75850         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75851         (MAX_VALUE): New macro.
75852         (MIN_VALUE): Likewise.
75853         (overflow_value): New function.
75854         (underflow_value): Likewise.
75855         (round_and_return): Use overflow_value and underflow_value to
75856         determine return values in overflow and underflow cases.  Use
75857         round_away to determine rounding depending on rounding mode.
75858         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75859         determine return values in overflow and underflow cases.
75860         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75861         (struct test_results): New structure.
75862         (struct test): Use struct test_results to store expected results
75863         for all rounding modes.
75864         (TEST): Include expected results for all rounding modes.
75865         (test_in_one_mode): New function.
75866         (do_test): Use test_in_one_mode to compute and check results.
75867         Check results for all rounding modes.
75868         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75869         $(link-libm).
75871 2012-12-09  Allan McRae  <allan@archlinux.org>
75873         * sysdeps/i386/fpu/libm-test-ulps: Update
75875 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75877         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75878         (_G_int32_t): Likewise.
75879         (_G_uint16_t): Likewise.
75880         (_G_uint32_t): Likewise.
75881         (_G_HAVE_BOOL): Likewise.
75882         (_G_HAVE_ATEXIT): Likewise.
75883         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75884         (_G_HAVE_IO_FILE_OPEN): Likewise.
75885         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75886         (_G_int32_t): Likewise.
75887         (_G_uint16_t): Likewise.
75888         (_G_uint32_t): Likewise.
75889         (_G_HAVE_BOOL): Likewise.
75890         (_G_HAVE_ATEXIT): Likewise.
75891         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75892         (_G_HAVE_IO_FILE_OPEN): Likewise.
75893         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75894         (_G_int32_t): Likewise.
75895         (_G_uint16_t): Likewise.
75896         (_G_uint32_t): Likewise.
75897         (_G_HAVE_BOOL): Likewise.
75898         (_G_HAVE_ATEXIT): Likewise.
75899         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75900         (_G_HAVE_IO_FILE_OPEN): Likewise.
75902 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75904         * csu/libc-tls.c: Update copyright years.
75906 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75908         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75909         [!_G_USING_THUNKS]: Remove conditional code.
75910         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75911         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75913         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75914         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75915         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75916         (_G_VTABLE_LABEL_PREFIX): Likewise.
75917         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75918         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75919         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75920         (_G_VTABLE_LABEL_PREFIX): Likewise.
75921         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75922         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75923         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75924         (_G_VTABLE_LABEL_PREFIX): Likewise.
75925         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75927 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75929         * libio/Makefile: Include ../Makeconfig before tests.
75930         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75931         only if $(build-shared) is yes.
75933         * iconv/gconv_db.c: Update copyright years.
75935 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75937         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75938         unwind info if defined PIC. Fix special cases description.
75939         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75941         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75942         DP_HI_MASK entry.
75943         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75945 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75947         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75949         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75950         is NULL.
75952         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75953         (LDLIBS-tst-chk4): This.
75954         (LDFLAGS-tst-chk5): Renamed to ...
75955         (LDLIBS-tst-chk5): This.
75956         (LDFLAGS-tst-chk6): Renamed to ...
75957         (LDLIBS-tst-chk6): This.
75958         (LDFLAGS-tst-lfschk4): Renamed to ...
75959         (LDLIBS-tst-lfschk4): This.
75960         (LDFLAGS-tst-lfschk5): Renamed to ...
75961         (LDLIBS-tst-lfschk5): This.
75962         (LDFLAGS-tst-lfschk6): Renamed to ...
75963         (LDLIBS-tst-lfschk6): This.
75965         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75966         on $(common-objpfx)soversions.mk.
75968 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75970         [BZ #10014]
75971         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75972         example host name.
75974 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75976         * malloc/arena.c (arena_get_retry): New function that gets
75977         another arena for the caller to try its request on.
75978         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75979         current arena cannot fulfill the request.
75980         (__libc_memalign): Likewise.
75981         (__libc_memalign): Likewise.
75982         (__libc_pvalloc): Likewise.
75983         (__libc_calloc): Likewise.
75985 2012-09-05  John Tobey  <john.tobey@gmail.com>
75987         [BZ #13542]
75988         * manual/arith.texi (Operations on Complex): Fix description
75989         of carg branch cut.
75991 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75993         [BZ #10014]
75994         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75995         host name.
75997         [BZ #10038]
75998         * manual/memory.texi (Memory): Make order of menu items match
75999         order of sections.
76001 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76003         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
76004         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
76005         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
76007 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76009         * csu/libc-tls.c (static_dtv): Renamed to ...
76010         (_dl_static_dtv): This.  Make it global.
76011         (_dl_initial_dtv): Removed.
76012         (__libc_setup_tls): Updated.
76013         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
76014         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
76015         DL_INITIAL_DTV.
76017 2012-09-06  Petr Machata  <pmachata@redhat.com>
76019         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
76020         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
76021         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76022         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
76024 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76026         [BZ #14545]
76027         * csu/libc-tls.c (_dl_initial_dtv): New variable.
76028         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
76029         freeing dtv[-1].
76031 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76033         [BZ #14544]
76034         * Makeconfig (link-static-before-libc): Replace $(+prector)
76035         with $(+prectorT).
76036         (link-static-after-libc): Replace $(+postctor) with
76037         $(+postctorT).
76038         (link-bounded): Replace $(+prector)/$(+postctor) with
76039         $(+prectorT)/$(+postctorT).
76040         (+prectorT): New macro.
76041         (+postctorT): Likewise.
76043 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76045         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
76046         (round_str): Handle values above the maximum for IBM long double
76047         as inexact.
76048         * stdlib/tst-strtod-round.c (tests): Regenerated.
76050 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76052         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
76053         assembler flag.
76054         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
76055         zarch_nohighgprs around the zarch optimized routines.
76056         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
76057         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
76058         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
76059         for zarch.
76061 2012-09-05  David S. Miller  <davem@davemloft.net>
76063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76065         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
76066         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
76067         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
76068         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76069         entries.
76071 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76073         * malloc/arena.c: Fold copyright years.
76074         * malloc/mcheck.c, malloc/memusage.c: Likewise.
76076 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76078         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
76080 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76082         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
76084 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76086         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
76087         change internal state upon failure.
76089 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76091         * malloc/mcheck.c (mcheck_check_all): Fix typo.
76092         * malloc/memusage.c (mmap): Likewise.
76093         (mmap64, mremap): Likewise.  Adjust name in comment.
76095 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76097         * libio/fileops.c: Fix typos in comments.
76098         * libio/oldfileops.c: Likewise.
76099         * libio/wfileops.c: Likewise.
76101 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76103         [BZ #1349]
76104         * malloc/Makefile (tests): Add tst-malloc-usable test case.
76105         (tst-malloc-usable-ENV): Set environment for test case.
76106         * malloc/hooks.c (malloc_check_get_size): New function to get
76107         requested size.
76108         * malloc/malloc.c (musable): Use malloc_check_get_size.
76109         * malloc/tst-malloc-usable.c: New test case.
76111 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76113         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76115 2012-09-05  Allan McRae  <allan@archlinux.org>
76117         [BZ #13966]
76118         * configure.in (CXX_SYSINCLUDES): Use compiler output to
76119         determine header location.
76120         * configure: Regenerated.
76122 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76124         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76125         float format.
76126         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76127         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76128         format.
76129         (test): Regenerate.
76131 2012-09-04  David S. Miller  <davem@davemloft.net>
76133         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76134         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76135         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76137 2012-09-04  Florian Weimer  <fweimer@redhat.com>
76139         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76140         failures.
76142         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76144 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
76146         [BZ #9914]
76147         * libio/iogetdelim.c: Include <limits.h>.
76148         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76149         + len + 1 would overflow.
76151 2012-09-03  Andreas Jaeger  <aj@suse.de>
76153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76154         * sysdeps/i386/fpu/libm-test-ulps: Update.
76156 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76158         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76159         Add s_sinf-sse2, s_conf-sse2.
76161         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76162         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76163         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76164         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76166         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76167         for using routine as __sinf_ia32.
76168         Use macro for function declaration and weak_alias.
76169         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76170         for using routine as __cosf_ia32.
76171         Use macro for function declaration and weak_alias.
76173         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76174         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76176         * sysdeps/x86_64/fpu/s_sinf.S: New file.
76177         * sysdeps/x86_64/fpu/s_cosf.S: New file.
76178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76180         * math/libm-test.inc (cos_test): Add more test cases.
76181         (sin_test): Likewise.
76182         (sincos_test): Likewise.
76184 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76187         (IFUNC_RESOLVE): Make pointers to the specialized implementations
76188         hidden.
76189         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76191 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
76193         [BZ #14538]
76194         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76195         first element of the GOT.
76196         (elf_machine_load_address): Return the difference between
76197         the runtime address of _DYNAMIC and elf_machine_dynamic ().
76199 2012-09-01  Allan McRae  <allan@archlinux.org>
76201         [BZ #13412]
76202         * configure.in (AWK): Require gawk version 3.0 or later.
76203         * configure: Regenerated.
76205 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
76207         * sysdeps/unix/sysv/linux/kernel-features.h
76208         (__ASSUME_POSIX_CPU_TIMERS): Remove.
76209         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76210         [__NR_clock_getres]: Make code unconditional.
76211         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76212         (clock_getcpuclockid): Remove code left unreachable by removal of
76213         conditionals.
76214         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76215         code unconditional.
76216         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76217         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76218         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76219         Make code unconditional.
76220         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76221         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76222         * sysdeps/unix/sysv/linux/clock_settime.c
76223         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76224         conditional code.
76225         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76226         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76228 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76230         [BZ #14476]
76231         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76232         scripts/test-installation.pl.
76234         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76235         and $ld_so_version if it is set.
76237 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76239         [BZ #14516]
76240         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76241         failure if reading from procfs failed.
76242         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76244 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76246         * sysdeps/unix/sysv/linux/kernel-features.h
76247         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76248         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76249         Remove conditional code.
76250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76251         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76252         Remove conditional code.
76253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76254         * sysdeps/unix/sysv/linux/i386/fxstat.c
76255         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76256         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76257         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76258         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76259         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76260         * sysdeps/unix/sysv/linux/i386/lxstat.c
76261         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76262         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76263         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76264         Remove conditional code.
76265         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76266         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76267         Remove conditional code.
76268         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76269         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76270         <kernel-features.h>.
76271         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76272         Remove.
76273         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76274         Remove conditional code.
76275         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76276         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76277         Remove conditional.
76279 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76281         [BZ #5400]
76282         * NEWS: Add fixed bug number.
76284 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76286         [BZ #14519]
76287         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76288         underflowing exponent in case of negative sign.
76289         * stdlib/tst-strtod-round-data: Add more tests.
76290         * stdlib/tst-strtod-round.c (tests): Regenerated.
76292         [BZ #3479]
76293         * stdlib/strtod_l.c (NDIG): Remove.
76294         (HEXNDIG): Likewise.
76295         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76296         smallest representable value.
76297         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76298         lie within an exact representation of 1/2 ulp of the result.
76299         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76300         unconditionally.
76301         (TENS_P9_IDX): Define unconditionally.
76302         (TENS_P9_SIZE): Likewise.
76303         (TENS_P10_IDX): Likewise.
76304         (TENS_P10_SIZE): Likewise.
76305         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76306         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76307         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76308         entries for 10^2^13 and 10^2^14.
76309         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76310         (TENS_P13_IDX): Define.
76311         (TENS_P13_SIZE): Likewise.
76312         (TENS_P14_IDX): Likewise.
76313         (TENS_P14_SIZE): Likewise.
76314         (_fpioconst_pow10): Change array size to
76315         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76316         unconditional.
76317         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76318         1024]: Add entries for 10^2^13 and 10^2^14.
76319         [LAST_POW10 > _LAST_POW10]: Remove #error.
76320         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76321         (_fpioconst_pow10): Change array size to
76322         FPIOCONST_POW10_ARRAY_SIZE.
76323         * stdlib/gen-fpioconst.c: New file.
76324         * stdlib/gen-tst-strtod-round.c: Likewise.
76325         * stdlib/tst-strtod-round-data: Likewise.
76326         * stdlib/tst-strtod-round.c: Likewise.
76327         * stdlib/Makefile (tests): Add tst-strtod-round.
76329         [BZ #14459]
76330         * stdlib/strtod_l.c: Include <stdint.h>.
76331         (NDEBUG): Do not define.
76332         (round_and_return): Change EXPONENT parameter to type intmax_t.
76333         Rearrange calculations to avoid internal overflow possibilities.
76334         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76335         Rearrange calculations to avoid internal overflow possibilities.
76336         Assert that number fits inside MPNSIZE limbs.
76337         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76338         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76339         calculations and add assertions to avoid internal overflow
76340         possibilities.  Add casts to avoid signed/unsigned operations.
76341         * stdlib/tst-strtod-overflow.c: New file.
76342         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76344 2012-08-25  Marek Polacek  <polacek@redhat.com>
76346         * time/time.h: Fix some typos in comments.
76348 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76350         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76351         * posix/tst-rfc3484-2.c: Likewise.
76352         * posix/tst-rfc3484-3.c: Likewise.
76354 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76356         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76357         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76359 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76361         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76362         #include of fxstatat64.c.
76364 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76366         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76367         * shadow/getspent_r.c: Likewise.
76368         * shadow/getspnam.c: Likewise.
76369         * shadow/getspnam_r.c: Likewise.
76370         * gshadow/getsgent.c: Likewise.
76371         * gshadow/getsgent_r.c: Likewise.
76372         * gshadow/getsgnam.c: Likewise.
76373         * gshadow/getsgnam_r.c: Likewise.
76374         * inet/getnetbyad.c: Likewise.
76375         * inet/getnetbyad_r.c: Likewise.
76376         * inet/getnetbynm.c: Likewise.
76377         * inet/getnetbynm_r.c: Likewise.
76378         * inet/getnetent.c: Likewise.
76379         * inet/getnetent_r.c: Likewise.
76380         * inet/getproto.c: Likewise.
76381         * inet/getproto_r.c: Likewise.
76382         * inet/getprtent.c: Likewise.
76383         * inet/getprtent_r.c: Likewise.
76384         * inet/getprtname.c: Likewise.
76385         * inet/getprtname_r.c: Likewise.
76386         * inet/getrpcbyname.c: Likewise.
76387         * inet/getrpcbyname_r.c: Likewise.
76388         * inet/getrpcbynumber.c: Likewise.
76389         * inet/getrpcbynumber_r.c: Likewise.
76390         * inet/getrpcent.c: Likewise.
76391         * inet/getrpcent_r.c: Likewise.
76392         * inet/getaliasent.c: Likewise.
76393         * inet/getaliasent_r.c: Likewise.
76394         * inet/getaliasname.c: Likewise.
76395         * inet/getaliasname_r.c: Likewise.
76396         * nscd/getgrgid_r.c: Likewise.
76397         * nscd/getgrnam_r.c: Likewise.
76398         * nscd/gethstbyad_r.c: Likewise.
76399         * nscd/gethstbynm3_r.c: Likewise.
76400         * nscd/getpwnam_r.c: Likewise.
76401         * nscd/getpwuid_r.c: Likewise.
76402         * nscd/getsrvbynm_r.c: Likewise.
76403         * nscd/getsrvbypt_r.c: Likewise.
76404         * nscd/gai.c: Likewise.
76406         * configure.in (build_nscd): New substituted variable, set
76407         by --disable-build-nscd and defaults to $use_nscd.
76408         * configure: Regenerated.
76409         * config.make.in (build-nscd): New substituted variable.
76410         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76411         Change conditional to require [$(build-nscd) = yes] as well.
76412         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76414         [BZ #13696]
76415         * configure.in (use_nscd): New substituted variable, set by
76416         --disable-nscd.  If enabled, define USE_NSCD.
76417         * configure: Regenerated.
76418         * config.h.in: Add USE_NSCD.
76419         * config.make.in (use-nscd): New substituted variable.
76420         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76421         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76422         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76423         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76424         (CFLAGS-getgrnam_r.c): Likewise.
76425         (CFLAGS-initgroups.c): Likewise.
76426         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76427         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76428         Variables removed.
76429         * inet/getnetgrent_r.c
76430         (nscd_setnetgrent): New function, broken out of ...
76431         (setnetgrent): ... here.  Call it.
76432         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76433         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76434         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76435         * nscd/Makefile (routines, aux): Move definitions after include of
76436         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76437         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76438         Conditionalize on [USE_NSCD].
76439         (is_nscd, nscd_init_cb): Likewise.
76440         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76441         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76442         * nss/nss_db/db-init.c: Likewise.
76443         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76444         [USE_NSCD].
76445         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76446         (make_request): Use it.
76447         (cache_valid_p): New function.
76448         (__check_pf): Use it.
76449         * NEWS: Add item for --disable-nscd.
76451 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76453         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76454         to support sed >= 4.2.1-20-ga9bf076.
76455         * configure: Regenerated.
76457 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76459         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76460         Conditionalize whole body on [IREL].
76462 2012-08-22  Jeff Law <law@redhat.com>
76464         [BZ #14505]
76465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76466         if the family is PF_UNSPEC.
76468 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76470         * Makerules (lib-version): Rename from V.
76471         (install-lib-nosubdir): Change V to lib-version.
76473 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76475         [BZ #14252]
76476         * powerpc32/power6/wcschr.c: New file.
76477         * powerpc32/power6/wcscpy.c: New file.
76478         * powerpc32/power6/wcsrchr.c: New file.
76479         * powerpc64/power6/wcschr.c: New file.
76480         * powerpc64/power6/wcscpy.c: New file.
76481         * powerpc64/power6/wcsrchr.c: New file.
76483 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76485         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76486         (two_way_short_needle): Use it.
76487         * string/strstr.c (AVAILABLE1_USES_J): Define.
76488         * string/strcasestr.c: Likewise.
76490         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76491         array references.
76492         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76494         [BZ #11607]
76495         * NEWS: Add an entry.
76496         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76497         define their defaults.
76498         (two_way_short_needle): Detect end-of-string on-the-fly.
76499         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76500         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76501         * string/bug-strcasestr1.c: New test.
76502         * string/Makefile: Run it.
76504 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76506         [BZ #11607]
76507         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76508         the first character.
76510 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76512         * csu/elf-init.c (__libc_csu_irel): Function removed.
76513         * csu/libc-start.c (apply_irel): New function.
76514         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76516 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76518         * sysdeps/unix/sysv/linux/kernel-features.h
76519         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76520         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76521         <kernel-features.h>.
76522         [__NR_fadvise64_64]: Make code unconditional.
76523         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76524         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76525         !__NR_fadvise64_64)]: Likewise.
76526         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76527         !__NR_fadvise64_64))]: Likewise.
76528         [__NR_fadvise64]: Make code unconditional.
76529         [!__NR_fadvise64]: Remove conditional code.
76530         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76531         <kernel-features.h>.
76532         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76533         unconditional.
76534         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76535         conditional code.
76536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76537         not include <kernel-features.h>.
76538         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76539         unconditional.
76540         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76541         conditional code.
76542         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76543         include <kernel-features.h>.
76544         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76545         unconditional.
76546         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76547         conditional code.
76549 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76551         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76552         slight instruction rearrangements per scrollpipe analysis.
76553         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76555 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76557         * manual/syslog.texi (syslog; vsyslog, closelog):
76558         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76559         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76561         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76562         DSOCAPS to match condition on defining it.
76564 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76566         * sysdeps/unix/sysv/linux/kernel-features.h
76567         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76569         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76570         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76572         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76573         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76575         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76576         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76578         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76579         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76581         * sysdeps/unix/sysv/linux/kernel-features.h
76582         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76583         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76584         unconditional.
76585         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76586         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76587         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76588         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76589         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76590         Make code unconditional.
76591         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76592         (__mmap64) [!__NR_mmap2]: Likewise.
76593         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76594         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76595         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76596         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76597         [__NR_mmap2]: Make code unconditional.
76598         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76599         (__mmap64) [!__NR_mmap2]: Likewise.
76601 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76603         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76605 2012-08-18  Andreas Jaeger  <aj@suse.de>
76607         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76609 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76611         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76612         * include/unistd.h (__have_sock_cloexec): Likewise.
76613         (__have_pipe2): Likewise.
76614         (__have_dup3): Likewise.
76616 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76618         [BZ #9685]
76619         * include/unistd.h (__have_pipe2): Change define into an extern int.
76620         (__have_dup3): Likewise.
76621         * socket/have_sock_cloexec.c: Include fcntl.h.
76622         (__have_pipe2): New variable.
76623         (__have_dup3): Likewise.
76625 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76627         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76629 2012-08-17  Marek Polacek  <polacek@redhat.com>
76631         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76632         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76634 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76636         * configure.in: Add AC_SUBST for sysheaders.
76637         * configure: Regenerated.
76638         * config.make.in (sysheaders): New substituted variable.
76640         * sysdeps/unix/mkfifo.c: Moved ...
76641         * sysdeps/posix/mkfifo.c: ... here.
76642         * sysdeps/unix/mkfifoat.c: Moved ...
76643         * sysdeps/posix/mkfifoat.c: ... here.
76645         * sysdeps/unix/utime.c: Moved ...
76646         * sysdeps/posix/utime.c: ... here.
76648         * sysdeps/unix/time.c: Moved ...
76649         * sysdeps/posix/time.c: ... here.
76650         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76651         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76653         * sysdeps/unix/nice.c: Moved ...
76654         * sysdeps/posix/nice.c: ... here.
76656         * sysdeps/unix/alarm.c: Moved ...
76657         * sysdeps/posix/alarm.c: ... here.
76659         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76661 2012-08-17  Jeff Law <law@redhat.com>
76663         * intl/Makefile (codeset_mo): New variable.
76664         ($(codeset_mo)): New target.
76665         (tst-codeset.out): Depend on that.  Remove explicit rule.
76666         (tst-gettext3.out, tst-gettext5.out): Likewise.
76667         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76668         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76669         * intl/tst-codeset.sh: Remove.
76670         * intl/tst-gettext3.sh: Likewise.
76671         * intl/tst-gettext5.sh: Likewise.
76673 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76675         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76676         * sysdeps/unix/syscalls.list: ... here.
76678         * sysdeps/posix/getaddrinfo.c
76679         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76680         (gaiconf_init, gaiconf_reload): Use them.
76681         [!_STATBUF_ST_NSEC]
76682         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76683         Define using time_t rather than struct timespec.
76685         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76686         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76687         Macros removed.
76688         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76689         [!NO_THREADS].
76690         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76691         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76692         Likewise.
76694         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76695         __libc_cleanup_push argument.
76697         * bits/param.h: New file.
76698         * misc/sys/param.h: New file.
76699         * include/sys/param.h: New file.
76700         * misc/Makefile (headers): Add bits/param.h.
76701         * sysdeps/generic/sys/param.h: File removed.
76702         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76703         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76704         * sysdeps/mach/hurd/bits/param.h: New file.
76705         * sysdeps/mach/hurd/sys/param.h: File removed.
76707         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76708         last change.
76710         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76711         [_IO_MTSAFE_IO].
76712         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76713         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76714         New macros.
76716         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76717         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76718         rather than -D_IO_MTSAFE_IO conditionally.
76719         * stdio-common/Makefile (CPPFLAGS): Likewise.
76720         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76721         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76722         Use $(libio-mtsafe).
76723         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76724         of -D_IO_MTSAFE_IO.
76725         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76726         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76727         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76728         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76729         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76730         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76731         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76732         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76733         (CFLAGS-fread_u_chk.c): Likewise.
76734         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76735         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76736         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76737         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76738         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76739         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76740         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76741         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76742         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76744         * libio/Makefile: Test [$(libc-reentrant) = yes]
76745         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76747         * Makeconfig
76748         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76749         * sysdeps/pthread/configure: File removed.
76750         * sysdeps/pthread/Makeconfig: New file.
76751         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76752         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76754 2012-08-16  Gary Benson  <gbenson@redhat.com>
76756         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76757         unmapping the first object in a namespace.
76759 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76761         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76762         (__internal_setnetgrent): ... this.  Add internal_function to
76763         definition.  Add libc_hidden_def.
76764         (setnetgrent): Update caller.
76765         (internal_endnetgrent): Renamed to ...
76766         (__internal_endnetgrent): ... this.  Add internal_function to
76767         definition.  Add libc_hidden_def.
76768         (endnetgrent): Update caller.
76769         (internal_getnetgrent_r): Renamed to ...
76770         (__internal_getnetgrent_r): ... this.  Add internal_function to
76771         definition.  Add libc_hidden_def.
76772         (__getnetgrent_r): Update caller.
76773         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76775 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76777         * stdlib/longlong.h: Update from GCC.
76779 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76781         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76782         on _QL, which is set by umul_ppmm but never used.
76783         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76784         variables, which are set by GMP macros but never used.
76785         * stdio-common/_itowa.c (_itowa): Likewise.
76786         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76787         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76789 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76791         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76792         struct La_sh_regs is not constant.
76793         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76794         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76795         and struct La_sparc64_regs are not constant.
76797 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76799         * sysdeps/unix/sysv/linux/kernel-features.h
76800         (__ASSUME_POSIX_TIMERS): Remove.
76801         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76802         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76803         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76804         Make code unconditional.
76805         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76806         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76807         Make code unconditional.
76808         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76809         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76810         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76811         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76812         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76813         Make code unconditional.
76814         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76815         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76816         (__libc_missing_posix_timers): Remove.
76818 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76820         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76821         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76823         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76825         * elf/dl-sym.c: Include <stdlib.h>.
76827         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76828         constants, which avoids warnings in 32-bit builds.
76830         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76831         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76833         * misc/lseek.c: File moved to ...
76834         * io/lseek.c: ... here.
76836         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76838         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76839         shifting LEN more than 31 bits at once.
76841 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76843         [BZ #14195]
76844         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76845         segmentation fault for a case of two empty input strings.
76846         * string/test-strncasecmp.c (check1): Renamed to...
76847         (bz12205): ...this.
76848         (bz14195): Add new testcase for two empty input strings and N > 0.
76849         (test_main): Call new testcase, adapt for renamed function.
76851 2012-08-15  Andreas Jaeger  <aj@suse.de>
76853         [BZ #14090]
76854         * crypt/md5test2.c: New test, based on test supplied by Serge
76855         Belyshev <belyshev@depni.sinp.msu.ru>.
76856         * crypt/Makefile (xtests): Add md5test-giant..
76857         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76859 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76861         [BZ #14090]
76862         * crypt/md5.c (md5_process_block): Don't assume the buffer
76863         length is less than 2**32.
76864         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76865         length is less than 2**64.
76867 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76869         * string/str-two-way.h: Include <sys/param.h>.
76870         (MAX): Macro removed.
76872         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76873         Move #define and #undef of memmove to just before and after
76874         including <string.h>.
76876         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76877         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76878         and after including <string.h>.  Move declarations of
76879         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76880         to before #include "string/memmove.c".
76882         * include/dirent.h: Declare __getdirentries.
76884         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76885         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76887 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76889         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76890         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76891         * sysdeps/i386/configure: Regenerated.
76892         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76893         STABS_CURRENT_FILE, and STABS_FUN.
76894         (END): Remove call to STABS_FUN_END.
76895         (STABS_CURRENT_FILE1): Delete.
76896         (STABS_CURRENT_FILE): Likewise.
76897         (STABS_FUN): Likewise.
76898         (STABS_FUN_END): Likewise.
76899         (STABS_FUN2): Likewise.
76900         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76901         * sysdeps/x86_64/configure: Regenerated.
76903 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76905         * elf/dl-open.c: Include <atomic.h>.
76906         * elf/dl-lookup.c: Likewise.
76908 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76910         * sysdeps/unix/sysv/linux/kernel-features.h
76911         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76912         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76913         unconditionally.
76914         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76915         unconditionally.
76916         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76917         condition on __ASSUME_CLONE_THREAD_FLAGS.
76919 2012-08-14  Andreas Jaeger  <aj@suse.de>
76921         * sysdeps/i386/fpu/libm-test-ulps: Update.
76923 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76925         * include/atomic.h (atomic_exchange_and_add): Split into ...
76926         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76927         New atomic macros.
76929 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76933 2012-08-13  Jeff Law <law@redhat.com>
76935         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76936         null byte in the output string.
76938 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76940         * sysdeps/unix/sysv/linux/kernel-features.h
76941         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76942         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76943         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76944         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76945         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76946         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76947         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76949 2012-08-09  Jeff Law <law@redhat.com>
76951         [BZ #13939]
76952         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76953         When avoid_arena is set, don't retry in the that arena.  Pick the
76954         next one, whatever it might be.
76955         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76956         (arena_lock): Pass in new parameter to arena_get2.
76957         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76958         arena_get2.
76959         (__libc_malloc): Unify retrying after main arena failure with
76960         __libc_memalign version.
76961         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76963 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76965         [BZ #14166]
76966         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76967         to __redirect_strstr.
76968         (__strstr_sse42): Use typeof __redirect_strstr.
76969         (__strstr_ia32): Likewise.
76970         (__libc_strstr): New prototype.
76971         (strstr): Renamed to ...
76972         (__libc_strstr): This.
76973         (strstr): New strong alias of __libc_strstr.
76974         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76975         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76976         __redirect_time.
76977         Include <time.h>.
76978         (__libc_time): New prototype.
76979         (time_ifunc): Replace time with __libc_time.
76980         (time): New strong alias and hidden definition of __libc_time.
76981         (__GI_time): Remove strong alias.
76982         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76983         Include <stddef.h>.
76984         (memmove): Redefined to __redirect_memmove.
76985         (__memmove_sse2): Use typeof __redirect_memmove.
76986         (__memmove_ssse3): Likewise.
76987         (__memmove_ssse3_back): Likewise.
76988         (__libc_memmove): New prototype.
76989         (memmove): Renamed to ...
76990         (__libc_memmove): This.
76991         (memmove): New strong alias of __libc_memmove.
76993 2012-08-08  Mark Salter  <msalter@redhat.com>
76995         * elf/elf.h
76996         (R_MN10300_TLS_GD): Define.
76997         (R_MN10300_TLS_LD): Likewise.
76998         (R_MN10300_TLS_LDO): Likewise.
76999         (R_MN10300_TLS_GOTIE): Likewise.
77000         (R_MN10300_TLS_IE): Likewise.
77001         (R_MN10300_TLS_LE): Likewise.
77002         (R_MN10300_TLS_DTPMOD): Likewise.
77003         (R_MN10300_TLS_DTPOFF): Likewise.
77004         (R_MN10300_TLS_TPOFF): Likewise.
77005         (R_MN10300_SYM_DIFF): Likewise.
77006         (R_MN10300_ALIGN): Likewise.
77007         (R_MN10300_NUM): Update.
77009 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
77011         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77012         Remove.
77014 2012-08-08  Roland McGrath  <roland@hack.frob.com>
77016         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
77018         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
77019         sysdeps/unix -> sysdeps/posix move.
77020         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
77022 2012-08-07      Allan McRae     <allan@archlinux.org>
77024         [BZ #14303]
77025         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
77026         (SUNOS_CPP): Likewise.
77027         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
77028         not found.
77029         (open_input): Call CPP using execvp.
77031 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77033         * sysdeps/unix/sysv/linux/kernel-features.h
77034         (__ASSUME_PROT_GROWSUPDOWN): Remove.
77035         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77036         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77037         (__ASSUME_WAITID_SYSCALL): Likewise.
77038         * sysdeps/unix/sysv/linux/dl-execstack.c
77039         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
77040         code unconditional.
77041         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
77042         conditional code.
77043         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
77044         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
77045         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
77046         code.
77047         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
77048         unconditional.
77049         [__ASSUME_WAITID_SYSCALL]: Likewise.
77050         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
77052 2012-08-07  Roland McGrath  <roland@hack.frob.com>
77054         * sysdeps/unix/closedir.c: Renamed to ...
77055         * sysdeps/posix/closedir.c: ... here.
77056         * sysdeps/unix/dirfd.c: Renamed to ...
77057         * sysdeps/posix/dirfd.c: ... here.
77058         * sysdeps/unix/dirstream.h: Renamed to ...
77059         * sysdeps/posix/dirstream.h: ... here.
77060         * sysdeps/unix/fdopendir.c: Renamed to ...
77061         * sysdeps/posix/fdopendir.c: ... here.
77062         * sysdeps/unix/opendir.c: Renamed to ...
77063         * sysdeps/posix/opendir.c: ... here.
77064         * sysdeps/unix/readdir.c: Renamed to ...
77065         * sysdeps/posix/readdir.c: ... here.
77066         * sysdeps/unix/readdir_r.c: Renamed to ...
77067         * sysdeps/posix/readdir_r.c: ... here.
77068         * sysdeps/unix/rewinddir.c: Renamed to ...
77069         * sysdeps/posix/rewinddir.c: ... here.
77070         * sysdeps/unix/seekdir.c: Renamed to ...
77071         * sysdeps/posix/seekdir.c: ... here.
77072         * sysdeps/unix/telldir.c: Renamed to ...
77073         * sysdeps/posix/telldir.c: ... here.
77074         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
77075         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
77076         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
77077         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
77079         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
77080         * bits/fcntl.h: ... here.
77082         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
77083         not 0.
77084         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77085         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
77086         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
77087         (struct flock): Move l_start, l_len to the beginning.
77088         Use __pid_t for l_pid.
77089         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77090         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
77091         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
77092         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
77093         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
77094         [__USE_LARGEFILE64] (struct flock64): New type.
77095         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
77097         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
77098         * bits/dirent.h: ... here.
77100         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
77101         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77103 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77105         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77106         Change from 2.6.0 to 2.6.16.
77107         * sysdeps/unix/sysv/linux/configure: Regenerated.
77108         * sysdeps/unix/sysv/linux/kernel-features.h
77109         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77110         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77111         version.
77112         (__ASSUME_UTIMES): Likewise.
77113         (__ASSUME_CLONE_STOPPED): Remove.
77114         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77115         architectures, not kernel version.
77116         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77117         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77118         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77119         (__ASSUME_WAITID_SYSCALL): Likewise.
77120         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77121         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77122         * README: State 2.6.16 as minimum Linux kernel version.  Do not
77123         refer to older versions.
77125 2012-08-06  Roland McGrath  <roland@hack.frob.com>
77127         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77128         Define alphasort64 as an alias.
77129         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77130         Define versionsort64 as an alias.
77131         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77132         Define scandir64 as an alias.
77133         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77134         Define scandirat64 as an alias.
77135         * dirent/alphasort64.c (alphasort64):
77136         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77137         * dirent/versionsort64.c: Likewise.
77138         * dirent/scandir64.c: Likewise.
77139         * dirent/scandirat64.c: Likewise.
77140         * sysdeps/wordsize-64/alphasort.c: File removed.
77141         * sysdeps/wordsize-64/alphasort64.c: File removed.
77142         * sysdeps/wordsize-64/scandir.c: File removed.
77143         * sysdeps/wordsize-64/scandir64.c: File removed.
77144         * sysdeps/wordsize-64/scandirat.c: File removed.
77145         * sysdeps/wordsize-64/scandirat64.c: File removed.
77146         * sysdeps/wordsize-64/versionsort.c: File removed.
77147         * sysdeps/wordsize-64/versionsort64.c: File removed.
77148         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77149         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77150         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77151         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77152         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77153         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77154         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77155         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77157         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77158         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77159         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77160         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77161         [defined __arch64__ || defined __sparcv9]
77162         (__INO_T_MATCHES_INO64_T): New macro.
77163         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77164         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77165         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77166         * sysdeps/unix/sysv/linux/bits/dirent.h
77167         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77168         (_DIRENT_MATCHES_DIRENT64): New macro.
77170         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77171         Define lockf64 as an alias.
77172         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77173         Define fseeko64 as an alias.
77174         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77175         Define ftello64 as an alias.
77176         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77177         Define _IO_fgetpos64 and fgetpos64 as aliases.
77178         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77179         Define _IO_fsetpos64 and fsetpos64 as aliases.
77180         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77181         Conditionalize body on this.
77182         * libio/fseeko64.c: Likewise.
77183         * libio/ftello64.c: Likewise.
77184         * libio/iofgetpos64.c: Likewise.
77185         * libio/iofsetpos64.c: Likewise.
77186         * sysdeps/wordsize-64/lockf.c: File removed.
77187         * sysdeps/wordsize-64/lockf64.c: File removed.
77188         * sysdeps/wordsize-64/fseeko.c: File removed.
77189         * sysdeps/wordsize-64/fseeko64.c: File removed.
77190         * sysdeps/wordsize-64/ftello.c: File removed.
77191         * sysdeps/wordsize-64/ftello64.c: File removed.
77192         * sysdeps/wordsize-64/iofgetpos.c: File removed.
77193         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77194         * sysdeps/wordsize-64/iofsetpos.c: File removed.
77195         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77196         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77197         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77198         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77199         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77200         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77201         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77202         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77203         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77204         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77205         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77207         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77208         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77209         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77210         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77211         [defined __arch64__ || defined __sparcv9]
77212         (__OFF_T_MATCHES_OFF64_T): New macro.
77213         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77214         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77215         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77216         (__OFF_T_MATCHES_OFF64_T): New macro.
77218 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77220         * stdlib/secure-getenv.c (__secure_getenv): Replace
77221         GLIBC_2_16 with GLIBC_2_17.
77223 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77225         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77228 2012-08-03  David S. Miller  <davem@davemloft.net>
77230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77232 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77235         Remove.
77236         (__ASSUME_CORRECT_SI_PID): Likewise.
77237         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77238         (__ASSUME_TMPFS_NAME): Likewise.
77239         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77240         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77241         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77242         (HAVE_AUX_SECURE): Make definition unconditional.
77243         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77244         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77246 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77248         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77249         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77250         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77251         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77252         __eloop_threshold instead of SYMLOOP_MAX.
77254         * sysdeps/generic/eloop-threshold.h: New file.
77255         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77256         of MAXSYMLINKS.
77257         * elf/chroot_canon.c (chroot_canon): Likewise.
77259 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77261         [BZ #13717]
77262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77263         Change to 2.6.0 everywhere.
77264         * sysdeps/unix/sysv/linux/configure: Regenerated.
77265         * sysdeps/unix/sysv/linux/kernel-features.h
77266         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77267         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77268         kernel versions.
77269         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77270         (__ASSUME_FUTEX_REQUEUE): Remove.
77271         (__ASSUME_STATFS64): Define unconditionally.
77272         (__ASSUME_AT_SECURE): Likewise.
77273         (__ASSUME_CORRECT_SI_PID): Likewise.
77274         (__ASSUME_TGKILL): Define without depending on kernel version for
77275         i386.
77276         (__ASSUME_UTIMES): Likewise.
77277         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77278         kernel version.
77279         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77280         (__ASSUME_TMPFS_NAME): Likewise.
77281         * README: Update reference to Linux kernel versions.
77283 2012-08-02  Marek Polacek  <polacek@redhat.com>
77285         [BZ #14150]
77286         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77287         libc_cv_asm_type_prefix with %.
77288         * configure: Regenerated.
77289         * include/libc-symbols.h: Remove comment about
77290         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77291         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77292         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77293         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77294         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77295         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77296         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77297         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77298         * elf/tst-unique2mod1.c: Likewise.
77299         * elf/tst-unique1mod2.c: Likewise.
77300         * elf/tst-unique1mod1.c: Likewise.
77301         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77302         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77303         Replace ASM_TYPE_DIRECTIVE with .type.
77304         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77305         * sysdeps/i386/sysdep.h: Likewise.
77306         * sysdeps/x86_64/sysdep.h: Likewise.
77307         * sysdeps/sh/sysdep.h: Likewise.
77308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77309         Do not define ASM_TYPE_DIRECTIVE.
77310         * sysdeps/powerpc/sysdep.h: Likewise.
77311         * sysdeps/powerpc/powerpc32/sysdep.h:
77312         Replace ASM_TYPE_DIRECTIVE with .type.
77313         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77314         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77315         * sysdeps/i386/fpu/e_powf.S: Likewise.
77316         * sysdeps/i386/fpu/e_expl.S: Likewise.
77317         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77318         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77319         * sysdeps/i386/fpu/e_pow.S: Likewise.
77320         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77321         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77322         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77323         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77324         * sysdeps/i386/fpu/e_log2.S: Likewise.
77325         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77326         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77327         * sysdeps/i386/fpu/e_powl.S: Likewise.
77328         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77329         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77330         * sysdeps/i386/fpu/e_logl.S: Likewise.
77331         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77332         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77333         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77334         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77335         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77336         * sysdeps/i386/fpu/e_log.S: Likewise.
77337         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77338         * sysdeps/i386/fpu/e_logf.S: Likewise.
77339         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77340         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77341         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77342         * sysdeps/i386/fpu/e_log10.S: Likewise.
77343         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77344         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77345         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77346         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77347         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77348         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77349         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77350         * sysdeps/i386/i686/strtok.S: Likewise.
77351         * sysdeps/i386/i386-mcount.S: Likewise.
77352         * sysdeps/i386/strtok.S: Likewise.
77353         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77354         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77355         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77356         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77357         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77358         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77359         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77360         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77361         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77362         * sysdeps/x86_64/_mcount.S: Likewise.
77363         * sysdeps/x86_64/strtok.S: Likewise.
77364         * sysdeps/sh/_mcount.S: Likewise.
77366 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77368         * libio/iofopen.c: Include <fcntl.h>.
77369         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77370         (_IO_fopen64, fopen64): Define as aliases.
77371         * libio/iofopen64.c: Include <fcntl.h>.
77372         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77373         Conditionalize body on this.
77374         * sysdeps/wordsize-64/iofopen.c: File removed.
77375         * sysdeps/wordsize-64/iofopen64.c: File removed.
77377 2012-08-01  Marek Polacek  <polacek@redhat.com>
77379         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77380         Use dlfcn directly instead of a variable.
77381         (binfmt-subdir): Do not define.
77382         (dlfcn): Likewise.
77384 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77386         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77387         Remove all definitions.
77388         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77389         <kernel-features.h>.
77390         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77391         (miss_F_GETOWN_EX): Remove all definitions.
77392         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77393         macro definition.
77394         [!__ASSUME_FCNTL64]: Remove conditional code.
77395         [__ASSUME_FCNTL64]: Make code unconditional.
77396         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77397         <kernel-features.h>.
77398         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77399         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77400         (lockf64) [__NR_fcntl64]: Make code unconditional.
77401         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77403         * sysdeps/unix/sysv/linux/kernel-features.h
77404         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77405         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77406         Make code unconditional.
77407         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77408         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77410         [__NR_vfork]: Make code unconditional.
77411         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77412         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77414         [__NR_vfork]: Make code unconditional.
77415         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77416         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77418 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77420         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77421         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77423         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77424         Define mkstemp64 as an alias.
77425         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77426         Define mkstemps64 as an alias.
77427         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77428         Define mkostemp64 as an alias.
77429         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77430         Define mkostemps64 as an alias.
77431         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77432         Conditionalize body on this.
77433         * misc/mkostemp64.c: Likewise.
77434         * misc/mkostemps64.c: Likewise.
77435         * misc/mkstemps64.c: Likewise.
77436         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77437         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77438         * sysdeps/wordsize-64/mkostemp.c: File removed.
77439         * sysdeps/wordsize-64/mkstemp.c: File removed.
77440         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77441         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77442         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77443         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77445         [BZ #14138]
77446         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77447         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77448         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77449         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77451         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77452         compat_symbol macros from <shlib-compat.h> rather than the underlying
77453         default_symbol_version and symbol_version macros, so that DEFAULT
77454         lines in shlib-versions are respected.
77455         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77457 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77459         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77460         Declare with warn_unused_result.
77461         (setgid, setregid, setegid, setresgid): Likewise.
77462         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77463         Likewise.
77464         * WUR-REPORT: Remove set*id functions.
77466 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77468         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77470 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77472         [BZ #10191]
77473         * include/sys/socket.h (__libc_accept, __libc_accept4):
77474         Add attribute_hidden.
77475         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77477         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77478         use of PTR_MANGLE.
77479         * inet/getnetgrent_r.c (setup): Likewise.
77481         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77483 2012-07-31  David S. Miller  <davem@davemloft.net>
77485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77487 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77489         [BZ #13629]
77490         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77491         value between 1.0 and 2.0 and smaller part has absolute value less
77492         than 1.0.
77493         * math/s_clog10.c (__clog10): Likewise.
77494         * math/s_clog10f.c (__clog10f): Likewise.
77495         * math/s_clog10l.c (__clog10l): Likewise.
77496         * math/s_clogf.c (__clogf): Likewise.
77497         * math/s_clogl.c (__clogl): Likewise.
77498         * math/libm-test.inc (clog_test): Add more tests.
77499         (clog10_test): Likewise.
77500         * sysdeps/i386/fpu/libm-test-ulps: Update.
77501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77503 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77505         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77506         Exit with zero in case no suitable GID is found, and write a
77507         message to standard error.
77509 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77511         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77512         rather than to 1.
77513         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77514         (MAXPATHLEN): Removed.
77515         (NOGROUP, NODEV): New macros.
77516         (setbit, clrbit, isset, isclr): New macros.
77517         (howmany, roundup, powerof2): New macros.
77518         (DEV_BSIZE): New macro.
77520         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77521         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77523         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77524         definition on [!__NO_LONG_DOUBLE_MATH].
77526         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77527         PTR_MANGLE and PTR_DEMANGLE.
77529         * socket/accept4.c (accept4): Rename to __libc_accept4.
77530         Define accept4 as a weak alias.
77532         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77533         on [_DIRENT_HAVE_D_TYPE].
77534         * io/ftw.c (ftw_dir): Likewise.
77536         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77538         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77540         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77541         Use the BSD numbers rather than the arbitrary ones we had.
77542         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77543         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77544         (SIGXCPU, SIGXFSZ): New macros.
77545         (_NSIG): Now 32.
77547         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77548         initializer on [_LIBC_REENTRANT].
77550         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77551         definitions inside [_POSIX_MAPPED_FILES].
77553         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77555         * dirent/opendir.c: Include <fcntl.h>.
77557         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77558         (__libc_getspecific): Likewise.
77559         (__libc_key_create): Likewise.
77561         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77562         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77563         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77564         (tmpfile64): Define as alias.
77565         * sysdeps/wordsize-64/tmpfile.c: File removed.
77566         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77567         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77568         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77570         * stdio-common/vfscanf.c: Include <stdbool.h>.
77571         * nss/makedb.c: Likewise.
77572         * stdio-common/_i18n_number.h: Likewise.
77573         * argp/argp-help.c: Likewise.
77574         * posix/wordexp.c: Likewise.
77575         * sysdeps/posix/spawni.c: Likewise.
77576         * nss/nss_files/files-initgroups.c: Likewise.
77577         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77578         * nss/nss_files/files-initgroups.c: Likewise.
77579         * nss/nss_db/db-netgrp.c: Likewise.
77580         * nss/nss_db/db-initgroups.c: Likewise.
77581         * io/fchmodat.c: Include <sys/stat.h>.
77583         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77584         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77586         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77587         [HAVE_MMAP].
77589         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77590         Add multiple inclusion protection.
77592 2012-07-27  David S. Miller  <davem@davemloft.net>
77594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77596 2012-07-27  Gary Benson  <gbenson@redhat.com>
77598         [BZ #14298]
77599         * elf/rtld.c: Include <stap-probe.h>.
77600         (dl_main): Added static probes "init_start" and "init_complete".
77601         * elf/dl-load.c: Include <stap-probe.h>.
77602         (lose): Take new parameter "nsid".
77603         Added static probe "map_failed".
77604         (_dl_map_object_from_fd): Pass namespace id to lose.
77605         Added static probe "map_start".
77606         (open_verify): Pass namespace id to lose.
77607         * elf/dl-open.c: Include <stap-probe.h>.
77608         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77609         and "reloc_complete".
77610         * elf/dl-close.c: Include <stap-probe.h>.
77611         (_dl_close_worker): Added static probes "unmap_start" and
77612         "unmap_complete".
77613         * elf/rtld-debugger-interface.txt: New file documenting the above.
77615 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77617         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77618         rather than a string variable.
77619         * sunrpc/rpc_main.c (h_output): Likewise.
77620         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77622 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77624         * inet/check_native.c: New file.
77626 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77628         [BZ #13629]
77629         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77630         if larger part has absolute value 1.0.
77631         * math/s_clog10.c (__clog10): Likewise.
77632         * math/s_clog10f.c (__clog10f): Likewise.
77633         * math/s_clog10l.c (__clog10l): Likewise.
77634         * math/s_clogf.c (__clogf): Likewise.
77635         * math/s_clogl.c (__clogl): Likewise.
77636         * math/libm-test.inc (clog_test): Add more tests.
77637         (clog10_test): Likewise.
77638         * sysdeps/i386/fpu/libm-test-ulps: Update.
77639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77641         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77642         (pltexit): Likewise.
77643         (La_regs): Likewise.
77644         (La_retval): Likewise.
77645         (int_retval): Likewise.
77646         Update #error for removed macros to refer only to definitions in
77647         tst-audit.h.
77648         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77649         macro.
77650         (pltexit): Likewise.
77651         (La_regs): Likewise.
77652         (La_retval): Likewise.
77653         (int_retval): Likewise.
77654         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77655         macro.
77656         (pltexit): Likewise.
77657         (La_regs): Likewise.
77658         (La_retval): Likewise.
77659         (int_retval): Likewise.
77660         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77661         macro.
77662         (pltexit): Likewise.
77663         (La_regs): Likewise.
77664         (La_retval): Likewise.
77665         (int_retval): Likewise.
77666         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77667         macro.
77668         (pltexit): Likewise.
77669         (La_regs): Likewise.
77670         (La_retval): Likewise.
77671         (int_retval): Likewise.
77672         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77673         macro.
77674         (pltexit): Likewise.
77675         (La_regs): Likewise.
77676         (La_retval): Likewise.
77677         (int_retval): Likewise.
77678         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77679         macro.
77680         (pltexit): Likewise.
77681         (La_regs): Likewise.
77682         (La_retval): Likewise.
77683         (int_retval): Likewise.
77684         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77685         macro definitions in tst-audit.h.
77686         * sysdeps/i386/tst-audit.h: New file.
77687         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77688         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77689         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77690         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77691         * sysdeps/sh/tst-audit.h: Likewise.
77692         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77693         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77694         * sysdeps/x86_64/tst-audit.h: Likewise.
77696 2012-07-26  Andreas Jaeger  <aj@suse.de>
77698         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77699         ptrace.
77701         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77702         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77703         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77704         PTRACE_O_MASK.
77705         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77706         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77707         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77709         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77710         value.
77712         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77713         _sigsys.
77714         (si_call_addr, si_syscall, si_arch): Define new macro.
77715         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77716         _sigsys.
77717         (si_call_addr, si_syscall, si_arch): Define new marcro.
77718         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77719         _sigsys.
77720         (si_call_addr, si_syscall, si_arch): Define new macro.
77721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77722         _sigsys.
77723         (si_call_addr, si_syscall, si_arch): Define new macro.
77725 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77727         [BZ #13717]
77728         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77729         Change to 2.4.21 where previously 2.4.1.
77730         * sysdeps/unix/sysv/linux/configure: Regenerated.
77731         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77732         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77733         Linux kernel version.
77734         (__ASSUME_STD_AUXV): Remove.
77735         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77736         kernel version.
77737         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77738         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77739         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77740         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77741         (__ASSUME_NETLINK_SUPPORT): Likewise.
77742         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77743         (__no_netlink_support): Remove conditional definition.
77744         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77745         Remove.
77746         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77747         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77748         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77749         (if_nameindex_ioctl): Remove.
77750         (if_nameindex_netlink): Do not handle __no_netlink_support.
77751         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77752         code.
77753         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77754         Remove conditional code.
77755         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77756         code.
77757         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77758         unconditional.
77759         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77760         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77761         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77762         Remove.
77763         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77764         [!__ASSUME_STD_AUXV]: Remove conditional code.
77765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77766         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77767         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77769         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77770         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77771         code.
77772         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77774         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77775         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77776         conditional code.
77777         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77779         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77780         code.
77781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77782         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77783         conditional code.
77784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77785         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77786         code unconditional.
77787         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77788         conditional code.
77789         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77790         unconditional.
77791         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77792         conditional code.
77793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77794         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77795         unconditional.
77796         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77797         conditional code.
77798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77799         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77800         code unconditional.
77801         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77802         conditional code.
77803         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77804         unconditional.
77805         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77806         conditional code.
77807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77808         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77809         code unconditional.
77810         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77811         conditional code.
77812         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77813         unconditional.
77814         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77815         conditional code.
77817 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77819         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77820         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77821         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77822         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77823         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77824         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77825         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77826         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77827         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77828         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77829         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77830         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77831         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77832         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77833         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77834         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77835         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77836         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77837         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77839         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77840         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77841         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77843 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77845         * Versions.def: Add GLIBC_2.17.
77846         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77847         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77848         Introduce __libc_secure_getenv.
77849         * stdlib/Versions (2.17): Add secure_getenv
77850         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77851         * stdlib/secure-getenv.c: Rename __secure_getenv to
77852         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77853         symbol __secure_getenv for GLIBC_2.0.
77854         * stdlib/tst-secure-getenv.c: New.
77855         * stdlib/Makefile (tests): Add testcase.
77856         * manual/startup.texi (Environment Access): Document
77857         secure_getenv.
77858         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77859         __libc_secure_getenv.
77860         * inet/ruserpass.c (ruserpass): Likewise.
77861         * malloc/mtrace.c (mtrace): Likewise.
77862         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77863         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77864         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77865         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77866         HAVE_SECURE_GETENV.
77867         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77868         __secure_getenv to __libc_secure_getenv.
77869         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77871         Likewise.
77872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77873         Likewise.
77874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77876         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77882 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77884         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77885         (struct La_i86_retval): Likewise.
77886         (struct La_x86_64_regs): Likewise.
77887         (struct La_x86_64_retval): Likewise.
77888         (struct La_x32_regs): Likewise.
77889         (struct La_x32_retval): Likewise.
77890         (struct La_ppc32_regs): Likewise.
77891         (struct La_ppc32_retval): Likewise.
77892         (struct La_ppc64_regs): Likewise.
77893         (struct La_ppc64_retval): Likewise.
77894         (struct La_sh_regs): Likewise.
77895         (struct La_sh_retval): Likewise.
77896         (struct La_s390_32_regs): Likewise.
77897         (struct La_s390_32_retval): Likewise.
77898         (struct La_s390_64_regs): Likewise.
77899         (struct La_s390_64_retval): Likewise.
77900         (struct La_sparc32_regs): Likewise.
77901         (struct La_sparc32_retval): Likewise.
77902         (struct La_sparc64_regs): Likewise.
77903         (struct La_sparc64_retval): Likewise.
77904         (struct audit_ifaces): Remove architecture-specific pltenter and
77905         pltexit members.
77906         * sysdeps/i386/ldsodefs.h: New file.
77907         * sysdeps/powerpc/ldsodefs.h: Likewise.
77908         * sysdeps/s390/ldsodefs.h: Likewise.
77909         * sysdeps/sh/ldsodefs.h: Likewise.
77910         * sysdeps/sparc/ldsodefs.h: Likewise.
77911         * sysdeps/x86_64/ldsodefs.h: Likewise.
77913 2012-07-25  Marek Polacek  <polacek@redhat.com>
77915         [BZ #6808]
77916         * math/libm-test.inc (yn_test): Add another test.
77917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77918         to ERANGE when the result is +-Inf.
77919         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77920         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77921         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77922         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77924 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77926         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77927         equal to 0.
77928         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77929         clock_t.
77930         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77932 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77934         * configure.in <sysdeps resolving>: Correct printing
77935         Implies_before.
77936         * configure: Regenerate.
77938 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77940         * math/w_ilogb.c: Include <limits.h>.
77941         * math/w_ilogbl.c: Likewise.
77943 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77945         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77946         va_copy.  Document allowing for unavailable va_copy only as
77947         pre-C99 compatibility.
77948         * manual/string.texi (Copying and Concatenation): Use va_copy
77949         instead of __va_copy in concat example.
77951 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77953         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77954         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77955         it if not null.
77957         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77958         with O_NOLINK passed to __file_name_lookup.
77960         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77961         with O_NOLINK passed to __file_name_lookup.
77963         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77964         negative N or less than NGIDS.
77966         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77967         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77968         enough.  Use memcpy instead of strncpy.
77970 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77972         * elf/Makefile (check-data): Remove.
77973         (localplt.data): New vpath directive.
77974         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77975         instead of $(check-data).
77976         * scripts/data/localplt-generic.data: Move to ...
77977         * sysdeps/generic/localplt.data: ... here.
77978         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77979         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77980         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77982         ... here.
77983         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77985         ... here.
77986         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77988         ... here.
77989         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77991         ... here.
77992         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77994         ... here.
77995         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77997         ... here.
77999 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78001         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
78002         PPC32 and PPC64 files.
78003         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
78004         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
78006 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78008         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78009         __makecontext_ret to ...
78010         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
78011         ... here and call exit if uc_link is NULL.  New file.
78012         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
78013         __makecontext_ret.S.
78014         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
78015         __makecontext_ret to ...
78016         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
78017         ... here and call exit if uc_link is NULL.  New file.
78018         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
78019         __makecontext_ret.S.
78021 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78023         * elf/elf.h (R_390_IRELATIVE): New definition.
78024         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
78025         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
78026         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
78027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78028         (elf_machine_lazy_rel): Likewise.
78029         * sysdeps/s390/dl-irel.h: New file.
78030         * sysdeps/s390/s390-64/memcpy.S: New asm code.
78031         * sysdeps/s390/s390-64/memset.S: New asm code.
78032         * sysdeps/s390/s390-64/memcmp.S: New asm code.
78033         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
78034         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
78035         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
78036         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
78037         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
78038         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
78039         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
78040         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
78041         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
78042         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
78043         * sysdeps/s390/s390-32/memcpy.S: New asm code.
78044         * sysdeps/s390/s390-32/memset.S: New asm code.
78045         * sysdeps/s390/s390-32/memcmp.S: New asm code.
78047 2012-07-17  Marek Polacek  <polacek@redhat.com>
78049         [BZ #14349]
78050         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
78051         * sysdeps/s390/s390-64/configure.in: Likewise.
78052         * sysdeps/sparc/configure.in: Likewise.
78053         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
78054         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
78055         * sysdeps/i386/configure.in: Likewise.
78056         * sysdeps/x86_64/configure.in: Likewise.
78057         * sysdeps/sh/configure.in: Likewise.
78058         * sysdeps/s390/s390-32/configure: Regenerated.
78059         * sysdeps/s390/s390-64/configure: Likewise.
78060         * sysdeps/x86_64/configure: Likewise.
78061         * sysdeps/sh/configure: Likewise.
78062         * sysdeps/powerpc/powerpc64/configure: Likewise.
78063         * sysdeps/powerpc/powerpc32/configure: Likewise.
78064         * sysdeps/sparc/configure: Likewise.
78065         * sysdeps/i386/configure: Likewise.
78067         * elf/dl-open.c: Comment fixes.
78069 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
78071         * Makefile [CXX] (check-data): Remove.
78072         [CXX] (c++-types.data): New vpath directive.
78073         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
78074         vpath.  Do not allow for C++ type data being missing.
78075         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
78076         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
78077         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
78078         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
78079         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
78080         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
78081         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
78082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
78083         ... here.
78084         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
78085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
78086         ... here.
78087         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
78088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
78089         ... here.
78090         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
78091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
78092         ... here.
78093         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
78094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
78095         ... here.
78096         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
78097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
78098         ... here.
78099         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
78100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
78101         ... here.
78102         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78105         * elf/tls-macros.h (TLS_LE): Move architecture-specific
78106         definitions to architecture-specific files.
78107         (TLS_IE): Likewise.
78108         (TLS_LD): Likewise.
78109         (TLS_GD): Likewise.
78110         * sysdeps/i386/tls-macros.h: New file.
78111         * sysdeps/powerpc/tls-macros.h: Likewise.
78112         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78113         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78114         * sysdeps/sh/tls-macros.h: Likewise.
78115         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78116         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78117         * sysdeps/x86_64/tls-macros.h: Likewise.
78119 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78121         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78122         zero value for regular exit case.
78124         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78125         (__start_context): Preserve zero value for regular exit case.
78127 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78128             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78130         * manual/setjmp.texi (setcontext): Clarify normal process
78131         termination when uc_link is the null pointer.
78132         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78133         exit call.
78135 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
78137         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78138         preprocessor.  Test for each exception mask separately.
78140 2012-07-16  Andreas Jaeger  <aj@suse.de>
78142         * po/ru.po: Update from translation team.
78144 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
78146         * conform/data/string.h-data (NULL): Use macro-constant.  Require
78147         equal to 0.
78148         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78149         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78150         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78151         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78154 2012-07-13  Andreas Jaeger  <aj@suse.de>
78156         * po/fr.po: Update from translation team.
78158 2012-07-12  Marek Polacek  <polacek@redhat.com>
78160         [BZ #14173]
78161         * math/libm-test.inc (yn_test): Add test for BZ #14173.
78162         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78163         loop condition.
78165 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
78167         [BZ #13717]
78168         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78169         Change to 2.4.1 where previously 2.4.0.
78170         * sysdeps/unix/sysv/linux/configure: Regenerated.
78171         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78172         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78173         version.
78174         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78175         (__ASSUME_AT_CLKTCK): Remove.
78176         (__ASSUME_AT_PAGESIZE): Likewise.
78177         (__ASSUME_AT_XID): Likewise.
78178         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78179         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78180         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78181         unconditionally.
78182         (HAVE_AUX_PAGESIZE): Likewise.
78183         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78184         [__ASSUME_AT_CLKTCK]: Make code unconditional.
78185         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78187 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
78189         [BZ #14307]
78190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78191         the temporary buffer used to invoke __gethostbyname2_r,
78192         __gethostbyaddr_r and gethostbyname4_r to make room for struct
78193         host_data / struct gaih_addrtuple.
78194         * resolv/nss_dns/dns-host.c (global scope): Move definition of
78195         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78196         header file nss/nsswitch.h.
78197         * nss/nsswitch.h (global scope): Add definition of implementation
78198         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78199         resolv/nss_dns/dns-host.c).
78201 2012-07-11  Andreas Jaeger  <aj@suse.de>
78203         * po/fr.po: Update from translation team.
78205         * po/sv.po: Update from translation team
78206         * po/fr.po: Another update from translation team.
78208 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78210         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78211         for subnormals or multiply small sinh result by itself.
78212         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78215 2012-07-11  David S. Miller  <davem@davemloft.net>
78217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78219 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
78221         [BZ #14347]
78222         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78223         (INTERNAL_MARK): Shift it here.
78225 2012-07-10  Marek Polacek  <polacek@redhat.com>
78227         [BZ #14151]
78228         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78229         libc_cv_asm_global_directive with .globl.
78230         * configure: Regenerated.
78231         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78232         with .globl.
78233         * sysdeps/i386/configure: Regenerated.
78234         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78235         with .globl.
78236         * sysdeps/x86_64/configure: Regenerated.
78237         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78238         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78239         * elf/tst-unique2mod2.c: Likewise.
78240         * elf/tst-unique2mod1.c: Likewise.
78241         * elf/tst-unique1mod2.c: Likewise.
78242         * elf/tst-unique1mod1.c: Likewise.
78243         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78244         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78246         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78247         * sysdeps/mach/sysdep.h: Likewise.
78248         * sysdeps/i386/sysdep.h: Likewise.
78249         * sysdeps/i386/i386-mcount.S: Likewise.
78250         * sysdeps/x86_64/_mcount.S: Likewise.
78251         * sysdeps/x86_64/sysdep.h: Likewise.
78252         * sysdeps/sh/_mcount.S: Likewise.
78253         * sysdeps/sh/sysdep.h: Likewise.
78254         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78255         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78256         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78257         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78258         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78259         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78260         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78261         * locale/localeinfo.h: Likewise.
78262         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78263         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78265 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78267         [BZ #14336]
78268         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78269         system".
78270         * manual/message.texi (The Uniforum approach): Likewise.
78271         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78272         (glibc iconv Implementation): Likewise.
78274 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78276         [BZ #14337]
78277         * math/s_clog.c (__clog): Avoid scaling a value down where that
78278         could result in underflow.
78279         * math/s_clog10.c (__clog10): Likewise.
78280         * math/s_clog10f.c (__clog10f): Likewise.
78281         * math/s_clog10l.c (__clog10l): Likewise.
78282         * math/s_clogf.c (__clogf): Likewise.
78283         * math/s_clogl.c (__clogl): Likewise.
78284         * math/libm-test.inc (clog_test): Add more tests.
78285         (clog10_test): Likewise.
78286         * sysdeps/i386/fpu/libm-test-ulps: Update.
78287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78289 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78291         [BZ #14283]
78292         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78293         by 7 not 8 to examine high bit of fractional part.
78295         [BZ #14042]
78296         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78297         for call to __mcount_internal.
78298         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78299         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78300         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78302 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78304         [BZ #14154]
78305         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78306         approximation for values within 0x1p-13f of an odd multiple of
78307         pi/4.
78308         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78309         exception.  Add more tests.
78310         * sysdeps/i386/fpu/libm-test-ulps: Update.
78312         [BZ #6778]
78313         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78314         inputs and return -1 for them.  Do not check for +Inf in case not
78315         reachable for +Inf.
78316         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78317         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78318         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78319         and return -1 for them.  Do not check for +Inf in case not
78320         reachable for +Inf.
78321         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78322         define.
78323         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78324         and return -1 for them.  Do not check for +Inf in case not
78325         reachable for +Inf.
78326         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78327         spurious underflow.
78328         * sysdeps/i386/fpu/libm-test-ulps: Update.
78329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78331 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78333         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78335 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78337         [BZ #14157]
78338         [BZ #14331]
78339         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78340         could result in spurious underflow.  Scale down values above
78341         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78342         * math/s_csqrtf.c (__csqrtf): Likewise.
78343         * math/s_csqrtl.c (__csqrtl): Likewise.
78344         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78345         spurious underflow.
78346         * sysdeps/i386/fpu/libm-test-ulps: Update.
78347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78349 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78351         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78352         xopen-msg.sed.
78353         * catgets/xopen-msg.awk: New file.
78354         * catgets/xopen-msg.sed: Removed.
78356         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78357         po2text.sed.
78358         * intl/po2test.awk: New file.
78359         * intl/po2test.sed: Removed.
78361 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78363         [BZ #14328]
78364         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78365         or multiply small sinh result by itself.
78366         * math/s_ctanf.c (__ctanf): Likewise.
78367         * math/s_ctanh.c (__ctanh): Likewise.
78368         * math/s_ctanhf.c (__ctanhf): Likewise.
78369         * math/s_ctanhl.c (__ctanhl): Likewise.
78370         * math/s_ctanl.c (__ctanl): Likewise.
78371         * math/libm-test.inc (ctan_test_tonearest): New function.
78372         (ctan_test_towardzero): Likewise.
78373         (ctan_test_downward): Likewise.
78374         (ctan_test_upward): Likewise.
78375         (ctanh_test_tonearest): Likewise.
78376         (ctanh_test_towardzero): Likewise.
78377         (ctanh_test_downward): Likewise.
78378         (ctanh_test_upward): Likewise.
78379         (main): Call these new functions.
78380         * sysdeps/i386/fpu/libm-test-ulps: Update.
78381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78383 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78385         * .gitignore: Delete /ports entry.
78387 2012-07-03  Andreas Jaeger  <aj@suse.de>
78389         * po/bg.po: Update from translation team.
78390         * po/cs.po: Likewise.
78391         * po/de.po: Likewise.
78392         * po/hr.po: Likewise.
78393         * po/nl.pl: Likewise.
78394         * po/pl.po: Likewise.
78395         * po/vi.po: Likewise.
78397 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78399         * Makeconfig [!+link] (+link-before-libc): New variable.
78400         [!+link] (+link-after-libc): Likewise.
78401         [!+link] (+link-tests): Likewise.
78402         [!+link] (+link): Define in terms of $(+link-before-libc) and
78403         $(+link-after-libc).
78404         [!+link-static] (+link-static-before-libc): New variable.
78405         [!+link-static] (+link-static-after-libc): Likewise.
78406         [!+link-static] (+link-static-tests): Likewise.
78407         [!+link-static] (+link-static): Define in terms of
78408         $(+link-static-before-libc) and $(+link-static-after-libc).
78409         [build-shared] (link-libc-before-gnulib): New variable.
78410         [build-shared] (link-libc-tests): Likewise.
78411         [build-shared] (link-libc): Define in terms of
78412         $(link-libc-before-gnulib).
78413         [!build-shared] (link-libc-tests): New variable.
78414         (link-libc-static-tests): New variable.
78415         [!gnulib] (gnulib-arch): New variable.
78416         [!gnulib] (gnulib-tests): Likewise.
78417         [!gnulib] (static-gnulib-arch): Likewise.
78418         [!gnulib] (static-gnulib-tests): Likewise.
78419         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78420         Define with "=" instead of ":=".
78421         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78422         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78423         * Rules (binaries-all-notests): New variable.
78424         (binaries-all-tests): Likewise.
78425         (binaries-static-notests): Likewise.
78426         (binaries-static-tests): Likewise.
78427         (binaries-all): Define using $(binaries-all-notests) and
78428         $(binaries-all-tests).
78429         (binaries-static): Define using $(binaries-static-notests) and
78430         $(binaries-static-tests).
78431         (binaries-shared-tests): New variable.
78432         (binaries-shared-notests): Likewise.
78433         (binaries-shared): Remove variable.
78434         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78435         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78436         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78437         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78438         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78439         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78440         * elf/Makefile (sln-modules): New variable.
78441         (extra-objs): Add $(sln-modules:=.o).
78442         (ldconfig-modules): Add static-stubs.
78443         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78444         * elf/static-stubs.c: New file.
78446         [BZ #14283]
78447         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78448         by 7 not 8 to examine high bit of fractional part.  Use volatile
78449         variables when splitting into final array of floats if
78450         __FLT_EVAL_METHOD__ != 0.
78451         * math/libm-test.inc (cos_test): Add another test.
78452         (sin_test): Likewise.
78453         * sysdeps/i386/fpu/libm-test-ulps: Update.
78455         [BZ #14273]
78456         * math/libm-test.inc (cosh_test): Add more tests.
78458         * version.h (RELEASE): Set to "development".
78459         (VERSION): Set to "2.16.90".
78461 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78463         * NEWS: Update copyright. Remove last-updated date.
78464         Mention math library bug fixes and timezone data changes.
78465         * README: Mention GNU/Hurd, x32, and HPPA support status.
78467 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78469         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78471 2012-06-27  Andreas Jaeger  <aj@suse.de>
78473         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78475 2012-06-25  Andreas Jaeger  <aj@suse.de>
78477         * sysdeps/s390/fpu/libm-test-ulps: Update.
78479 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78480             Thomas Schwinge  <thomas@codesourcery.com>
78482         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78483         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78484         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78485         fanotify_mark.
78487 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78489         * sysdeps/mach/start.c: Remove file.
78490         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78491         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78492         * sysdeps/sh/init-first.c: Likewise.
78494         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78495         registers for frame unwinding purposes, add CFI directives.
78496         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78497         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78498         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78499         Likewise.
78501         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78502         __fortify_fail returning.
78503         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78505         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78506         sysdeps/sh/____longjmp_chk.S.
78507         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78508         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78509         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78510         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78512         * sysdeps/sh/abort-instr.h: New file.
78513         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78514         process in case exit returns.
78516         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78517         initialize the GOT register before use.
78519         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78520         calculation of ARGC > 4.
78522         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78523         meaningful names to some local labels.
78525 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78526             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78528         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78529         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78530         (__arch_compare_and_exchange_val_16_acq): Likewise.
78531         (__arch_compare_and_exchange_val_32_acq): Likewise.
78532         (atomic_exchange_and_add): Fix gUSA sequence.
78533         (atomic_add): Likewise.
78534         (atomic_add_negative): Likewise.
78535         (atomic_add_zero): Likewise.
78536         (atomic_bit_test_set): Likewise.
78538 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78540         [BZ #13579]
78541         * include/link.h (struct link_map): Add l_free_initfini.
78542         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78543         l_initfini.
78544         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78545         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78546         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78547         set.
78549 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78551         * configure.in: Use AC_LANG_SOURCE.
78552         * configure: Regenerate.
78554 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78556         * configure.in (libc_cv_localstatedir): New substituted variable.
78557         * configure: Regenerated.
78558         * config.make.in (localstatedir): New variable, substituted from
78559         libc_cv_localstatedir.
78560         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78561         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78562         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78563         * sysdeps/gnu/configure: Regenerated.
78565 2012-06-21  Jeff Law  <law@redhat.com>
78567         [BZ #14277]
78568         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78569         free.  Simplify list management for _LIBC case.
78571 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78573         [BZ #14273]
78574         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78575         Clear sign bit of 64-bit integer value before comparing against
78576         overflow value.
78578         * sysdeps/mach/configure: Regenerated.
78580 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78582         [BZ #14278]
78583         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78585 2012-06-21  Jeff Law  <law@redhat.com>
78587         [BZ #13882]
78588         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78589         uint16_t for elements in the "seen" array to avoid char overflows.
78590         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78591         * elf/dl-open.c (dl_open_worker): Likewise.
78593 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78595         * scripts/list-sources.sh: Scan PORTS for translations.
78596         * po/libc.pot: Regenerated.
78598 2012-06-21  Andreas Jaeger  <aj@suse.de>
78600         [BZ #12194]
78601         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78602         warning.
78603         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78604         * bits/byteswap-16.h (__bswap_16): Likewise.
78605         * bits/byteswap.h (__bswap_constant_16): Likewise.
78607 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78609         [BZ #14117]
78610         * sysdeps/i386/fpu_control.h: Removed.
78611         * sysdeps/x86_64/fpu_control.h: Moved to ...
78612         * sysdeps/x86/fpu_control.h: Here.
78614         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78615         (_FPU_SETCW): Likewise.
78617 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78619         [BZ #14117]
78620         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78621         * sysdeps/x86/fpu/bits/mathinline.h: This.
78622         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78624         [BZ #14050]
78625         [BZ #14117]
78626         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78627         functions if __x86_64__ is defined.
78629 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78631         * string/endian.h: Add !__ASSEMBLER__ condition for including
78632         conversion interfaces.
78634 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78636         [BZ #14241]
78637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78638         of ABS(x) in calculating zero to negative powers other than odd
78639         integers.
78640         * math/libm-test.inc (pow_test): Add more tests.
78642 2012-06-15  Andreas Jaeger  <aj@suse.de>
78644         * manual/contrib.texi (Contributors): Update entry of Liubov
78645         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78646         Machado Filho.
78648 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78650         * string/string.h: Add __wur to GNU version of strerror_r.
78652 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78654         [BZ #14229]
78655         * string/Makefile (tests): Add tst-strtok_r.
78656         * string/tst-strtok_r.c: New file.
78657         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78658         RAX_LP/RDX_LP on SAVE_PTR.
78660 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78662         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78664 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78666         * libm_test.inc (csqrt_test): Allow more spurious underflow
78667         exceptions.
78668         (j0_test): Likewise.
78669         (j1_test): Likewise.
78670         (y0_test): Likewise.
78671         (y1_test): Likewise.
78673 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78675         * po/Makefile (libc.pot): Use UTF-8 charset.
78677 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78679         [BZ #14210]
78680         Suppress sign-conversion warning from FD_SET.
78681         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78682         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78683         not unsigned long int.
78684         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78686 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78688         [BZ #14050]
78689         [BZ #14117]
78690         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78691         __extern_always_inline instead of __extern_inline.
78692         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78693         (__signbit): Likewise.
78694         (__signbitl): Support C++ namespace.
78695         (lrintf): New inline function.
78696         (lrint): Likewise.
78697         (llrintf): Likewise.
78698         (llrint): Likewise.
78699         (fmaxf): Likewise.
78700         (fmax): Likewise.
78701         (fminf): Likewise.
78702         (fmin): Likewise.
78703         (rint): Likewise.
78704         (rintf): Likewise.
78705         (ceil): Likewise.
78706         (ceilf): Likewise.
78707         (floor): Likewise.
78708         (floorf): Likewise.
78709         (nearbyint): Likewise.
78710         (nearbyintf): Likewise.
78712 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78714         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78715         non-default versions.
78717 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78719         [BZ #14218]
78720         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78722 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78724         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78725         (FE_UPWARD, FE_DOWNWARD): Don't define.
78726         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78727         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78729         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78730         reading it.
78731         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78732         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78734 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78736         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78737         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78738         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78739         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78741 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78743         [BZ #14117]
78744         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78745         * sysdeps/i386/fpu/Implies: New file.
78746         * sysdeps/x86_64/fpu/Implies: Likewise.
78747         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78748         * sysdeps/x86/fpu/bits/fenv.h: This.
78750         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78751         __SSE_MATH__.
78753 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78755         [BZ #14134]
78756         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78757         character 0xffff that matches the last element of the
78758         conversion table.
78760 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78762         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78763         fmodl commit.
78765 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78768         values higher than 25.6283.
78770 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78772         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78773         subnormal exponent extraction and add some __builtin_expect.
78774         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78775         Fix for subnormal mantissa calculation.
78777 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78779         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78780         cpu2 is -1 and errno is not ENOSYS.
78782 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78784         [BZ #14117]
78785         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78786         * sysdeps/x86/bits/string.h: This.
78787         * sysdeps/x86_64/bits/string.h: Removed.
78789         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78790         if not compiling for x86-64, but compiling for >= i486.
78792         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78793         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78795         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78796         New macro from Linux kernel 3.4.0.
78797         (FP_XSTATE_MAGIC2): Likewise.
78798         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78799         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78800         (struct _fpx_sw_bytes): New struct.
78801         (struct _xsave_hdr): Likewise.
78802         (struct _ymmh_state): Likewise.
78803         (struct _xstate): Likewise.
78805         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78806         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78807         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78808         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78809         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78810         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78812         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78813         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78814         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78815         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78816         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78817         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78819 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78821         [BZ #13743]
78822         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78823         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78824         (sysdep_headers): Include sys/platform/ppc.h.
78825         * sysdeps/powerpc/test-gettimebase.c: Test for
78826         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78827         * manual/Makefile (appendices): Include platform.texi.
78828         * manual/contrib.texi (Contributors): Update @node pointers.
78829         * manual/maint.texi (Maintenance): Likewise.
78830         (Platform): New node.
78831         * manual/platform.texi: New file.  Document the new features.
78833 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78834             Jakub Jelinek  <jakub@redhat.com>
78836         [BZ #14188]
78837         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78838         where __builtin_expect is unavailable.
78840 2012-06-03  David S. Miller  <davem@davemloft.net>
78842         * stdlib/longlong.h: Updated from GCC.
78844 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78846         [BZ #14042]
78847         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78848         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78849         __mcount_internal.
78850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78851         (GLIBC_2.16): Likewise.
78853 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78855         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78857 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78860         (default-abi): New variable.
78861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78862         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78863         variable.
78864         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78865         Likewise.
78866         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78867         Likewise.
78868         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78869         Likewise.
78871         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78872         definition.  Document in comment.
78874 2012-06-01  David S. Miller  <davem@davemloft.net>
78876         * stdlib/longlong.h: Updated from GCC.
78878 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78880         [BZ #14117]
78881         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78882         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78883         sys/debugreg.h sys/io.h here.
78884         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78885         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78886         sys/io.h.
78887         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78888         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78889         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78890         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78891         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78892         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78894         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78895         Define only if __x86_64__ is defined.
78897 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78899         [BZ #14048]
78900         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78901         Use int64_t for variable i.
78902         * math/libm-test.inc (fmod_test): Add more tests.
78904         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78905         z computation is not scheduled after fetestexcept.
78906         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78907         Use math_force_eval instead of asm to ensure calculation scheduled
78908         before exception test.
78909         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78910         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78912 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78915         computation is not scheduled after fetestexcept.
78917 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78919         [BZ #14117]
78920         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78921         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78923 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78925         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78926         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78928 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78930         [BZ #14117]
78931         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78932         <bits/wordsize.h>.
78933         (__WCHAR_MIN): Support __WORDSIZE == 64.
78934         (__WCHAR_MAX): Likewise.
78936         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78937         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78939         [BZ #14183]
78940         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78941         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78943         [BZ #14117]
78944         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78945         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78947         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78948         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78950         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78951         Defined to 1 if __x86_64__ isn't defined.
78952         (_STAT_VER_LINUX_OLD): New.
78953         (st_atime): Remove duplicate.
78954         (st_mtime): Likewise.
78955         (st_ctime): Likewise.
78957 2012-05-31  David S. Miller  <davem@davemloft.net>
78959         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78960         entries.
78962 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78964         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78965         gen-libm-test.pl.
78967         [BZ #14132]
78968         * elf/dl-reloc.c: Include <_itoa.h>.
78969         (_dl_reloc_bad_type): Remove use of INTUSE.
78970         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78971         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78972         * stdio-common/psiginfo.c (psiginfo): Likewise.
78973         * stdio-common/psignal.c (psignal): Likewise.
78974         * string/strsignal.c (strsignal): Likewise.
78975         * include/signal.h (_sys_siglist): Declare hidden proto.
78976         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78977         INTVARDEF with libc_hidden_data_def.
78978         * stdio-common/itoa-udigits.c: Likewise.
78979         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78980         (_itoa_lower_digits_internal): Remove declaration.
78981         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78982         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78983         (_sys_sigabbrev_internal): Remove aliases.
78984         (_sys_siglist): Define hidden alias.
78986 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78989         bits/sysctl.h.
78991 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78993         [BZ #14117]
78994         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78995         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78997         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78998         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78999         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
79000         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
79001         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
79002         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
79004         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
79005         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
79006         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
79008         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
79009         with __addr.
79010         (insw): Likewise.
79011         (insl): Likewise.
79012         (outsb): Likewise.
79013         (outsw): Likewise.
79014         (outsl): Likewise.
79016         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
79017         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
79018         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
79020         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
79021         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
79022         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
79023         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
79024         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79025         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
79027         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
79028         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
79030         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
79031         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
79033         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
79034         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79035         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
79037         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
79038         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
79039         to ...
79040         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
79042         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
79043         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
79044         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
79046         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
79047         for x86-64.
79048         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
79050 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
79052         * math/math.h (M_El): Use two more decimal places.
79053         (M_LOG2El): Likewise.
79054         (M_LOG10El): Likewise.
79055         (M_LN2l): Likewise.
79056         (M_LN10l): Likewise.
79057         (M_PIl): Likewise.
79058         (M_PI_2l): Likewise.
79059         (M_PI_4l): Likewise.
79060         (M_1_PIl): Likewise.
79061         (M_2_PIl): Likewise.
79062         (M_2_SQRTPIl): Likewise.
79063         (M_SQRT2l): Likewise.
79064         (M_SQRT1_2l): Likewise.
79066 2012-05-31  David S. Miller  <davem@davemloft.net>
79068         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
79069         values between float registers.
79070         * sysdeps/sparc/sparc64/memset.S: Likewise.
79071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79073 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
79075         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
79076         -D_FORTIFY_SOURCE=1.
79077         (CPPFLAGS-tst-longjmp_chk.c): Define.
79078         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
79079         (CPPFLAGS-tst-longjmp_chk2.c): Define.
79080         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
79081         CFLAGS-tst-wchar-h.c.
79083 2012-05-31  Marek Polacek  <polacek@redhat.com>
79085         [BZ #14132]
79086         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
79087         __endmntent_internal): Remove declaration.
79088         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
79089         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
79090         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
79092 2012-05-30  David S. Miller  <davem@davemloft.net>
79094         * sysdeps/sparc/sparc32/soft-fp/q_util.c
79095         (___Q_simulate_exceptions): Use real FP ops rather than writing
79096         into the %fsr.
79097         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
79098         Likewise.
79100 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79102         [BZ #14117]
79103         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79104         * sysdeps/x86/bits/xtitypes.h: This.
79106         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79107         * sysdeps/x86/bits/wordsize.h: This.
79109         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79110         * sysdeps/x86/bits/huge_vall.h: This.
79112         * sysdeps/i386/bits/select.h: Removed.
79113         * sysdeps/x86_64/bits/select.h: Renamed to ...
79114         * sysdeps/x86/bits/select.h: This.
79116         * sysdeps/i386/bits/setjmp.h: Removed.
79117         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79118         * sysdeps/x86/bits/setjmp.h: This.
79120         * sysdeps/i386/bits/mathdef.h: Removed.
79121         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79122         * sysdeps/x86/bits/mathdef.h: This.
79124 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
79126         [BZ #14132]
79127         * include/sys/socket.h (__connect_internal)
79128         (__libc_sa_len_internal): Remove declaration.
79129         (__connect, __libc_sa_len): Declare hidden_proto.
79130         (SA_LEN): Remove use of INTUSE.
79131         * socket/connect.c: Add libc_hidden_def.
79132         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79133         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79134         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79135         alias.
79136         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79137         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79138         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79139         of adding _internal alias.
79141 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79143         [BZ #14117]
79144         * sysdeps/i386/bits/link.h: Removed.
79145         * sysdeps/i386/bits/linkmap.h: Likewise.
79146         * sysdeps/x86_64/bits/link.h: Renamed to ...
79147         * sysdeps/x86/bits/link.h: This.
79148         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79149         * sysdeps/x86/bits/linkmap.h: This.
79151         * sysdeps/i386/bits/endian.h: Removed.
79152         * sysdeps/x86_64/bits/endian.h: Renamed to ...
79153         * sysdeps/x86/bits/endian.h: This.
79155         * sysdeps/i386/bits/byteswap.h: Removed.
79156         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79157         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79158         * sysdeps/x86/bits/byteswap.h: This.
79159         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79160         * sysdeps/x86/bits/byteswap-16.h: This.
79161         * sysdeps/i386/Implies: Add x86.
79162         * sysdeps/x86_64/Implies: Likewise.
79164 2012-05-30  David S. Miller  <davem@davemloft.net>
79166         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79167         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79168         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79169         (FP_TRAPPING_EXCEPTIONS): Define.
79170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79171         (FP_TRAPPING_EXCEPTIONS): Define.
79172         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79173         subnormals only when inexact has been signalled or underflow
79174         exceptions are enabled.
79175         (_FP_PACK_CANONICAL): Likewise.
79177 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79179         [BZ #14183]
79180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79181         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79183 2012-05-30  Richard Henderson  <rth@twiddle.net>
79185         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79186         with #ifndef NOT_IN_libc.
79188         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
79189         marked to avoid plt entry.
79191 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79193         [BZ #14112]
79194         * Makeconfig (default-abi): New macro.
79195         (abi-includes): Likewise.
79196         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
79197         $(abi-$(default-abi)-lib-soname) for soname if defined.
79198         ($(common-objpfx)gnu/lib-names.stmp): Generate from
79199         abi-variants.
79200         * Makefile (installed-stubs): Likewise.
79201         * include/stubs-biarch.h: Removed.
79202         * scripts/lib-names.awk: Only handle one library at a time.
79203         * scripts/soversions.awk: Remove WORDSIZE support.
79204         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79205         entries.
79206         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79207         Removed.
79208         (syscall-list-default-condition): Likewise.
79209         (syscall-list-default-condition): Likewise.
79210         (syscall-list-includes): Likewise.
79211         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79212         syscall-list-* with abi-*.  Handle undefined abi-variants.
79213         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79214         * sysdeps/unix/sysv/linux/i386/Implies: New file.
79215         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79216         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79217         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79218         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79219         Removed.
79220         (syscall-list-32-options): Likewise.
79221         (syscall-list-32-condition): Likewise.
79222         (syscall-list-64-options): Likewise.
79223         (syscall-list-64-condition): Likewise.
79224         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79225         macro.
79226         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79227         Renamed to ...
79228         (abi-*): This.
79229         (abi-64-ld-soname): New macro.
79230         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79231         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79232         Renamed to ...
79233         (abi-*): This.
79234         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79235         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79237 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79239         * sysdeps/unix/sysv/linux/kernel-features.h
79240         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79241         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79242         include <kernel-features.h>.
79243         [!__NR_ftruncate64]: Remove conditional code.
79244         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79245         [__NR_ftruncate64]: Make code unconditional.
79246         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79247         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79248         include <kernel-features.h>.
79249         [!__NR_ftruncate64]: Remove conditional code.
79250         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79251         [__NR_ftruncate64]: Make code unconditional.
79252         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79254         include <kernel-features.h>.
79255         [!__NR_ftruncate64]: Remove conditional code.
79256         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79257         [__NR_ftruncate64]: Make code unconditional.
79258         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79260         include <kernel-features.h>.
79261         [!__NR_ftruncate64]: Remove conditional code.
79262         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79263         [__NR_ftruncate64]: Make code unconditional.
79264         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79266         * configure.in (libc_cv_fpie): Weaken to a compile test using
79267         LIBC_TRY_CC_OPTION.
79268         * configure: Regenerated.
79270 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79276         Refreshed.
79277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79283         Refreshed.
79285 2012-05-27  David S. Miller  <davem@davemloft.net>
79287         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79288         (___Q_zero): New.
79289         (__Q_simulate_exceptions): Return void.  Change to simulate
79290         exceptions by writing into the %fsr.
79291         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79292         (__Qp_handle_exceptions): Likewise.
79293         (numbers): Delete.
79294         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79295         __Qp_handle_exceptions.
79296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79297         __Qp_handle_exceptions.
79298         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79299         as unused and give dummy FP_RND_NEAREST initializer.
79300         (FP_INHIBIT_RESULTS): Define.
79301         (___Q_simulate_exceptions): Update declaration.
79302         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79303         formatting.
79304         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79305         as unused and give dummy FP_RND_NEAREST initializer.
79306         (__Qp_handle_exceptions): Update declaration.
79307         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79308         formatting.
79310 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79312         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79313         the temporary FPU control word.
79314         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79315         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79316         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79317         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79318         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79319         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79320         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79321         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79322         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79323         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79324         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79326 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79328         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79329         fields.
79331 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79333         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79334         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79335         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79336         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79337         Likewise.
79338         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79339         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79340         Likewise.
79342 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79344         * po/h.po: Update from translation team.
79346 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79348         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79350         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79351         handling of denormals.
79352         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79353         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79354         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79355         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79356         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79358         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79359         Likewise.
79361 2012-05-26  Marek Polacek  <polacek@redhat.com>
79363         [BZ #14152]
79364         * math/libm-test.inc (fma_test): Don't always expect underflow
79365         exception.
79367 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79369         [BZ #12416]
79370         * elf/tst-execstack.c: Include stackinfo.h.
79371         (do_test): Adjust test case to ensure that pthread_getattr_np
79372         behaviour remains the same after marking stack executable.
79374 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79376         * sysdeps/unix/sysv/linux/kernel-features.h
79377         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79378         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79379         kernel-features.h.
79380         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79381         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79382         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79383         kernel-features.h.
79384         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79385         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79387 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79389         * configure.in: Define the default includes to being none.
79390         * configure: Regenerated.
79392 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79394         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79395         * sysdeps/x86_64/setjmp.S: Likewise.
79396         * sysdeps/i386/bsd-setjmp.S: Likewise.
79397         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79398         * sysdeps/i386/setjmp.S: Likewise.
79399         * sysdeps/i386/__longjmp.S: Likewise.
79400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79401         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79403         * include/stap-probe.h: New file.
79404         * configure.in: Handle --enable-systemtap.
79405         * configure: Regenerated.
79406         * config.h.in (USE_STAP_PROBE): New #undef.
79407         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79408         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79409         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79411 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79413         [BZ #13717]
79414         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79415         to 2.4.0 where earlier.
79416         * sysdeps/unix/sysv/linux/configure: Regenerated.
79417         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
79418         <kernel-features.h>.
79419         [__ASSUME_32BITUIDS]: Make code unconditional.
79420         [!__ASSUME_32BITUIDS]: Remove conditional code.
79421         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
79422         <kernel-features.h>.
79423         [__ASSUME_32BITUIDS]: Make code unconditional.
79424         [!__ASSUME_32BITUIDS]: Remove conditional code.
79425         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79426         [__ASSUME_32BITUIDS]: Make code unconditional.
79427         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79428         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79429         <kernel-features.h>.
79430         [__ASSUME_32BITUIDS]: Make code unconditional.
79431         [!__ASSUME_32BITUIDS]: Remove conditional code.
79432         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79433         <kernel-features.h>.
79434         [__ASSUME_32BITUIDS]: Make code unconditional.
79435         [!__ASSUME_32BITUIDS]: Remove conditional code.
79436         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79437         <kernel-features.h>.
79438         [__ASSUME_32BITUIDS]: Make code unconditional.
79439         [!__ASSUME_32BITUIDS]: Remove conditional code.
79440         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79441         <kernel-features.h>.
79442         [__ASSUME_32BITUIDS]: Make code unconditional.
79443         [!__ASSUME_32BITUIDS]: Remove conditional code.
79444         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79445         <kernel-features.h>.
79446         [__ASSUME_32BITUIDS]: Make code unconditional.
79447         [!__ASSUME_32BITUIDS]: Remove conditional code.
79448         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79449         <kernel-features.h>.
79450         [__ASSUME_32BITUIDS]: Make code unconditional.
79451         [!__ASSUME_32BITUIDS]: Remove conditional code.
79452         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79453         <kernel-features.h>.
79454         [__ASSUME_32BITUIDS]: Make code unconditional.
79455         [!__ASSUME_32BITUIDS]: Remove conditional code.
79456         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79457         <kernel-features.h>.
79458         [__ASSUME_32BITUIDS]: Make code unconditional.
79459         [!__ASSUME_32BITUIDS]: Remove conditional code.
79460         * sysdeps/unix/sysv/linux/i386/msgctl.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/i386/semctl.c: Do not include
79465         <kernel-features.h>.
79466         [__ASSUME_32BITUIDS]: Make code unconditional.
79467         [!__ASSUME_32BITUIDS]: Remove conditional code.
79468         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79469         <kernel-features.h>.
79470         [__NR_setresgid] (__setresgid): Do not declare.
79471         [__ASSUME_32BITUIDS]: Make code unconditional.
79472         [!__ASSUME_32BITUIDS]: Remove conditional code.
79473         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79474         <kernel-features.h>.
79475         [__NR_setresuid] (__setresuid): Do not declare.
79476         [__ASSUME_32BITUIDS]: Make code unconditional.
79477         [!__ASSUME_32BITUIDS]: Remove conditional code.
79478         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79479         <kernel-features.h>.
79480         [__ASSUME_32BITUIDS]: Make code unconditional.
79481         [!__ASSUME_32BITUIDS]: Remove conditional code.
79482         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79483         <kernel-features.h>.
79484         [__ASSUME_32BITUIDS]: Make code unconditional.
79485         [!__ASSUME_32BITUIDS]: Remove conditional code.
79486         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79487         <kernel-features.h>.
79488         [__ASSUME_32BITUIDS]: Make code unconditional.
79489         [!__ASSUME_32BITUIDS]: Remove conditional code.
79490         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79491         <kernel-features.h>.
79492         [__ASSUME_32BITUIDS]: Make code unconditional.
79493         [!__ASSUME_32BITUIDS]: Remove conditional code.
79494         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79495         <kernel-features.h>.
79496         [__ASSUME_32BITUIDS]: Make code unconditional.
79497         [!__ASSUME_32BITUIDS]: Remove conditional code.
79498         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79499         <kernel-features.h>.
79500         [__ASSUME_32BITUIDS]: Make code unconditional.
79501         [!__ASSUME_32BITUIDS]: Remove conditional code.
79502         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79503         <kernel-features.h>.
79504         [__ASSUME_32BITUIDS]: Make code unconditional.
79505         [!__ASSUME_32BITUIDS]: Remove conditional code.
79506         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79507         <kernel-features.h>.
79508         [__ASSUME_32BITUIDS]: Make code unconditional.
79509         [!__ASSUME_32BITUIDS]: Remove conditional code.
79510         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79511         <kernel-features.h>.
79512         [__ASSUME_32BITUIDS]: Make code unconditional.
79513         [!__ASSUME_32BITUIDS]: Remove conditional code.
79514         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79515         <kernel-features.h>.
79516         [__ASSUME_32BITUIDS]: Make code unconditional.
79517         [!__ASSUME_32BITUIDS]: Remove conditional code.
79518         * sysdeps/unix/sysv/linux/kernel-features.h
79519         (__ASSUME_SETRESUID_SYSCALL): Remove.
79520         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79521         (__ASSUME_32BITUIDS): Likewise.
79522         (__ASSUME_LDT_WORKS): Likewise.
79523         (__ASSUME_O_DIRECTORY): Likewise.
79524         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79525         architecture but not kernel version.
79526         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79527         (__ASSUME_MMAP2_SYSCALL): Likewise.
79528         (__ASSUME_STAT64_SYSCALL): Likewise.
79529         (__ASSUME_IPC64): Likewise.
79530         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79531         <kernel-features.h>.
79532         [__ASSUME_32BITUIDS]: Make code unconditional.
79533         [!__ASSUME_32BITUIDS]: Remove conditional code.
79534         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79535         <kernel-features.h>.
79536         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79537         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79538         132096]: Remove conditional code.
79539         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79540         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79541         <kernel-features.h>.
79542         [__ASSUME_32BITUIDS]: Make code unconditional.
79543         [!__ASSUME_32BITUIDS]: Remove conditional code.
79544         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79545         <kernel-features.h>.
79546         [__ASSUME_32BITUIDS]: Make code unconditional.
79547         [!__ASSUME_32BITUIDS]: Remove conditional code.
79548         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79549         <kernel-features.h>.
79550         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79551         unconditional.
79552         (__setresgid): Do not declare.
79553         [__ASSUME_32BITUIDS]: Make code unconditional.
79554         [!__ASSUME_32BITUIDS]: Remove conditional code.
79555         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79556         <kernel-features.h>.
79557         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79558         unconditional.
79559         (__setresuid): Do not declare.
79560         [__ASSUME_32BITUIDS]: Make code unconditional.
79561         [!__ASSUME_32BITUIDS]: Remove conditional code.
79562         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79563         <kernel-features.h>.
79564         [__ASSUME_32BITUIDS]: Make code unconditional.
79565         [!__ASSUME_32BITUIDS]: Remove conditional code.
79566         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79567         <kernel-features.h>.
79568         [__ASSUME_32BITUIDS]: Make code unconditional.
79569         [!__ASSUME_32BITUIDS]: Remove conditional code.
79571 2012-05-25  Richard Henderson  <rth@twiddle.net>
79573         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79574         dl_hwcap to ifunc resolver.
79575         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79576         elf_ifunc_invoke.
79577         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79578         dl_hwcap to ifunc resolver.
79579         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79581 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79583         [BZ #14153]
79584         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79585         for |x| <= 2**-26, not 2**-57.
79586         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79587         exception.
79589 2012-05-24  Jeff Law  <law@redhat.com>
79591         * stdio-common/Makefile (tests): Add bug25.
79592         * stdio-common/bug25.c: New test.
79594 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79596         [BZ #13576]
79597         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79598         multiple of MALLOC_ALIGNMENT in size.
79599         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79601 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79603         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79604         Require >= 256.
79605         (FILENAME_MAX): Use macro-int-constant.
79606         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79607         (_IOFBF): Use macro-int-constant.
79608         (_IOLBF): Likewise.
79609         (_IONBF): Likewise.
79610         (SEEK_CUR): Likewise.
79611         (SEEK_END): Likewise.
79612         (SEEK_SET): Likewise.
79613         (TMP_MAX): Likewise.
79614         (EOF): Use macro-int-constant.  Require < 0.
79615         (NULL): Use macro-constant.  Require == 0.
79616         (stdin): Require type to be FILE *.
79617         (stdout): Likewise.
79618         (stderr): Likewise.
79619         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79620         macro-int-constant.
79621         (EXIT_SUCCESS): Likewise.
79622         (NULL): Use macro-constant.  Require == 0.
79623         (RAND_MAX): Use macro-int-constant.
79624         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79625         [C99-based standards] (strtof): Require function.
79626         [C99-based standards] (strtold): Likewise.
79627         [C99-based standards] (strtoll): Likewise.
79628         [C99-based standards] (strtoull): Likewise.
79629         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79630         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79631         [ISO || ISO99 || ISO11] (math.h): Likewise.
79632         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79633         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79636 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79638         [BZ #14132]
79639         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79640         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79641         * intl/dgettext.c (DCGETTEXT): Likewise.
79642         * intl/gettext.c (DCGETTEXT): Likewise.
79643         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79644         * posix/regex_internal.h (gettext): Likewise.
79645         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79646         Remove declaration.
79647         * include/argz.h (__argz_count_internal)
79648         (__argz_stringify_internal): Remove declaration.
79649         (__argz_count, __argz_stringify): Declare hidden proto.
79650         * intl/dcgettext.c: Remove use of INTDEF.
79651         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79652         * string/argz-stringify.c: Likewise.
79653         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79654         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79655         Declare hidden proto.
79656         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79657         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79658         Declare hidden proto.
79659         * include/stdio.h (__asprintf_internal): Don't declare.
79660         (__asprintf): Don't define as macro.  Declare hidden proto.
79661         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79662         (__fsetlocking): Declare hidden proto.
79663         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79664         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79665         hidden proto.
79666         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79667         (_IO_setlinebuf): Remove use of INTUSE.
79668         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79669         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79670         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79671         Remove declaration.
79672         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79673         (_IO_do_flush): Remove use of INTUSE.
79674         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79675         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79676         (_IO_adjust_column, _IO_least_wmarker)
79677         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79678         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79679         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79680         (_IO_default_doallocate, _IO_wdefault_doallocate)
79681         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79682         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79683         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79684         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79685         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79686         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79687         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79688         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79689         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79690         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79691         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79692         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79693         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79694         proto.
79695         (_IO_flush_all_internal, _IO_adjust_column_internal)
79696         (_IO_default_uflow_internal, _IO_default_finish_internal)
79697         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79698         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79699         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79700         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79701         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79702         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79703         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79704         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79705         (_IO_file_close_internal, _IO_file_close_it_internal)
79706         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79707         (_IO_file_init_internal, _IO_file_attach_internal)
79708         (_IO_file_fopen_internal, _IO_file_read_internal)
79709         (_IO_file_sync_internal, _IO_file_seek_internal)
79710         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79711         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79712         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79713         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79714         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79715         (_IO_list_all_internal, _IO_link_in_internal)
79716         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79717         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79718         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79719         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79720         (_IO_do_write_internal, _IO_padn_internal)
79721         (_IO_getline_info_internal, _IO_getline_internal)
79722         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79723         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79724         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79725         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79726         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79727         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79728         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79729         with libc_hidden_ver, remove use of INTUSE.
79730         * libio/genops.c: Likewise.
79731         * libio/freopen.c: Likewise.
79732         * libio/freopen64.c: Likewise.
79733         * libio/iofclose.c: Likewise.
79734         * libio/iofdopen.c: Likewise.
79735         * libio/iofflush.c: Likewise.
79736         * libio/iofflush_u.c: Likewise.
79737         * libio/iofgets.c: Likewise.
79738         * libio/iofgets_u.c: Likewise.
79739         * libio/iofopen.c: Likewise.
79740         * libio/iofopncook.c: Likewise.
79741         * libio/iofread.c: Likewise.
79742         * libio/iofread_u.c: Likewise.
79743         * libio/ioftell.c: Likewise.
79744         * libio/iofwrite.c: Likewise.
79745         * libio/iogetline.c: Likewise.
79746         * libio/iogets.c: Likewise.
79747         * libio/iogetwline.c: Likewise.
79748         * libio/iopadn.c: Likewise.
79749         * libio/iopopen.c: Likewise.
79750         * libio/ioseekoff.c: Likewise.
79751         * libio/ioseekpos.c: Likewise.
79752         * libio/iosetbuffer.c: Likewise.
79753         * libio/iosetvbuf.c: Likewise.
79754         * libio/ioungetc.c: Likewise.
79755         * libio/ioungetwc.c: Likewise.
79756         * libio/iovdprintf.c: Likewise.
79757         * libio/iovsprintf.c: Likewise.
79758         * libio/iovsscanf.c: Likewise.
79759         * libio/memstream.c: Likewise.
79760         * libio/obprintf.c: Likewise.
79761         * libio/oldfileops.c: Likewise.
79762         * libio/oldiofclose.c: Likewise.
79763         * libio/oldiofdopen.c: Likewise.
79764         * libio/oldiofopen.c: Likewise.
79765         * libio/oldiopopen.c: Likewise.
79766         * libio/oldstdfiles.c: Likewise.
79767         * libio/putc.c: Likewise.
79768         * libio/setbuf.c: Likewise.
79769         * libio/setlinebuf.c: Likewise.
79770         * libio/stdfiles.c: Likewise.
79771         * libio/strops.c: Likewise.
79772         * libio/vasprintf.c: Likewise.
79773         * libio/vscanf.c: Likewise.
79774         * libio/vsnprintf.c: Likewise.
79775         * libio/vswprintf.c: Likewise.
79776         * libio/wfiledoalloc.c: Likewise.
79777         * libio/wfileops.c: Likewise.
79778         * libio/wgenops.c: Likewise.
79779         * libio/wmemstream.c: Likewise.
79780         * libio/wstrops.c: Likewise.
79781         * libio/__fpurge.c: Likewise.
79782         * libio/__fsetlocking.c: Likewise.
79783         * assert/assert.c: Likewise.
79784         * debug/fgets_chk.c: Likewise.
79785         * debug/fgets_u_chk.c: Likewise.
79786         * debug/fread_chk.c: Likewise.
79787         * debug/fread_u_chk.c: Likewise.
79788         * debug/gets_chk.c: Likewise.
79789         * debug/obprintf_chk.c: Likewise.
79790         * debug/vasprintf_chk.c: Likewise.
79791         * debug/vdprintf_chk.c: Likewise.
79792         * debug/vsnprintf_chk.c: Likewise.
79793         * debug/vsprintf_chk.c: Likewise.
79794         * malloc/mtrace.c: Likewise.
79795         * misc/error.c: Likewise.
79796         * misc/syslog.c: Likewise.
79797         * stdio-common/asprintf.c: Likewise.
79798         * stdio-common/fxprintf.c: Likewise.
79799         * stdio-common/getw.c: Likewise.
79800         * stdio-common/isoc99_fscanf.c: Likewise.
79801         * stdio-common/isoc99_scanf.c: Likewise.
79802         * stdio-common/isoc99_vfscanf.c: Likewise.
79803         * stdio-common/isoc99_vscanf.c: Likewise.
79804         * stdio-common/isoc99_vsscanf.c: Likewise.
79805         * stdio-common/printf-prs.c: Likewise.
79806         * stdio-common/printf_fp.c: Likewise.
79807         * stdio-common/printf_fphex.c: Likewise.
79808         * stdio-common/printf_size.c: Likewise.
79809         * stdio-common/putw.c: Likewise.
79810         * stdio-common/scanf.c: Likewise.
79811         * stdio-common/sprintf.c: Likewise.
79812         * stdio-common/tmpfile.c: Likewise.
79813         * stdio-common/vfprintf.c: Likewise.
79814         * stdio-common/vfscanf.c: Likewise.
79815         * stdlib/strfmon_l.c: Likewise.
79816         * sunrpc/openchild.c: Likewise.
79817         * sunrpc/xdr_stdio.c: Likewise.
79818         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79819         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79821 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79823         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79825         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79826         in the third column, to generate for the shared library an IFUNC
79827         that uses _dl_vdso_vsym.
79828         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79829         * Makeconfig (object-suffixes-noshared): New variable.
79831         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79832         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79833         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79834         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79836         [BZ #14132]
79837         * include/sys/time.h (__gettimeofday): Remove macro.
79838         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79839         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79840         Remove INTDEF.
79841         (__gettimeofday): Add libc_hidden_def.
79842         (gettimeofday): Add libc_hidden_weak.
79843         * sysdeps/mach/gettimeofday.c: Likewise.
79844         * sysdeps/posix/gettimeofday.c: Likewise.
79845         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79846         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79847         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79848         (__gettimeofday_internal): Remove strong_alias.
79849         (__gettimeofday): Add libc_hidden_def.
79850         (gettimeofday): Add libc_hidden_weak.
79851         * sysdeps/unix/syscalls.list (gettimeofday):
79852         Remove __gettimeofday_internal alias.
79854 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79855             H.J. Lu  <hongjiu.lu@intel.com>
79857         [BZ #12495]
79858         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79859         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79860         (largebin_index_32_big): New.
79861         (largebin_index): Use it for 16-byte alignment.
79862         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79863         correction with front_misalign.
79865 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79869         Likewise.
79870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79871         Likewise.
79872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79873         Likewise.
79874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79875         Likewise.
79876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79877         Likewise.
79878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79879         Likewise.
79880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79881         Likewise.
79882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79883         Likewise.
79884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79885         Likewise.
79886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79887         Likewise.
79888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79889         Likewise.
79890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79891         Likewise.
79893         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79894         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79896 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79898         [BZ #10846]
79899         [BZ #14036]
79900         * math/libm-test.inc (exp_test): Add test from bug 14036.
79901         (pow_test): Add test from bug 10846.
79903         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79904         and other flags.
79905         (special_function): Do not include flags in test name.
79906         (parse_args): Likewise.
79907         * sysdeps/i386/fpu/libm-test-ulps: Update.
79908         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79909         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79910         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79913         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79914         exceptions.
79915         * math/libm-test.inc ("Philosophy"): Update comment about
79916         exception testing.
79917         (UNDERFLOW_EXCEPTION): New macro.
79918         (UNDERFLOW_EXCEPTION_OK): Likewise.
79919         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79920         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79921         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79922         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79923         (INVALID_EXCEPTION_OK): Update value.
79924         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79925         (OVERFLOW_EXCEPTION_OK): Likewise.
79926         (IGNORE_ZERO_INF_SIGN): Likewise.
79927         (test_exceptions): Handle underflow exceptions.
79928         (acos_test): Update for underflow exception expectations.
79929         (cexp_test): Likewise.
79930         (clog_test): Likewise.
79931         (clog10_test): Likewise.
79932         (csqrt_test): Likewise.
79933         (ctan_test): Likewise.
79934         (ctanh_test): Likewise.
79935         (exp_test): Likewise.
79936         (exp10_test): Likewise.
79937         (exp2_test): Likewise.
79938         (expm1_test): Likewise.
79939         (fma_test): Likewise.
79940         (j0_test): Likewise.
79941         (jn_test): Likewise.
79942         (nexttoward_test): Likewise.
79943         (pow_test): Likewise.
79944         (scalbn_test): Likewise.
79945         (scalbln_test): Likewise.
79946         (tan_test): Likewise.
79947         (y1_test): Likewise.
79948         * sysdeps/i386/fpu/libm-test-ulps: Update.
79949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79951 2012-05-23  David S. Miller  <davem@davemloft.net>
79953         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79954         (__libc_sigaction): Remove unused local variables.
79956 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79958         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79960 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79962         mktime: avoid signed integer overflow
79963         * time/mktime.c (__mktime_internal): Do not mishandle the case
79964         where diff == INT_MIN.
79966         mktime: simplify computation of average
79967         * time/mktime.c (ranged_convert): Use new time_t_avg function
79968         instead of rolling our own (probably-slower) code.
79970         mktime: do not assume signed right shift propagates sign bit
79971         * time/mktime.c (isdst_differ): New static function.
79972         (__mktime_internal): No need to normalize tm_isdst now.
79973         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79974         tm_isdst values.
79976         mktime: merge another wrapv change from gnulib
79977         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79978         from some compilers.
79980         mktime: remove incorrect attempt at unusual arithmetics
79981         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79982         The code didn't really work on such machines anyway.
79983         (TYPE_MINIMUM): Assume two's complement.
79984         (twos_complement_arithmetic): Verify that long_int and time_t
79985         are two's complement (or unsigned, in the latter case).
79987         mktime: check signed shifts on long_int and time_t, too
79988         * time/mktime.c (SHR): Check that shifts work as desired
79989         on the types long_int and time_t too, as SHR is used on
79990         such types.
79992         mktime: do not assume 'long' is wide enough
79993         * time/mktime.c (verify): Move decl up.
79994         (long_int): New type.
79995         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79996         to remove assumption in the code that 'long' is wide enough to
79997         store year values.  This assumption is not true on x32 and on
79998         some non-glibc platforms.
80000         mktime: merge wrapv change from gnulib
80001         * time/mktime.c (WRAPV): New macro.
80002         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
80003         (guess_time_tm, __mktime_internal): Do not assume that signed
80004         integer overflow wraps around; modern compilers generate code
80005         where this assumption is no longer valid.
80007 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80009         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80010         Replace "jmp L(pseudo_end)" with "ret".
80011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
80012         Likewise.
80014 2012-05-23  Andreas Jaeger  <aj@suse.de>
80016         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
80017         * sysdeps/unix/sysv/linux/poll.c: Remove file.
80019 2012-05-23  Andreas Jaeger  <aj@suse.de>
80020             Maximilian Attems  <max@stro.at>
80022         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
80023         New macros.
80025 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
80028         code so that pseudo_end is just ret and the stack pointer is
80029         correct also for static library in error case.
80031 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
80033         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
80034         move to syscalls.list.
80035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
80036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
80037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
80038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
80040         * manual/install.texi (Running make install): Do not mention Linux
80041         kernel version for which pt_chown is not needed.
80042         (Linux): Do not mention problems with nscd with 2.0 kernels.
80043         * INSTALL: Regenerated.
80045 2012-05-23  Andreas Jaeger  <aj@suse.de>
80047         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
80048         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
80049         macro.
80050         * sysdeps/unix/sysv/linux/s390/bits/mman.h
80051         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80052         * sysdeps/unix/sysv/linux/sh/bits/mman.h
80053         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80054         * sysdeps/unix/sysv/linux/i386/bits/mman.h
80055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80056         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80057         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80058         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
80059         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80060         * sysdeps/unix/sysv/linux/bits/in.h
80061         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
80063 2012-05-22  Roland McGrath  <roland@hack.frob.com>
80065         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
80066         (PREPARE_VERSION): Just use assert instead, it will be elided
80067         under [NDEBUG] anyway.
80069 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80071         * sysdeps/unix/sysv/linux/Makefile: Include
80072         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
80073         (sysdep_routines): Remove sysctl.
80074         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
80075         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
80076         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
80077         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
80078         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
80080 2012-05-22  Andreas Jaeger  <aj@suse.de>
80082         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
80083         that pseudo_end is just ret and the stack pointer is correct also
80084         for static library in error case.
80086 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
80088         [BZ #14122]
80089         * nss/nsswitch.c (defconfig_entries): New variable.
80090         (__nss_database_lookup): Don't leak defconfig entries.
80091         (nss_parse_service_list): Don't leak on error paths.
80092         (free_database_entries): New function.
80093         (free_defconfig): New function.
80094         (free_mem): Move common code to free_database_entries.
80096 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80098         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
80099         Add arch_prctl.
80100         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80102         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80103         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80105         New macro.
80106         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80107         (INTERNAL_SYSCALL_TYPES): Likewise.
80108         (LOAD_ARGS_TYPES_[1-6]): Likewise.
80109         (LOAD_REGS_TYPES_[1-6]): Likewise.
80110         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80111         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80113 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80115         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80116         copysignl for GLIBC_2_0.
80117         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80118         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80120         logbl for GLIBC_2_0.
80121         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80122         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80124 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80126         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80127         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80129         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80130         Use "neg %eax".
80132         * time/mktime.c: Update copyright years.
80134 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
80136         mktime: merge comment-quoting-style change from gnulib
80137         * time/mktime.c: Quote 'like this' in comments.
80138         The GNU coding standards suggest that we no longer quote `like this',
80139         as "`" and "'" are typically rendered asymmetrically nowadays.
80140         The typical gnulib style is to quote 'like this' when quoting
80141         code, and "like this" when quoting English.
80143         * time/mktime.c (compile-command): Add "-I.".
80145         mktime: merge mktime-internal.h change from gnulib
80146         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80148         mktime: merge time_r change from gnulib
80149         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80151         mktime: merge DEBUG change from gnulib
80152         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80153         case system <time.h> has a #define.
80155         mktime: merge <sys/types.h> change from gnulib
80156         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80157         since <time.t> is now guaranteed to define time_t.
80159         mktime: merge HAVE_CONFIG_H change from gnulib
80160         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80162 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80165         Use "neg %eax".
80167         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80168         __rlim_t cast.
80169         (struct rusage): Use anonymous union to pad each field to
80170         __syscall_slong_t.
80172 2012-05-21  David S. Miller  <davem@davemloft.net>
80174         * Makefules (o-iterator): Remove .s cases.
80175         (compile-command.s): Delete.
80176         (COMPILE.s): Delete.
80177         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80179 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
80181         * configure.in (libc_cv_predef_stack_protector): Only consider
80182         "foobar" and "__stack_chk_fail" lines in libc_undefs.
80183         * configure: Regenerated.
80185 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80188         New macro.  Use R*LP on int and pointer.
80189         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80190         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80191         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80192         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80194         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80195         [__WORDSIZE_TIME64_COMPAT32] instead of
80196         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80197         (struct utmp): Likewise.
80198         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80199         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80200         Renamed to ...
80201         (__WORDSIZE_TIME64_COMPAT32): This.
80202         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80203         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80204         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80205         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80206         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80207         (__WORDSIZE_TIME64_COMPAT32): New macro.
80209 2012-05-21  Andreas Jaeger  <aj@suse.de>
80211         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80212         only if [SHARED]. Add prototype for __wcschr_ia32.
80214 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80216         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80217         of %rbp unmolested in the jmp_buf while mangling the low bits.
80218         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80219         unmolested high bits of %rbp while demangling the low bits.
80220         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80222 2012-05-21  Andreas Jaeger  <aj@suse.de>
80224         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80225         * sunrpc/svc_simple.c: Use it for registerrpc.
80226         * sunrpc/xcrypt.c: Use it for passwd2des.
80228         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80230 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80232         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80233         Don't define if [__SYSCALL_WORDSIZE != 32].
80234         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80235         New macro.
80237 2012-05-21  Bruno Haible  <bruno@clisp.org>
80238             Andreas Jaeger  <aj@suse.de>
80240         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80241         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80242         inptr and inend for must_buffer_ch.
80243         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80244         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80245         * stdio-common/Makefile (tests): Remove bug15.
80246         (bug15-ENV): Remove macro.
80247         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80248         anymore.
80250 2012-05-19  Andreas Jaeger  <aj@suse.de>
80251             Roland McGrath  <roland@hack.frob.com>
80253         * manual/contrib.texi: Completely rewritten. It contains now an
80254         alphabetical list of contributors and their contributions.
80256 2012-05-21  Richard Henderson  <rth@twiddle.net>
80258         * misc/getauxval.c (__getauxval): Use unsigned long int.
80259         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80260         (getauxval): Use unsigned long int.
80262 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80264         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80266 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80268         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80269         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80270         __alignof__ (long double).
80272 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80276 2012-05-20  Richard Henderson  <rth@twiddle.net>
80278         * misc/getauxval.c: New file.
80279         * misc/sys/auxv.h: New file.
80280         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80281         (routines): Add getauxval.
80282         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80283         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80284         * elf/dl-sysdep.c (_dl_auxv): Remove.
80285         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80286         * elf/dl-support.c (_dl_auxv): New variable.
80287         (_dl_aux_init): Initialize it.
80288         * manual/startup.texi (Auxiliary Vector): New node.
80289         * sysdeps/generic/bits/hwcap.h: New file.
80290         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80291         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80292         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80293         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80294         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80295         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80297         Update.
80298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80307 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80311 2012-05-19  David S. Miller  <davem@davemloft.net>
80313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80315 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80317         [BZ #14123]
80318         * math/s_ccosh.c: Include <float.h>
80319         (__ccosh): Avoid internal overflow calculating sinh and cosh
80320         values before multiplying by sin and cos values.
80321         * math/s_ccoshf.c: Likewise.
80322         * math/s_ccoshl.c: Likewise.
80323         * math/s_csin.c: Likewise.
80324         * math/s_csinf.c: Likewise.
80325         * math/s_csinl.c: Likewise.
80326         * math/s_csinh.c: Likewise.
80327         * math/s_csinhf.c: Likewise.
80328         * math/s_csinhl.c: Likewise.
80329         * math/libm-test.inc (ccos_test): Add more tests.
80330         (ccosh_test): Likewise.
80331         (csin_test): Likewise.
80332         (csinh_test): Likewise.
80333         * sysdeps/i386/fpu/libm-test-ulps: Update.
80334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80336 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80338         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80339         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80341         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80343 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80345         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80346         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80347         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80348         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80349         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80350         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80351         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80352         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80353         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80354         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80355         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80356         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80357         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80358         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80359         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80360         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80361         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80362         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80363         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80364         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80365         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80366         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80367         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80368         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80369         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80370         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80371         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80372         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80373         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80374         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80375         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80377 2012-05-18  Andreas Jaeger  <aj@suse.de>
80379         * csu/.gitignore: Delete.
80381 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80383         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80384         (timex): Use __syscall_slong_t.
80386 2012-05-18  Andreas Jaeger  <aj@suse.de>
80387             Carlos O'Donell  <carlos_odonell@mentor.com>
80389         * manual/install.texi (Configuring and compiling): Update
80390         description about files modified in the source directory.
80391         * INSTALL: Regenerated.
80393 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80395         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80396         value.  Use "or" to set return value to -1.
80397         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80398         negate return value.
80400 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80402         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80403         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80404         failure if the compiler has Graphite support disabled.
80405         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80406         Likewise.
80407         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80408         (CFLAGS-memmove.c): Likewise.
80409         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80410         Likewise.
80412 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80414         * sysdeps/x86_64/x32/_itoa.h: New file.
80416         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80417         getdents system call only if kernel and user dirents have the
80418         same d_ino and d_off.
80420         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80421         LLONG_MAX != LONG_MAX.
80422         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80423         (_fitoa_word): Likewise.
80425         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80426         years.
80427         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80428         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80429         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80431         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80432         include <bits/wordsize.h>.  Check __x86_64__ instead of
80433         __WORDSIZE.
80434         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80435         if __x86_64__ is defined.  Use anonymous union on fpstate.
80437         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80438         anonymous union.
80440 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80442         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80443         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80444         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80445         Refer to _rtld_local_ro instead of _rtld_global_ro.
80446         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80447         Likewise.
80448         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80449         Likewise.
80450         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80451         Likewise.
80452         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80453         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80454         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80456         [BZ #10882]
80457         * sysdeps/powerpc/powerpc32/dl-machine.c
80458         (__elf_machine_runtime_setup) [PROF]: Don't reference
80459         _dl_prof_resolve.
80461 2012-05-18  Andreas Jaeger  <aj@suse.de>
80463         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80464         function only available for GCCs before 3.4 since GCC 3.4
80465         introduced a builtin.
80466         (lrint): Likewise.
80467         (llrintf): Likewise.
80468         (llrint): Likewise.
80469         (fmaxf): Likewise.
80470         (fmax): Likewise.
80471         (fminf): Likewise.
80472         (fmin): Likewise.
80473         (rint): Likewise.
80474         (rintf): Likewise.
80475         (nearbyint): Likewise.
80476         (nearbyintf): Likewise.
80477         (ceil): Likewise.
80478         (ceilf): Likewise.
80479         (floor): Likewise.
80480         (floorf): Likewise.
80482 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80484         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80485         on both fields and cast pointer to __syscall_ulong_t.
80487         * bits/types.h (__fsword_t): New type.
80488         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80489         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80490         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80491         (__FSWORD_T_TYPE): Likewise.
80492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80493         (__FSWORD_T_TYPE): Likewise.
80494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80495         (__FSWORD_T_TYPE): Likewise.
80496         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80497         (__FSWORD_T_TYPE): Likewise.
80498         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80499         __SWORD_TYPE with __fsword_t.
80500         (statfs64): Likewise.
80502 2012-05-17  David S. Miller  <davem@davemloft.net>
80504         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80506 2012-05-17  Andreas Jaeger  <aj@suse.de>
80508         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80509         warning.
80511 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80513         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80515 2012-05-17  Andreas Jaeger  <aj@suse.de>
80517         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80518         when it is used.
80520 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80522         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80524 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80526         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80527         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80529 2012-05-17  Andreas Jaeger  <aj@suse.de>
80530             Carlos O'Donell  <carlos_odonell@mentor.com>
80532         [BZ #14059]
80533         * sysdeps/x86_64/multiarch/init-arch.h
80534         (bit_YMM_Usable): Rename to...
80535         (bit_AVX_Usable): ... this.
80536         (bit_FMA4_Usable): New macro.
80537         (bit_XMM_state): New macro.
80538         (bit_YMM_state): New macro.
80539         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80540         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80541         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80542         (CPUID_OSXSAVE): New macro.
80543         (CPUID_AVX): New macro.
80544         (CPUID_FMA4): New macro.
80545         (index_YMM_Usable): Rename to...
80546         (index_AVX_Usable): ... this.
80547         (HAS_AVX): Use HAS_ARCH_FEATURE.
80548         (HAS_FMA4): Likewise.
80549         (HAS_YMM_USABLE): Remove.
80550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80551         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80552         are present.
80553         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80554         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80555         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80556         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80557         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80559 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80561         * math/libm-test.c: Support platforms without multiple rounding modes.
80562         * math/bug-nextafter.c: Support platforms without FP exceptions.
80563         * math/bug-nexttoward.c: Likewise.
80564         * math/test-fenv.c: Likewise.
80565         * math/test-misc.c: Likewise.
80566         * stdlib/bug-getcontext.c: Likewise.
80568 2012-05-17  Andreas Jaeger  <aj@suse.de>
80570         * manual/examples/search.c (critter_cmp): Change signature to
80571         avoid warnings.
80572         * manual/string.texi (Collation Functions): Likewise.
80574 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80576         * bits/types.h: Fold copyright years.
80577         * bits/typesizes.h: Likewise.
80578         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80579         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80580         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80581         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80582         * time/time.h: Likewise.
80584 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80586         [BZ #208]
80587         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80588         in instead of returning them.  Return void.
80589         (__libc_mallinfo): Accumulate over all arenas.
80590         (__malloc_stats): Adjust for change in int_mallinfo interface.
80592 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80594         [BZ #10375]
80595         * configure.in (NM): Add AC_CHECK_TOOL for it.
80596         (libc_extra_cflags): New substituted variable.
80597         Check for -fstack-protector being used implicitly.
80598         * configure: Regenerated.
80599         * config.make.in (config-extra-cflags): New variable,
80600         gets @libc_extra_cflags@.
80601         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80603         [BZ #10375]
80604         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80605         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80606         * configure: Regenerated.
80607         * config.make.in (CPPUNDEFS): New substituted variable.
80608         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80609         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80610         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80614         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80615         (mq_attr): Use __syscall_slong_t.
80617 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80619         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80620         Check __x86_64__ instead of __WORDSIZE.
80621         (_STAT_VER_LINUX): Likewise.
80622         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80623         __syscall_ulong_t and __syscall_slong_t.
80624         (stat64): Likewise.
80626 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80628         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80630 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80632         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80634 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80636         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80637         __syscall_ulong_t.
80639         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80640         include <bits/wordsize.h>.  Check __x86_64__ instead of
80641         __WORDSIZE.
80642         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80643         defined.
80644         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80646         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80647         include <bits/wordsize.h>.  Check __x86_64__ instead of
80648         __WORDSIZE.
80649         (user_regs_struct): Use "__extension__ unsigned long long"
80650         instead of "unsigned long" if __x86_64__ is defined.
80651         (user): Likewise.  Pad after pointer field if __ILP32__ is
80652         defined.
80654 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80656         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80657         versions 5 to 9.
80658         * configure: Regenerated.
80659         * manual/install.texi (texinfo): Increase version requirement to
80660         4.5 or later.
80661         * INSTALL: Regenerated.
80663         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80667         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80669         * sysdeps/x86_64/x32/ffs.c: New file.
80671         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80672         __syscall_ulong_t.
80673         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80674         defined.  Use __syscall_ulong_t.
80675         (shminfo): Use __syscall_ulong_t.
80676         (shm_info): Likewise.
80678         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80679         __syscall_ulong_t.
80681         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80682         <bits/wordsize.h>.
80683         (msgqnum_t): Use __syscall_ulong_t.
80684         (msglen_t): Likewise.
80685         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80686         __syscall_ulong_t.
80688         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80689         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80691         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80693         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80694         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80696         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80697         __syscall_slong_t.
80699         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80700         include <bits/wordsize.h>.  Check __x86_64__ instead of
80701         __WORDSIZE.
80703         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80704         "unsigned long long int" if __x86_64__ is defined.
80705         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80707         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80708         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80709         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80711         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80712         <stdint.h>.
80713         (GET_PC): Cast to uintptr_t first.
80714         (GET_FRAME): Likewise.
80715         (GET_STACK): Likewise.
80717         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80718         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80719         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80720         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80721         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80722         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80723         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80724         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80725         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80726         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80727         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80728         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80729         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80730         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80731         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80732         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80733         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80734         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80735         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80736         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80737         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80738         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80739         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80740         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80741         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80742         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80743         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80744         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80745         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80747 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80749         * Makerules (+depfiles): Also collect depfiles from .oS in
80750         $(extra-objs).
80751         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80752         .oS, $(libnldbl-routines)).
80754         * Makerules (native-compile-mkdep-flags): Define.
80755         * sunrpc/Makefile (extra-objs): Add $(addprefix
80756         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80757         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80758         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80759         calling $(make-target-directory).
80761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80763         * bits/types.h (__snseconds_t): Removed.
80764         * time/time.h (struct timespec): Replace __snseconds_t with
80765         __syscall_slong_t.
80766         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80767         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80768         Likewise.
80769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80770         (__SNSECONDS_T_TYPE): Likewise.
80771         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80772         (__SNSECONDS_T_TYPE): Likewise.
80773         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80774         (__SNSECONDS_T_TYPE): Likewise.
80776 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80778         * sysdeps/mach/hurd/bits/typesizes.h
80779         (__SYSCALL_SLONG_TYPE): New macro.
80780         (__SYSCALL_ULONG_TYPE): Likewise.
80782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80784         * bits/types.h (__syscall_slong_t): New type.
80785         (__syscall_ulong_t): Likewise.
80787         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80788         (__SYSCALL_ULONG_TYPE): Likewise.
80789         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80790         (__SYSCALL_SLONG_TYPE): Likewise.
80791         (__SYSCALL_ULONG_TYPE): Likewise.
80792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80793         (__SYSCALL_SLONG_TYPE): Likewise.
80794         (__SYSCALL_ULONG_TYPE): Likewise.
80795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80796         (__SYSCALL_SLONG_TYPE): Likewise.
80797         (__SYSCALL_ULONG_TYPE): Likewise.
80799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80801         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80802         Add sigaltstack-offsets.sym.
80803         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80804         <sigaltstack-offsets.h>.
80805         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80806         longjmp_msg pointer.
80807         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80808         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80809         signal stack.
80810         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80812 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80814         * elf/stackguard-macros.h: Remove file.
80815         * sysdeps/generic/stackguard-macros.h: New file.
80816         * sysdeps/i386/stackguard-macros.h: Likewise.
80817         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80818         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80819         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80820         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80821         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80822         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80823         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80824         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80825         <elf/stackguard-macros.h>.
80827         [BZ #14109]
80828         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80829         __aligned__ in attribute.
80830         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80831         (gregset_t): Likewise.
80833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80835         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80836         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80837         * sysdeps/x86_64/x32/Implies-after: New file.
80839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80841         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80842         and access return value for _dl_profile_fixup.  Use R10_LP to
80843         load frame size.
80845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80847         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80851         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80852         * sysdeps/x86_64/x32/sysdep.h: New file.
80854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80856         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80857         * sysdeps/x86_64/setjmp.S: Likewise.
80859 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80861         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80862         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80863         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80864         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80865         remove unused global constant.
80867 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80869         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80870         include of <not-cancel.h>.
80872 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80874         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80876 2012-05-15  Jeff Law  <law@redhat.com>
80877             Andreas Jaeger  <aj@suse.de>
80879         [BZ #13594]
80880         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80881         out from...
80882         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80883         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80884         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80885         code changing __hst_map_handle.map.
80887 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80889         * configure.in (sysnames): Look for Implies-before and Implies-after
80890         files.
80891         * configure: Regenerated.
80893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80895         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80896         8-byte data alignment with LP_SIZE alignment.
80898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80900         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80901         into R10_LP.
80903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80905         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80909         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80910         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80911         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80912         Likewise.
80913         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80917         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80918         (stackinfo_sub_sp): Likewise.
80920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80922         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80923         RAX_LP.
80925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80927         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80928         into R*_LP.
80930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80932         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80933         sizes into R*_LP.
80935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80937         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80941         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80942         into R11_LP and load __x86_64_shared_cache_size_half into
80943         R8_LP.
80945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80947         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80948         R8_LP.
80950 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80953         logb for POWER7.
80954         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80955         logbf for POWER7.
80956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80957         logbl for POWER7.
80958         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80959         powerpc32/power7/fpu/s_logb.c via #include.
80960         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80961         powerpc32/power7/fpu/s_logbf.c via #include.
80962         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80963         powerpc32/power7/fpu/s_logbl.c via #include.
80965 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80967         * README.libm: Remove file.
80969 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80971         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80972         count for x32.  Use R*_LP and omit operand-size suffix.
80974 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80976         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80977         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80978         * sysdeps/x86_64/x32/shlib-versions: New file.
80980 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80982         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80983         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80984         Use _dl_fatal_printf instead.
80986 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80988         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80989         set if not set by the user.  Do not allow for being unset.
80990         * sysdeps/unix/sysv/linux/configure: Regenerated.
80992 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80994         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80995         the `q' suffix from lea and replace .quad with ASM_ADDR.
80997 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
81000         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
81001         instead of $17.
81002         (PTR_DEMANGLE): Likewise.
81004 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81006         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
81007         (LP_OP): Likewise.
81008         (ASM_ADDR): Likewise.
81009         (RAX_LP): Likewise.
81010         (RBP_LP): Likewise.
81011         (RBX_LP): Likewise.
81012         (RCX_LP): Likewise.
81013         (RDI_LP): Likewise.
81014         (RSI_LP): Likewise.
81015         (RSP_LP): Likewise.
81016         (R8_LP): Likewise.
81017         (R9_LP): Likewise.
81018         (R10_LP): Likewise.
81019         (R10_LP): Likewise.
81020         (R11_LP): Likewise.
81021         (R12_LP): Likewise.
81022         (R13_LP): Likewise.
81023         (R14_LP): Likewise.
81024         (R15_LP): Likewise.
81026 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81028         * sysdeps/x86_64/x32/dl-machine.h: New file.
81030 2012-05-14  Andreas Jaeger  <aj@suse.de>
81032         * manual/Makefile (subdir): Remove export of subdir.
81033         (all): Remove target.
81034         (.PHONY): Remove all from list.
81035         (mkinstalldirs): Remove.
81036         (.PHONY): Remove installdirs from list.
81037         ($(inst_infodir)/libc.info): Use make-target-directory.
81038         (installdirs): Remove.
81039         (subdir_%): Remove.
81040         (glibc-targets): Remove.
81041         (lib): Remove.
81042         (stubs): Remove.
81043         ($(objpfx)stubs ../po/manual.pot): Remove.
81044         ($(objpfx)stamp%): Remove.
81045         (make-target-directory): Remove.
81046         (subdir_install): Remove.
81047         (routines): Remove.
81048         (aux): Remove.
81049         (sources): Remove.
81050         (objects): Remove.
81051         (headers): Remove.
81053         [BZ #13750]
81054         * manual/.gitignore: Remove, it's not needed anymore.
81055         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
81056         all files in it.
81057         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
81058         directory.
81059         (texis): Renamed to $(objpfx)texis.
81060         (texis-path): New, contains path to generated files.
81061         (chapters.%): Use texis-path for complete path, add extra argument
81062         libc-texinfo.sh.
81063         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
81064         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
81065         (summary,texi, stamp-summary): Use complete path of
81066         files. Generate files in build dir.
81067         (dir-add.texi): Build in build dir.
81068         (libm-err.texi,stamp-libm-err): Likewise.
81069         (version.texi, stamp-version): Likewise.
81070         (.%c.texi): Likewise.
81071         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81072         (mostlyclean): Remove target.
81073         (realclean): Remove target.
81074         (generated): Add new variable with contents from mostlyclean and
81075         realclean, remove entries duplicated in common-mostlyclean, add
81076         stamp-libm-err and stamp-version.
81077         (generated-dirs): Add libc directory.
81078         ($(inst_infodir)/libc.info): Install files from build dir.
81080         * manual/install.texi (Configuring and compiling): Adjust since
81081         the info files are not part of the tar ball anymore.
81083 2012-05-14  Andreas Jaeger  <aj@suse.de>
81085         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
81086         variable.
81088 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81090         [BZ #13717]
81091         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
81092         to 2.2.0 where earlier.
81093         * sysdeps/unix/sysv/linux/configure: Regenerated.
81094         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
81095         Remove conditional code.
81096         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
81097         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
81098         Remove conditional code.
81099         [!__NR_lchown]: Likewise.
81100         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81101         [__NR_lchown]: Likewise.
81102         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81103         comment referencing __ASSUME_LCHOWN_SYSCALL.
81104         * sysdeps/unix/sysv/linux/i386/sigaction.c
81105         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81106         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81107         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81108         Remove conditional code.
81109         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81110         (__protocol_available): Remove #if 0 code.
81111         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81112         conditional code.
81113         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81114         * sysdeps/unix/sysv/linux/kernel-features.h
81115         (__ASSUME_GETCWD_SYSCALL): Don't define.
81116         (__ASSUME_REALTIME_SIGNALS): Likewise.
81117         (__ASSUME_PREAD_SYSCALL): Likewise.
81118         (__ASSUME_PWRITE_SYSCALL): Likewise.
81119         (__ASSUME_POLL_SYSCALL): Likewise.
81120         (__ASSUME_LCHOWN_SYSCALL): Likewise.
81121         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81122         non-SPARC.
81123         (__ASSUME_SIOCGIFNAME): Don't define.
81124         (__ASSUME_MSG_NOSIGNAL): Likewise.
81125         (__ASSUME_SENDFILE): Define unconditionally.
81126         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81127         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81128         conditional code.
81129         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81130         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81131         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81132         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81133         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81134         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81135         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81137         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81140         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81141         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81143         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81146         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81147         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81149         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81152         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81155         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81158         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81159         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81160         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81161         Remove conditional code.
81162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81163         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81164         Remove conditional code.
81165         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81166         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81167         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81168         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81169         Remove conditional code.
81170         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81171         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81172         Remove conditional code.
81173         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81174         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81175         Remove conditional code.
81176         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81177         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81178         Remove conditional code.
81179         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81180         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81181         Remove conditional code.
81182         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81183         * sysdeps/unix/sysv/linux/sh/pwrite64.c
81184         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81185         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81186         * sysdeps/unix/sysv/linux/sigaction.c
81187         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81188         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81189         * sysdeps/unix/sysv/linux/sigpending.c
81190         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81191         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81192         * sysdeps/unix/sysv/linux/sigprocmask.c
81193         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81194         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81195         * sysdeps/unix/sysv/linux/sigsuspend.c
81196         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81197         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81198         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81199         (__libc_missing_rt_sigs): Remove.
81200         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81201         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81202         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81203         Remove conditional code.
81204         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81205         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81206         return 1.
81207         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81208         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81209         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81210         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81212 2012-05-14  Andreas Jaeger  <aj@suse.de>
81214         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81215         it's not used in glibc.
81216         (__coshm1): Likewise.
81217         (__acosh1p): Likewise.
81218         (__sgn): Likewise.
81220         * manual/string.texi (Copying and Concatenation): Add missing
81221         variable in concat example.
81222         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81226         [BZ #14103]
81227         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81228         __builtin_clzl with __builtin_clzll.
81230 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81232         [BZ #14104]
81233         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81234         libc_freeres_ptr.
81236 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81238         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81239         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81240         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81241         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81243 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81245         * NEWS: Update ia64 info.
81247 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81249         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81250         used as bcopy.
81252 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81254         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81255         * sysdeps/unix/syscalls.list (dup3): Likewise.
81256         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81257         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81259 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81261         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81262         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81264 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81266         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81267         thread pointer.
81268         (TLS_IE): Use mov/add instead of movq/addq to load thread
81269         pointer.
81270         (TLS_GD_PREFIX): New.
81271         (TLS_GD): Use it.
81273 2012-05-11  David S. Miller  <davem@davemloft.net>
81275         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81276         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81277         (_FPU_SETCW): Likewise.
81279 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81281         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81282         is 32-byte aligned.
81284 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81286         [BZ #11837]
81287         * iconvdata/gb18030.c: Update tables.
81288         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81289         characters specially.
81290         (BODY for TO_LOOP): Add encoding of missing ranges.
81292 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81294         [BZ #13673]
81295         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81296         * sysdeps/mach/hurd/dup3.c: Likewise.
81297         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81298         * sysdeps/powerpc/memmove.c:: Likewise.
81300 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81302         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81303         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81305 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81307         * elf/elf.h (R_X86_64_RELATIVE64): New.
81308         (R_X86_64_NUM): Updated.
81309         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81310         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81311         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81312         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81313         tst-quad1pie tst-quad2pie
81314         (modules-names): Add tst-quadmod1 tst-quadmod2.
81315         ($(objpfx)tst-quad1): New dependency.
81316         ($(objpfx)tst-quad2): Likewise.
81317         ($(objpfx)tst-quad1pie): Likewise.
81318         ($(objpfx)tst-quad2pie): Likewise.
81319         * sysdeps/x86_64/tst-quad1.c: New file.
81320         * sysdeps/x86_64/tst-quad1pie.c: New file.
81321         * sysdeps/x86_64/tst-quad2.c: Likewise.
81322         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81323         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81324         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81325         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81326         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81330         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81331         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81332         * streams/stropts.h (t_scalar_t): Define type.
81334         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81335         (_PATH_PRESERVE): Set to "/var/lib".
81336         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81338         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81339         instead of int.
81341         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81342         if __dir_mkfile succeeded.
81344         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81345         checking for _hurd_dtablesize.  Unlock it right after having
81346         finished _hurd_dtable allocation.
81348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81350         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81351         * sysdeps/mach/hurd/configure: Regenerated.
81352         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81353         special-casing to...
81354         * sysdeps/gnu/configure.in: ... this new file.
81355         * sysdeps/unix/sysv/linux/configure: Regenerated.
81356         * sysdeps/gnu/configure: New generated file.
81358         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81359         for Linux: use nsec instead of usec, as well as:
81360         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81361         members of type struct timespec.
81362         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81363         New macros.
81364         (struct stat64): Likewise.
81365         (_STATBUF_ST_NSEC): New macro.
81366         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81368         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81369         __strtoul_internal rather than strtoul.
81371 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81373         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81374         and reject them.
81376 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81378         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81379         which preserves existing values.
81380         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81382 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81384         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81385         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81386         greater than FD_SETSIZE.
81388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81390         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81391         allocated, call __vm_protect to finish enabling the existing space, and
81392         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81393         allocate the remainder.
81395 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81397         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81398         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81402         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81403         sysdeps/mach/hurd/readlink.c.
81405         * posix/tst-sysconf.c (posix_options): Only use
81406         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81407         _POSIX_SYNCHRONIZED_IO when they are defined
81408         * sysdeps/mach/hurd/bits/posix_opt.h:
81409         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81410         (_XOPEN_REALTIME): Undefine macro.
81411         (_XOPEN_REALTIME_THREADS): Undefine macro.
81412         (_XOPEN_SHM): Undefine macro.
81413         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81414         macro to -1.
81415         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81416         macro to -1.
81417         (_POSIX_ASYNC_IO): Undefine macro.
81418         (_POSIX_PRIORITIZED_IO): Undefine macro.
81419         (_POSIX_SPIN_LOCKS): Define macro to -1.
81421         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81422         SA_NODEFER, SA_RESETHAND.
81423         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81424         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81425         F_DUPFD_CLOEXEC.
81427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81429         * elf/Makefile (pldd-modules): Define unconditionally.
81431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81433         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81437         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81438         Return ENOENT when name is empty.
81439         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81443         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81445         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81449         Fix mlock in all cases except non-readable pages.
81450         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81451         instead of VM_PROT_ALL as parameter to __vm_wire function.
81453         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81454         (__mkdir): When path is `/', just fail with EEXIST.
81455         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81457 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81459         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81460         <sys/uio.h> (for writev).
81461         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81462         and <sys/param.h> (for MIN).
81464 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81466         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81467         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81468         if interrupted.
81470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81472         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81473         Depend on against $(link-rpcuserlibs).
81475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81477         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81478         (__libc_stack_end): Do not use attribute_relro.
81479         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81480         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81481         to libthread-provided value.
81482         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81483         attribute_relro.
81485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81487         [BZ #3748]
81488         * bits/libc-lock.h (__libc_once_get): New macro.
81489         * sysdeps/mach/bits/libc-lock.h: Likewise.
81490         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81491         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81492         instead of using implementation details.
81494         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81495         * libio/freopen.c: Likewise.
81496         * libio/freopen64.c: Likewise.
81497         * misc/syslog.c: Likewise.
81498         * nscd/connections.c: Likewise.
81499         * nscd/netgroupcache.c: Likewise.
81500         * sysdeps/posix/getcwd.c: Likewise.
81502 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81504         * math/w_ilogbf.c: Add #include <limits.h>.
81506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81508         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81509         path instead of returning without unlocking.
81511         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81512         immediate-write ioctls.
81513         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81517         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81518         __builtin_frame_address instead of making assumptions about the
81519         location of the return address relative to DATA.  Force early load of
81520         the return address.
81521         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81522         __builtin_frame_address.
81524         dup3 for GNU Hurd.
81525         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81526         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81527         implement dup3 and do some further code clean-ups.
81528         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81529         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81533         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81535         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81536         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81537         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81538         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81539         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81540         d->port.lock.
81542         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81543         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81544         when handler == SIG_ERR, not when handler != SIG_ERR.
81546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81548         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81549         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81550         definitions.
81552         accept4 for GNU Hurd.
81553         * include/sys/socket.h (__libc_accept4): New prototype.
81554         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81555         to implement __libc_accept4.
81556         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81557         __libc_accept4.
81558         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81560         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81561         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81562         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81563         signal-defines.sym.
81565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81567         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81571         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81572         assertion on O_CLOEXEC flag.
81573         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81574         * hurd/intern-fd.c: Likewise.
81575         * hurd/port2fd.c: Likewise.
81577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81579         [BZ #3906]
81580         * bits/in.h (IPV6_PKTINFO): Define new macro.
81581         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81583 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81585         [BZ #13954]
81586         [BZ #13955]
81587         [BZ #13956]
81588         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81589         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81590         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81591         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81593         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81594         * math/libm-test.inc (logb_test) : Additional logb tests.
81596 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81597             Andreas Jaeger  <aj@suse.de>
81599         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81600         * configure: Regenerated.
81601         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81602         * config.make.in (link-obsolete-rpc): New substituted variable.
81603         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81604         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81605         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81606         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81607         so that libc.a contains the symbols.
81608         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81609         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81610         * sunrpc/auth_none.c: Likewise.
81611         * sunrpc/auth_unix.c: Likewise.
81612         * sunrpc/authdes_prot.c: Likewise.
81613         * sunrpc/authuxprot.c: Likewise.
81614         * sunrpc/clnt_gen.c: Likewise.
81615         * sunrpc/clnt_perr.c: Likewise.
81616         * sunrpc/clnt_raw.c: Likewise.
81617         * sunrpc/clnt_simp.c: Likewise.
81618         * sunrpc/clnt_tcp.c: Likewise.
81619         * sunrpc/clnt_udp.c: Likewise.
81620         * sunrpc/clnt_unix.c: Likewise.
81621         * sunrpc/des_crypt.c: Likewise.
81622         * sunrpc/des_soft.c: Likewise.
81623         * sunrpc/get_myaddr.c: Likewise.
81624         * sunrpc/key_call.c: Likewise.
81625         * sunrpc/key_prot.c: Likewise.
81626         * sunrpc/netname.c: Likewise.
81627         * sunrpc/pm_getmaps.c: Likewise.
81628         * sunrpc/pm_getport.c: Likewise.
81629         * sunrpc/pmap_clnt.c: Likewise.
81630         * sunrpc/pmap_prot.c: Likewise.
81631         * sunrpc/pmap_prot2.c: Likewise.
81632         * sunrpc/pmap_rmt.c: Likewise.
81633         * sunrpc/publickey.c: Likewise.
81634         * sunrpc/rpc_cmsg.c: Likewise.
81635         * sunrpc/rpc_common.c: Likewise.
81636         * sunrpc/rpc_dtable.c: Likewise.
81637         * sunrpc/rpc_prot.c: Likewise.
81638         * sunrpc/rpc_thread.c: Likewise.
81639         * sunrpc/rtime.c: Likewise.
81640         * sunrpc/svc.c: Likewise.
81641         * sunrpc/svc_auth.c: Likewise.
81642         * sunrpc/svc_raw.c: Likewise.
81643         * sunrpc/svc_run.c: Likewise.
81644         * sunrpc/svc_tcp.c: Likewise.
81645         * sunrpc/svc_udp.c: Likewise.
81646         * sunrpc/svc_unix.c: Likewise.
81647         * sunrpc/svcauth_des.c: Likewise.
81648         * sunrpc/xcrypt.c: Likewise.
81649         * sunrpc/xdr.c: Likewise.
81650         * sunrpc/xdr_array.c: Likewise.
81651         * sunrpc/xdr_float.c: Likewise.
81652         * sunrpc/xdr_intXX_t.c: Likewise.
81653         * sunrpc/xdr_mem.c: Likewise.
81654         * sunrpc/xdr_rec.c: Likewise.
81655         * sunrpc/xdr_ref.c: Likewise.
81656         * sunrpc/xdr_sizeof.c: Likewise.
81657         * sunrpc/xdr_stdio.c: Likewise.
81659 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81661         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81662         change.  Update copyright years.
81664 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81666         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81668 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81669             Joseph Myers  <joseph@codesourcery.com>
81670             Paul Pluzhnikov  <ppluzhnikov@google.com>
81672         [BZ #14012]
81673         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81674         requiring rpcgen.
81675         [cross-compiling] (extra-libs): Likewise.
81676         [cross-compiling] (extra-libs-others): Likewise.
81677         [cross-compiling] (librpcsvc-routines): Likewise.
81678         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81679         [cross-compiling] (omit-deps): Likewise.
81680         (sunrpc-CPPFLAGS): New variable.
81681         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81682         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81683         (cross-rpcgen-objs): New variable.
81684         (extra-objs): Append $(cross-rpcgen-objs).
81685         ($(cross-rpcgen-objs)): New rule.
81686         ($(objpfx)cross-rpcgen): Likewise.
81687         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81688         comment.
81689         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81690         ($(objpfx)x%.stmp): Likewise.
81691         * sunrpc/proto.h [IS_IN_build] (_): Define.
81692         [IS_IN_build] (_libc_intl_domainname): Likewise.
81694 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81696         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81697         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81698         and R_X86_64_TPOFF64.
81700 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81702         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81703         sysdeps/unix/sysv/syscalls.list.
81704         (stime): Likewise.
81705         (utime): Likewise.
81706         * sysdeps/unix/sysv/syscalls.list: Remove file.
81708 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81710         [BZ #3440]
81711         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81712         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81713         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81714         (__LC_IDENTIFICATION): Make these macros useful in #if
81715         expressions, as required by C99.
81717 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81719         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81720         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81721         after this.
81723 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81725         * stdlib/longlong.h: Updated from GCC.
81727 2012-05-09  Andreas Jaeger  <aj@suse.de>
81729         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81730         default is first entry.
81731         (run_mode): Set type.
81732         (main): Remove informal message about syslog.
81733         (options): Fix typo.
81735         [BZ #14053]
81736         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81737         to asm.
81738         (lrint): Likewise.
81739         (llrintf): Likewise.
81740         (llrint): Likewise.
81741         (rint): Likewise.
81742         (rintf): Likewise.
81743         (nearbyint): Likewise.
81744         (nearbyintf): Likewise.
81746 2012-05-09  Andreas Jaeger  <aj@suse.de>
81747             Pedro Alves  <palves@redhat.com>
81749         * nscd/nscd.c (run_mode): Use enum.
81750         (main): Cleanup coding style issue.
81752 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81753             Andreas Jaeger  <aj@suse.de>
81755         * nscd/nscd.c (go_background): Replaced with...
81756         (run_mode): ... this.
81757         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81758         (options): Add -F --foreground.
81759         (main): Implement it.
81760         (parse_opt): Parse it.
81762 2012-05-09  Andreas Jaeger  <aj@suse.de>
81764         [BZ #14083]
81765         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81766         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81767         -Wconversion warning.
81768         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81769         Likewise.
81771 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81773         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81774         == 0.
81775         (LC_ALL): Use macro-int-constant.
81776         (LC_COLLATE): Likewise.
81777         (LC_CTYPE): Likewise.
81778         (LC_MESSAGES): Likewise.
81779         (LC_MONETARY): Likewise.
81780         (LC_NUMERIC): Likewise.
81781         (LC_TIME): Likewise.
81782         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81783         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81784         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81785         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81786         Specify type.
81787         [C99-based standards] (float_t): Expect type.
81788         [C99-based standards] (double_t): Expect type.
81789         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81790         type.
81791         [C99-based standards] (HUGE_VALL): Likewise.
81792         [C99-based standards] (INFINITY): Likewise.
81793         [C99-based standards] (NAN): Likewise.
81794         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81795         [C99-based standards] (FP_NAN): Likewise.
81796         [C99-based standards] (FP_NORMAL): Likewise.
81797         [C99-based standards] (FP_SUBNORMAL): Likewise.
81798         [C99-based standards] (FP_ZERO): Likewise.
81799         [C99-based standards] (FP_FAST_FMA): Use
81800         optional-macro-int-constant.  Specify type.  Require == 1.
81801         [C99-based standards] (FP_FAST_FMAF): Likewise.
81802         [C99-based standards] (FP_FAST_FMAL): Likewise.
81803         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81804         [C99-based standards] (FP_ILOGBNAN): Likewise.
81805         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81806         Specify type.
81807         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81808         [C99-based standards] (math_errhandling): Specify type.
81809         [ISO99 || ISO11] (signgam): Do not allow.
81810         [non-C99-based standards] (copysignf): Do not allow.
81811         [non-C99-based standards] (exp2f): Likewise.
81812         [non-C99-based standards] (log2f): Likewise.
81813         [non-C99-based standards] (modff): Allow.
81814         [non-C99-based standards] (erff): Do not allow.
81815         [non-C99-based standards] (erfcf): Likewise.
81816         [non-C99-based standards] (gammaf): Likewise.
81817         [non-C99-based standards] (hypotf): Likewise.
81818         [non-C99-based standards] (j0f): Likewise.
81819         [non-C99-based standards] (j1f): Likewise.
81820         [non-C99-based standards] (jnf): Likewise.
81821         [non-C99-based standards] (lgammaf): Likewise.
81822         [non-C99-based standards] (tgammaf): Likewise.
81823         [non-C99-based standards] (y0f): Likewise.
81824         [non-C99-based standards] (y1f): Likewise.
81825         [non-C99-based standards] (ynf): Likewise.
81826         [non-C99-based standards] (isnanf): Likewise.
81827         [non-C99-based standards] (acoshf): Likewise.
81828         [non-C99-based standards] (asinhf): Likewise.
81829         [non-C99-based standards] (atanhf): Likewise.
81830         [non-C99-based standards] (cbrtf): Likewise.
81831         [non-C99-based standards] (expm1f): Likewise.
81832         [non-C99-based standards] (ilogbf): Likewise.
81833         [non-C99-based standards] (log1pf): Likewise.
81834         [non-C99-based standards] (logbf): Likewise.
81835         [non-C99-based standards] (nextafterf): Likewise.
81836         [non-C99-based standards] (remainderf): Likewise.
81837         [non-C99-based standards] (rintf): Likewise.
81838         [non-C99-based standards] (scalbf): Likewise.
81839         [non-C99-based standards] (copysignl): Likewise.
81840         [non-C99-based standards] (exp2l): Likewise.
81841         [non-C99-based standards] (log2l): Likewise.
81842         [non-C99-based standards] (modfl): Allow.
81843         [non-C99-based standards] (erfl): Do not allow.
81844         [non-C99-based standards] (erfcl): Likewise.
81845         [non-C99-based standards] (gammal): Likewise.
81846         [non-C99-based standards] (hypotl): Likewise.
81847         [non-C99-based standards] (j0l): Likewise.
81848         [non-C99-based standards] (j1l): Likewise.
81849         [non-C99-based standards] (jnl): Likewise.
81850         [non-C99-based standards] (lgammal): Likewise.
81851         [non-C99-based standards] (tgammal): Likewise.
81852         [non-C99-based standards] (y0l): Likewise.
81853         [non-C99-based standards] (y1l): Likewise.
81854         [non-C99-based standards] (ynl): Likewise.
81855         [non-C99-based standards] (isnanl): Likewise.
81856         [non-C99-based standards] (acoshl): Likewise.
81857         [non-C99-based standards] (asinhl): Likewise.
81858         [non-C99-based standards] (atanhl): Likewise.
81859         [non-C99-based standards] (cbrtl): Likewise.
81860         [non-C99-based standards] (expm1l): Likewise.
81861         [non-C99-based standards] (ilogbl): Likewise.
81862         [non-C99-based standards] (log1pl): Likewise.
81863         [non-C99-based standards] (logbl): Likewise.
81864         [non-C99-based standards] (nextafterl): Likewise.
81865         [non-C99-based standards] (remainderl): Likewise.
81866         [non-C99-based standards] (rintl): Likewise.
81867         [non-C99-based standards] (scalbl): Likewise.
81868         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81869         [non-C99-based standards] (FP_*): Do not allow.
81870         [C99-based standards] (FP_*): Change to
81871         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81872         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81873         allow.
81874         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81875         (SIG_ERR): Likewise.
81876         [X/Open-based standards] (SIG_HOLD): Likewise.
81877         (SIG_IGN): Likewise.
81878         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81879         positive value.
81880         (SIGFPE): Likewise.
81881         (SIGILL): Likewise.
81882         (SIGINT): Likewise.
81883         (SIGSEGV): Likewise.
81884         (SIGTER): Likewise.
81885         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81886         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81887         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81888         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81889         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81890         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81891         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81892         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81893         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81894         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81895         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81896         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81897         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81898         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81899         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81900         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81901         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81902         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81903         [X/Open-based standards] (SIGTRAP): Likewise.
81904         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81905         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81906         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81907         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81908         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81909         allow.
81911 2012-05-08  Ian Wienand  <ianw@vmware.com>
81913         [BZ #14080]
81914         * time/tzset.c (__tzset_parse_tz): Update default rules for
81915         daylight time changes in the Energy Policy Act of 2005.
81917 2012-05-09  Andreas Jaeger  <aj@suse.de>
81919         [BZ #13983]
81920         * elf/ldconfig.c (parse_conf): Change string to make clear that
81921         ldconfig only issued a warning if ld.so.conf does not exist.
81923 2012-05-08  David S. Miller  <davem@davemloft.net>
81925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81926         movxtod instead of popping the value on the stack.
81928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81930 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81932         * config.h.in: Add HAVE_ARM_PCS_VFP.
81934 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81936         [BZ #13979]
81937         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81938         checking but the checks are disabled for any reason.
81940 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81942         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81943         and ELF64_R_TYPE with ELFW(R_TYPE).
81945 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81947         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81948         (ulimit): Likewise.
81950         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81951         (settimeofday): Likewise.
81953 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81955         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81956         a struct th_u2 inside the union, and move tu_block/tu_code into
81957         a new th_u3 union of tu_block/tu_code inside of that.  Move
81958         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81959         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81960         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81961         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81962         (th_stuff): Change to th_u1.tu_stuff.
81963         (th_data): Define.
81964         (th_msg): Change to th_u1.th_u2.tu_data.
81966 2012-05-07  David S. Miller  <davem@davemloft.net>
81968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81970         [BZ #14074]
81971         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81972         (SETUP_PIC_REG): Use it.
81973         (SETUP_PIC_REG_LEAF): Use it.
81975 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81977         [BZ #13885]
81978         [BZ #13923]
81979         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81980         USE_AS_EXPM1L.
81981         (EXPL_FINITE): Likewise.
81982         (FLDLOG): Likewise.
81983         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81984         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81985         e_expl.S.
81986         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81987         USE_AS_EXPM1L.
81988         (EXPL_FINITE): Likewise.
81989         (FLDLOG): Likewise.
81990         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81991         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81992         e_expl.S.
81993         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81994         test of -max_value argument for long double.
81995         * sysdeps/i386/fpu/libm-test-ulps: Update.
81996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81998 2012-05-06  David S. Miller  <davem@davemloft.net>
82000         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
82001         quad soft-float symbols whose references which are compiler
82002         generated.
82003         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82005 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
82007         [BZ #13884]
82008         [BZ #13914]
82009         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82010         USE_AS_EXP10L.
82011         (EXPL_FINITE): Likewise.
82012         (FLDLOG): Likewise.
82013         (c0): Likewise.
82014         (c1): Likewise.
82015         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82016         Adjust comments for base varying.
82017         (__expl_finite): Change alias to EXPL_FINITE.
82018         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
82019         e_expl.S.
82020         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
82021         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
82022         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
82023         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
82024         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82025         USE_AS_EXP10L.
82026         (EXPL_FINITE): Likewise.
82027         (FLDLOG): Likewise.
82028         (c0): Likewise.
82029         (c1): Likewise.
82030         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82031         Adjust comments for base varying.
82032         (__expl_finite): Change alias to EXPL_FINITE.
82033         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
82034         tests for bugs.
82035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82037         [BZ #14064]
82038         * math/libm-test.inc (check_float_internal): Correct ulp
82039         calculation for subnormal expected results.
82041 2012-05-06  Andreas Jaeger  <aj@suse.de>
82043         * Makeconfig (+math-flags): New, set to -frounding-math.
82044         (+cflags): Add +math-flags so that all of glibc gets compiled with
82045         it.
82047         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
82049 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
82051         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
82052         Disable one test.
82054         [BZ #13787]
82055         [BZ #13922]
82056         [BZ #14036]
82057         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
82058         (__ieee754_expl): Allow for and saturate large arguments.
82059         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
82060         (u_threshold): Likewise.
82061         (__exp): Call __ieee754_exp before checking for overflow and
82062         underflow.
82063         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
82064         (u_threshold): Likewise.
82065         (__expf): Call __ieee754_expf before checking for overflow and
82066         underflow.
82067         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
82068         (u_threshold): Likewise.
82069         (__expl): Call __ieee754_expl before checking for overflow and
82070         underflow.
82071         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
82072         (__ieee754_expl): Allow for and saturate large arguments.
82073         * math/libm-test.inc (exp_test): Add another test.  Do not allow
82074         missing overflow exception on overflow.
82075         (expm1_test): Do not allow missing overflow exception on overflow.
82077         * sysdeps/i386/fpu/e_expl.c: Move to ...
82078         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
82079         rather than using inline asm.
82080         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
82081         * sysdeps/x86_64/fpu/e_expl.S: Copy from
82082         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
82084         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
82085         (nice): Likewise.
82086         (poll): Likewise.
82087         (signal): Likewise.
82088         (time): Likewise.
82089         (times): Likewise.
82091 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82093         * sysdeps/unix/syscalls.list (adjtime): Add entry from
82094         sysdeps/unix/common/syscalls.list.
82095         (fchmod): Likewise.
82096         (fchown): Likewise.
82097         (ftruncate): Likewise.
82098         (getrusage): Likewise.
82099         (gettimeofday): Likewise.
82100         (setpgid): Likewise.
82101         (setregid): Likewise.
82102         (setreuid): Likewise.
82103         (sigaction): Likewise.
82104         (truncate): Likewise.
82105         (vhangup): Likewise.
82106         * sysdeps/unix/common/syscalls.list: Remove file.
82107         * sysdeps/unix/bsd/Implies: Don't include unix/common.
82108         * sysdeps/unix/sysv/linux/Implies: Likewise.
82110 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
82112         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82114         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82115         Moved to ...
82116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82117         Here.
82118         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82119         to ...
82120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82121         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82122         to ...
82123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82124         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82125         to ...
82126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82127         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82128         to ...
82129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82130         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82131         to ...
82132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82133         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82134         to ...
82135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82136         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82137         to ...
82138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82139         Here.
82140         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82141         to ...
82142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82143         Here.
82144         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82145         to ...
82146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82147         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82148         Moved to ...
82149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82150         Here.
82151         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82152         to ...
82153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82155 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82157         * sysdeps/unix/common/bits/dirent.h: Remove file.
82158         * sysdeps/unix/common/bits/fcntl.h: Likewise.
82160         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82161         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82162         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82163         * sysdeps/unix/bsd/isatty.c: Likewise.
82164         * sysdeps/unix/bsd/tcdrain.c: Likewise.
82165         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82166         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82168 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82170         [BZ #13563]
82171         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82172         long double comparison inaccuracies.
82173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82176 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
82178         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82179         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82181 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82183         [BZ #14049]
82184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82185         nonzero digits before rounding a hex value.
82186         * stdlib/tst-strtod.c (tests): Add another test.
82188 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82190         * sysdeps/s390/fpu/libm-test-ulps: Update.
82192 2012-05-03  Andreas Jaeger  <aj@suse.de>
82194         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82195         does not get optimized out.
82196         (malloc_opt_barrier): New.
82198 2012-05-03  Andreas Jaeger  <aj@suse.de>
82199             Roland McGrath  <roland@hack.frob.com>
82201         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82202         intermediate file deletion.
82203         (generated): Add .symlist files.
82205 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
82207         [BZ #13775]
82208         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82209         Redirect under this condition.
82210         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82211         [__USE_GNU] (__dprintf_chk): Not under this condition.
82212         [__USE_GNU] (__vdprintf_chk): Likewise.
82213         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82214         under this condition.
82215         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82216         [__USE_XOPEN2K8] (dprintf): Define under this condition.
82217         [__USE_XOPEN2K8] (vdprintf): Likewise.
82218         [__USE_GNU] (__dprintf_chk): Not under this condition.
82219         [__USE_GNU] (__vdprintf_chk): Likewise.
82220         [__USE_GNU] (dprintf): Likewise.
82221         [__USE_GNU] (vdprintf): Likewise.
82223 2012-05-03  Roland McGrath  <roland@hack.frob.com>
82225         * elf/Makefile (common-generated): Set this instead of generated for
82226         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
82227         $(all-built-dso)-derived lists.
82229 2012-05-03  Andreas Jaeger  <aj@suse.de>
82231         * sysdeps/i386/fpu/libm-test-ulps: Update.
82233         * FAQ: Removed.
82234         * FAQ.in: Likewise.
82235         * scripts/gen-FAQ.pl: Likewise.
82236         * manual/install.texi (Installation): Point to online location of
82237         FAQ.
82238         * Makefile (files-for-dist): Remove FAQ.
82239         (FAQ): Remove.
82241 2012-05-02  Allan McRae  <allan@archlinux.org>
82243         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82244         (LDFLAGS-reldepmod5.so): Likewise.
82245         (LDFLAGS-reldep6mod1.so): Likewise.
82246         (LDFLAGS-reldep6mod4.so): Likewise.
82247         (LDFLAGS-reldep8mod3.so): Likewise.
82248         (LDFLAGS-unload4mod1.so): Likewise.
82249         (LDFLAGS-unload4mod2.so): Likewise.
82250         (LDFLAGS-tst-initorder): Likewise.
82251         (LDFLAGS-tst-initordera2.so): Likewise.
82252         (LDFLAGS-tst-initordera3.so): Likewise.
82253         (LDFLAGS-tst-initordera4.so): Likewise.
82254         (LDFLAGS-tst-initorderb2.so): Likewise.
82255         (LDFLAGS-noload): Likewise.
82256         (LDFLAGS-next): Likewise.
82257         (LDFLAGS-order2mod1.so): Likewise.
82258         (LDFLAGS-order2mod2.so): Likewise.
82259         (LDFLAGS-tst-initorder2): Likewise.
82260         (LDFLAGS-tst-initorder2a.so): Likewise.
82261         (LDFLAGS-tst-initorder2b.so): Likewise.
82262         (LDFLAGS-tst-initorder2c.so): Likewise.
82263         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82265 2012-05-02  David S. Miller  <davem@davemloft.net>
82267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82269 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82271         [BZ #14055]
82272         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82274 2012-05-02  Andreas Jaeger  <aj@suse.de>
82276         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82277         since we manipulate rounding mode.
82278         (CPPFLAGS-test-idouble.c): Likewise.
82279         (CPPFLAGS-test-ifloat.c): Likewise.
82280         (CFLAGS-test-ldouble.c): Likewise.
82281         (CFLAGS-test-double.c): Likewise.
82282         (CFLAGS-test-float.c): Likewise.
82283         (CFLAGS-test-misc.c): Likewise.
82284         (CFLAGS-test-test-fenv.c): Likewise.
82286 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82288         [BZ #2550]
82289         [BZ #2570]
82290         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82291         comparisons to determine direction to adjust input.
82293 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82295         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82296         output to the target.
82298         * scripts/localplt.awk: New file.
82299         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82300         (check-localplt-CFLAGS): Variable removed.
82301         ($(all-built-dso:=.jmprel)): New static pattern rule.
82302         (generated): Add those targets.
82303         (localplt-built-dso): New variable.
82304         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82306         * elf/check-localplt.c: File removed.
82308         * scripts/check-execstack.awk: New file.
82309         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82310         (check-execstack-CFLAGS): Variable removed.
82311         ($(objpfx)check-execstack.h): Target removed.
82312         ($(objpfx)execstack-default): New target.
82313         (generated): Add that instead of check-execstack.h.
82314         ($(all-built-dso:=.phdr)): New static pattern rule.
82315         (generated): Add those targets.
82316         * elf/check-execstack.c: File removed.
82318         * scripts/check-textrel.awk: New file.
82319         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82320         (check-textrel-CFLAGS): Variable removed.
82321         (all-built-dso): Use := to define.o
82322         ($(all-built-dso:=.dyn)): New static pattern rule.
82323         (generated): Add those targets.
82324         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82325         * config.make.in (READELF): New substituted variable.
82326         * elf/check-textrel.c: File removed.
82328 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82330         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82331         allow.
82332         * conform/data/ctype.h-data [C99-based standards] (isblank):
82333         Expect function.
82334         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82335         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82336         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82337         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82338         Specify type.  Require positive value.
82339         (EILSEQ): Likewise.
82340         (ERANGE): Likewise.
82341         [ISO || POSIX] (EILSEQ): Do not expect.
82342         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82343         Specify type.  Require positive value.
82344         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82345         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82346         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82347         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82348         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82349         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82350         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82351         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82352         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82353         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82354         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82355         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82356         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82357         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82358         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82359         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82360         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82361         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82362         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82363         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82364         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82365         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82366         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82367         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82368         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82369         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82370         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82371         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82372         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82373         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82374         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82375         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82376         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82377         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82378         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82379         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82380         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82381         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82382         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82383         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82384         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82385         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82386         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82387         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82388         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82389         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82390         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82391         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82392         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82393         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82394         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82395         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82396         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82397         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82398         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82399         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82400         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82401         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82402         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82403         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82404         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82405         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82406         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82407         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82408         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82409         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82410         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82411         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82412         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82413         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82414         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82415         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82416         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82417         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82418         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82419         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82420         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82421         Require >= 2.
82422         (FLT_ROUNDS): Expect as macro, not constant.
82423         (FLT_MANT_DIG): Use macro-int-constant.
82424         (DBL_MANT_DIG): Likewise.
82425         (LDBL_MANT_DIG): Likewise.
82426         (FLT_DIG): Likewise.
82427         (DBL_DIG): Likewise.
82428         (LDBL_DIG): Likewise.
82429         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82430         (DBL_MIN_EXP): Likewise.
82431         (LDBL_MIN_EXP): Likewise.
82432         (FLT_MAX_EXP): Use macro-int-constant.
82433         (DBL_MAX_EXP): Likewise.
82434         (LDBL_MAX_EXP): Likewise.
82435         (FLT_MAX_10_EXP): Likewise.
82436         (DBL_MAX_10_EXP): Likewise.
82437         (LDBL_MAX_10_EXP): Likewise.
82438         (FLT_MAX): Use macro-constant.
82439         (DBL_MAX): Likewise.
82440         (LDBL_MAX): Likewise.
82441         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82442         (DBL_EPSILON): Likewise.
82443         (LDBL_EPSILON): Likewise.
82444         (FLT_MIN): Likewise.
82445         (DBL_MIN): Likewise.
82446         (LDBL_MIN): Likewise.
82447         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82448         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82449         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82450         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82451         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82452         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82453         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82454         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82455         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82456         [ISO11] (FLT_TRUE_MIN): Likewise.
82457         [ISO11] (LDBL_TRUE_MIN): Likewise.
82458         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82459         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82460         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82461         (SCHAR_MAX): Likewise.
82462         (UCHAR_MAX): Likewise.
82463         (CHAR_MIN): Likewise.
82464         (CHAR_MAX): Likewise.
82465         (MB_LEN_MAX): Use macro-int-constant.
82466         (SHRT_MIN): Use macro-int-constant.  Specify type.
82467         (SHRT_MAX): Likewise.
82468         (USHRT_MAX): Likewise.
82469         (INT_MAX): Likewise.
82470         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82471         bound negative.
82472         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82473         bound with "U".
82474         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82475         bound with "L".
82476         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82477         bound negative.  Suffix upper bound with "L".
82478         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82479         bound with "UL".
82480         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82481         Specify type.
82482         [C99-based standards] (LLONG_MAX): Likewise.
82483         [C99-based standards] (ULLONG_MAX): Likewise.
82484         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82485         == 0.
82486         [ISO11] (max_align_t): Require type.
82487         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82489         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82490         from $CFLAGS, without defining away __attribute__ calls.
82491         (checknamespace): Use $CFLAGS_namespace.
82493         * conform/conformtest.pl (@keywords): Only include C99 keywords
82494         for standards based on C99 or C11.
82496         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82497         Disable tests.
82498         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82499         UNIX98]: Likewise.
82501         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82502         usability of symbols in #if.
82504         * conform/conformtest.pl: If macro or constant types start
82505         "promoted:", expect the symbol to be of the following type
82506         promoted by the integer promotions.
82508         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82509         in one place.  Also handle "macro-constant".
82511         * conform/conformtest.pl: Only accept expected macro values with
82512         "==".  Parse all "macro" lines in one place.
82513         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82515         * conform/conformtest.pl: Handle braced types on "constant" lines
82516         instead of handling "typed-constant".
82517         * conform/data/signal.h-data: Use "constant" instead of
82518         "typed-constant".
82520         * conform/conformtest.pl: Handle "optional-" at start of lines in
82521         one place rather than duplicating several cases.  Handle each
82522         format of "macro" line with initial "optional-".
82524         * conform/conformtest.pl: Only accept expected constant or
82525         optional-constant values with "==".  Parse all "constant" lines in
82526         one place.  Parse all "optional-constant" lines in one place.
82527         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82528         * conform/data/fmtmsg.h-data: Likewise.
82529         * conform/data/netinet/in.h-data: Likewise.
82530         * conform/data/tar.h-data: Likewise.
82531         * conform/data/limits.h-data: Use "==" form on "constant" and
82532         "optional-constant" lines.
82534         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82535         Use -std=c99 for XOPEN2K.
82536         (@knownproblems): Remove.
82537         (newtoken): Don't check %isknown.
82539         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82540         Do not expect macro.
82541         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82542         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82543         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82544         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82545         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82546         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82547         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82548         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82549         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82550         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82551         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82552         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82553         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82554         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82555         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82556         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82557         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82558         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82559         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82560         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82561         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82562         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82563         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82564         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82565         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82566         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82567         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82568         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82569         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82570         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82571         [XPG3] (acosh): Likewise.
82572         [XPG3] (asinh): Likewise.
82573         [XPG3] (atanh): Likewise.
82574         [XPG3] (cbrt): Likewise.
82575         [XPG3] (expm1): Likewise.
82576         [XPG3] (ilogb): Likewise.
82577         [XPG3] (log1p): Likewise.
82578         [XPG3] (logb): Likewise.
82579         [XPG3] (nextafter): Likewise.
82580         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82581         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82582         [XPG3] (remainder): Likewise.
82583         [XPG3] (rint): Likewise.
82584         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82585         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82586         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82587         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82588         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82589         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82590         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82591         [UNIX98 || XOPEN2K] (scalb): Expect.
82592         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82593         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82594         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82595         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82596         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82597         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82598         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82599         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82600         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82601         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82602         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82603         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82604         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82605         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82606         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82607         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82608         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82609         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82610         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82611         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82612         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82613         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82614         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82615         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82616         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82617         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82618         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82619         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82620         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82621         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82622         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82623         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82624         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82625         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82626         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82627         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82628         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82629         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82630         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82631         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82632         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82633         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82634         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82635         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82636         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82637         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82638         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82639         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82640         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82641         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82642         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82643         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82644         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82645         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82646         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82647         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82648         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82649         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82650         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82651         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82652         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82653         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82654         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82655         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82656         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82657         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82658         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82659         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82660         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82661         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82662         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82663         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82664         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82665         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82666         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82667         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82668         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82669         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82670         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82671         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82672         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82673         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82674         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82675         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82676         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82677         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82678         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82679         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82680         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82681         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82682         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82683         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82684         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82685         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82686         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82687         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82688         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82689         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82690         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82691         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82692         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82693         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82694         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82695         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82696         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82697         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82698         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82699         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82700         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82701         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82702         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82703         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82704         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82705         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82706         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82707         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82708         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82709         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82710         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82711         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82712         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82713         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82714         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82715         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82716         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82717         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82718         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82719         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82720         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82721         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82722         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82723         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82724         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82725         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82726         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82727         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82728         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82730         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82731         _XOPEN_SOURCE_EXTENDED for XPG4.
82733         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82735         * Makeconfig (localtime): Remove variable.
82736         (inst_localtime-file): Likewise.
82738 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82741         Update.
82742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82743         Update.
82744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82745         Update.
82746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82747         Update.
82748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82749         Update.
82750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82751         Update.
82752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82753         Update.
82754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82755         Update.
82756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82757         Update.
82759 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82761         [BZ #2550]
82762         [BZ #2570]
82763         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82764         comparisons to determine direction to adjust input.
82765         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82766         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82767         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82768         Likewise.
82769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82770         Likewise.
82771         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82772         Likewise.
82773         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82774         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82775         Likewise.
82776         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82777         Likewise.
82778         * math/libm-test.inc (nexttoward_test): Add more tests.
82780 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82782         [BZ #14040]
82783         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82784         in version GLIBC_2.1, not GLIBC_2.0.
82785         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82786         Likewise.
82788 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82790         [BZ #13942]
82791         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82792         (1 - x) * (1 + x).
82793         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82794         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82795         * math/libm-test.inc (acos_test): Add more tests.
82796         (asin_test): Likewise.
82797         * sysdeps/i386/fpu/libm-test-ulps: Update.
82798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82800         [BZ #14034]
82801         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82802         of square root.
82803         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82804         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82805         * math/libm-test.inc (acos_test_tonearest): New function.
82806         (acos_test_towardzero): Likewise.
82807         (acos_test_downward): Likewise.
82808         (acos_test_upward): Likewise.
82809         (asin_test_tonearest): Likewise.
82810         (asin_test_towardzero): Likewise.
82811         (asin_test_downward): Likewise.
82812         (asin_test_upward): Likewise.
82813         (main): Call the new functions.
82814         * sysdeps/i386/fpu/libm-test-ulps: Update.
82815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82817         [BZ #13884]
82818         [BZ #13924]
82819         * math/e_exp10.c: Include <float.h>.
82820         (__ieee754_exp10): Handle underflow here rather than multiplying
82821         large negative argument by M_LN10.
82822         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82823         of __ieee754_expf.
82824         * math/e_exp10l.c: Include <float.h>.
82825         (__ieee754_exp10l): Handle underflow here rather than multiplying
82826         large negative argument by M_LN10l.
82827         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82828         spurious overflow exception on underflow.
82830 2012-04-29  Marek Polacek  <polacek@redhat.com>
82832         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82833         (__fortify_function): New macro.
82834         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82835         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82836         __extern_always_inline.
82837         * libio/bits/stdio2.h: Likewise.
82838         * libio/bits/stdio.h: Likewise.
82839         * string/string.h: Likewise.
82840         * string/bits/string3.h: Likewise.
82841         * include/stdio.h: Likewise.
82842         * stdlib/bits/stdlib.h: Likewise.
82843         * stdlib/stdlib.h: Likewise.
82844         * rt/bits/mqueue2.h: Likewise.
82845         * rt/mqueue.h: Likewise.
82846         * posix/bits/unistd.h: Likewise.
82847         * posix/unistd.h: Likewise.
82848         * io/bits/poll2.h: Likewise.
82849         * io/bits/fcntl2.h: Likewise.
82850         * io/fcntl.h: Likewise.
82851         * io/sys/poll.h: Likewise.
82852         * misc/bits/syslog.h: Likewise.
82853         * misc/bits/syslog-ldbl.h: Likewise.
82854         * misc/sys/syslog.h: Likewise.
82855         * socket/bits/socket2.h: Likewise.
82856         * socket/sys/socket.h: Likewise.
82857         * debug/tst-chk1.c: Likewise.
82858         * wcsmbs/bits/wchar2.h: Likewise.
82859         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82860         * wcsmbs/wchar.h: Likewise.
82862 2012-04-29  Andreas Jaeger  <aj@suse.de>
82864         * Makerules (tests): Remove enable-check-abi protection.
82865         (check-abi-warn): Remove.
82866         (check-abi-%): Remove check-abi-warn usage.
82868         * configure.in: Remove check-abi configure option.
82869         * configure: Regenerated.
82870         * config.make.in (enable-check-abi): Remove.
82872 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82874         [BZ #14033]
82875         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82876         double functions to double *_finite functions.
82878         [BZ #13941]
82879         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82880         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82881         LDBL_MIN_EXP.
82882         * stdio-common/Makefile (tests): Add tst-sprintf3.
82883         * stdio-common/tst-sprintf3.c: New file.
82885         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82886         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82888 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82890         * conform/conformtest.pl: Remove duplicate typed-constant
82891         handling.
82893 2012-04-28  David S. Miller  <davem@davemloft.net>
82895         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82896         (check-abi-%): Remove AWK script prerequisite and explicit
82897         abilist directory.
82898         (check-abi): Rewrite to just diff the symlist with the abilist.
82899         (config-tls, config-abi-config): Delete, no longer used.
82900         (update-abi-%): Remove AWK script and explicit abilist directory.
82901         (update-abi): Rewrite to simply compare and conditionally copy the
82902         symlist and the sysdep abilist file.  Remove update-abi-config
82903         checks.
82904         * abilist/ld.abilist: Remove.
82905         * abilist/libBrokenLocale.abilist: Remove.
82906         * abilist/libanl.abilist: Remove.
82907         * abilist/libcrypt.abilist: Remove.
82908         * abilist/libdl.abilist: Remove.
82909         * abilist/librt.abilist: Remove.
82910         * abilist/libthread_db.abilist: Remove.
82911         * abilist/libutil.abilist: Remove.
82912         * scripts/extract-abilist.awk: Remove.
82913         * scripts/merge-abilist.awk: Remove.
82914         * sysdeps/generic/libcidn.abilist: New file.
82915         * sysdeps/generic/libnss_compat.abilist: New file.
82916         * sysdeps/generic/libnss_db.abilist: New file.
82917         * sysdeps/generic/libnss_dns.abilist: New file.
82918         * sysdeps/generic/libnss_files.abilist: New file.
82919         * sysdeps/generic/libnss_hesiod.abilist: New file.
82920         * sysdeps/generic/libnss_nis.abilist: New file.
82921         * sysdeps/generic/libnss_nisplus.abilist: New file.
82922         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82923         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82924         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82925         file.
82926         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82927         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82928         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82929         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82930         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82931         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82932         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82933         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82934         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82935         file.
82936         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82937         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82938         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82939         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82940         file.
82941         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82942         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82943         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82944         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82945         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82946         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82947         file.
82948         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82949         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82950         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82951         file.
82952         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82954         New file.
82955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82956         New file.
82957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82958         New file.
82959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82960         New file.
82961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82962         New file.
82963         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82964         New file.
82965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82966         New file.
82967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82968         New file.
82969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82970         New file.
82971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82972         New file.
82973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82974         New file.
82975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82976         New file.
82977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82978         New file.
82979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82980         file.
82981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82982         New file.
82983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82984         New file.
82985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82986         file.
82987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82988         New file.
82989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82990         New file.
82991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82992         file.
82993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82994         New file.
82995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82996         New file.
82997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82998         New file.
82999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
83000         New file.
83001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
83002         New file.
83003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
83004         New file.
83005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
83006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
83007         file.
83008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
83009         New file.
83010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
83011         file.
83012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
83013         file.
83014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
83015         file.
83016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
83017         file.
83018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
83019         file.
83020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83021         New file.
83022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
83023         file.
83024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
83025         file.
83026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
83027         New file.
83028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
83029         file.
83030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
83031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
83032         file.
83033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
83034         New file.
83035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
83036         file.
83037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
83038         file.
83039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
83040         file.
83041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
83042         file.
83043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
83044         file.
83045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
83046         New file.
83047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
83048         file.
83049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
83050         file.
83051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
83052         New file.
83053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
83054         file.
83055         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
83056         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
83057         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
83058         file.
83059         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
83060         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
83061         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
83062         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
83063         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
83064         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
83065         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
83066         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
83067         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
83068         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
83069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
83070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
83071         file.
83072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83073         New file.
83074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
83075         file.
83076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
83077         file.
83078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
83079         file.
83080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
83081         file.
83082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
83083         file.
83084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
83085         New file.
83086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
83087         New file.
83088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
83089         file.
83090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
83091         New file.
83092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
83093         file.
83094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
83095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
83096         file.
83097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
83098         New file.
83099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
83100         file.
83101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83102         file.
83103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83104         file.
83105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83106         file.
83107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83108         file.
83109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83110         New file.
83111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83112         New file.
83113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83114         file.
83115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83116         New file.
83117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83118         file.
83120 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83122         * conform/conformtest.pl: Fix typo in handling typed-constant from
83123         allow-header.
83125 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83127         * README: Cut down references to pre-2.6 Linux kernels and
83128         Linuxthreads.  Update lists of configurations in libc and ports
83129         and sort alphabetically.  Say "or newer" with Linux kernel version
83130         requirements.
83132         * config.h.in [IS_IN_build]: Allow compiling without optimization.
83134 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
83136         [BZ #887]
83137         * math/libm-test.inc (logb_test_downward): New test to expose
83138         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83139         rounding mode.
83141 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83143         [BZ #14027]
83144         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83145         to be done.
83146         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83147         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83149 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
83151         * sysdeps/unix/i386/brk.S: Remove file.
83152         * sysdeps/unix/i386/dl-brk.S: Likewise.
83153         * sysdeps/unix/i386/pipe.S: Likewise.
83154         * sysdeps/unix/i386/sigreturn.S: Likewise.
83155         * sysdeps/unix/i386/syscall.S: Likewise.
83156         * sysdeps/unix/i386/vfork.S: Likewise.
83157         * sysdeps/unix/i386/wait.S: Likewise.
83159         * sysdeps/unix/common/tcsendbrk.c: Move to ...
83160         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83162         * configure.in (arm*-none*): Do not allow without
83163         --enable-hacker-mode.
83164         (netbsd*): Remove case setting base_os.
83165         (386bsd*): Likewise.
83166         (freebsd*): Likewise.
83167         (bsdi*): Likewise.
83168         (osf*): Likewise.
83169         (sunos*): Likewise.
83170         (ultrix*): Likewise.
83171         (newsos*): Likewise.
83172         (dynix*): Likewise.
83173         (*bsd*): Likewise.
83174         (sysv*): Likewise.
83175         (isc*): Likewise.
83176         (esix*): Likewise.
83177         (sco*): Likewise.
83178         (minix*): Likewise.
83179         (irix4*): Likewise.
83180         (irix6*): Likewise.
83181         (solaris[2-9]*): Likewise.
83182         (none): Likewise.
83183         * configure: Regenerated.
83185 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83187         [BZ #11521]
83188         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83189         overflow or cancellation in calculating denominator.
83190         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83191         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83192         down expression to avoid unexpected rounding in newer GCCs.
83193         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83195 2012-04-26  David S. Miller  <davem@davemloft.net>
83197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83198         long-double compat symbols.
83199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83213 2012-04-25  David S. Miller  <davem@davemloft.net>
83215         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83216         HWCAP_* values only after the memory barriers have been defined.
83217         (atomic_full_barrier): Define.
83218         (atomic_read_barrier): Define.
83219         (atomic_write_barrier): Define.
83221 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
83223         * shlib-versions: Add libgcc_s version information.
83224         * sysdeps/generic/libgcc_s.h: Remove.
83225         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83226         libgcc_s.h.
83227         * sysdeps/gnu/unwind-resume.c: Likewise.
83228         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83230 2012-04-25  David S. Miller  <davem@davemloft.net>
83232         * sysdeps/unix/sparc/brk.S: Delete.
83233         * sysdeps/unix/sparc/dl-brk.S: Delete.
83234         * sysdeps/unix/sparc/pipe.S: Delete.
83235         * sysdeps/unix/sparc/sysdep.S: Delete.
83236         * sysdeps/unix/sparc/sysdep.h: Delete.
83237         * sysdeps/unix/sparc/vfork.S: Delete.
83238         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83239         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83240         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83241         (ret_ERRVAL, r0, r1, MOVE): Define.
83242         (JUMPTARGET): Remove.
83243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83244         sysdeps/unix/sparc/sysdep.h
83245         (ENTRY, END): Remove.
83246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83248 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83250         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83251         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83252         -DIS_IN_build.
83254         * timezone/README: Update upstream location and email address for
83255         tzcode and tzdata.
83256         * timezone/zdump.c: Update from tzcode 2012b.
83257         * timezone/zic.c: Likewise.
83259         * configure.in (libc_cv_as_needed): Remove test.
83260         * configure: Regenerated.
83261         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83262         conditional definition.
83263         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83264         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83265         * config.make.in (have-as-needed): Remove variable.
83267 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83268             Paul Pluzhnikov  <ppluzhnikov@google.com>
83270         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83271         strings correctly.
83273 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83275         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83276         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83277         * sysdeps/sh/strlen.S: Likewise.
83279 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83281         * sysdeps/unix/fork.S: Remove file.
83282         * sysdeps/unix/i386/fork.S: Likewise.
83283         * sysdeps/unix/sparc/fork.S: Likewise.
83285         * sysdeps/unix/system.c: Remove file.
83286         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83288         * sysdeps/unix/getegid.S: Remove file.
83289         * sysdeps/unix/geteuid.S: Likewise.
83291 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83293         * scripts/check-localplt.awk: New file.
83294         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83295         of diff.
83296         * scripts/data/localplt-generic.data: Add a comment.
83298         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83299         NODE when __dir_mkfile failed.
83300         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83301         Reported by Ludovic Courtès <ludo@gnu.org>.
83303 2012-04-24  Andreas Jaeger  <aj@suse.de>
83305         * Makerules (common-clean): Also remove gen-as-const-headers
83306         files.
83308 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83310         * Makerules (native-compile): Do not change working directory for
83311         build.  Use $(OUTPUT_OPTION) in command.
83312         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83314 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83316         [BZ #13886]
83317         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83318         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83319         * math/libm-test.inc (floor_test): Add more tests.
83320         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83322 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83324         * sysdeps/unix/getdents.c: Remove file.
83325         * sysdeps/unix/sysv/getdents.c: Likewise.
83326         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83328         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83329         sysdeps/unix/mman/syscalls.list.
83330         (mmap): Likewise.
83331         (mprotect): Likewise.
83332         (msync): Likewise.
83333         (munmap): Likewise.
83334         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83335         * sysdeps/unix/mman/syscalls.list: Remove.
83336         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83338         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83339         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83340         * configure: Regenerated.
83341         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83342         $(libgcc_s_suffix).
83343         * config.make.in (libgcc_s_suffix): Remove variable.
83345 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83347         * sysdeps/unix/sysv/gethostname.c: Move to ...
83348         * sysdeps/posix/gethostname.c: ... here.
83350         * sysdeps/unix/execve.S: Remove file.
83352         * sysdeps/unix/_exit.S: Remove file.
83354 2012-04-23  Andreas Jaeger  <aj@suse.de>
83356         [BZ #13739]
83357         * manual/Makefile: Remove make dist support, there's no
83358         need for a stand-alone documentation tar ball.
83359         (TEXI2DVI): Define always, it's not in Makeconfig.
83360         (dist): Removed.
83361         (tar-it): Removed.
83362         (edition): Removed.
83363         (glibc-doc-$(edition).tar): Removed
83364         (%.Z): Removed.
83365         (%.gz): Removed.
83366         (%.uu): Removed.
83367         (ETAGS): Remove, it's in Makeconfig.
83368         (move-if-change): Remove, it's in Makeconfig.
83370 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83372         [BZ #13970]
83373         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83374         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83375         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83376         (strtod_l, strtof_l, strtold_l): Remove __wur.
83377         It is not necessarily an error to ignore strtol's return value.
83378         One can reliably look at the stored endptr to decide whether
83379         the number had valid syntax.
83381 2012-04-21  Andreas Jaeger  <aj@suse.de>
83383         [BZ #13739]
83384         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83386 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83388         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83389         * sysdeps/unix/sysv/Versions: Remove file.
83391 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83393         [BZ #13927]
83394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83396 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83398         [BZ #7064]
83399         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83400         version from __vm86.
83402 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83404         * sysdeps/unix/common/lxstat.c: Remove file.
83405         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83407         * sysdeps/unix/sysv/Makefile: Remove file.
83409         * sysdeps/unix/sysv/direct.h: Remove file.
83411         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83412         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83413         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83414         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83415         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83416         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83417         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83419         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83421         * sysdeps/unix/xmknod.c: Remove file.
83422         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83424         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83426         * sysdeps/unix/sysv/i386/time.S: Remove file.
83428         * sysdeps/unix/fxstat.c: Remove file.
83429         * sysdeps/unix/xstat.c: Likewise.
83430         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83432         * sysdeps/unix/sysv/sigaction.c: Remove file.
83434         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83435         (sysdep_headers): Remove variable.
83436         [termio.h not in sysdep_headers] (generated): Likewise.
83437         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83438         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83439         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83440         * sysdeps/unix/sysv/tcflow.c: Likewise.
83441         * sysdeps/unix/sysv/tcflush.c: Likewise.
83442         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83443         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83444         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83445         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83446         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83448         * sysdeps/unix/siglist.c: Remove file.
83450         * sysdeps/unix/getppid.S: Remove file.
83452         * sysdeps/unix/mkdir.c: Remove file.
83453         * sysdeps/unix/rmdir.c: Likewise.
83455 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83457         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83458         ERR_MAX value.
83459         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83460         errlist-compat value.
83462 2012-04-18  David S. Miller  <davem@davemloft.net>
83464         * sysdeps/generic/memcopy.h (reg_char): Delete.
83465         * debug/strcat_chk.c: Use char, not reg_char.
83466         * debug/strcpy_chk.c: Likewise.
83467         * debug/strncat_chk.c: Likewise.
83468         * debug/strncpy_chk.c: Likewise.
83469         * string/memchr.c: Likewise.
83470         * string/memrchr.c: Likewise.
83471         * string/rawmemchr.c: Likewise.
83472         * string/strcat.c: Likewise.
83473         * string/strchr.c: Likewise.
83474         * string/strchrnul.c: Likewise.
83475         * string/strcmp.c: Likewise.
83476         * string/strcpy.c: Likewise.
83477         * string/strncat.c: Likewise.
83478         * string/strncmp.c: Likewise.
83479         * string/strncpy.c: Likewise.
83481 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83483         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83484         __builtin_memcopy is called when src and dest ranges are known to not
83485         overlap.
83487 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83489         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83490         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83491         fwd_align_merge macro call.
83492         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83493         bwd_align_merge macro call.
83494         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83496 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83498         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83499         bwd_align_merge macros.
83500         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83501         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83502         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83504 2012-04-18  David S. Miller  <davem@davemloft.net>
83506         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83508 2012-04-18  Andreas Jaeger  <aj@suse.de>
83510         [BZ #6794]
83511         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83512         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83513         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83515         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83516         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83517         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83519         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83520         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83521         Adjust for changed ldbl-128 files.
83523         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83524         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83525         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83527 2012-04-17  David S. Miller  <davem@davemloft.net>
83529         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83531 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83533         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83534         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83535         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83536         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83537         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83538         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83540 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83542         [BZ #6794]
83543         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83544         * math/libm-test.inc: Add ilogb errno and exception tests.
83545         * math/w_ilogb.c: New file: ilogb wrapper.
83546         * math/w_ilogbf.c: New file: ilogbf wrapper.
83547         * math/w_ilogbl.c: New file: ilogbl wrapper.
83548         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83549         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83550         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83551         exception being thrown with 0.0 as argument.
83552         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83553         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83554         exception being thrown with 0.0 as argument.
83555         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83556         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83557         exception being thrown with 0.0 as argument.
83558         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83559         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83560         exception being thrown with 0.0 as argument.
83561         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83562         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83563         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83564         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83565         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83566         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83567         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83568         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83569         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83571 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83573         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83574         with altivec.
83576 2012-04-16  Marek Polacek  <polacek@redhat.com>
83578         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83580 2012-04-16  Marek Polacek  <polacek@redhat.com>
83582         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83583         operands of fdivp instruction.
83585 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83587         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83588         * elf/tst-auditmod3b.c: Likewise.
83589         * elf/tst-auditmod4b.c: Likewise.
83590         * elf/tst-auditmod5b.c: Likewise.
83591         * elf/tst-auditmod6b.c: Likewise.
83592         * elf/tst-auditmod6c.c: Likewise.
83593         * elf/tst-auditmod7b.c: Likewise.
83594         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83595         * sysdeps/x86_64/preconfigure.in: Likewise.
83596         * sysdeps/x86_64/preconfigure: Regenerated.
83598 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83600         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83601         __ILP32__.
83603 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83606         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83608 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83610         [BZ #13973]
83611         * locale/iso-639.def: Fix gl language name. Spotted by
83612         Yaron Shahrabani.
83614 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83616         [BZ #2074]
83617         * libio/libio.h (__io_write_fn): Update comment.
83619 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83621         [BZ #2074]
83622         * stdio.texi (Hook Functions): The user provided writer function
83623         is not allowed to return -1.
83625 2012-04-11  David S. Miller  <davem@davemloft.net>
83627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83629 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83631         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83632         Add a leading slash to rtkaio.
83634 2012-04-11  Jim Meyering  <meyering@redhat.com>
83636         [BZ #11959]
83637         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83638         It is not necessarily an error to ignore fwrite's return
83639         value.  One can reliably use ferror to test for errors after
83640         the fact.
83642 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83644         * bits/types.h (__snseconds_t): New type.
83645         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83647         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83648         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83649         (__SNSECONDS_T_TYPE): Likewise.
83650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83651         (__SNSECONDS_T_TYPE): Likewise.
83652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83653         (__SNSECONDS_T_TYPE): Likewise.
83655 2012-04-10  Andreas Jaeger  <aj@suse.de>
83657         [BZ #2636]
83658         * manual/time.texi (Processor Time): Return type of times is
83659         elapsed real time since an arbitrary point in the past.
83660         (CPU Time): Move CLK_TCK from here...
83661         (Processor Time): ...to here.  Correct description.
83662         * manual/conf.texi (Constants for Sysconf): Correct description of
83663         _SC_CLK_TCK.
83665 2012-04-10  David S. Miller  <davem@davemloft.net>
83667         [BZ #13967]
83668         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83669         where the is a gap between DT_REL(A) and DT_JMPREL.
83671 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83673         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83674         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83675         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83677 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83679         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83680         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83681         (dl_main): Handle --inhibit-cache.
83682         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83683         _dl_inhibit_cache.
83684         * elf/dl-load.c (_dl_map_object): Use it.
83685         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83687 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83689         [BZ #13872]
83690         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83691         (__ieee754_powl): Saturate large exponents rather than testing for
83692         overflow of y*log2(x).
83693         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83694         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83695         exceptions.
83697         [BZ #11521]
83698         * math/s_ctan.c: Include <float.h>.
83699         (__ctan): Avoid internal overflow or cancellation in calculating
83700         denominator.
83701         * math/s_ctanf.c: Likewise.
83702         * math/s_ctanl.c: Likewise.
83703         * math/s_ctanh.c: Likewise.
83704         * math/s_ctanhf.c: Likewise.
83705         * math/s_ctanhl.c: Likewise.
83706         * math/libm-test.inc (ctan_test): Add more tests.
83707         (ctanh_test): Likewise.
83708         * sysdeps/i386/fpu/libm-test-ulps: Update.
83709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83711 2012-04-09  Andreas Jaeger  <aj@suse.de>
83713         [BZ #6894]
83714         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83715         is an optional BSD extension.
83717         [BZ #10254]
83718         * manual/stdio.texi (Opening Streams): Document additional fopen
83719         parameters.
83721 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83723         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83724         %eax without telling the compiler.
83726 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83728         [BZ # 13963]
83729         * manual/install.texi: Use sourceware.org.
83731 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83733         [BZ #13873]
83734         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83735         (__ieee754_pow): Generate overflow and underflow using huge*huge
83736         and tiny*tiny rather than just returning constant infinity or zero
83737         for large exponents.
83738         * math/libm-test.inc (pow_test): Require overflow exceptions for
83739         applicable cases of large exponents.
83741         [BZ #706]
83742         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83743         (__ieee754_pow): Use iterative multiplication algorithm only for
83744         integer exponents with absolute value below 1024.  Check for odd
83745         integer exponents when using algorithm for real exponents.
83746         * math/libm-test.inc (pow_test): Add more tests.
83747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83749 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83751         [BZ #13705]
83752         * math/libm-test.inc (exp_test): Do not allow overflow exception
83753         on underflow test.
83755 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83757         [BZ #13705]
83758         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83759         instead of __kernel_standard_f.
83761 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83763         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83764         * sysdeps/x86_64/memset_chk.S: Likewise.
83766 2012-04-08  Andreas Jaeger  <aj@suse.de>
83768         [BZ #10153]
83769         * manual/startup.texi (Environment Access): Describe return value
83770         for putenv and setenv.
83772         [BZ #6895]
83773         * manual/filesys.texi (Directory Entries): Add description for
83774         DT_LNK.
83776         [BZ #6890]
83777         * manual/filesys.texi (Directory Entries): Clarify that it's file
83778         system not operating system in the description of DT_UNKNOWN.
83780         [BZ #6578]
83781         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83783 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83785         [BZ #6649]
83786         * manual/llio.texi (Opening and Closing Files): Add cross
83787         reference to explain mode argument.
83789 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83791         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83792         * sysdeps/x86_64/memset_chk.S: Likewise.
83794 2012-04-07  David S. Miller  <davem@davemloft.net>
83796         * elf/elf.h (R_SPARC_WDISP10): Define.
83797         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83798         R_SPARC_SIZE32.
83799         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83800         R_SPARC_SIZE64 and R_SPARC_H34.
83802 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83804         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83805         conditions and remove no longer applicable assertion.
83807 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83809         * bits/byteswap.h: Include <features.h>.
83810         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83811         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83813 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83815         * bits/byteswap.h (__bswap_16): Removed.
83816         Include <bits/byteswap-16.h> to get __bswap_16.
83817         * sysdeps/i386/bits/byteswap.h: Likewise.
83818         * sysdeps/s390/bits/byteswap.h: Likewise.
83819         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83820         * bits/byteswap-16.h: New file.
83821         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83822         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83823         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83824         * string/Makefile (headers): Add bits/byteswap-16.h.
83826 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83828         [BZ #13895]
83829         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83830         extra indirection.
83831         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83832         * nss/tst-nss-static.c: New.
83834 2012-04-06  Robert Millan  <rmh@gnu.org>
83836         [BZ #6486]
83837         * manual/llio.texi (File Position Primitive): lseek
83838         refers to WHENCE when it really means OFFSET.
83840 2012-04-06  Andreas Jaeger  <aj@suse.de>
83842         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83843         strncmp declarations.
83845         * abilist/libc.abilist: Add __poll and __ppoll.
83847 2012-04-05  David S. Miller  <davem@davemloft.net>
83849         * scripts/check-local-headers.sh: Accept a host triplet in the
83850         path matched by the exclude regexp.
83852         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83853         definition.
83854         * sysdeps/powerpc/powerpc32/dl-machine.h
83855         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83856         * sysdeps/s390/s390-32/dl-machine.h
83857         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83858         * sysdeps/sparc/sparc32/dl-machine.h
83859         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83860         * sysdeps/sparc/sparc64/dl-machine.h
83861         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83863         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83864         lazy binding.
83865         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83866         undefined symbol errors.
83868         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83869         DT_NEEDED entries.
83871 2012-04-05  Michael Matz  <matz@suse.de>
83873         [BZ #13592]
83874         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83876 2012-04-05  Andreas Jaeger  <aj@suse.de>
83878         [BZ #13908]
83879         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83880         comment.
83882 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83884         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83885         which ROUND is no valid rounding mode.
83887 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83889         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83890         read again.
83891         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83893 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83895         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83896         an exception using FPU order intentionally.
83898 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83900         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83901         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83902         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83903         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83905 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83907         [BZ #12340]
83908         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83909         EINVAL when BUFLEN is too smal.
83911 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83913         [BZ #13553]
83914         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83915         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83917 2012-04-03  Andreas Jaeger  <aj@suse.de>
83919         [BZ #13938]
83920         * manual/setjmp.texi (System V contexts): Fix sentence.
83922         [BZ #13926]
83923         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83924         New macro for this case.
83925         [!__GNUC__] (__bswap_64): New inline function for this case.
83926         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83927         * bits/byteswap.h: Likewise.
83928         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83929         ull, guard with __GLIBC_HAVE_LONG_LONG.
83931         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83932         __GLIBC_HAVE_LONG_LONG.
83934         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83935         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83937 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83939         [BZ #13691]
83940         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83941         inptr and inend, rather than using last_ch.
83943 2012-04-02  David S. Miller  <davem@davemloft.net>
83945         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83946         * stdio-common/printf-parse.h (read_int): Change return type to
83947         'int', return -1 on INT_MAX overflow.
83948         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83949         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83950         overflows INT_MAX.  Check for overflow of in-format-string precision
83951         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83952         SIZE_MAX not INT_MAX for integer overflow test.
83953         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83954         skip the construct in the format string but do not record anything.
83955         * stdio-common/bug22.c: Adjust to test both width/prevision
83956         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83957         explicitly for proper errno values.
83959 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83961         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83962         CHAR_MAX.
83963         * string/test-strcmp.c [! WIDE]: Likewise.
83964         * time/tst-mktime2.c: Likewise for INT_MAX.
83965         * string/test-string.h: #include <sys/param.h> for MIN.
83967         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83968         * sysdeps/i386/init-first.c (init): Likewise.
83969         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83970         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83971         * sysdeps/sh/init-first.c (init): Likewise.
83973 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83975         * po/ru.po: Update from translation team.
83976         * po/vi.po: Likewise.
83978 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83980         * resolv/nss_dns/dns-host.c: Merge copyright years.
83982 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83984         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83985         Optimize memcpy with prefetch if
83986         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83987         src, dst pointers have unequal 16 byte alignments.
83989 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83991         [BZ #13928]
83992         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83993         from a CNAME entry and return the minimum ttl for the query.
83994         (gaih_getanswer_slice): Likewise.
83996 2012-03-30  Jeff Law  <law@redhat.com>
83998         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83999         due to long keys.
84000         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
84001         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
84003         * resolv/nss_dns/dns-host.c: Update copyright year.
84005 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
84007         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
84008         requests to save a system call.  Fix check that all bytes are sent.
84010         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
84011         comments for sendmmsg.
84013 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
84015         [BZ #13691]
84016         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
84017         with only 1 character between 0x0041 and 0x01b0.
84018         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
84019         * wcsmbs/tst-mbsnrtowcs.c: New file.
84021 2012-03-29  David S. Miller  <davem@davemloft.net>
84023         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
84024         small copies by hand.
84026 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
84028         [BZ #13761]
84029         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
84030         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
84031         group memberships.
84033 2012-03-28  David S. Miller  <davem@davemloft.net>
84035         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
84036         that branches into memcpy.
84037         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
84038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
84039         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
84040         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
84041         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
84042         bits.
84043         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
84044         implementation too.
84045         * sysdeps/sparc/mempcpy.S: New file.
84047         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
84048         the IFUNC routine in the libc case.
84049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84051         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
84052         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
84053         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
84054         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
84055         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
84056         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84057         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
84058         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
84060         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84061         loop to 256 bytes instead of 64 bytes and fix test signedness.
84063         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
84064         * sysdeps/sparc/sparc32/Makefile: rather than here...
84065         * sysdeps/sparc/sparc64/Makefile: and here.
84067 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
84069         * malloc/mallocbug.c: Avoid warnings about unused variables.
84071 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
84073         [BZ #13760]
84074         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
84075         in the right place. Discard and retry query if response is
84076         larger than input buffer size.
84078 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
84080         [BZ #369]
84081         [BZ #2678]
84082         [BZ #3866]
84083         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
84084         x for large integer exponent.
84085         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
84086         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
84087         sign of result as needed afterwards.
84088         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
84089         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
84090         result for underflowing pow the same as for overflow.
84091         (__kernel_standard_l): Handle powl overflow and underflow here
84092         rather than calling __kernel_standard.
84093         * math/libm-test.inc (pow_test): Add more tests.
84095         [BZ #3868]
84096         [BZ #13879]
84097         [BZ #13910]
84098         [BZ #13911]
84099         [BZ #13912]
84100         [BZ #13913]
84101         [BZ #13915]
84102         [BZ #13916]
84103         [BZ #13917]
84104         [BZ #13918]
84105         [BZ #13919]
84106         [BZ #13920]
84107         [BZ #13921]
84108         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84109         * sysdeps/ieee754/k_standard.c: Include <float.h>.
84110         (__kernel_standard_l): New function.
84111         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84112         __kernel_standard.
84113         * math/w_acosl.c (__acosl): Likewise.
84114         * math/w_asinl.c (__asinl): Likewise.
84115         * math/w_atan2l.c (__atan2l): Likewise.
84116         * math/w_atanhl.c (__atanhl): Likewise.
84117         * math/w_coshl.c (__coshl): Likewise.
84118         * math/w_exp10l.c (__exp10l): Likewise.
84119         * math/w_exp2l.c (__exp2l): Likewise.
84120         * math/w_fmodl.c (__fmodl): Likewise.
84121         * math/w_hypotl.c (__hypotl): Likewise.
84122         * math/w_j0l.c (__j0l, __y0l): Likewise.
84123         * math/w_j1l.c (__j1l, __y1l): Likewise.
84124         * math/w_jnl.c (__jnl, __ynl): Likewise.
84125         * math/w_lgammal.c (__lgammal): Likewise.
84126         * math/w_log10l.c (__log10l): Likewise.
84127         * math/w_log2l.c (__log2l): Likewise.
84128         * math/w_logl.c (__logl): Likewise.
84129         * math/w_powl.c (__powl): Likewise.
84130         * math/w_remainderl.c (__remainderl): Likewise.
84131         * math/w_scalbl.c (sysv_scalbl): Likewise.
84132         * math/w_sinhl.c (__sinhl): Likewise.
84133         * math/w_sqrtl.c (__sqrtl): Likewise.
84134         * math/w_tgammal.c (__tgammal): Likewise.
84135         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84136         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84137         * math/libm-test.inc (acos_test): Add more tests.
84138         (acosh_test): Likewise.
84139         (asin_test): Likewise.
84140         (atanh_test): Likewise.
84141         (exp_test): Likewise.
84142         (exp10_test): Likewise.
84143         (exp2_test): Likewise.
84144         (expm1_test): Likewise.
84145         (lgamma_test): Likewise.
84146         (log_test): Likewise.
84147         (log10_test): Likewise.
84148         (log1p_test): Likewise.
84149         (log2_test): Likewise.
84150         (pow_test): Do not allow some spurious overflow exceptions.
84151         (sqrt_test): Add more tests.
84152         (tgamma_test): Likewise.
84153         (y0_test): Likewise.
84154         (y1_test): Likewise.
84155         (yn_test): Likewise.
84157 2012-03-27  Anton Blanchard  <anton@samba.org>
84159         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84160         MAP_HUGETLB.
84161         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84162         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84163         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84165 2012-03-27  David S. Miller  <davem@davemloft.net>
84167         * conform/Makefile: Run run-conformtest.sh using $(BASH).
84169         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84170         have-as-vis3 check.
84172 2012-03-27  Andreas Jaeger  <aj@suse.de>
84174         * sysdeps/x86_64/elf/configure.in: Moved to ...
84175         * sysdeps/x86_64/configure.in: ... here.
84176         * sysdeps/x86_64/elf/start.S: Moved to ...
84177         * sysdeps/x86_64/start.S: ... here.
84178         * sysdeps/x86_64/elf/configure: Delete.
84180         * sysdeps/x86_64/configure.in: Merge contents from
84181         sysdeps/i386/configure.in (without i686 check).
84183         * sysdeps/i386/elf/Versions: Merge into ...
84184         * sysdeps/i386/Versions: ... this.
84185         * sysdeps/i386/elf/Versions: Delete file.
84186         * sysdeps/i386/elf/start.S: Moved to ...
84187         * sysdeps/i386/start.S: ...here.
84188         * sysdeps/i386/elf/configure.in: Merge into...
84189         * sysdeps/i386/configure.in: ...here.
84190         * sysdeps/i386/elf/configure.in: Delete file.
84191         * sysdeps/i386/elf/configure: Delete file.
84193         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84194         * debug/backtracesyms.c: ... here.
84195         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84196         * debug/backtracesymsfd.c: ... here.
84197         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84198         * sysdeps/generic/ifunc-sel.h: ... here.
84200         * sysdeps/unix/i386/start.c: Delete file.
84201         * sysdeps/unix/sparc/start.c: Delete file.
84202         * sysdeps/unix/start.c: Delete file.
84204         * sysdeps/sh/elf/configure.in: Moved to ...
84205         * sysdeps/sh/configure.in: ... here.
84206         * sysdeps/sh/elf/start.S: Moved to ...
84207         * sysdeps/sh/start.S: ... here.
84208         * sysdeps/sh/elf/configure: Delete file.
84210         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84211         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84212         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84213         * sysdeps/powerpc/powerpc64/entry.h: ... here.
84214         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84215         * sysdeps/powerpc/powerpc64/start.S: here.
84216         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84217         * sysdeps/powerpc/powerpc64/Makefile: ... this.
84218         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84219         * sysdeps/powerpc/powerpc64/configure.in: ... this.
84220         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84222         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84223         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84224         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84225         * sysdeps/powerpc/powerpc32/start.S: ... here.
84226         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84227         * sysdeps/powerpc/powerpc32/configure.in: ... this.
84228         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84230         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84231         * sysdeps/powerpc/ifunc-sel.h: ... here.
84232         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84233         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84235         * sysdeps/sparc/elf/configure.in: Moved to ...
84236         * sysdeps/sparc/configure.in: ... here.
84237         * sysdeps/sparc/elf/configure: Delete file.
84238         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84239         * sysdeps/sparc/sparc32/start.S: ... here.
84240         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84241         * sysdeps/sparc/sparc64/start.S: ... here.
84242         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84243         * sysdeps/sparc/sparc32/Makefile: ... this.
84244         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84245         * sysdeps/sparc/sparc64/Makefile: ... this.
84247         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84248         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84249         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84250         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84251         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84252         * sysdeps/s390/s390-32/setjmp.S: ... here.
84253         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84254         * sysdeps/s390/s390-32/configure.in: ... here.
84255         * sysdeps/s390/s390-32/elf/configure: Delete file.
84256         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84257         * sysdeps/s390/s390-32/start.S: ... here.
84259         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84260         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84261         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84262         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84263         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84264         * sysdeps/s390/s390-64/setjmp.S: ... here.
84265         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84266         * sysdeps/s390/s390-64/configure.in: ... here
84267         * sysdeps/s390/s390-64/elf/configure: Delete file.
84268         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84269         * sysdeps/s390/s390-64/start.S: ... here.
84270         * sysdeps/s390/s390-64/elf/configure: Delete.
84272         * configure.in: Remove support for elf directories in sysdeps.
84274         * configure: Regenerated.
84275         * sysdeps/i386/configure: Regenerated.
84276         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84277         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84278         * sysdeps/s390/s390-32/configure: Regenerated.
84279         * sysdeps/s390/s390-64/configure: Regenerated.
84280         * sysdeps/sh/configure: Regenerated.
84281         * sysdeps/sparc/configure: Regenerated.
84282         * sysdeps/x86_64/configure: Regenerated.
84284 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84288         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84289         denormal result into account.
84291 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84293         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84294         Reported by Allan McRae <allan@archlinux.org>.
84296 2012-03-23  Jeff Law  <law@redhat.com>
84298         * nss/getnssent.c (__nss_getent): Fix typo.
84300 2012-03-23  David S. Miller  <davem@davemloft.net>
84302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84304 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84306         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84307         to pad to uint64_t for each field.
84308         (dl_tls_index): Replace unsigned long with uint64_t.
84310 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84311         Paul Pluzhnikov  <ppluzhnikov@google.com>
84313         [BZ #6528]
84314         * grp/Makefile (otherlibs): Don't set it.
84315         * inet/Makefile (otherlibs): Likewise.
84316         * login/Makefile (otherlibs): Likewise.
84317         * nscd/Makefile (otherlibs): Likewise.
84318         * posix/Makefile (otherlibs): Likewise.
84319         * pwd/Makefile (otherlibs): Likewise.
84320         * rt/Makefile (otherlibs): Likewise.
84321         * sunrpc/Makefile (otherlibs): Likewise.
84322         * nss/Makefile (otherlibs): Likewise.
84323         Add libnss_files to routines and static-only-routines.
84324         ($(objpfx)getent): Remove rule.
84325         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84326         static-only-routines.
84328 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84330         [BZ #13892]
84331         * math/s_cexp.c: Include <float.h>.
84332         (__cexp): Handle exp result overflowing not necessarily
84333         overflowing both real and imaginary parts of result.
84334         * math/s_cexpf.c: Likewise.
84335         * math/s_cexpl.c: Likewise.
84336         * math/libm-test.inc (cexp_test): Add more tests.
84337         * sysdeps/i386/fpu/libm-test-ulps: Update.
84338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84340 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84342         * include/link.h (ELFW): New macro.
84343         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84344         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84346 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84348         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84349         with uint64_t.
84351 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84353         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84354         declaration.
84355         (struct La_x32_retval): Likewise.
84357 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84359         * sysdeps/x86_64/preconfigure.in: New file.
84360         * sysdeps/x86_64/preconfigure: New generated file.
84362 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84364         [BZ #13824]
84365         * math/e_exp2l.c: Include <float.h>.
84366         (__ieee754_exp2l): Handle overflow and underflow cases
84367         separately.  Only pass fractional part of argument to
84368         __ieee754_expl.
84369         * math/libm-test.inc (exp2_test): Add more tests.
84371         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84372         negating x to take absolute value.
84373         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84374         Likewise.
84375         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84376         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84377         Likewise.
84378         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84379         computing low part if x was negated.
84380         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84382 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84384         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84385         la_x32_gnu_pltexit.
84386         (pltexit): Cast int_retval to ptrdiff_t.
84387         * elf/tst-auditmod3b.c: Likewise.
84388         * elf/tst-auditmod4b.c: Likewise.
84389         * elf/tst-auditmod5b.c: Likewise.
84390         * elf/tst-auditmod6b.c: Likewise.
84391         * elf/tst-auditmod6c.c: Likewise.
84392         * elf/tst-auditmod7b.c: Likewise.
84394         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84395         and x32_gnu_pltexit.
84397         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84398         __ELF_NATIVE_CLASS.
84399         (La_x32_regs): New macro.
84400         (La_x32_retval): Likewise.
84401         (la_x32_gnu_pltenter): New function prototype.
84402         (la_x32_gnu_pltexit): Likewise.
84404 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84406         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84407         exponent.
84409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84411         * configure.in (libc_cv_cc_nofma): Check for option to disable
84412         generation of FMA instructions.
84413         * configure: Regenerate.
84414         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84415         * sysdeps/ieee754/dbl-64/Makefile: New file.
84416         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84417         Remove brandred-fma4.
84418         (CFLAGS-brandred-fma4.c): Remove.
84419         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84420         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84421         define.
84422         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84423         define.
84425 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84427         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84428         LLONG_MAX != LONG_MAX.
84429         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84430         (_fitoa_word): Likewise.
84431         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84432         LLONG_MAX != LONG_MAX.
84433         * stdio-common/_itowa.h: Include <_itoa.h>.
84434         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84435         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84436         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84437         only if not defined.
84438         (_ITOA_WORD_TYPE): Likewise.
84439         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84440         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84442 2012-03-21  David S. Miller  <davem@davemloft.net>
84444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84446 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84448         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84449         of x86_64 when setting libc_cv_slibdir, libdir and
84450         libc_cv_localedir.
84451         * sysdeps/unix/sysv/linux/configure: Regenerated.
84453 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84455         * manual/lang.texi (Old Varargs): Remove section.
84456         (How Variadic): Update menu.
84457         (va_start): Do not mention varargs.h.
84459 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84460             Joseph Myers  <joseph@codesourcery.com>
84462         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84463         link test.
84464         * configure: Regenerated.
84466 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84468         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84469         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84470         conformtest.pl
84472 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84474         * NOTES: Remove.
84475         * Makefile (files-for-dist): Remove NOTES.
84476         (NOTES): Remove rule.
84477         * README: Don't refer to NOTES.
84478         * manual/creature.texi: Don't include macros.texi.
84479         * manual/intro.texi (creature.texi): Remove comment referring to
84480         NOTES.
84482         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84483         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84484         * configure: Regenerated.
84485         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84486         LIBC_TRY_CC_OPTION.
84487         (libc_cv_as_i686): Likewise.
84488         (libc_cv_cc_avx): Likewise.
84489         (libc_cv_cc_sse2avx): Likewise.
84490         (libc_cv_cc_fma4): Likewise.
84491         (libc_cv_cc_novzeroupper): Likewise.
84492         * sysdeps/i386/configure: Regenerated.
84494         [BZ #13883]
84495         * sysdeps/i386/fpu/s_cexp.S: Remove.
84496         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84497         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84498         * math/libm-test.inc (cexp_test): Add more tests.
84499         * sysdeps/i386/fpu/libm-test-ulps: Update.
84500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84502 2012-03-21  Allan McRae  <allan@archlinux.org>
84504         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84506 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84508         [BZ #13871]
84509         * math/w_exp2.c: Do not include <float.h>.
84510         (o_threshold, u_threshold): Remove.
84511         (__exp2): Calculate result before checking finiteness and calling
84512         __kernel_standard.
84513         * math/w_exp2f.c: Likewise.
84514         * math/w_exp2l.c: Likewise.
84515         * math/libm-test.inc (exp2_test): Require overflow exception for
84516         1e6 input.
84518         [BZ #3866]
84519         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84520         range of signed 64-bit integers before using fistpll.  Remove
84521         checks for whether integers fit in mantissa bits.
84522         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84523         the range of signed 32-bit integers before using fistpl.  Remove
84524         checks for whether integers fit in mantissa bits.
84525         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84526         (__ieee754_powl): Test for y outside the range of signed 64-bit
84527         integers before using fistpll.  Reduce 64-bit values to 63-bit
84528         ones as needed.
84529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84530         divide-by-zero is raised for zero to large negative powers.
84531         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84532         (__ieee754_powl): Test for y outside the range of signed 64-bit
84533         integers before using fistpll.  Reduce 64-bit values to 63-bit
84534         ones as needed.
84535         * math/libm-test.inc (pow_test): Add more tests.
84537 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84539         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84540         <stdio-common/_itoa.h>.
84541         * debug/segfault.c: Likewise.
84542         * elf/dl-cache.c: Likewise.
84543         * elf/dl-minimal.c: Likewise.
84544         * elf/dl-misc.c: Likewise.
84545         * elf/dl-sysdep.c: Likewise.
84546         * elf/dl-version.c: Likewise.
84547         * elf/rtld.c: Likewise.
84548         * hurd/hurdsock.c: Likewise.
84549         * hurd/lookup-retry.c: Likewise.
84550         * malloc/malloc.c: Likewise.
84551         * malloc/mtrace.c: Likewise.
84552         * nscd/nscd_getgr_r.c: Likewise.
84553         * nscd/nscd_getpw_r.c: Likewise.
84554         * nscd/nscd_getserv_r.c: Likewise.
84555         * posix/getopt_init.c: Likewise.
84556         * posix/wordexp.c: Likewise.
84557         * stdio-common/_itoa.c: Likewise.
84558         * stdio-common/printf_fphex.c: Likewise.
84559         * stdio-common/vfprintf.c: Likewise.
84560         * string/_strerror.c: Likewise.
84561         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84562         * sysdeps/i386/i686/hp-timing.h: Likewise.
84563         * sysdeps/mach/_strerror.c: Likewise.
84564         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84565         * sysdeps/mach/hurd/sethostid.c: Likewise.
84566         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84567         * sysdeps/mach/xpg-strerror.c: Likewise.
84568         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84569         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84570         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84571         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84572         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84573         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84574         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84575         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84576         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84577         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84578         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84579         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84580         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84581         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84582         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84583         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84584         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84585         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84586         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84587         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84588         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84590         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84592         * stdio-common/_itoa.h: Moved to ...
84593         * sysdeps/generic/_itoa.h: Here.
84595         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84597         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84598         instead of "_itoa.h" and "_itowa.h".
84599         * stdio-common/vfprintf.: Likewise.
84601 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84603         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84604         <bits/wordsize.h>.
84605         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84606         (__signbit): Likewise.
84607         (llrintf): Likewise.
84608         (llrint): Likewise.
84610 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84612         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84613         __WORDSIZE != 64.
84615 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84617         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84618         OVERFLOW_EXCEPTION_OK.
84619         * math/libm-test.inc ("Philosophy"): Update comment about
84620         exception testing.
84621         (OVERFLOW_EXCEPTION): Define.
84622         (OVERFLOW_EXCEPTION_OK): Likewise.
84623         (INVALID_EXCEPTION_OK): Renumber.
84624         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84625         (IGNORE_ZERO_INF_SIGN): Likewise.
84626         (test_exceptions): Handle FE_OVERFLOW.
84627         (exp10_test): Expect overflow exceptions.
84628         (exp2_test): Likewise.
84629         (expm1_test): Likewise.
84630         (nextafter_test): Likewise.
84631         (pow_test): Likewise.
84632         (scalbn_test): Likewise.
84633         (scalbln_test): Likewise.
84635 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84637         * sysdeps/x86_64/bits/atomic.h
84638         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84639         64bit integer.
84640         (atomic_exchange_acq): Likewise.
84641         (__arch_exchange_and_add_body): Likewise.
84642         (__arch_add_body): Likewise.
84643         (atomic_add_negative): Likewise.
84644         (atomic_add_zero): Likewise.
84646 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84648         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84649         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84651 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84653         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84654         Check __x86_64__ instead of __WORDSIZE.
84656 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84658         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84660 2012-03-19  David S. Miller  <davem@davemloft.net>
84662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84664         * sysdeps/sparc/fpu/fenv_private.h: New file.
84665         * sysdeps/sparc/fpu/math_private.h: Use it.
84666         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84667         Remove.
84668         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84669         (libc_feholdexcept_setroundl): Remove.
84670         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84671         Remove.
84672         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84673         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84675 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84677         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84678         int64_t instead of long int.
84679         (INSERT_WORDS64): Likewise.
84681 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84683         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84684         _Unwind_GetCFA return to _Unwind_Ptr first.
84686 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84688         [BZ #13629]
84689         * math/s_clog.c: Include <float.h>.
84690         (__clog): Scale large or subnormal inputs.
84691         * math/s_clogf.c: Likewise.
84692         * math/s_clogl.c: Likewise.
84693         * math/s_clog10.c: Include <float.h>.
84694         (M_LOG10_2): Define.
84695         (__clog10): Scale large or subnormal inputs.
84696         * math/s_clog10f.c: Likewise.
84697         * math/s_clog10l.c: Likewise.
84698         * math/libm-test.inc (clog_test): Add more tests.
84699         (clog10_test): Likewise.
84700         * sysdeps/i386/fpu/libm-test-ulps: Update.
84701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84703         [BZ #11451]
84704         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84705         x and y.
84706         * math/libm-test.inc (atan2_test): Add another test.
84708         * Makerules (common-objdir-compile): Remove.
84709         * sysdeps/unix/Makefile (config-generated): Do not add
84710         $(unix-generated) to variable.
84711         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84712         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84713         Remove rule.
84714         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84715         Likewise.
84716         [generic bits/local_lim.h] (before-compile): Do not append to
84717         variable.
84718         [generic bits/local_lim.h] (common-generated): Likewise.
84719         [generic sys/param.h] (before-compile): Do not append to variable.
84720         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84721         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84722         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84723         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84724         include.
84725         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84726         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84727         [generic sys/param.h] ($(addprefix
84728         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84729         [generic sys/param.h] (common-generated): Do not append to
84730         variable.
84731         [generic sys/param.h] (sysdep_headers): Likewise.
84732         [generic bits/errno.h] (before-compile): Do not append to
84733         variable.
84734         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84735         rule.
84736         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84737         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84738         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84739         [generic bits/errno.h] (common-generated): Do not append to
84740         variable.
84741         [generic bits/ioctls.h] (before-compile): Do not append to
84742         variable.
84743         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84744         rule.
84745         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84746         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84747         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84748         rule.
84749         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84750         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84751         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84752         [generic bits/ioctls.h] (common-generated): Do not append to
84753         variable.
84754         [generic sys/syscall.h] (syscall.h): Remove variable.
84755         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84756         rule.
84757         [generic sys/syscall.h] (before-compile): Do not append to
84758         variable.
84759         [generic sys/syscall.h] (common-generated): Likewise.
84760         * sysdeps/unix/errnos-tmpl.c: Remove file.
84761         * sysdeps/unix/errnos.awk: Likewise.
84762         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84763         * sysdeps/unix/ioctls.awk: Likewise.
84764         * sysdeps/unix/mk-local_lim.c: Likewise.
84765         * sysdeps/unix/snarf-ioctls: Likewise.
84767 2012-03-19  Richard Henderson  <rth@twiddle.net>
84769         * sysdeps/i386/fpu/fenv_private.h: New file.
84770         * sysdeps/i386/fpu/math_private.h: Use it.
84771         (math_opt_barrier, math_force_eval): Remove.
84772         (libc_feholdexcept_setround_53bit): Remove.
84773         (libc_feupdateenv_53bit): Remove.
84774         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84775         (math_opt_barrier, math_force_eval): Remove.
84776         (libc_feholdexcept): Remove.
84777         (libc_feholdexcept_setround): Remove.
84778         (libc_fetestexcept, libc_fesetenv): Remove.
84779         (libc_feupdateenv_test): Remove.
84780         (libc_feupdateenv, libc_feholdsetround): Remove.
84781         (libc_feresetround): Remove.
84783         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84784         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84786         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84787         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84788         (libc_feupdateenv_testl): New.
84789         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84790         (libc_feupdateenv_testf): New.
84791         (libc_feupdateenv): Use libc_feupdateenv_test.
84792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84793         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84795         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84796         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84797         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84798         (libc_feresetround_noex): New.
84799         (libc_feresetround_noexf): New.
84800         (libc_feresetround_noexl): New.
84801         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84802         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84803         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84804         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84805         SET_RESTORE_ROUND.
84806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84808         (__cos): Likewise.
84809         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84810         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84811         SET_RESTORE_ROUND_NOEX.
84812         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84813         SET_RESTORE_ROUND_NOEXF.
84814         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84815         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84816         (libc_feholdsetroundf): New.
84817         (libc_feresetround, libc_feresetroundf): New.
84819         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84820         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84821         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84823         * sysdeps/generic/math_private.h: Include <fenv.h>.
84824         (default_libc_feholdexcept): New.
84825         (default_libc_feholdexcept_setround): New.
84826         (default_libc_fesetenv, default_libc_feupdateenv): New.
84827         (libc_feholdexcept): Only define if undefined.
84828         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84829         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84830         (libc_feholdexcept_setroundl): Likewise.
84831         (libc_feholdexcept_setround_53bit): Likewise.
84832         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84833         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84834         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84835         (libc_feupdateenv_53bit): Likewise.
84836         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84837         (libc_feholdexcept): Convert from macro to inline function.
84838         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84839         (libc_fesetenv, libc_feupdateenv): Likewise.
84841         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84842         not previously defined.
84843         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84844         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84845         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84846         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84847         * sysdeps/ieee754/flt-32/math_private.h: New file.
84848         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84849         math_private.h below SET_FLOAT_WORD.
84850         (__isnan, __isinf_ns, __finite): Remove.
84851         (__isnanf, __isinf_nsf, __finitef): Remove.
84853 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84857 2012-03-17  David S. Miller  <davem@davemloft.net>
84859         [BZ #6471]
84860         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84861         for 2.16.
84863 2012-03-16  David S. Miller  <davem@davemloft.net>
84865         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84866         warnings.
84868         [BZ #6471]
84869         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84870         properly.
84871         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84872         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84873         sysdep_routines when subdir is sysvipc.
84874         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84875         __getshmlba helper.
84877         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84879 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84881         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84882         [__LP64__].
84884 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84886         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84887         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84888         (__lround): Renamed to ...
84889         (__llround): This.  Replace long int with long long int.
84890         Define lround functions as aliases of llround functions.
84891         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84893 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84895         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84896         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84897         adresses to uintptr_t.  Replace "long int" and "unsigned long
84898         int" with "greg_t" on va_arg.
84900 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84902         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84903         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84905         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84906         Move e_machine check before EI_CLASS check.  Handle x32
84907         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84908         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84909         SKIP_EM_IA_64 and include
84910         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84912         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84913         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84914         (add_system_dir): New macro.
84916         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84917         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84919 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84921         [BZ #2551]
84922         [BZ #2552]
84923         [BZ #2553]
84924         [BZ #2554]
84925         [BZ #2562]
84926         [BZ #2563]
84927         [BZ #2565]
84928         [BZ #2566]
84929         [BZ #2576]
84930         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84931         (y0): Likewise.
84932         * math/w_j0f.c (j0f): Likewise.
84933         (y0f): Likewise.
84934         * math/w_j0l.c (__j0l): Likewise.
84935         (__y0l): Likewise.
84936         * math/w_j1.c (j1): Likewise.
84937         (y1): Likewise.
84938         * math/w_j1f.c (j1f): Likewise.
84939         (y1f): Likewise.
84940         * math/w_j1l.c (__j1l): Likewise.
84941         (__y1l): Likewise.
84942         * math/w_jn.c (jn): Likewise.
84943         (yn): Likewise.
84944         * math/w_jnf.c (jnf): Likewise.
84945         (ynf): Likewise.
84946         * math/w_jnl.c (__jnl): Likewise.
84947         (__ynl): Likewise.
84948         * math/libm-test.inc (j0_test): Add more tests.
84949         (j1_test): Likewise.
84950         (jn_test): Likewise.  Add trailing semicolon to existing test.
84951         (y0_test): Likewise.
84952         (y1_test): Likewise.
84953         * sysdeps/i386/fpu/libm-test-ulps: Update.
84954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84956         [BZ #13851]
84957         [BZ #13854]
84958         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84959         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84960         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84961         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84962         (__tanl): Set errno for infinite argument.
84963         * sysdeps/i386/fpu/mptan.c: Remove.
84964         * sysdeps/i386/fpu/s_tan.S: Likewise.
84965         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84966         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84967         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84968         * math/libm-test.inc (tan_test): Add more tests and enable more
84969         tests for double and long double.
84970         * sysdeps/i386/fpu/libm-test-ulps: Update.
84971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84973 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84975         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84976         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84978 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84980         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84981         * configure.in: Use it for both main tree and add-ons.
84982         * configure: Regenerated.
84984 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84986         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84988 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84990         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84991         in comment.
84993         [BZ #13851]
84994         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84995         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84996         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84997         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84998         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84999         infinite argument.
85000         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
85001         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
85002         != 0 for prec == 2.
85003         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
85004         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
85005         * sysdeps/i386/fpu/s_cosl.S: Likewise.
85006         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
85007         * sysdeps/i386/fpu/s_sinl.S: Likewise.
85008         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
85009         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
85010         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
85011         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
85012         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
85013         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
85014         * math/libm-test.inc (cos_test): Add more tests and enable more
85015         tests for long double.
85016         (sin_test): Likewise.
85017         (sincos_test): Likewise.
85018         * sysdeps/i386/fpu/libm-test-ulps: Update.
85019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85021 2012-03-16  David S. Miller  <davem@davemloft.net>
85023         * sysdeps/sparc/fpu/math_private.h: New file.
85025 2012-03-15  David S. Miller  <davem@davemloft.net>
85027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
85028         file.
85029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
85030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
85031         file.
85032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
85033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
85034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
85035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
85036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
85037         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
85038         sysdep routines.
85039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85041         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
85042         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
85044         * sysdeps/sparc/sparc-ifunc.h: New file.
85045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
85046         sparc-ifunc.h
85047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
85048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
85049         Likewise.
85050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
85051         Likewise.
85052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
85053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
85054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
85055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85056         Likewise.
85057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
85058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
85059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
85060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
85061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
85062         Likewise.
85063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
85064         Likewise.
85065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
85066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
85067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
85068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
85069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
85070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
85071         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
85072         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
85073         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
85074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
85075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
85076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
85077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
85078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
85079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
85081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
85082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
85083         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
85084         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
85085         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
85086         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
85087         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
85088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
85090 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85092         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
85093         scaling.
85094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85096 2012-03-15  Andreas Jaeger  <aj@suse.de>
85098         [BZ #13852]
85099         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
85100         ieee754/flt-32 implementation for sin, cos and sincos.
85101         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85102         * sysdeps/i386/fpu/s_cosf.S: Likewise.
85103         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85104         * sysdeps/i386/fpu/s_sinf.S: Likewise.
85105         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85106         ieee754/flt-32 implementation for tan.
85108         * math/libm-test.inc (cos_test): Enable some large input tests for
85109         float as well
85110         (sin_test): Likewise.
85111         (sincos_test): Likewise.
85112         (tan_test): Add tests for large input.
85114         * sysdeps/i386/fpu/libm-test-ulps: Update.
85116 2012-03-15  Andreas Jaeger  <aj@suse.de>
85118         [BZ #13658]
85119         * math/libm-test.inc (cos_test): Add more test cases.
85120         (sin_test): Likewise.
85121         (sincos_test): Likewise.
85123 2012-03-15  Andreas Jaeger  <aj@suse.de>
85125         [BZ #13837]
85126         * math/libm-test.inc (cos_test): Add a test case for large input
85127         value.
85128         (sin_test): Likewise.
85129         (sincos_test): Likewise.
85131 2012-03-15  Andreas Jaeger  <aj@suse.de>
85132             Joseph Myers  <joseph@codesourcery.com>
85134         [BZ #13658]
85135         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85136         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85137         * sysdeps/i386/fpu/branred.c: Likewise.
85138         * sysdeps/i386/fpu/dosincos.c: Likewise.
85139         * sysdeps/i386/fpu/mpa.c: Likewise.
85140         * sysdeps/i386/fpu/s_cos.S: Likewise.
85141         * sysdeps/i386/fpu/s_sin.S: Likewise.
85142         * sysdeps/i386/fpu/s_sincos.S: Likewise.
85143         * sysdeps/i386/fpu/sincos32.c: Likewise.
85145         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85146         Define.
85147         (libc_feupdateenv_53bit): Define.
85148         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85149         Define.
85150         (libc_feupdateenv_53bit): Define.
85152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85153         53 bit (without extend i386 double precision).
85155         * math/libm-test.inc (sincos_test): Add tests for large input.
85156         (sin): Likewise.
85157         (cos): Likewise.
85159         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85161 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85165 2012-03-15  David S. Miller  <davem@davemloft.net>
85167         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85168         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85169         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85170         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85183         file.
85184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85186         file.
85187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85189         file.
85190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85192         file.
85193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85194         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85195         fmin/fmax sysdep routines.
85196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85198 2012-03-14  David S. Miller  <davem@davemloft.net>
85200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85204         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85205         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85206         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85207         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85220         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85221         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85223         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85224         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85225         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85226         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85227         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85228         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85229         routines.
85230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85231         file.
85232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85234         file.
85235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85237         file.
85238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85240         file.
85241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85243         file.
85244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85246         file.
85247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85248         file.
85249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85250         file.
85251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85252         file.
85253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85254         New file.
85255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85256         file.
85257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85258         file.
85259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85261         file.
85262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85264         file.
85265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85267         file.
85268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85270         VIS3 routines.
85272         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85273         New file.
85275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85277         * sysdeps/sparc/configure.in: New file.
85278         * sysdeps/sparc/configure: Generate.
85279         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85280         * configure: Regenerate.
85281         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85282         * config.make.in (have-as-vis3): New.
85283         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85284         available use -Av9d instead of -Av9a.
85285         * sysdeps/sparc/sparc64/Makefile: Likewise.
85286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85288         New file.
85289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85290         file.
85291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85292         New file.
85293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85294         file.
85295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85296         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85297         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85299         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85301         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85302         fzeros/fnegs to load 0x80000000 into a float register instead of
85303         using the stack.
85304         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85306 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85309         bits/syscall.h.
85310         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85311         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85312         ($(inst_includedir)/bits/syscall.h): Remove rule.
85313         ($(objpfx)bits/syscall.d): Include instead of
85314         $(objpfx)syscall-list.d.
85315         (generated): Change syscall-list.h and syscall-list.d to
85316         bits/syscall.h and bits/syscall.d.
85318 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85320         [BZ #13846]
85321         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85323 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85325         [BZ #13841]
85326         * math/s_csqrt.c: Include <float.h>.
85327         (__csqrt): Scale large or subnormal inputs.
85328         * math/s_csqrtf.c: Likewise.
85329         * math/s_csqrtl.c: Likewise.
85330         * math/libm-test.inc (csqrt_test): Add more tests.
85331         * sysdeps/i386/fpu/libm-test-ulps: Update.
85332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85334         [BZ #13840]
85335         * math/libm-test.inc (hypot_test): Add more tests.
85337 2012-03-13  David S. Miller  <davem@davemloft.net>
85339         [BZ #13840]
85340         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85341         double-precision for the calculation instead of scaling.
85343 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85345         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85346         manipulate bits before adding and subtracting TWO52[sx].
85347         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85348         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85349         Likewise.
85350         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85352 2012-03-13  David S. Miller  <davem@davemloft.net>
85354         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85355         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85357         rtld-global-offsets.h
85358         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85360         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85361         large parameters.
85363         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85365         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85366         'err' in the ifdef scope in which it is actually used.
85368         * nss/nss_db/db-init.c: Include string.h
85370 2012-03-12  David S. Miller  <davem@davemloft.net>
85372         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85373         masking out of the most significant byte of random value used.
85374         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85375         Fix coding style in previous change.
85377         * sysdeps/unix/sysv/linux/kernel-features.h
85378         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85379         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85380         expression.
85381         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85382         later.
85384 2012-03-11  David S. Miller  <davem@davemloft.net>
85386         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85387         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85388         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85389         for 'resultvar' otherwise things get truncated on 64-bit.
85391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85392         Fix masking out of the most significant byte of random value used.
85394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85396 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85400 2012-03-09  David S. Miller  <davem@davemloft.net>
85402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85403         variables with appropriate CPP guards.
85404         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85405         from the frame pointer, not the stack pointer.  Correct layout
85406         comments.  Fix test on resulting framesize and the management of
85407         the outregs buffer for pltexit.  Preserve floating point return
85408         values across _dl_call_pltexit call.
85409         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85410         framesize and the management of the outregs buffer for pltexit.
85411         Preserve floating point return values across _dl_call_pltexit
85412         call.
85413         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85414         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85415         (la_sparc64_gnu_pltexit): New functions.
85416         (print_exit): Fix format string for return register value.
85418 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85420         * sunrpc/Makefile (others): Add rpcgen.
85421         ($(objpfx)rpcgen): Remove special build rule and dependency on
85422         libc.
85423         * sunrpc/rpcgen.c: New file.
85425 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85427         [BZ #13673]
85428         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85429         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85430         * sysdeps/i386/crti.S: Likewise.
85431         * sysdeps/i386/crtn.S: Likewise.
85432         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85433         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85434         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85435         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85436         * sysdeps/sh/crti.S: Likewise.
85437         * sysdeps/sh/crtn.S: Likewise.
85438         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85440         [BZ #13673]
85441         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85442         with URL.
85443         * locale/programs/locfile-kw.gperf: Likewise.
85444         * locale/programs/charmap-kw.h: Regenerated.
85445         * locale/programs/locfile-kw.h: Likewise.
85447         [BZ #13673]
85448         * intl/plural.y: Replace FSF snail mail address with URL.
85449         * intl/plural.c: Regenerated.
85451 2012-03-09  Richard Henderson  <rth@twiddle.net>
85453         * include/math_private.h: Remove file.
85454         * math/math_private.h: Move file ...
85455         * sysdeps/generic/math_private.h: ... here.
85457         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85458         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85459         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85461         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85462         and <math_private.h>.
85463         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85464         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85465         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85466         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85467         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85468         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85469         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85470         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85471         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85472         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85473         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85474         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85475         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85476         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85477         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85478         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85479         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85481         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85482         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85487         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85488         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85489         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85490         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85493         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85494         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85495         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85496         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85497         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85498         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85499         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85500         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85501         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85502         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85503         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85504         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85505         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85506         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85507         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85508         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85509         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85510         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85511         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85512         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85513         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85514         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85515         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85516         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85517         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85518         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85519         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85520         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85521         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85522         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85523         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85524         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85525         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85526         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85527         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85528         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85529         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85530         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85531         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85532         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85533         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85534         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85535         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85536         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85537         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85541         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85542         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85543         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85544         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85545         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85546         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85547         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85548         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85550         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85551         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85552         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85553         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85554         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85555         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85556         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85557         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85558         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85559         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85560         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85561         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85562         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85563         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85564         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85565         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85566         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85567         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85568         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85569         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85570         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85571         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85572         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85573         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85574         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85575         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85576         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85577         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85578         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85579         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85580         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85581         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85582         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85583         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85584         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85585         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85586         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85587         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85588         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85589         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85590         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85591         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85592         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85593         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85594         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85595         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85596         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85597         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85598         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85599         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85600         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85601         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85602         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85603         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85604         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85605         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85606         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85607         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85608         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85609         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85610         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85611         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85612         * sysdeps/ieee754/k_standard.c: Likewise.
85613         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85614         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85616         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85617         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85618         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85619         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85620         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85621         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85622         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85623         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85625         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85626         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85627         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85628         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85629         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85630         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85631         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85632         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85633         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85634         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85635         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85636         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85637         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85638         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85639         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85640         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85641         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85642         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85643         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85644         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85645         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85646         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85647         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85648         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85649         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85650         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85651         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85652         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85653         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85654         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85655         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85656         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85657         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85658         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85659         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85660         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85661         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85662         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85663         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85664         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85665         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85666         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85667         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85668         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85669         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85670         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85671         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85672         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85673         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85674         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85675         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85676         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85678         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85679         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85680         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85681         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85682         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85683         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85684         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85685         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85687         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85688         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85689         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85690         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85691         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85692         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85693         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85694         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85695         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85696         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85697         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85698         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85699         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85700         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85701         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85703         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85704         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85705         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85706         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85707         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85708         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85709         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85710         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85711         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85712         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85714         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85715         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85716         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85717         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85718         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85719         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85720         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85721         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85722         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85723         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85724         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85725         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85726         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85727         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85728         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85729         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85730         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85731         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85732         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85733         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85734         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85735         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85736         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85737         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85738         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85739         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85740         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85741         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85742         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85743         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85744         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85745         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85746         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85747         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85748         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85749         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85750         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85751         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85752         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85753         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85754         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85755         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85756         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85757         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85758         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85759         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85760         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85761         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85762         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85763         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85764         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85765         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85766         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85767         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85768         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85769         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85770         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85771         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85772         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85773         * sysdeps/ieee754/s_lib_version.c: Likewise.
85774         * sysdeps/ieee754/s_matherr.c: Likewise.
85775         * sysdeps/ieee754/s_signgam.c: Likewise.
85776         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85777         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85778         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85779         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85780         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85781         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85782         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85783         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85784         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85785         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85786         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85787         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85788         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85789         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85790         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85791         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85792         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85793         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85794         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85798 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85800         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85801         * sunrpc/rpc_main.c: Likewise.
85802         * sunrpc/rpc_svcout.c: Likewise.
85804 2012-03-09  David S. Miller  <davem@davemloft.net>
85806         * include/math_private.h: New file.
85808 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85810         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85811         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85812         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85813         from <bits/socket_type.h>.
85814         (enum __socket_type): Don't define here.
85815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85817         bits/socket_type.h.
85819         [BZ #13566]
85820         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85821         checking __USE_GNU.
85823         * Makerules ($(inst_includedir)/%.h): New rule.
85824         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85825         (install-others): Remove variable setting.
85826         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85828 2012-03-08  Richard Henderson  <rth@twiddle.net>
85830         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85831         from macro to inline function; merge with the
85832         !__LIBC_INTERNAL_MATH_INLINES version.
85833         (__ieee754_sqrtf): Likewise.
85835         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85836         to inline function.
85837         (__rintf, __floor, __floorf): Likewise.
85839         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85840         macro to inline function.
85841         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85843         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85844         not <math/math_private.h>.
85846 2012-03-08  David S. Miller  <davem@davemloft.net>
85848         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85849         copyright year.
85850         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85852 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85854         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85855         normalization.
85856         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85857         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85859 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85861         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85862         be defined individually, they must be defined as a block.  Define
85863         S for printing a string instead of hidint the different by using a
85864         macro for adding the 'l'.
85865         * stdio-common/tst-fphex-wide.c: Adjust.
85867 2012-03-07  Marek Polacek  <polacek@redhat.com>
85869         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85871 2012-03-08  Marek Polacek  <polacek@redhat.com>
85873         [BZ #13806]
85874         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85875         * stdio-common/tst-fphex.c: Define a few macros to make the
85876         test reusable.  Use them.
85877         * stdio-common/tst-fphex-wide.c: New file.
85879 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85881         [BZ #6911]
85882         * manual/macros.texi (gnusystems): New macro.
85883         (nongnusystems): Likewise.
85884         (gnulinuxhurdsystems): Likewise.
85885         (gnuhurdsystems): Likewise..
85886         (gnulinuxsystems): Likewise.
85887         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85888         variants of the GNU system, not "GNU system".
85889         * manual/conf.texi: Likewise.
85890         * manual/errno.texi: Likewise.  Update example of errno macro
85891         expansion.
85892         * manual/filesys.texi: Likewise.
85893         (getumask): Document as specific to GNU/Hurd.
85894         * manual/install.texi: Likewise.  Reword some references to
85895         GNU/Linux.
85896         * manual/intro.texi: Likewise.
85897         * manual/io.texi: Likewise.
85898         (File Name Portability): Detail which constraints are inapplicable
85899         to all GNU systems and which are only inapplicable to GNU/Hurd.
85900         * manual/job.texi: Likewise.
85901         * manual/llio.texi: Likewise.
85902         (O_NOCTTY): Document as present on GNU/Linux.
85903         * manual/maint.texi: Likewise.
85904         * manual/memory.texi: Likewise.
85905         * manual/pattern.texi: Likewise.
85906         * manual/pipe.texi: Likewise.
85907         * manual/process.texi: Likewise.
85908         * manual/resource.texi: Likewise.
85909         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85910         child on GNU/Hurd.
85911         * manual/setjmp.texi: Likewise.
85912         * manual/signal.texi: Likewise.
85913         * manual/startup.texi: Likewise.
85914         * manual/stdio.texi: Likewise.
85915         * manual/terminal.texi: Likewise.
85916         (ONLCR): Document as POSIX.
85917         (OXTABS): Document availability on GNU/Linux as XTABS.
85918         (ONOEOT): Document availability separately from other bits.
85919         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85920         * manual/time.texi: Likewise.
85921         * manual/users.texi: Likewise.
85922         * INSTALL: Regenerated.
85923         * sysdeps/gnu/errlist.c: Regenerated.
85925         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85926         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85927         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85928         puts.
85929         * configure: Regenerated.
85931 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85933         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85934         default includes instead of AC_HEADER_CHECK.
85935         * sysdeps/i386/configure: Regenerated.
85937         [BZ #10716]
85938         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85939         * math/s_cacoshf.c (__cacoshf): Likewise.
85940         * math/s_cacoshl.c (__cacoshl): Likewise.
85941         * math/s_casinh.c (__casinh): Set signs of result from argument.
85942         * math/s_casinhf.c (__casinhf): Likewise.
85943         * math/s_casinhl.c (__casinhl): Likewise.
85944         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85945         (casinh_test): Add more tests.
85946         * sysdeps/i386/fpu/libm-test-ulps: Update.
85947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85949 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85951         * po/zh_TW.po: Update from translation team.
85953         * login/Makefile (distribute): Remove variable.
85954         * catgets/Makefile: Likewise.
85955         * mach/Makefile: Likewise.
85956         * malloc/Makefile: Likewise.
85957         * misc/Makefile: Likewise.
85958         * iconv/Makefile: Likewise.
85959         * nscd/Makefile: Likewise.
85960         * hurd/Makefile: Likewise.
85961         * manual/Makefile: Likewise.
85962         * locale/Makefile: Likewise.
85963         * intl/Makefile: Likewise.
85964         * conform/Makefile: Likewise.
85965         * nss/Makefile: Likewise.
85966         * time/Makefile: Likewise.
85967         * soft-fp/Makefile: Likewise.
85968         * dirent/Makefile: Likewise.
85969         * gmon/Makefile: Likewise.
85970         * po/Makefile: Likewise.
85971         * rt/Makefile: Likewise.
85972         * socket/Makefile: Likewise.
85973         * math/Makefile: Likewise.
85974         * signal/Makefile: Likewise.
85975         * debug/Makefile: Likewise.
85976         * elf/Makefile: Likewise.
85977         * timezone/Makefile: Likewise.
85978         * stdlib/Makefile: Likewise.
85979         * iconvdata/Makefile: Likewise.
85980         * sunrpc/Makefile: Likewise.
85981         * io/Makefile: Likewise.
85982         * argp/Makefile: Likewise.
85983         * inet/Makefile: Likewise.
85984         * hesiod/Makefile: Likewise.
85985         * grp/Makefile: Likewise.
85986         * csu/Makefile: Likewise.
85987         * wctype/Makefile: Likewise.
85988         * crypt/Makefile: Likewise.
85989         * libio/Makefile: Likewise.
85990         * string/Makefile: Likewise.
85991         * nis/Makefile: Likewise.
85992         * resolv/Makefile: Likewise.
85993         * stdio-common/Makefile: Likewise.
85994         * wcsmbs/Makefile: Likewise.
85995         * dlfcn/Makefile: Likewise.
85996         * posix/Makefile: Likewise.
85998         [BZ #6959]
85999         * timezone/Makefile: Don't install timezone files, just the programs
86000         and scripts.
86002 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
86004         * nss/databases.def: Add missing gshadow entry.
86006         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
86008 2012-03-06  Marek Polacek  <polacek@redhat.com>
86010         [BZ #13726]
86011         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
86012         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
86013         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
86014         * stdio-common/tst-long-dbl-fphex.c: New file.
86016 2012-03-06  David S. Miller  <davem@davemloft.net>
86018         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
86019         (set_obp_int): New function.
86020         (get_obp_int): New function.
86021         (__get_clockfreq_via_dev_openprom): Likewise.
86022         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
86023         Avoid unused variable warnings on 'val' and use builtin_expect.
86024         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
86025         __builtin_expect.
86026         (INLINE_CLONE_SYSCALL): Likewise.
86028 2012-03-05  David S. Miller  <davem@davemloft.net>
86030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86032 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
86034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86036         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86037         only for |x| >= 40.
86038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86040 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
86042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
86043         Replace gettimeofday with __vdso_gettimeofday.
86045         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86046         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
86047         __vdso_clock_gettime and __vdso_getcpu.
86049         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
86050         time with __vdso_time.
86052 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86054         * manual/lang.texi (size_t): Note types to which size_t may be
86055         equivalent with the GNU C Library, but do not describe when
86056         differences between them are significant.
86058 2012-03-05  Andreas Jaeger  <aj@suse.de>
86060         * sysdeps/i386/fpu/libm-test-ulps: Update.
86062 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86064         [BZ #3976]
86065         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
86066         (__ieee754_pow): Save and restore rounding mode and use
86067         round-to-nearest for main computations.
86068         * math/libm-test.inc (pow_test_tonearest): New function.
86069         (pow_test_towardzero): Likewise.
86070         (pow_test_downward): Likewise.
86071         (pow_test_upward): Likewise.
86072         (main): Call the new functions.
86073         * sysdeps/i386/fpu/libm-test-ulps: Update.
86074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86076         [BZ #3976]
86077         * math/libm-test.inc (cosh_test_tonearest): New function.
86078         (cosh_test_towardzero): Likewise.
86079         (cosh_test_downward): Likewise.
86080         (cosh_test_upward): Likewise.
86081         (sinh_test_tonearest): Likewise.
86082         (sinh_test_towardzero): Likewise.
86083         (sinh_test_downward): Likewise.
86084         (sinh_test_upward): Likewise.
86085         (main): Call the new functions.
86086         * sysdeps/i386/fpu/libm-test-ulps: Update.
86087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86089 2012-03-05  Tom de Vries  <tom@codesourcery.com>
86091         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
86092         default stack guard is set in last bytes.
86093         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
86095 2012-03-05  Kees Cook  <keescook@chromium.org>
86097         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
86099         [BZ #13656]
86100         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
86101         possibly allocate from heap instead of stack.
86102         * stdio-common/bug-vfprintf-nargs.c: New file.
86103         * stdio-common/Makefile (tests): Add nargs overflow test.
86105 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
86107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86109 2012-03-03  Marek Polacek  <polacek@redhat.com>
86111         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86112         * math/math_private.h: Likewise.
86113         * stdlib/tst-strtod.c: Likewise.
86114         * sysdeps/i386/i486/bits/atomic.h: Likewise.
86115         * sysdeps/x86_64/bits/atomic.h: Likewise.
86117 2012-03-02  David S. Miller  <davem@davemloft.net>
86119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86123         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86124         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86125         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86126         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86128 2012-03-02  Roland McGrath  <roland@hack.frob.com>
86130         [BZ #13792]
86131         * manual/examples/README: New file, says the example source files
86132         can be used under GPL>=2.
86133         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86134         line containing just "*/".
86135         * manual/examples/add.c: Add copyright header (GPL>=2).
86136         * manual/examples/argp-ex1.c: Likewise.
86137         * manual/examples/argp-ex2.c: Likewise.
86138         * manual/examples/argp-ex3.c: Likewise.
86139         * manual/examples/argp-ex4.c: Likewise.
86140         * manual/examples/atexit.c: Likewise.
86141         * manual/examples/db.c: Likewise.
86142         * manual/examples/dir.c: Likewise.
86143         * manual/examples/dir2.c: Likewise.
86144         * manual/examples/execinfo.c: Likewise.
86145         * manual/examples/filecli.c: Likewise.
86146         * manual/examples/filesrv.c: Likewise.
86147         * manual/examples/fmtmsgexpl.c: Likewise.
86148         * manual/examples/genpass.c: Likewise.
86149         * manual/examples/inetcli.c: Likewise.
86150         * manual/examples/inetsrv.c: Likewise.
86151         * manual/examples/isockad.c: Likewise.
86152         * manual/examples/longopt.c: Likewise.
86153         * manual/examples/memopen.c: Likewise.
86154         * manual/examples/memstrm.c: Likewise.
86155         * manual/examples/mkfsock.c: Likewise.
86156         * manual/examples/mkisock.c: Likewise.
86157         * manual/examples/mygetpass.c: Likewise.
86158         * manual/examples/pipe.c: Likewise.
86159         * manual/examples/popen.c: Likewise.
86160         * manual/examples/rprintf.c: Likewise.
86161         * manual/examples/search.c: Likewise.
86162         * manual/examples/select.c: Likewise.
86163         * manual/examples/setjmp.c: Likewise.
86164         * manual/examples/sigh1.c: Likewise.
86165         * manual/examples/sigusr.c: Likewise.
86166         * manual/examples/stpcpy.c: Likewise.
86167         * manual/examples/strdupa.c: Likewise.
86168         * manual/examples/strftim.c: Likewise.
86169         * manual/examples/strncat.c: Likewise.
86170         * manual/examples/subopt.c: Likewise.
86171         * manual/examples/swapcontext.c: Likewise.
86172         * manual/examples/termios.c: Likewise.
86173         * manual/examples/testopt.c: Likewise.
86174         * manual/examples/testpass.c: Likewise.
86175         * manual/examples/timeval_subtract.c: Likewise.
86177         [BZ #13792]
86178         * manual/time.texi (Elapsed Time): Move timeval_subtract example
86179         function to ...
86180         * manual/timeval_subtract.c.texi: ... here, new file.
86182 2012-03-02  David S. Miller  <davem@davemloft.net>
86184         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86186 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
86188         [BZ #3976]
86189         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86190         (__sin): Save and restore rounding mode and use round-to-nearest
86191         for all computations.
86192         (__cos): Save and restore rounding mode and use round-to-nearest
86193         for all computations.
86194         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86195         <fenv.h>.
86196         (tan): Save and restore rounding mode and use round-to-nearest for
86197         all computations.
86198         * math/libm-test.inc (cos_test_tonearest): New function.
86199         (cos_test_towardzero): Likewise.
86200         (cos_test_downward): Likewise.
86201         (cos_test_upward): Likewise.
86202         (sin_test_tonearest): Likewise.
86203         (sin_test_towardzero): Likewise.
86204         (sin_test_downward): Likewise.
86205         (sin_test_upward): Likewise.
86206         (tan_test_tonearest): Likewise.
86207         (tan_test_towardzero): Likewise.
86208         (tan_test_downward): Likewise.
86209         (tan_test_upward): Likewise.
86210         (main): Call the new functions.
86211         * sysdeps/i386/fpu/libm-test-ulps: Update.
86212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86214         [BZ #10135]
86215         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86216         small n, then large n, before computing and testing k+n.
86217         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86218         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86219         Likewise.
86220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86221         Likewise.
86222         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86223         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86224         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86225         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86226         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86227         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86228         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86229         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86230         * math/libm-test.inc (scalbn_test): Add more tests.
86231         (scalbln_test): Likewise.
86233         * manual/filesys.texi (mode_t): Describe constraints on size and
86234         signedness, not exact equivalence to a particular type.
86235         (ino_t): Likewise.
86236         (ino64_t): Likewise.
86237         (dev_t): Likewise.
86238         (nlink_t): Likewise.
86239         (blkcnt_t): Likewise.
86240         (blkcnt64_t): Likewise.
86241         * manual/llio.texi (off_t): Likewise.
86243         [BZ #3976]
86244         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86245         (__ieee754_exp): Save and restore rounding mode and use
86246         round-to-nearest for all computations.
86247         * math/libm-test.inc (exp_test_tonearest): New function.
86248         (exp_test_towardzero): Likewise.
86249         (exp_test_downward): Likewise.
86250         (exp_test_upward): Likewise.
86251         (main): Call the new functions.
86252         * sysdeps/i386/fpu/libm-test-ulps: Update.
86253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86255 2012-03-01  Chris Demetriou  <cgd@google.com>
86257         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86258         have predictable order.
86260 2012-03-01  David S. Miller  <davem@davemloft.net>
86262         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86264         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86265         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86266         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86267         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86269         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86270         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86271         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86273         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86274         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86275         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86276         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86277         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86281         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86282         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86283         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86285         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86286         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86287         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86288         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86289         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86290         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86291         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86292         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86293         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86294         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86295         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86296         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86297         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86298         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86299         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86301         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86302         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86303         * sysdeps/sparc/elf/configure: Regenerated.
86305 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86307         * configure.in (AS, LD): Require binutils 2.20 or later.
86308         * configure: Regenerated.
86309         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86310         as required minimum version.
86311         * INSTALL: Regenerated.
86313         [BZ #2541]
86314         [BZ #4108]
86315         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86316         before squaring exponent.
86317         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86318         bottom long double and 27 bits of top long double before squaring
86319         exponent.
86320         * math/libm-test.inc (erfc_test): Add more tests.
86321         * sysdeps/i386/fpu/libm-test-ulps: Update.
86322         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86325 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86327         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86328         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86329         containing bit-fields.
86330         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86331         * soft-fp/single.h (_FP_UNION_S): Likewise.
86332         * soft-fp/double.h (_FP_UNION_D): Likewise.
86334 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86336         [BZ #13786]
86337         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86338         not include ../strcmp.S.
86339         [USE_AS_STRNCASECMP_L]: Likewise.
86340         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86341         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86342         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86343         (__strncasecmp_l_ia32): Define as alias to
86344         __strncasecmp_l_nonascii.
86346         [BZ #5794]
86347         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86348         * sysdeps/i386/fpu/libm-test-ulps: Update.
86349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86351         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86354 2012-02-29  Jeff Law  <law@redhat.com>
86356         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86357         out of bounds read.
86359 2012-02-29  Marek Polacek  <polacek@redhat.com>
86361         [BZ #13706]
86362         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86363         * elf/Makefile: Add rules to run tst-unused-dep.out.
86365 2012-02-28  David S. Miller  <davem@davemloft.net>
86367         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86368         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86369         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86370         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86371         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86372         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86374 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86376         * math/libm-test.inc (llround_test): Move one test from
86377         lround_test.  Use TEST_f_L in moved test.
86378         (lround_test): Move misplaced test to llround_test.  Add testcase
86379         from bug 2561.
86381 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86383         * sysdeps/x86_64/fpu/e_expf.S: New file.
86384         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86386 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86388         [BZ #13637]
86389         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86390         of remain_len that may cause incomplete multi-byte character and
86391         false match.
86392         * posix/bug-regex33.c: New file.
86393         * posix/Makefile (tests): Add bug-regex33.
86395 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86397         * manual/macros.texi: New file.
86398         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86399         * manual/libc.texinfo: Include macros.texi.
86400         * manual/creatute.texi: Likewise.
86401         * manual/install.texi: Likewise.
86402         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86403         @glibcadj{} in references to the GNU C Library.
86404         * manual/charset.texi: Likewise.
86405         * manual/conf.texi: Likewise.
86406         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86407         when not using those macros.
86408         * manual/creature.texi: Likewise.
86409         * manual/crypt.texi: Likewise.
86410         * manual/errno.texi: Likewise.
86411         * manual/filesys.texi: Likewise.
86412         * manual/header.texi: Likewise.
86413         * manual/install.texi: Likewise.
86414         * manual/intro.texi: Likewise.
86415         * manual/io.texi: Likewise.
86416         * manual/job.texi: Likewise.
86417         * manual/lang.texi: Likewise.
86418         * manual/libc.texiinfo: Likewise.
86419         * manual/llio.texi: Likewise.
86420         * manual/locale.texi: Likewise.
86421         * manual/maint.texi: Likewise.
86422         * manual/math.texi: Likewise.
86423         * manual/memory.texi: Likewise.
86424         * manual/message.texi: Likewise.
86425         * manual/nss.texi: Likewise.
86426         * manual/pattern.texi: Likewise.
86427         * manual/process.texi: Likewise.
86428         * manual/resource.texi: Likewise.
86429         * manual/search.texi: Likewise.
86430         * manual/setjmp.texi: Likewise.
86431         * manual/signal.texi: Likewise.
86432         * manual/socket.texi: Likewise.
86433         * manual/startup.texi: Likewise.
86434         * manual/stdio.texi: Likewise.
86435         * manual/string.texi: Likewise.
86436         * manual/sysinfo.texi: Likewise.
86437         * manual/syslog.texi: Likewise.
86438         * manual/terminal.texi: Likewise.
86439         * manual/time.texi: Likewise.
86440         * manual/users.texi: Likewise.
86441         * INSTALL: Regenerated.
86442         * NOTES: Regenerated.
86443         * sysdeps/gnu/errlist.c: Regenerated.
86445 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86447         * include/dirent.h: Include <dirstream.h> before
86448         <dirent/dirent.h>.
86450 2012-02-28  David S. Miller  <davem@davemloft.net>
86452         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86453         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86454         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86455         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86457 2012-02-27  David S. Miller  <davem@davemloft.net>
86459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86461         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86462         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86465         frame pointer instead of stack pointer relative arg slot.
86466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86467         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86468         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86470 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86472         [BZ #3992]
86473         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86475 2012-02-27  David S. Miller  <davem@davemloft.net>
86477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86481         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86482         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86483         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86484         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86486 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86488         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86489         later.  Allow versions 5-9.
86490         * configure: Regenerated.
86491         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86492         required minimum version and 4.6 as recommended version.  Do not
86493         mention bugs in GCC 2.7 and 2.8.
86494         * INSTALL: Regenerated.
86496 2012-02-27  David S. Miller  <davem@davemloft.net>
86498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86502         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86503         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86504         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86505         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86507         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86508         manipulate bits before adding and subtracting TWO112[sx].
86509         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86511 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86513         [BZ #13775]
86514         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86515         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86516         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86517         being in POSIX, because they are in 1003.1-2008.
86519         * rt/tst-aio.c: Include <fcntl.h>.
86520         * rt/tst-aio7.c: Likewise.
86521         * rt/tst-aio64.c: Likewise.
86523         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86525 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86527         * manual/install.texi (--with-headers): Describe headers as
86528         interface headers, not private headers.
86529         (Specific advice for GNU/Linux systems): Describe use of headers
86530         from "make headers_install", not private headers from older
86531         kernels.
86532         * INSTALL: Regenerated.
86533         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86534         Change to 2.6.19.
86535         * sysdeps/unix/sysv/linux/configure: Regenerated.
86537         * manual/llio.texi (fclean): Remove documentation.
86539         * manual/Makefile (libc-texi-generated): New variable.  Include
86540         version.texi.
86541         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86542         $(libc-texi-generated), not duplicated list of files.
86543         (version.texi, stamp-version): New rules.
86544         (realclean): Remove $(libc-texi-generated), not individual files
86545         from that list.  Do not remove dir-add.texinfo.
86546         * manual/libc.texinfo: Comment out uses of edition numbers and
86547         references to printed manual.  Remove last-updated dates.
86548         (EDITION): Comment out.
86549         (ISBN): Likewise.
86550         (VERSION, UPDATED): Remove.
86551         (version.texi): Include.
86553 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86555         * sysdeps/posix/spawni.c: Include <signal.h>.
86556         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86557         * sysdeps/pthread/aio_fsync.c: Likewise.
86559 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86561         * conform/Makefile (tests): Run only when not cross-compiling and
86562         when fast-check is not defined.
86564         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86565         * conform/data/limits.h-data: Fixes for POSIX2008.
86566         * conform/run-conformtest.sh: Run all tests.
86567         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86568         headers.
86569         * include/bits/dlfcn.h: Likewise.
86570         * include/langinfo.h: Likewise.
86571         * include/monetary.h: Likewise.
86572         * include/sys/poll.h: Likewise.
86574         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86575         for __USE_GNU.
86576         * posix/spawn.h: Define __need_sigset_t.
86577         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86578         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86579         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86580         to get sigevent_t only.
86581         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86582         only for __USE_GNU.
86583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86584         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86585         process_vm_writev only for __USE_GNU.
86586         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86588         * conform/Makefile: For now ignore errors from run-conformtest.
86589         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86590         POSIX to avoid namespace pollution.  Don't prepend headers.
86591         * conform/data/aio.h-data: Fixes for POSIX testing.
86592         * conform/data/fcntl.h-data: Likewise.
86593         * conform/data/glob.h-data: Likewise.
86594         * conform/data/grp.h-data: Likewise.
86595         * conform/data/pthread.h-data: Likewise.
86596         * conform/data/pwd.h-data: Likewise.
86597         * conform/data/signal.h-data: Likewise.
86598         * conform/data/spawn.h-data: Likewise.
86599         * conform/data/stdio.h-data: Likewise.
86600         * conform/data/stdlib.h-data: Likewise.
86601         * conform/data/stropts.h-data: Likewise.
86602         * conform/data/sys/mman.h-data: Likewise.
86603         * conform/data/sys/stat.h-data: Likewise.
86604         * conform/data/sys/types.h-data: Likewise.
86605         * conform/data/sys/wait.h-data: Likewise.
86606         * conform/data/time.h-data: Likewise.
86607         * conform/data/unistd.h-data: Likewise.
86608         * conform/data/utime.h-data: Likewise.
86610         * io/sys/stat.h: fchmod was always in POSIX.
86611         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86612         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86613         * rt/aio.h: Define __need_timespec before including <time.h>.
86614         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86615         struct.  Add forward declaration of pthread_attr_t and use it in
86616         sigevent.
86617         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86618         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86619         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86620         always remove CLK_TCK definition.
86622 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86624         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86626 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86628         * conform/run-conformtest.sh: New file.
86629         * conform/Makefile: Run run-conformtest for tests.
86630         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86631         support.
86633         * conform/data/uchar.h-data: New file.
86634         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86635         * conform/data/arpa/inet.h-data: Likewise.
86636         * conform/data/assert.h-data: Likewise.
86637         * conform/data/complex.h-data: Likewise.
86638         * conform/data/cpio.h-data: Likewise.
86639         * conform/data/ctype.h-data: Likewise.
86640         * conform/data/dirent.h-data: Likewise.
86641         * conform/data/dlfcn.h-data: Likewise.
86642         * conform/data/errno.h-data: Likewise.
86643         * conform/data/fcntl.h-data: Likewise.
86644         * conform/data/float.h-data: Likewise.
86645         * conform/data/fmtmsg.h-data: Likewise.
86646         * conform/data/fnmatch.h-data: Likewise.
86647         * conform/data/ftw.h-data: Likewise.
86648         * conform/data/glob.h-data: Likewise.
86649         * conform/data/grp.h-data: Likewise.
86650         * conform/data/iconv.h-data: Likewise.
86651         * conform/data/inttypes.h-data: Likewise.
86652         * conform/data/langinfo.h-data: Likewise.
86653         * conform/data/libgen.h-data: Likewise.
86654         * conform/data/limits.h-data: Likewise.
86655         * conform/data/locale.h-data: Likewise.
86656         * conform/data/math.h-data: Likewise.
86657         * conform/data/monetary.h-data: Likewise.
86658         * conform/data/mqueue.h-data: Likewise.
86659         * conform/data/ndbm.h-data: Likewise.
86660         * conform/data/net/if.h-data: Likewise.
86661         * conform/data/netdb.h-data: Likewise.
86662         * conform/data/netinet/in.h-data: Likewise.
86663         * conform/data/nl_types.h-data: Likewise.
86664         * conform/data/poll.h-data: Likewise.
86665         * conform/data/pthread.h-data: Likewise.
86666         * conform/data/pwd.h-data: Likewise.
86667         * conform/data/regex.h-data: Likewise.
86668         * conform/data/sched.h-data: Likewise.
86669         * conform/data/search.h-data: Likewise.
86670         * conform/data/semaphore.h-data: Likewise.
86671         * conform/data/setjmp.h-data: Likewise.
86672         * conform/data/signal.h-data: Likewise.
86673         * conform/data/spawn.h-data: Likewise.
86674         * conform/data/stdarg.h-data: Likewise.
86675         * conform/data/stdio.h-data: Likewise.
86676         * conform/data/stdlib.h-data: Likewise.
86677         * conform/data/string.h-data: Likewise.
86678         * conform/data/strings.h-data: Likewise.
86679         * conform/data/stropts.h-data: Likewise.
86680         * conform/data/sys/ipc.h-data: Likewise.
86681         * conform/data/sys/mman.h-data: Likewise.
86682         * conform/data/sys/msg.h-data: Likewise.
86683         * conform/data/sys/resource.h-data: Likewise.
86684         * conform/data/sys/select.h-data: Likewise.
86685         * conform/data/sys/sem.h-data: Likewise.
86686         * conform/data/sys/shm.h-data: Likewise.
86687         * conform/data/sys/socket.h-data: Likewise.
86688         * conform/data/sys/stat.h-data: Likewise.
86689         * conform/data/sys/statvfs.h-data: Likewise.
86690         * conform/data/sys/time.h-data: Likewise.
86691         * conform/data/sys/timeb.h-data: Likewise.
86692         * conform/data/sys/times.h-data: Likewise.
86693         * conform/data/sys/types.h-data: Likewise.
86694         * conform/data/sys/uio.h-data: Likewise.
86695         * conform/data/sys/un.h-data: Likewise.
86696         * conform/data/sys/utsname.h-data: Likewise.
86697         * conform/data/sys/wait.h-data: Likewise.
86698         * conform/data/syslog.h-data: Likewise.
86699         * conform/data/tar.h-data: Likewise.
86700         * conform/data/termios.h-data: Likewise.
86701         * conform/data/utime.h-data: Likewise.
86702         * conform/data/utmpx.h-data: Likewise.
86703         * conform/data/varargs.h-data: Likewise.
86704         * conform/data/wchar.h-data: Likewise.
86705         * conform/data/wctype.h-data: Likewise.
86706         * conform/data/wordexp.h-data: Likewise.
86708         * include/stropts.h: New file.
86709         * include/uchar.h: New file.
86710         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86711         * include/assert.h: Likewise.
86712         * include/ctype.h: Likewise.
86713         * include/dirent.h: Likewise.
86714         * include/dlfcn.h: Likewise.
86715         * include/fcntl.h: Likewise.
86716         * include/fnmatch.h: Likewise.
86717         * include/glob.h: Likewise.
86718         * include/grp.h: Likewise.
86719         * include/libio.h: Likewise.
86720         * include/locale.h: Likewise.
86721         * include/math.h: Likewise.
86722         * include/net/if.h: Likewise.
86723         * include/netdb.h: Likewise.
86724         * include/netinet/in.h: Likewise.
86725         * include/pthread.h: Likewise.
86726         * include/pwd.h: Likewise.
86727         * include/regex.h: Likewise.
86728         * include/sched.h: Likewise.
86729         * include/search.h: Likewise.
86730         * include/setjmp.h: Likewise.
86731         * include/signal.h: Likewise.
86732         * include/stdio.h: Likewise.
86733         * include/stdlib.h: Likewise.
86734         * include/string.h: Likewise.
86735         * include/sys/cdefs.h: Likewise.
86736         * include/sys/mman.h: Likewise.
86737         * include/sys/msg.h: Likewise.
86738         * include/sys/resource.h: Likewise.
86739         * include/sys/select.h: Likewise.
86740         * include/sys/socket.h: Likewise.
86741         * include/sys/stat.h: Likewise.
86742         * include/sys/statvfs.h: Likewise.
86743         * include/sys/time.h: Likewise.
86744         * include/sys/times.h: Likewise.
86745         * include/sys/uio.h: Likewise.
86746         * include/sys/utsname.h: Likewise.
86747         * include/sys/wait.h: Likewise.
86748         * include/termios.h: Likewise.
86749         * include/time.h: Likewise.
86750         * include/ulimit.h: Likewise.
86751         * include/unistd.h: Likewise.
86752         * include/utime.h: Likewise.
86753         * include/wchar.h: Likewise.
86754         * include/wctype.h: Likewise.
86755         * include/wordexp.h: Likewise.
86757         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86759         * time/time.h: TIME_UTC must be a macro.
86760         Make timespec_get available for ISO C11 only as well.
86762 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86764         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86765         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86767 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86769         * configure.in: Use -o not -a in test for unsupported multi-arch.
86771 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86773         * manual/texinfo.tex: Update to version 2012-01-19.16.
86775 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86777         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86779 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86781         [BZ #13738]
86782         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86783         * manual/fdl-1.3.texi: New file.
86784         * manual/fdl-1.1.texi: File removed.
86786         [BZ #13738]
86787         * manual/libc.texinfo (FDL_VERSION): New @set.
86788         Use it for mention of FDL in cover text.
86789         (Documentation License): Use it in @include file name.
86791 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86792             Roland McGrath  <roland@hack.frob.com>
86794         [BZ #5461]
86795         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86796         (not LONG_LONG_MAX and LONG_LONG_MIN.
86797         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86798         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86799         name.
86800         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86802 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86804         [BZ #2547]
86805         [BZ #11365]
86806         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86807         manipulate bits before adding and subtracting TWO23[sx].
86808         * math/libm-test.inc (nearbyint_test): Add more tests.
86810 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86812         [BZ #2548]
86813         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86814         bits before adding and subtracting TWO23[sx].
86815         * math/libm-test.inc (rint_test): Add more tests.
86816         (rint_test_tonearest): Likewise.
86817         (rint_test_towardzero): Likewise.
86818         (rint_test_downward): Likewise.
86819         (rint_test_upward: Likewise.
86821 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86823         [BZ #10110]
86824         * include/stdc-predef.h: New file.  Extracted from features.h.
86825         * include/features.h: Include stdc-predef.h.
86826         * Makefile (headers): Add stdc-predef.h.
86827         * CONFORMANCE (Compiler limitations): Update.
86829 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86831         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86833 2012-02-21  David S. Miller  <davem@davemloft.net>
86835         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86836         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86838 2012-02-20  David S. Miller  <davem@davemloft.net>
86840         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86841         using a normal save/restore sequence, rather than allocating a
86842         dummy stack frame just to store a frame pointer and restore.
86843         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86845 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86847         * manual/install.texi: Fix stray word in line-wrapped comment.
86849 2012-02-20  David S. Miller  <davem@davemloft.net>
86851         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86852         both binutils and gcc support GOTDATA.
86854         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86855         "rd %pc" in the PIC register setup sequences.
86857         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86858         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86859         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86860         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86861         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86863         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86866         (SYSCALL_ERROR_HANDLER): Likewise.
86867         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86868         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86870         (SYSCALL_ERROR_HANDLER): Likewise.
86872         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86873         (HAVE_GCC_GOTDATA): New.
86874         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86875         relocation support in both binutils and gcc.
86876         * sysdeps/sparc/elf/configure: Regenerate.
86878         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86879         * sysdeps/sparc/sparc32/elf/configure: Delete.
86880         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86881         * sysdeps/sparc/sparc64/elf/configure: Delete.
86882         * sysdeps/sparc/elf/configure.in: New file.
86883         * sysdeps/sparc/elf/configure: Generate.
86885         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86886         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86887         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86888         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86889         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86891 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86893         * manual/install.texi: Do not mention specific glibc version
86894         numbers.
86895         * manual/libc.texinfo (VERSION, UPDATED): Update.
86896         (@copying): Use @copyright{} and range of years.
86898 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86900         [BZ #13695]
86901         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86902         [crti.S not in sysdirs] (generated): Do not append.
86903         [crti.S not in sysdirs] (omit-deps): Likewise.
86904         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86905         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86906         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86907         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86908         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86909         Likewise.
86910         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86911         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86912         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86913         * csu/defs.awk: Remove file.
86914         * sysdeps/generic/initfini.c: Likewise.
86915         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86916         variable.
86917         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86918         Likewise.
86920 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86922         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86923         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86924         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86925         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86926         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86927         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86928         <bits/epoll.h>.
86929         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86930         (__EPOLL_PACKED): Define to empty if not defined by
86931         <bits/epoll.h>.
86932         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86934         bits/epoll.h.
86936 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86938         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86939         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86940         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86941         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86942         <bits/timerfd.h>.
86943         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86945         bits/timerfd.h.
86947 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86949         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86950         in C locale.
86951         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86952         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86953         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86956 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86958         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86959         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86961 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86963         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86964         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86965         defined.
86966         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86967         Likewise.
86968         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86969         entry for 2.16.
86971 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86973         * math/w_acos.c: Use non-signaling floating-point comparisons.
86974         * math/w_acosf.c: Likewise.
86975         * math/w_acosh.c: Likewise.
86976         * math/w_acoshf.c: Likewise.
86977         * math/w_acoshl.c: Likewise.
86978         * math/w_acosl.c: Likewise.
86979         * math/w_asin.c: Likewise.
86980         * math/w_asinf.c: Likewise.
86981         * math/w_asinl.c: Likewise.
86982         * math/w_atanh.c: Likewise.
86983         * math/w_atanhf.c: Likewise.
86984         * math/w_atanhl.c: Likewise.
86985         * math/w_exp2.c: Likewise.
86986         * math/w_exp2f.c: Likewise.
86987         * math/w_exp2l.c: Likewise.
86988         * math/w_j0.c: Likewise.
86989         * math/w_j0f.c: Likewise.
86990         * math/w_j0l.c: Likewise.
86991         * math/w_j1.c: Likewise.
86992         * math/w_j1f.c: Likewise.
86993         * math/w_j1l.c: Likewise.
86994         * math/w_jn.c: Likewise.
86995         * math/w_jnf.c: Likewise.
86996         * math/w_log.c: Likewise.
86997         * math/w_log10.c: Likewise.
86998         * math/w_log10f.c: Likewise.
86999         * math/w_log10l.c: Likewise.
87000         * math/w_log2.c: Likewise.
87001         * math/w_log2f.c: Likewise.
87002         * math/w_log2l.c: Likewise.
87003         * math/w_logf.c: Likewise.
87004         * math/w_logl.c: Likewise.
87005         * math/w_sqrt.c: Likewise.
87006         * math/w_sqrtf.c: Likewise.
87007         * math/w_sqrtl.c: Likewise.
87008         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87009         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
87010         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87011         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87012         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87014 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87016         [BZ #9739]
87017         * manual/string.texi (strnlen): Use correct parameter name in
87018         equivalent expression.
87020 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87022         [BZ #11174]
87023         * manual/users.texi (seteuid): Consistently use neweuid for
87024         argument name.
87026 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87028         [BZ #13704]
87029         * manual/nss.texi (Services in the NSS configuration): Correct
87030         list of services in example configuration file.
87032 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
87034         [BZ #11322]
87035         * manual/arith.texi: Remove statements about negative zero
87036         behaving identically to zero.
87038 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87040         [BZ #5993]
87041         * manual/install.texi: Do not document upgrading from libc5.
87043 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87045         [BZ #4596]
87046         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
87048 2012-02-18  David S. Miller  <davem@davemloft.net>
87050         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
87051         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
87052         %o7 across the call.
87053         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
87054         instead.
87055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
87056         SETUP_PIC_REG_LEAF.
87057         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87058         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
87059         * sysdeps/sparc/crtn.S: Likewise.
87061 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
87063         * aout/Makefile: Remove.
87065 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
87067         [BZ #13058]
87068         * manual/examples/argp-ex1.c (main): Format definition in GNU
87069         style.
87070         * manual/examples/argp-ex2.c (main): Likewise.
87071         * manual/examples/argp-ex3.c (main): Likewise.
87072         * manual/examples/argp-ex4.c (main): Likewise.
87073         * manual/examples/longopt.c (main): Use new-style prototype
87074         definition.
87075         * manual/examples/strncat.c (main): Specify return type and use
87076         (void) for arguments.
87077         * manual/examples/subopt.c (main): Use char **argv argument.
87079 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87081         [BZ #5077]
87082         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
87083         rounding modes.
87085 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
87087         [BZ #6907]
87088         * manual/string.texi (strchr): Change when strchrnul is
87089         recommended.
87091 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
87093         [BZ #174]
87094         * manual/locale.texi (setlocale): Document LOCPATH.
87096 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87098         [BZ #10210]
87099         * manual/process.texi (execle): Move @dots{} before last argument.
87101 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
87103         [BZ #12047]
87104         * manual/charset.texi (Generic Charset Conversion): Fix typo
87105         (LC_TYPE -> LC_CTYPE).
87107 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
87109         [BZ #5805]
87110         * manual/arith.texi (scalbn): Use @var{} on parameter names.
87111         (scalbnf): Likewise.
87112         (scalbnl): Likewise.
87113         (scalbln): Likewise.
87114         (scalblnf): Likewise.
87115         (scalblnl): Likewise.
87116         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87117         (vwarnx): Likewise.
87118         (verr): Likewise.
87119         (verrx): Likewise.
87120         * manual/filesys.texi (telldir): Use braces around return type.
87121         * manual/llio.texi (mmap): Add space after comma.
87122         (mmap64): Likewise.
87123         * manual/math.texi (jn): Use @var{} on parameter names.
87124         (jnf): Likewise.
87125         (jnl): Likewise.
87126         (yn): Likewise.
87127         (ynf): Likewise.
87128         (ynl): Likewise.
87129         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87130         line.
87131         * manual/resource.texi (ulimit): Use @dots{} instead of literal
87132         "...".
87133         (sched_get_priority_min): Remove semicolon on @deftypefun line.
87134         (sched_get_priority_max): Likewise.
87135         * manual/signal.texi (sigvec): Add space after comma.
87136         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87137         names.
87138         (if_indextoname): Likewise.
87139         (if_freenameindex): Likewise.
87140         (sendto): Use ',' instead of '.' in prototype.
87141         * manual/startup.texi (syscall): Use @dots{} instead of literal
87142         "...".
87143         * manual/stdio.texi (__fpending): Separate initial words of
87144         paragraph from @deftypefun line.
87145         * manual/syslog.texi (syslog): Use @dots{} instead of literal
87146         "...".
87147         (vsyslog): Use @var{} on parameter names.
87148         * manual/terminal.texi (stty): Use @var{} on parameter names.
87149         * manual/users.texi (getutmp): Use @var{} on parameter names.
87150         (getutmpx): Likewise.
87152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87154         [BZ #6884]
87155         * manual/stdio.texi (fopen): Fix typos in description of
87156         ",ccs=STRING".
87158 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
87160         [BZ #4026]
87161         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87162         get clock_id definition.
87164 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
87166         [BZ #4822]
87167         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87168         (madvise): Cast every argument to void on its own.
87170 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87172         [BZ #9902]
87173         * manual/startup.texi (Exit Status): Fix typo.
87175 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87177         [BZ #10140]
87178         * manual/examples/argp-ex1.c: Include <stdlib.h>.
87179         * manual/examples/argp-ex2.c: Likewise.
87180         * manual/examples/argp-ex3.c: Likewise.
87182 2012-02-16  Richard Henderson  <rth@redhat.com>
87184         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87185         * sysdeps/s390/s390-32/initfini.c: Remove.
87186         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87187         * sysdeps/s390/s390-64/initfini.c: Remove.
87189 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
87191         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87192         compiler output for sysdeps/generic/initfini.c.
87193         * sysdeps/sh/elf/initfini.c: Remove file.
87195 2012-02-16  David S. Miller  <davem@davemloft.net>
87197         [BZ #11494]
87198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87200         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87201         * sysdeps/sparc/crti.S: New file.
87202         * sysdeps/sparc/crtn.S: New file.
87203         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87204         * sysdeps/sparc/sparc64/Makefile: Likewise.
87206 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
87208         [BZ #3335]
87209         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87211 2012-02-15  Roland McGrath  <roland@hack.frob.com>
87213         [BZ #4822]
87214         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87216         * mach/devstream.c (cookie_io_functions_t): Macro removed.
87217         (write, read, close): Likewise.
87218         Patch by Aurelien Jarno <aurelien@aurel32.net>.
87220 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
87222         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87223         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87224         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87225         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87226         <bits/signalfd.h>.
87227         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87229         bits/signalfd.h.
87231 2012-02-14  Marek Polacek  <polacek@redhat.com>
87233         * sysdeps/x86_64/crti.S: New file.
87234         * sysdeps/x86_64/crtn.S: New file.
87235         * sysdeps/x86_64/elf/initfini.c: Remove file.
87237 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87239         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87240         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87241         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87242         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87243         <bits/inotify.h>.
87244         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87246         bits/inotify.h.
87248 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87250         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87251         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87252         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87253         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87254         <bits/eventfd.h>.
87255         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87256         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87257         bits/eventfd.h.
87259 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87261         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87262         __feraiseexcept instead of feraiseexcept.
87264         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87265         nanosleep invocations.
87266         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87267         strings, and add error checking for a nanosleep invocations.
87269 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87271         Replace FSF snail mail address with URLs, as per GNU coding standards.
87272         Most of the snail mail addresses were wrong anyway, and omitting
87273         them makes the source code easier to maintain.  Almost all of the
87274         changes are to license notices and to locale LC_IDENTIFICATION
87275         addresses, except for this one:
87276         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87277         not its snail mail address.
87279 2012-02-09  Richard Henderson  <rth@twiddle.net>
87281         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87282         of kernel-features.h.
87284         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87286 2012-02-08  Marek Polacek  <polacek@redhat.com>
87288         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87289         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87290         * sysdeps/gnu/_G_config.h: Likewise.
87291         * sysdeps/generic/_G_config.h: Likewise.
87293 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87295         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87296         tests.
87297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87299         * sysdeps/powerpc/powerpc32/crti.S: New file.
87300         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87301         * sysdeps/powerpc/powerpc64/crti.S: New file.
87302         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87304         * Makeconfig (have-initfini): Don't set.
87305         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87306         * configure.in (nopic_initfini): Don't substitute.
87307         * config.h.in (HAVE_INITFINI): Don't #undef.
87308         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87309         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87311 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87313         Support crti.S and crtn.S provided directly by architectures.
87314         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87315         [crti.S in sysdirs] (omit-deps): Likewise.
87316         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87317         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87318         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87319         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87320         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87321         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87322         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87323         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87324         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87325         compiler output for sysdeps/generic/initfini.c.
87326         * sysdeps/i386/elf/Makefile: Remove file.
87327         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87329 2012-02-07  Marek Polacek  <polacek@redhat.com>
87331         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87332         * sysdeps/gnu/_G_config.h: Likewise.
87333         * sysdeps/mach/hurd/_G_config.h: Likewise.
87335 2012-02-07  Marek Polacek  <polacek@redhat.com>
87337         * math/Makefile (tests): Add tst-CMPLX2.
87338         * math/tst-CMPLX2.c: New file.
87340 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87342         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87344         * math/libm-test.inc (jn_test): Add missing L suffix.
87346 2012-02-06  Marek Polacek  <polacek@redhat.com>
87348         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87349         * sysdeps/i386/fpu/e_powf.S: Likewise.
87350         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87351         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87352         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87353         * sysdeps/i386/fpu/e_pow.S: Likewise.
87354         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87355         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87356         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87357         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87358         * sysdeps/i386/fpu/e_log2.S: Likewise.
87359         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87360         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87361         * sysdeps/i386/fpu/e_powl.S: Likewise.
87362         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87363         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87364         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87365         * sysdeps/i386/fpu/e_logl.S: Likewise.
87366         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87367         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87368         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87369         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87370         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87371         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87372         * sysdeps/i386/fpu/e_log.S: Likewise.
87373         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87374         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87375         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87376         * sysdeps/i386/fpu/e_logf.S: Likewise.
87377         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87378         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87379         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87380         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87381         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87382         * sysdeps/i386/fpu/e_log10.S: Likewise.
87383         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87384         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87385         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87386         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87387         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87388         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87389         * sysdeps/i386/asm-syntax.h: Likewise.
87390         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87391         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87392         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87393         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87394         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87395         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87396         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87397         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87398         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87399         * sysdeps/powerpc/sysdep.h: Likewise.
87400         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87401         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87403 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87405         [BZ #411]
87406         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87408 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87410         * sysdeps/i386/sysdep.h: Include <features.h>.
87411         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87412         version.
87414 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87416         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87417         Define.
87418         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87419         LOAD_PIC_REG_STR.
87421 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87423         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87424         (SETUP_PIC_REG): Use GET_PC_THUNK.
87425         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87426         macro.
87428 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87430         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87431         for non-PIC compilation.
87432         (SETUP_PIC_REG): Add .p2align directive.
87433         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87434         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87435         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87436         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87437         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87438         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87439         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87440         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87441         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87442         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87443         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87444         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87445         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87446         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87447         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87448         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87449         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87450         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87451         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87452         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87453         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87454         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87455         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87456         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87457         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87458         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87459         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87460         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87461         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87462         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87463         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87464         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87465         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87466         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87467         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87468         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87469         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87470         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87471         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87472         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87473         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87475 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87477         * math/tst-CMPLX.c: Include <stdio.h>.
87479 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87481         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87482         float.
87483         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87484         * sysdeps/sparc/bits/mathdef.h: Likewise.
87486 2012-01-31  Marek Polacek  <polacek@redhat.com>
87488         * libio/libio.h: Don't define _PARAMS.
87489         * locale/programs/config.h: Don't define PARAMS.
87490         * stdlib/strtol_l.c: Likewise.
87491         (__strtol_l): Remove PARAMS from the prototype.
87493 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87495         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87496         names.  Just use the correct names.  Remove unnecessary wrapper
87497         functions.
87498         * malloc/arena.c: Likewise.
87499         * malloc/hooks.c: Likewise.
87501         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87502         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87503         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87505 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87507         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87508         into tail calls.
87509         (update_get_addr): New function.
87510         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87511         GET_ADDR_MODULE parameter.
87513 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87515         * crypt/cert.c: Remove __STDC__ conditionals.
87516         * crypt/crypt-entry.c: Likewise.
87517         * crypt/crypt_util.c: Likewise.
87518         * libio/filedoalloc.c: Likewise.
87519         * libio/fileops.c: Likewise.
87520         * libio/genops.c: Likewise.
87521         * libio/iofclose.c: Likewise.
87522         * libio/iofdopen.c: Likewise.
87523         * libio/iofopen.c: Likewise.
87524         * libio/iofopen64.c: Likewise.
87525         * libio/iogetdelim.c: Likewise.
87526         * libio/iopopen.c: Likewise.
87527         * libio/obprintf.c: Likewise.
87528         * libio/oldfileops.c: Likewise.
87529         * libio/oldiofclose.c: Likewise.
87530         * libio/oldiofdopen.c: Likewise.
87531         * libio/oldiofopen.c: Likewise.
87532         * libio/oldiopopen.c: Likewise.
87533         * libio/wfiledoalloc.c: Likewise.
87534         * libio/wgenops.c: Likewise.
87535         * locale/programs/xmalloc.c: Likewise.
87536         * misc/syslog.c: Likewise.
87537         * stdio-common/xbug.c: Likewise.
87538         * string/memchr.c: Likewise.
87539         * string/memcmp.c: Likewise.
87540         * string/memrchr.c: Likewise.
87541         * string/rawmemchr.c: Likewise.
87542         * sysdeps/posix/getcwd.c: Likewise.
87543         * time/strftime_l.c: Likewise.
87545 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87547         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87548         * config.make.in (config-cflags-sse2avx): Define.
87549         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87550         Fix typo.
87552 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87554         * scripts/config.guess: Update from upstream config git repository.
87555         * scripts/config.sub: Likewise.
87557 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87559         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87560         (EM_NUM): Update.
87561         (R_TILEPRO_*, R_TILEGX_*): New macros.
87563         * scripts/firstversions.awk: Fix bug in version range handling.
87565         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87567         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87569         * include/sys/epoll.h: New file.
87570         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87571         libc_hidden_def.
87573 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87575         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87576         Avoid unnecessary __WORDSIZE == 64 test.
87577         (fmaxf): Use VEX format if possible.
87578         (fmax): Likewise.
87579         (fminf): Likewise.
87580         (fmin): Likewise.
87582         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87583         * math/math_private.h: Remove libc_fegetround* and
87584         libc_fesetround*.
87585         * sysdeps/i386/configure.in: Check for -msse2avx.
87586         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87587         also if SSE2AVX is defined.
87588         Remove libc_fegetround* and libc_fesetround*.
87589         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87590         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87591         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87592         of HAS_YMM_USABLE.
87593         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87594         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87595         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87596         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87599         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87601 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87603         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87604         size is not set.
87605         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87607 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87609         [BZ #13618]
87610         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87611         relocation.
87612         * Makeconfig (libm): Define.
87613         * elf/Makefile: Add rules to build and run tst-relsort1.
87614         * elf/tst-relsort1.c: New file.
87615         * elf/tst-relsort1mod1.c: New file.
87616         * elf/tst-relsort1mod2.c: New file.
87618 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87620         * math/s_ldexp.c: Remove __STDC__ conditionals.
87621         * math/s_ldexpf.c: Likewise.
87622         * math/s_ldexpl.c: Likewise.
87623         * math/s_nextafter.c: Likewise.
87624         * math/s_nexttowardf.c: Likewise.
87625         * math/s_significand.c: Likewise.
87626         * math/s_significandf.c: Likewise.
87627         * math/s_significandl.c: Likewise.
87628         * math/w_jnl.c: Likewise.
87629         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87630         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87631         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87632         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87633         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87634         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87635         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87636         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87637         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87638         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87639         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87641         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87642         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87643         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87644         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87645         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87646         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87647         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87648         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87649         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87650         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87651         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87652         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87653         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87654         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87655         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87656         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87657         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87658         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87659         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87660         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87661         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87662         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87663         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87664         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87665         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87666         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87667         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87668         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87669         * sysdeps/ieee754/k_standard.c: Likewise.
87670         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87671         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87672         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87673         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87674         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87675         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87676         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87677         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87678         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87679         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87680         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87681         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87682         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87683         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87684         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87685         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87686         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87687         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87688         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87689         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87690         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87691         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87692         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87693         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87694         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87695         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87696         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87697         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87698         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87699         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87700         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87701         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87702         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87703         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87704         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87705         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87706         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87707         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87708         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87709         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87710         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87712         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87713         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87714         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87715         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87716         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87718         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87719         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87720         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87721         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87722         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87723         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87724         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87725         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87726         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87727         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87728         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87729         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87730         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87731         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87732         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87733         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87734         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87735         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87736         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87737         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87738         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87739         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87740         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87741         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87742         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87743         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87744         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87745         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87746         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87747         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87748         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87749         * sysdeps/ieee754/s_matherr.c: Likewise.
87750         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87751         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87752         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87753         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87755 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87757         * crypt/md5.h: Remove __STDC__ conditionals.
87758         * libio/libioP.h: Likewise.
87759         * locale/programs/config.h: Likewise.
87760         * sysdeps/generic/sysdep.h: Likewise.
87761         * sysdeps/i386/asm-syntax.h: Likewise.
87762         * sysdeps/s390/asm-syntax.h: Likewise.
87763         * sysdeps/unix/sysdep.h: Likewise.
87764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87767 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87769         * libio/libio.h: Remove __STDC__ conditionals.
87770         * malloc/obstack.h: Likewise.
87771         * math/complex.h: Likewise.
87772         * math/math.h: Likewise.
87773         * sysdeps/generic/_G_config.h: Likewise.
87774         * sysdeps/gnu/_G_config.h: Likewise.
87775         * sysdeps/mach/hurd/_G_config.h: Likewise.
87776         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87777         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87778         * sysdeps/sparc/bits/mathdef.h: Likewise.
87780 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87782         [BZ #13583]
87783         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87784         Clean up HAS_* macros.
87785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87786         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87787         possible.
87788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87789         HAS_AVX.
87790         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87791         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87792         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87793         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87794         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87796 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87798         * elf/tst-unique3.cc (gets): Remove declaration.
87799         * elf/tst-unique3lib.cc (gets): Likewise.
87800         * elf/tst-unique3lib2.cc (gets): Likewise.
87801         * elf/tst-unique4.cc (gets): Likewise.
87803 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87805         * include/stdio.h: Add C++ protection.  Add gets declarations and
87806         definitions.
87807         * debug/tst-chk1.c: Don't declare gets here.
87808         * stdio-common/tst-gets.c: Likewise.
87810 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87812         * posix/glob: Remove directory.
87814 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87816         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87818 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87820         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87821         of the non-standard EPFNOSUPPORT.
87823 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87825         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87826         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87827         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87829 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87831         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87833 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87835         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87836         transient errors.
87837         * nscd/grpcache.c (cache_addgr): Likewise.
87838         * nscd/hstcache.c (cache_addhst): Likewise.
87839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87840         * nscd/pwdcache.c (cache_addpw): Likewise.
87841         * nscd/servicescache.c (cache_addserv): Likewise.
87843 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87845         * malloc/malloc.c: Various cleanups.
87846         * malloc/hooks.c: Likewise.
87848         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87849         * stdlib/bug-fmtmsg1.c: New file.
87851         * stdlib/fmtmsg.c (init): Add missing unlock.
87852         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87854 2012-01-12  Marek Polacek  <polacek@redhat.com>
87856         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87857         and _GNU_SOURCE.
87859 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87861         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87862         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87863         macro to ensure uniqueness of label name.
87864         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87865         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87867 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87869         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87871         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87872         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87873         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87874         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87876 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87878         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87880         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87881         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87882         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87884         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87886         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87887         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87888         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87891         * math/bits/math-finite.h: Add ldexp support.
87893 2012-01-10  Marek Polacek  <polacek@redhat.com>
87895         * locale/programs/localedef.h (show_archive_content): Add noreturn
87896         attribute.
87898 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87900         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87902 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87904         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87906         * io/Makefile (headers): Add bits/poll2.h.
87908 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87911         typo #include statement.
87913 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87915         * include/sys/cdefs.h: Define __attribute_alloc_size.
87916         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87917         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87918         * elf/pldd.c: Likewise.
87919         * iconv/iconv_charmap.c: Likewise.
87920         * iconv/iconvconfig.c: Likewise.
87921         * iconv/strtab.c: Likewise.
87922         * locale/programs/locale.c: Likewise.
87923         * locale/programs/localedef.h: Likewise.
87924         * locale/programs/simple-hash.c: Likewise.
87925         * nscd/nscd.h: Likewise.
87926         * nss/makedb.c: Likewise.
87927         * sysdeps/generic/ldconfig.h: Likewise.
87928         * locale/programs/localedef.c: Remove xmalloc prototype.
87929         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87931 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87933         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87934         appropriate.
87936 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87938         * math/Makefile (tests): Add tst-CMPLX.
87939         * math/tst-CMPLX.c: New file.
87941         * math/complex.h (CMPLXL): Fix typo.
87943         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87944         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87945         GLIBC_2.16.
87946         * debug/tst-chk1.c: Add poll and ppoll tests.
87947         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87948         * include/sys/poll.h: Add hidden proto for ppoll.
87949         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87950         * sysdeps/mach/hurd/ppoll.c: Likewise.
87951         * io/ppoll.c: Likewise.
87952         * debug/poll_chk.c: New file.
87953         * debug/ppoll_chk.c: New file.
87954         * include/bits/poll2.h: New file.
87955         * io/bits/poll2.h: New file.
87957         [BZ #1350]
87958         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87960         * configure.in: static is always set to yes.  Remove.
87961         * config.make.in: Don't set build-static.
87962         * Makeconfig: Remove use of build-static.
87963         * dlfcn/Makefile: Likewise.
87964         * elf/Makefile: Likewise.
87965         * math/Makefile: Likewise.
87966         * misc/Makefile: Likewise.
87967         * nptl/Makefile: Likewise.
87968         * sysdeps/mach/hurd/Makefile: Likewise.
87970         * configure.in: PWD_P is not used anymore.
87971         * config.make.in: Remove PWD_P entry.
87973         * configure.in: Remove last remnants of RANLIB.
87974         No need to check for signed size_t anymore.
87975         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87976         and IA-64.
87977         Remove __builtin_expect test because we require at least gcc 3.4.
87978         * aclocal.m4: Likewise.
87980         * wcsmbs/mbrtoc16.c: Implement using towc function.
87981         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87982         * wcsmbs/wcsmbsload.c: Likewise.
87983         * iconv/gconv_simple.c: Likewise.
87984         * iconv/gconv_int.h: Likewise.
87985         * iconv/gconv_builtin.h: Likewise.
87986         * iconv/iconv_prog.c: Remove CHAR16 handling.
87988         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87990         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87992         * configure.in: Remove --with-elf and --enable-bounded options.
87993         Dont set base_machine for ia64.  More non-ELF conditions removed.
87994         Remove testing and setting of leading underscore information.
87995         * config.make.in (build-bounded): Set to no.
87996         * config.h.in: Remove NO_UNDERSCORES entry.
87997         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87998         them.
87999         * csu/start.c: Remove !NO_UNDERSCORE code.
88000         * locale/localeinfo.h: Likewise.
88001         * sysdeps/generic/machine-gmon.h: Likewise.
88002         * sysdeps/generic/sysdep.h: Likewise.
88003         * sysdeps/i386/sysdep.h: Likewise.
88004         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88005         * sysdeps/mach/sysdep.h: Likewise.
88006         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88007         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88008         * sysdeps/sh/sysdep.h: Likewise.
88009         * sysdeps/sparc/sparc32/alloca.S: Likewise.
88010         * sysdeps/unix/i386/sysdep.S: Likewise.
88011         * sysdeps/unix/sparc/start.c: Likewise.
88012         * sysdeps/unix/sparc/sysdep.S: Likewise.
88013         * sysdeps/unix/sparc/sysdep.h: Likewise.
88014         * sysdeps/unix/start.c: Likewise.
88015         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88016         * sysdeps/x86_64/sysdep.h: Likewise.
88018 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
88020         [BZ #13553]
88021         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
88022         for non-gcc.
88023         * argp/argp-fmtstream.h: Use const instead __const.
88024         * argp/argp.h: Likewise.
88025         * assert/assert.h: Likewise.
88026         * bits/fenv.h: Likewise.
88027         * bits/sched.h: Likewise.
88028         * bits/sigset.h: Likewise.
88029         * bits/sigthread.h: Likewise.
88030         * catgets/nl_types.h: Likewise.
88031         * conform/data/pthread.h-data: Likewise.
88032         * crypt/crypt-private.h: Likewise.
88033         * crypt/crypt.h: Likewise.
88034         * crypt/crypt_util.c: Likewise.
88035         * ctype/ctype.h: Likewise.
88036         * debug/execinfo.h: Likewise.
88037         * debug/mbsnrtowcs_chk.c: Likewise.
88038         * debug/mbsrtowcs_chk.c: Likewise.
88039         * debug/wcsnrtombs_chk.c: Likewise.
88040         * debug/wcsrtombs_chk.c: Likewise.
88041         * debug/wcstombs_chk.c: Likewise.
88042         * dirent/dirent.h: Likewise.
88043         * dlfcn/dlfcn.h: Likewise.
88044         * elf/neededtest4.c: Likewise.
88045         * grp/grp.h: Likewise.
88046         * gshadow/gshadow.h: Likewise.
88047         * iconv/gconv.h: Likewise.
88048         * iconv/gconv_int.h: Likewise.
88049         * iconv/gconv_simple.c: Likewise.
88050         * iconv/iconv.h: Likewise.
88051         * iconv/loop.c: Likewise.
88052         * iconv/skeleton.c: Likewise.
88053         * include/aio.h: Likewise.
88054         * include/aliases.h: Likewise.
88055         * include/argz.h: Likewise.
88056         * include/arpa/inet.h: Likewise.
88057         * include/assert.h: Likewise.
88058         * include/dirent.h: Likewise.
88059         * include/dlfcn.h: Likewise.
88060         * include/execinfo.h: Likewise.
88061         * include/fcntl.h: Likewise.
88062         * include/fenv.h: Likewise.
88063         * include/glob.h: Likewise.
88064         * include/grp.h: Likewise.
88065         * include/libintl.h: Likewise.
88066         * include/mntent.h: Likewise.
88067         * include/netdb.h: Likewise.
88068         * include/pwd.h: Likewise.
88069         * include/rpc/netdb.h: Likewise.
88070         * include/sched.h: Likewise.
88071         * include/search.h: Likewise.
88072         * include/shadow.h: Likewise.
88073         * include/signal.h: Likewise.
88074         * include/stdio.h: Likewise.
88075         * include/stdlib.h: Likewise.
88076         * include/string.h: Likewise.
88077         * include/sys/socket.h: Likewise.
88078         * include/sys/stat.h: Likewise.
88079         * include/sys/statfs.h: Likewise.
88080         * include/sys/statvfs.h: Likewise.
88081         * include/sys/syslog.h: Likewise.
88082         * include/sys/time.h: Likewise.
88083         * include/sys/uio.h: Likewise.
88084         * include/time.h: Likewise.
88085         * include/unistd.h: Likewise.
88086         * include/utmp.h: Likewise.
88087         * include/wchar.h: Likewise.
88088         * include/wctype.h: Likewise.
88089         * inet/aliases.h: Likewise.
88090         * inet/arpa/inet.h: Likewise.
88091         * inet/netinet/ether.h: Likewise.
88092         * inet/netinet/in.h: Likewise.
88093         * intl/libintl.h: Likewise.
88094         * io/bits/fcntl2.h: Likewise.
88095         * io/fcntl.h: Likewise.
88096         * io/ftw.h: Likewise.
88097         * io/sys/poll.h: Likewise.
88098         * io/sys/stat.h: Likewise.
88099         * io/sys/statfs.h: Likewise.
88100         * io/sys/statvfs.h: Likewise.
88101         * io/utime.h: Likewise.
88102         * libio/bits/stdio.h: Likewise.
88103         * libio/bits/stdio2.h: Likewise.
88104         * libio/libio.h: Likewise.
88105         * libio/libioP.h: Likewise.
88106         * libio/stdio.h: Likewise.
88107         * locale/lc-ctype.c: Likewise.
88108         * locale/locale.h: Likewise.
88109         * login/utmp.h: Likewise.
88110         * malloc/arena.c: Likewise.
88111         * malloc/malloc.c: Likewise.
88112         * malloc/malloc.h: Likewise.
88113         * malloc/mcheck.c: Likewise.
88114         * malloc/mtrace.c: Likewise.
88115         * math/bits/mathcalls.h: Likewise.
88116         * math/fenv.h: Likewise.
88117         * math/math_private.h: Likewise.
88118         * misc/bits/error.h: Likewise.
88119         * misc/bits/syslog.h: Likewise.
88120         * misc/err.h: Likewise.
88121         * misc/error.h: Likewise.
88122         * misc/fstab.h: Likewise.
88123         * misc/mntent.h: Likewise.
88124         * misc/regexp.h: Likewise.
88125         * misc/search.h: Likewise.
88126         * misc/sgtty.h: Likewise.
88127         * misc/sys/mman.h: Likewise.
88128         * misc/sys/syslog.h: Likewise.
88129         * misc/sys/uio.h: Likewise.
88130         * misc/sys/xattr.h: Likewise.
88131         * misc/ttyent.h: Likewise.
88132         * nis/rpcsvc/ypclnt.h: Likewise.
88133         * nss/nss.h: Likewise.
88134         * posix/bits/unistd.h: Likewise.
88135         * posix/fnmatch.h: Likewise.
88136         * posix/glob.h: Likewise.
88137         * posix/sched.h: Likewise.
88138         * posix/spawn.h: Likewise.
88139         * posix/sys/wait.h: Likewise.
88140         * posix/unistd.h: Likewise.
88141         * posix/wordexp.h: Likewise.
88142         * pwd/pwd.h: Likewise.
88143         * resolv/netdb.h: Likewise.
88144         * resource/sys/resource.h: Likewise.
88145         * rt/aio.h: Likewise.
88146         * rt/bits/mqueue2.h: Likewise.
88147         * rt/mqueue.h: Likewise.
88148         * shadow/shadow.h: Likewise.
88149         * signal/signal.h: Likewise.
88150         * socket/send.c: Likewise.
88151         * socket/sendto.c: Likewise.
88152         * socket/sys/socket.h: Likewise.
88153         * stdio-common/printf.h: Likewise.
88154         * stdlib/bits/stdlib.h: Likewise.
88155         * stdlib/fmtmsg.h: Likewise.
88156         * stdlib/monetary.h: Likewise.
88157         * stdlib/stdlib.h: Likewise.
88158         * stdlib/ucontext.h: Likewise.
88159         * streams/stropts.h: Likewise.
88160         * string/argz.h: Likewise.
88161         * string/bits/string2.h: Likewise.
88162         * string/string.h: Likewise.
88163         * string/strings.h: Likewise.
88164         * sunrpc/rpc/auth.h: Likewise.
88165         * sunrpc/rpc/auth_des.h: Likewise.
88166         * sunrpc/rpc/clnt.h: Likewise.
88167         * sunrpc/rpc/netdb.h: Likewise.
88168         * sunrpc/rpc/pmap_clnt.h: Likewise.
88169         * sunrpc/rpc/xdr.h: Likewise.
88170         * sysdeps/generic/inttypes.h: Likewise.
88171         * sysdeps/generic/net/if.h: Likewise.
88172         * sysdeps/generic/sys/swap.h: Likewise.
88173         * sysdeps/gnu/net/if.h: Likewise.
88174         * sysdeps/gnu/utmpx.h: Likewise.
88175         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88176         * sysdeps/i386/i486/bits/string.h: Likewise.
88177         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88178         * sysdeps/s390/bits/string.h: Likewise.
88179         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88180         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88181         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88182         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88183         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88184         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88185         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88186         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88187         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88188         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88189         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88190         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88191         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88192         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88193         * sysdeps/unix/sysv/linux/readv.c: Likewise.
88194         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88195         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88197         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88198         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88199         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88200         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88201         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88202         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88203         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88204         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88205         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88206         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88207         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88208         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88209         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88210         * sysvipc/sys/ipc.h: Likewise.
88211         * sysvipc/sys/msg.h: Likewise.
88212         * sysvipc/sys/sem.h: Likewise.
88213         * sysvipc/sys/shm.h: Likewise.
88214         * termios/termios.h: Likewise.
88215         * time/sys/time.h: Likewise.
88216         * time/time.h: Likewise.
88217         * wcsmbs/bits/wchar2.h: Likewise.
88218         * wcsmbs/uchar.h: Likewise.
88219         * wcsmbs/wchar.h: Likewise.
88220         * wctype/wctype.h: Likewise.
88222         [BZ #13551]
88223         * Makeconfig: Remove all but ELF support including AIX support.
88224         * Makerules: Likewise.
88225         * config.h.in: Likewise.
88226         * config.make.in: Likewise.
88227         * configure: Likewise.
88228         * configure.in: Likewise.
88229         * csu/Makefile: Likewise.
88230         * csu/version.c: Likewise.
88231         * debug/Makefile: Likewise.
88232         * dlfcn/Makefile: Likewise.
88233         * elf/Makefile: Likewise.
88234         * extra-lib.mk: Likewise.
88235         * iconv/Makefile: Likewise.
88236         * include/libc-symbols.h: Likewise.
88237         * include/shlib-compat.h: Likewise.
88238         * resolv/Makefile: Likewise.
88239         * resolv/res_libc.c: Likewise.
88240         * rt/Makefile: Likewise.
88241         * sysdeps/i386/asm-syntax.h: Likewise.
88242         * sysdeps/i386/sysdep.h: Likewise.
88243         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88244         * sysdeps/mach/sysdep.h: Likewise.
88245         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88246         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88247         * sysdeps/s390/asm-syntax.h: Likewise.
88248         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88249         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88250         * sysdeps/sh/sysdep.h: Likewise.
88251         * sysdeps/unix/sparc/sysdep.h: Likewise.
88252         * sysdeps/wordsize-32/divdi3.c: Likewise.
88253         * sysdeps/x86_64/sysdep.h: Likewise.
88255         * argp/Versions: Remove _argp_unlock_xxx.
88257         [BZ #13559]
88258         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88259         * abilist/libBrokenLocale.abilist: Likewise.
88260         * abilist/libanl.abilist: Likewise.
88261         * abilist/libc.abilist: Likewise.
88262         * abilist/libcrypt.abilist: Likewise.
88263         * abilist/libdl.abilist: Likewise.
88264         * abilist/libm.abilist: Likewise.
88265         * abilist/libnsl.abilist: Likewise.
88266         * abilist/libpthread.abilist: Likewise.
88267         * abilist/libresolv.abilist: Likewise.
88268         * abilist/librt.abilist: Likewise.
88269         * abilist/libthread_db.abilist: Likewise.
88270         * abilist/libutil.abilist: Likewise.
88271         * abilist/libnss_db.abilist: New file.
88273         * scripts/abilist.awk: Add support for indirect functions.
88275         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88277         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88279         * shlib-versions: Remove entries for ports architectures.
88281         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88282         files in ports.
88283         * elf/stackguard-macros.h: Remove support for IA-64.
88284         * elf/tst-auditmod1.c: Likewise.
88285         * sysdeps/generic/ldsodefs.h: Likewise.
88287         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88288         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88289         configure files.
88291         [BZ #13552]
88292         * configure.in: Remove --enable-omitfp support.
88293         * FAQ.in: Adjust.
88294         * config.make.in: Likewise.
88295         * Makeconfig: Likewise.
88296         * manual/install.texi: Likewise.
88298         In case anyone cares, the IA-64 architecture could move to ports.
88299         * sysdeps/ia64/*: Removed.
88300         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88301         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88303         [BZ #13555]
88304         * configure.in: Remove entries for unsupported architectures.
88306         [BZ #13533]
88307         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88308         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88309         routines.
88310         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88311         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88312         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88313         fall back to using wcrtomb.
88314         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88315         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88316         renaming.
88317         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88318         * wcsmbs/tst-c16c32-1.c: New file.
88320         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88321         local variable.
88323         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88325         * elf/tst-unique3.cc: Add explicit declaration of gets.
88326         * elf/tst-unique3lib.cc: Likewise.
88327         * elf/tst-unique3lib2.cc: Likewise.
88328         * elf/tst-unique4.cc: Likewise.
88330         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88332 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88334         [BZ #13566]
88335         * assert/assert.h (static_assert): Don't define for C++.
88336         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88337         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88339 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88341         * iconv/loop.c (single loop): Fix assertion in storing of
88342         remaining bytes.
88344         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88346 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88348         * posix/getconf.c: Update copyright year.
88349         * nss/getent.c: Likewise.
88350         * nss/makedb.c: Likewise.
88351         * iconv/iconvconfig.c: Likewise.
88352         * iconv/iconv_prog.c: Likewise.
88353         * elf/ldconfig.c: Likewise.
88354         * elf/pldd.c: Likewise.
88355         * elf/sotruss.ksh: Likewise.
88356         * catgets/gencat.c: Likewise.
88357         * csu/version.c: Likewise.
88358         * elf/ldd.bash.in: Likewise.
88359         * elf/sprof.c (print_version): Likewise.
88360         * locale/programs/locale.c: Likewise.
88361         * locale/programs/localedef.c: Likewise.
88362         * login/programs/pt_chown.c: Likewise.
88363         * nscd/nscd.c (print_version): Likewise.
88364         * debug/xtrace.sh: Likewise.
88365         * malloc/memusage.sh: Likewise.
88366         * malloc/mtrace.pl: Likewise.
88367         * debug/catchsegv.sh: Likewise.
88369 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88371         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88372         pure attribute.
88374 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88376         [BZ #13533]
88377         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88378         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88379         transformations.
88380         * iconv/gconv_int.h: Likewise.
88381         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88382         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88383         from libc for GLIBC_2.16.
88384         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88385         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88386         * wcsmbs/uchar.h: Really define mbstate_t.
88387         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88388         * wcsmbs/c16rtomb.c: New file.
88389         * wcsmbs/mbrtoc16.c: New file.
88390         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88391         for C/POSIX locale.
88392         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88393         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88395         * wcsmbs/wchar.h: Add missing __restrict.
88397 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88399         [BZ #13532]
88400         * time/Makefile (routines): Add timespec_get.
88401         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88402         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88403         timespec for ISO C11.
88404         * time/timespec_get.c: New file.
88405         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88406         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88408         [BZ #13531]
88409         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88410         * stdlib/stdlib.h: Declare aligned_alloc.
88411         * Versions.def: Add GLIBC_2.16 for libc.
88412         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88414         [BZ 13527]
88415         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88416         ISO C11.
88418         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88419         code.
88421         [BZ #13528]
88422         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88424         [BZ #13529]
88425         * assert/assert.h (static_assert): Define.
88427         * version.h: Update for 2.16 development version.
88429         [BZ #13526]
88430         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88431         _ISOC11_SOURCE.
88433         * version.h (RELEASE): Bump for 2.15 release.
88434         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88436         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88437         Patch by Marek Polacek <mpolacek@redhat.com>.
88439         * bits/byteswap.h: Protect long long constants with __extension__.
88440         * sysdeps/i386/bits/byteswap.h: Likewise.
88441         * sysdeps/ia64/bits/byteswap.h: Likewise.
88442         * sysdeps/s390/bits/byteswap.h: Likewise.
88443         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88445 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88447         [BZ #13540]
88448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88449         destination buffer.
88450         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88452 2011-12-23  Marek Polacek  <polacek@redhat.com>
88454         * elf/dl-addr.c (determine_info): Add inline keyword.
88455         * elf/tst-auditmod4b.c (check_avx): Likewise.
88456         * elf/tst-auditmod6b.c (check_avx): Likewise.
88457         * elf/tst-auditmod6c.c (check_avx): Likewise.
88458         * elf/tst-auditmod7b.c (check_avx): Likewise.
88460 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88462         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88463         !__SSE_MATH__.
88465 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88467         [BZ #13540]
88468         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88469         processing for last bytes.
88471 2011-08-06  Bruno Haible  <bruno@clisp.org>
88473         [BZ #13061]
88474         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88475         U+0385, not to U+1FEE.
88477         [BZ #13062]
88478         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88479         entry for U+00A5 U+0301.
88481 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88483         [BZ #13166]
88484         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88485         buffer for the output is too small.
88487         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88488         optimization.
88490         [BZ #13185]
88491         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88492         SSE flags if possible.
88494 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88496         [BZ #13540]
88497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88498         processing for last bytes.
88500 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88502         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88503         (syscall-list-default-options, syscall-list-default-condition)
88504         (syscall-list-includes): Define.
88505         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88506         list of ABIs and options and #if conditions for each ABI.  Do not
88507         handle common syscalls between ABIs specially.
88508         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88509         Remove.
88510         (syscall-list-variants, syscall-list-32bit-options)
88511         (syscall-list-32bit-condition, syscall-list-64bit-options)
88512         (syscall-list-64bit-condition): Define.
88513         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88514         (syscall-list-variants, syscall-list-32bit-options)
88515         (syscall-list-32bit-condition, syscall-list-64bit-options)
88516         (syscall-list-64bit-condition): Define.
88517         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88518         Remove.
88519         (syscall-list-variants, syscall-list-32bit-options)
88520         (syscall-list-32bit-condition, syscall-list-64bit-options)
88521         (syscall-list-64bit-condition): Define.
88522         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88523         Remove.
88524         (syscall-list-variants, syscall-list-32bit-options)
88525         (syscall-list-32bit-condition, syscall-list-64bit-options)
88526         (syscall-list-64bit-condition): Define.
88528 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88530         * locale/iso-639.def: Add brx entry.
88532         [BZ #13328]
88533         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88534         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88536         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88537         __feraiseexcept_renamed.
88539 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88541         [BZ #13538]
88542         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88543         EPOLLET with unsigned values.
88544         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88545         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88547         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88548         to large cancellation.
88549         * math/s_cacoshf.c: Likewise.
88550         * math/s_cacoshl.c: Likewise.
88552 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88554         [BZ #13305]
88555         [BZ #12786]
88556         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88557         * math/s_cacoshf.c: Likewise.
88558         * math/s_cacoshl.c: Likewise.
88560 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88562         [BZ #13439]
88563         * iconv/gconv.h: Define __GCONV_SWAP.
88564         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88565         * iconvdata/utf-16.c: Likewise.
88566         * iconvdata/utf-32.c: Likewise.
88568 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88570         [BZ #13524]
88571         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88572         numerator after shifting it by one limb.
88574 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88576         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88577         under [__USE_EXTERN_INLINES].
88579 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88581         [BZ #13446]
88582         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88584 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88586         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88587         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88588         optimized code.
88589         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88590         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88591         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88592         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88593         for strncasecmp/strncasecmp_l compilation.
88594         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88595         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88597 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88599         [BZ #13484]
88600         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88601         of __asm__.
88603 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88605         [BZ #13506]
88606         * time/tzfile.c (__tzfile_read): Check values from file header.
88608 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88610         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88611         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88612         * powerpc/powerpc32/dl-start.S: Likewise.
88613         * powerpc/powerpc32/elf/start.S: Likewise.
88614         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88615         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88616         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88617         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88618         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88619         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88620         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88621         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88622         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88623         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88624         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88625         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88626         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88627         * powerpc/powerpc32/memset.S: Likewise.
88628         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88629         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88630         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88631         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88632         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88633         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88634         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88635         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88636         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88637         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88638         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88639         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88640         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88642 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88644         * math/libm-test.inc: Added more nearbyint tests.
88645         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88646         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88647         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88650 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88652         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88653         FD_CLOEXEC.
88655 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88657         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88658         Add wcscpy-ssse3 wcscpy-c.
88659         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88660         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88661         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88662         * sysdeps/x86_64/wcschr.S: New file.
88663         * sysdeps/x86_64/wcsrchr.S: New file.
88664         * string/test-strcmp.c: Remove checking of wcscmp function for
88665         wrong alignments.
88666         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88667         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88668         wcsrchr-sse2 wcsrchr-c.
88669         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88670         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88671         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88672         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88673         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88674         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88675         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88676         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88677         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88678         * wcsmbc/wcschr.c (WCSCHR): New macro.
88680 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88682         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88683         * wcsmbs/test-wcsrchr.c: New file.
88684         * string/test-strrchr.c: Add wcsrchr support.
88685         (WIDE): New macro.
88686         * wcsmbs/test-wcscpy.c: New file.
88687         * string/test-strcpy.c: Add wcscpy support.
88688         (WIDE): New macro.
88690 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88692         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88693         the inner loop.
88695 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88697         [BZ #13472]
88698         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88700 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88702         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88703         Minor optimizations.
88705         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88706         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88707         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88709 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88711         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88712         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88713         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88714         for gcc to avoid warnings.
88715         * inet/Makefile (tests): Add tst-checks.
88716         * inet/tst-checks.c: New file.
88718         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88719         warning.
88721         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88722         __wmemcmp_sse2.
88724         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88725         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88727         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88729 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88731         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88732         problem.
88734         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88736 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88738         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88739         conditional on GCC version.
88740         (__arch_compare_and_exchange_val_8_acq)
88741         (__arch_compare_and_exchange_val_16_acq)
88742         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88743         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88744         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88746 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88748         * sysdeps/sh/backtrace.c: New file.
88750 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88752         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88753         parenthesis.
88755 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88757         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88758         falling back to utime.
88760 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88762         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88763         expectations for float.
88765 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88767         * locale/weight.h (findidx): Add parameter len.
88768         * locale/weightwc.h (findidx): Likewise.
88769         * posix/fnmatch_loop.c (FCT): Adjust caller.
88770         * posix/regcomp.c (build_equiv_class): Likewise.
88771         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88772         * posix/regexec.c (check_node_accept_bytes): Likewise.
88773         * string/strcoll_l.c (STRCOLL): Likewise.
88774         * string/strxfrm_l.c (STRXFRM): Likewise.
88776 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88778         * Makefile.in: Remove CVSOPT handling.
88779         * configure.in: Remove use of AC_REVISION.
88780         * iconvdata/Makefile (distribute): No need to filter out CVS.
88781         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88782         handling.
88784 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88786         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88787         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88788         [USE_AS_STRNCASECMP_L]: Likewise.
88789         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88790         NO_TLS_DIRECT_SEG_REFS.
88791         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88792         Fix argument offsets for non-PIC.
88793         [USE_AS_STRNCASECMP_L]: Likewise.
88794         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88795         NO_TLS_DIRECT_SEG_REFS.
88797 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88799         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88800         O_CLOEXEC.
88801         * locale/loadlocale.c (_nl_load_locale): Likewise.
88803 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88805         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88806         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88807         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88808         (SYSCALL_GETTIME): Set errno on error.
88810         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88811         count references to noai6ai_cached.
88813 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88815         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88817         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88818         FD_CLOEXEC for /proc/self/maps.
88820         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88821         FD_CLOEXEC for /proc/meminfo.
88823         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88824         gai.conf.
88826         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88827         FD_CLOEXEC for given file.
88829         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88831         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88832         FD_CLOEXEC for /etc/hosts.
88833         (_gethtent): Likewise.
88835         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88837         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88838         cancellation and set FD_CLOEXEC for /etc/netgroup.
88840         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88841         reading /etc/publickey.
88843         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88844         allow cancellation when reading /etc/group.
88846         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88847         cancellation.
88848         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88850         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88851         when using data file.
88853         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88855         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88856         (write_nis_obj): Use "c" and "e" in fopen.
88858         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88860         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88862         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88864         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88866         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88867         locale.alias.
88869         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88871         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88873         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88875         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88876         file parsing and set FD_CLOEXEC.
88878 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88880         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88882 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88884         * malloc/arena.c (arena_get2): Don't call reused_arena when
88885         _int_new_arena failed.
88887 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88889         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88890         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88891         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88892         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88893         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88894         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88895         to compile strcasecmp and strncasecmp.
88896         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88897         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88899         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88901 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88903         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88904         locale-defines.sym to gen-as-const-headers.
88905         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88906         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88907         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88908         to compile strcasecmp and strncasecmp.
88909         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88910         strcasecmp_l and strncasecmp_l.
88911         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88912         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88913         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88914         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88915         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88916         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88917         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88918         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88919         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88920         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88921         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88923 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88925         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88926         result of SYSDEP_GETTIME_CPU to retval.
88927         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88928         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88930         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88931         variable.
88933         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88934         mantissa words.
88935         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88937         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88938         from unused variable.
88940         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88941         DWARF definitions.
88942         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88943         for assembling.
88945         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88946         over namespaces.
88948         * sunrpc/rpc_prot.c (rejected): Fix case value.
88950         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88951         unsigned long long int to avoid warnings in shift.
88953         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88954         of use of trans.
88955         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88956         variable tmp.
88958         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88959         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88960         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88962         * nis/nis_table.c (nis_list): Use variable of correct type for
88963         result of __follow_path call.
88965 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88967         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88968         of math functions ceil, trunc, floor, round, and sqrt, when
88969         avaliable on the platform.
88970         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88971         name clash.
88972         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88973         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88974         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88976 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88978         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88979         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88981 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88983         * include/unistd.h: Fix __readlink return type.
88984         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88986 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88988         * stdlib/ucontext.h: Undo last change for makecontext.
88990 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88992         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88994         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88995         * setjmp/setjmp.h: Mark functions as non-leaf.
88996         * setjmp/bits/setjmp2.h: Likewise.
88997         * stdlib/ucontext.h: Likewise.
88999 2011-11-10  Andreas Schwab  <schwab@redhat.com>
89001         * malloc/arena.c (_int_new_arena): Don't increment narenas.
89002         (reused_arena): Don't check arena limit.
89003         (arena_get2): Atomically check arena limit.
89005 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
89007         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
89008         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
89010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
89011         instructions.
89013 2011-11-07  Andreas Schwab  <schwab@redhat.com>
89015         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
89016         handler when locking.
89018         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89019         Fix size of allocated buffer.
89021 2011-11-04  Andreas Schwab  <schwab@redhat.com>
89023         [BZ #10103]
89024         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
89025         declarations for long double functions.
89026         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
89028         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
89030 2011-11-03  Andreas Schwab  <schwab@redhat.com>
89032         * nscd/nscd.c (main): Don't start AVC thread until credentials are
89033         installed.
89035         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
89036         is disabled.
89038 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89040         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
89042 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
89044         * include/alloca.h (stackinfo_alloca_round): Define.
89045         (extend_alloca): Use it.
89046         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
89047         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
89048         here.
89050         * scripts/check-local-headers.sh: Ignore libaudit.h.
89052         * nscd/Makefile (extra-objs): Make recursively expanded.
89054 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
89056         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
89057         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
89059         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
89060         * posix/tst-rfc3484-2.c: Likewise.
89061         * posix/tst-rfc3484-3.c: Likewise.
89063         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
89064         process_vm_writev.
89065         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
89066         process_vm_writev.
89067         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
89068         process_vm_writev from libc using GLIBC_2.15 version.
89070         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
89072 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
89074         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
89075         stack usage.
89077 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
89079         [BZ #13367]
89080         * nss/getent.c (initgroups_keys): Show error message in case no group
89081         names are given.
89083         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
89084         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
89085         __bump_nl_timestamp.
89086         * nscd/connections (nscd_init): When host database is served open
89087         netlink socket and request notification about configuration changes.
89088         (main_loop_poll): Track netlink file descriptor and bump timestamp
89089         in case data becomes available.
89090         (main_loop_epoll): Likewise.
89091         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
89092         (database_pers_head): Add extra_data fileds.
89093         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
89094         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
89095         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
89096         Adjust caller.
89097         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
89098         in6ai data, call __free_in6ai.
89099         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
89100         Add -DHAVE_NETLINK.
89101         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
89102         interface information.  Reuse previous data if netlink timestamp
89103         is not changed.
89104         (__bump_nl_timestamp): New function.
89105         (__free_in6ai): New function.
89107 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
89109         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89110         close_not_cancel_no_status here.
89111         (__check_pf): Reorganize code a bit to not call close twice if OOM.
89113 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89115         [BZ #13276]
89116         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89117         return value.
89119         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89120         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89121         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89123 2011-07-03  Andreas Jaeger  <aj@suse.de>
89125         [BZ #10709]
89126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89127         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89128         * math/libm-test.inc (sin_test): Add test case.
89130 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89132         [BZ #13337]
89133         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89134         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89136         * elf/chroot_canon.c (chroot_canon): Cleanups.
89138         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89140         [BZ #13335]
89141         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89142         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89144         * string/test-strchr.c: Make usable for strchrnul testing.
89145         * string/test-strchrnul.c: New file.
89146         * string/Makefile (strop-tests): Add strchrnul.
89148         * po/it.po: Update from translation team.
89149         * po/es.po: Likewise.
89151 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
89153         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89154         the three constants needed as parameters.  Drop the others.
89155         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89156         __m128i_strloadu_tolower.
89157         Create and initialize variable zero and use it in all the places
89158         where _mm_setzero_si128 was used.
89160         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89161         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89162         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89163         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89164         anymore.
89165         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89166         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89167         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89168         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89169         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89170         __mpranred, __mptan.
89171         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89172         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89173         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89174         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89175         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89176         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89177         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89178         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89179         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89181 2011-10-28  Andreas Schwab  <schwab@redhat.com>
89183         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89184         redefine if SHARED.
89185         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89188         wide char related routines to wcsmbs subdir.
89190 2011-10-27  Andreas Schwab  <schwab@redhat.com>
89192         [BZ #13344]
89193         * misc/sys/cdefs.h (__THROWNL): Define.
89194         * posix/unistd.h: Use __THREADNL instead of __THREAD
89195         for memory synchronization functions.
89197 2011-10-26  Roland McGrath  <roland@hack.frob.com>
89199         [BZ #13349]
89200         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89201         doesn't exist.
89202         * manual/stdio.texi (Obstack Streams): Node removed.
89204 2011-10-26  Andreas Schwab  <schwab@redhat.com>
89206         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89207         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89208         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89210         * math/math_private.h (math_force_eval): Allow non-addressable
89211         arguments.
89212         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89214 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89216         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89217         file is not needed.
89219         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89220         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89221         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89222         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89223         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89226         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89227         Add AVX variants.
89228         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89229         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89230         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89231         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89232         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89233         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89234         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89235         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89236         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89237         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89238         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89239         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89240         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89241         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89242         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89243         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89244         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89245         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89246         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89248         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89249         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89251         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89252         place.  Use VEX encoding when compiling for AVX.
89254 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89256         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89257         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89259         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89261 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89263         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89264         useless if() expression.
89265         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89266         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89267         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89268         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89269         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89270         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89271         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89272         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89273         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89274         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89275         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89276         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89277         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89278         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89279         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89280         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89281         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89282         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89283         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89285         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89287 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89289         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89290         condition.
89291         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89293 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89295         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89296         .text section.  Avoid duplicate constants.
89297         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89298         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89299         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89301         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89302         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89305         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89306         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89307         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89308         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89309         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89310         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89311         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89312         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89313         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89314         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89315         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89316         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89317         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89318         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89319         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89320         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89321         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89322         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89323         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89324         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89325         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89326         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89327         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89328         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89329         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89330         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89331         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89332         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89333         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89334         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89335         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89336         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89337         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89338         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89339         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89340         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89341         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89343 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89345         * sysdeps/x86_64/dla.h: Move to ...
89346         * sysdeps/x86_64/fpu/dla.h: ...here.
89347         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89348         situations.  Use __builtin_fma only for gcc 4.6 and up.
89350         * config.make.in: Add have-mfma4 entry.
89351         * configure.in: Substitute libc_cv_cc_fma4.
89352         * math/Makefile (dbl-only-routines): Add sincostab.
89353         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89354         Use __sincostab not sincos.
89355         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89356         name is a macro.
89357         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89359         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89361         using __copysign.
89362         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89363         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89364         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89365         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89366         and __inv.
89367         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89368         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89369         __copysign.
89370         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89371         define aliases when function name is a macro.
89372         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89373         sysdeps/ieee754/dbl-64/sincos.tbl.
89374         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89375         fma4-enabled routines.
89376         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89377         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89378         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89379         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89380         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89381         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89382         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89383         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89384         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89385         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89386         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89387         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89388         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89389         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89390         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89391         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89392         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89393         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89394         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89395         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89396         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89397         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89398         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89399         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89400         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89401         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89402         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89403         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89404         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89405         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89407         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89408         rename.
89409         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89411         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89415         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89416         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89418 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89420         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89422 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89424         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89426         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89427         prediction.
89428         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89430         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89431         Remove unused variable magic_bits.
89432         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89434         * string/strnlen.c: Define and use STRNLEN macro.
89435         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89436         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89437         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89438         * wcsmbs/wcslen.c: Define and use WCSLEN.
89439         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89440         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89441         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89442         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89443         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89444         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89445         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89447 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89450         strnlen-sse2-no-bsf.
89451         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89453         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89454         Add strnlen support.
89455         (USE_AS_STRNLEN): New macro.
89456         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89457         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89458         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89459         * sysdeps/x86_64/wcslen.S: New file.
89461 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89463         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89464         XMM-moves are used for copying on small sizes.
89466 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89468         * wcsmbs/Makefile (strop-tests): Add wcschr.
89469         * wcsmbs/test-wcschr.c: New file.
89470         * string/test-strchr.c: Update.
89471         Add wcschr support.
89472         (WIDE): New macro.
89474 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89476         * wcsmbs/Makefile (strop-tests): Add wcslen.
89477         * wcsmbs/test-wcslen.c: New file.
89478         * string/test-strlen.c: Update.
89479         Add wcslen support.
89480         (WIDE): New macro.
89482 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89484         * po/it.po: Update from translation team.
89486 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89488         * sysdeps/x86_64/wcscmp.S: Update.
89489         Fix wrong comparison semantics.
89490         wcscmp shall use signed comparison not unsigned.
89491         Don't use substraction to avoid overflow bug.
89492         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89493         * wcsmbc/wcscmp.c: Likewise.
89494         * string/test-strcmp.c: Likewise.
89495         Add new tests to check cases with negative values.
89497 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89499         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89500         * sysdeps/x86_64/dla.h: ...here.  New file.
89501         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89504         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89506         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89509         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89511 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89514         __ynl_finite aliases.
89516 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89520         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89521         define DLA_FMA.
89522         [DLA_FMA] (EMULV): Use DLA_FMA.
89523         [DLA_FMA] (MUL12): Use EMULV.
89524         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89525         that are not needed.
89526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89530         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89531         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89532         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89534 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89536         * math/s_nan.c: Undef __nan.
89537         * math/s_nanf.c: Undef __nanf.
89538         * math/s_nanl.c: Undef __nanl.
89539         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89540         "math_private.h".
89542 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89544         * math/s_catan.c: Add branch predictions.
89545         * math/s_catanf.c: Likewise.
89546         * math/s_catanh.c: Likewise.
89547         * math/s_catanhf.c: Likewise.
89548         * math/s_catanhl.c: Likewise.
89549         * math/s_catanl.c: Likewise.
89550         * math/s_cexp.c: Likewise.
89551         * math/s_cexpf.c: Likewise.
89552         * math/s_cexpl.c: Likewise.
89553         * math/s_clog.c: Likewise.
89554         * math/s_clog10.c: Likewise.
89555         * math/s_clog10f.c: Likewise.
89556         * math/s_clog10l.c: Likewise.
89557         * math/s_clogf.c: Likewise.
89558         * math/s_clogl.c: Likewise.
89559         * math/s_csqrt.c: Likewise.
89560         * math/s_csqrtf.c: Likewise.
89561         * math/s_csqrtl.c: Likewise.
89562         * math/s_ctanf.c: Likewise.
89563         * math/s_ctanh.c: Likewise.
89564         * math/s_ctanhf.c: Likewise.
89565         * math/s_ctanhl.c: Likewise.
89566         * math/s_ctanl.c: Likewise.
89568         * math/math_private.h: Define __nan, __nanf, __nanl.
89569         * math/s_cacosh.c: Include <math_private.h>.
89570         * math/s_cacoshl.c: Likewise.
89571         * math/s_casinh.c: Likewise.
89572         * math/s_casinhf.c: Likewise.
89573         * math/s_casinhl.c: Likewise.
89574         * math/s_ccos.c: Rely entire on ccosh.
89575         * math/s_ccosf.c: Rely entire on ccoshf.
89576         * math/s_ccosl.c: Rely entirely on ccoshl.
89577         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89578         Remove tests for FE_INVALID.
89579         * math/s_ccoshf.c: Likewise.
89580         * math/s_ccoshl.c: Likewise.
89581         * math/s_csin.c: Likewise.
89582         * math/s_csinf.c: Likewise.
89583         * math/s_csinh.c Likewise.
89584         * math/s_csinhf.c: Likewise.
89585         * math/s_csinhl.c: Likewise.
89586         * math/s_csinl.c: Likewise.
89587         * math/s_ctan.c: Likewise.
89588         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89589         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89590         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89592 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89595         compilation problems.
89597         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89598         __builtin_expect.
89600 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89602         * sysdeps/i386/configure.in: Test for -mfma4 option.
89603         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89604         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89605         COMMON_CPUID_INDEX_80000001.
89606         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89607         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89608         use it if FMA3 is not supported.
89609         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89611         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89612         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89614 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89616         [BZ #12892]
89617         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89618         it would create a cycle with a link time dependency.
89620 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89622         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89623         instruction.
89624         * string/Makefile (strop-tests): Add rawmemchr.
89625         * string/test-rawmemchr.c: New file.
89627         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89628         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89629         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89630         when compiling str{,n}casecmp and when AVX is available.  Hook up
89631         new optimized code in initializers.
89633 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89635         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89636         __feraiseexcept instead of feraiseexcept.
89638 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89640         * math/math_private.h: Define defaults for libc_fetestexcept and
89641         libc_feupdateenv.
89642         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89643         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89644         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89645         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89646         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89647         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89648         libc_fetestexcept and libc_feupdateenv.
89650         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89651         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89652         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89653         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89654         libc_feholdexcept_setround.
89656         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89657         Add s_nearbyint-c and s_nearbyintf-c.
89658         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89659         nearbyintf inlines.
89660         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89661         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89662         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89663         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89665         * math/math_private.h: Define defaults for libc_fegetround,
89666         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89667         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89668         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89669         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89670         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89671         standard functions.
89672         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89673         Remove comments and hacks for old compiler versions.
89674         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89675         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89676         libc_feholdexceptl.
89678 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89680         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89681         (__feraiseexcept_renamed): Add __NTH.
89682         (feraiseexcept): Add __NTH.  Rename local variables to fix
89683         namespace violations.
89685 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89687         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89689         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89691         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89692         recently added interfaces.
89693         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89695         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89696         about macro parameter expansion.
89698         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89699         __NO_MATH_INLINES is defined.  Cleanups.
89701         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89702         and __floorf is target has SSE4.1.
89703         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89704         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89705         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89706         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89708         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89709         name.
89710         (floorf): Likewise.
89712         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89714 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89716         * misc/sys/cdefs.h: Fix last change.
89718         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89719         database lookup.
89721 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89723         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89725         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89726         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89727         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89728         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89729         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89730         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89731         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89732         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89733         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89734         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89735         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89736         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89737         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89738         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89739         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89740         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89741         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89742         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89743         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89744         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89745         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89746         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89748         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89749         ceil, ceilf, floor, floorf.
89751         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89752         Perform IRELATIVE relocations last.
89754         * elf/do-rel.h: Add another parameter nrelative, replacing the
89755         local variable with the same name.  Change name of the function
89756         to end in Rel or Rela (uppercase).
89757         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89758         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89759         elf_dynamic_do_##reloc function.
89761 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89763         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89764         is sufficient, at least on modern CPUs.
89766         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89768         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89769         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89771         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89772         __expl_finite.
89773         * math/bits/math-finite.h: Add entries for exp.
89774         * math/e_expl.c: Add __*_finite alias.
89775         * sysdeps/i386/fpu/e_exp.S: Likewise.
89776         * sysdeps/i386/fpu/e_expf.S: Likewise.
89777         * sysdeps/i386/fpu/e_expl.c: Likewise.
89778         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89779         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89780         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89781         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89782         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89783         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89784         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89786         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89787         is sufficient, at least on modern CPUs.
89789         * ctype/ctype-info.c (__ctype_init): Define.
89790         * include/ctype.h (__ctype_init): Declare.
89791         (__ctype_b_loc): The variable is always initialized.
89792         (__ctype_toupper_loc): Likewise.
89793         (__ctype_tolower_loc): Likewise.
89794         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89795         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89797 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89799         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89801         * configure.in: Also look in $cxxmachine/include for C++ system
89802         headers.
89804 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89806         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89807         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89808         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89809         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89810         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89811         (USE_AS_WMEMCMP): New macro.
89812         Fixing indents.
89813         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89814         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89815         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89816         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89818         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89819         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89820         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89821         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89822         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89823         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89824         (USE_AS_WMEMCMP): New macro.
89825         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89826         * sysdeps/string/test-memcmp.c: Update.
89827         Fix simple_wmemcmp.
89828         Add new tests.
89829         * wcsmbs/wmemcmp.c: Update.
89830         (WMEMCMP): New macro.
89831         Fix overflow bug.
89833 2011-10-12  Andreas Jaeger  <aj@suse.de>
89835         [BZ #13268]
89836         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89838 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89840         * libio/iofwide.c (do_length): Avoid warning.
89842         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89844 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89846         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89848         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89849         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89850         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89851         * sysdeps/i386/i686/fpu/e_log.S: New file.
89852         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89853         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89855         * ctype/ctype.h: Add support for inlined isXXX functions when
89856         compiling C++ code.
89858 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89860         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89862         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89864 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89866         [BZ #13291]
89867         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89869 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89871         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89872         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89873         feraiseexcept.
89875         * sysdeps/x86_64/memrchr.S: Check for zero size.
89877         * string/stratcliff.c: Add memrchr tests.
89879 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89881         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89882         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89883         rawmemchr-sse2 rawmemchr-sse2-bsf.
89884         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89885         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89886         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89887         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89888         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89889         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89890         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89891         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89892         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89893         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89894         * string/memrchr.c (MEMRCHR): New macro.
89896 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89898         Add integration with gcc's -ffinite-math-only and optimize wrapper
89899         functions in libm.
89900         * Versions.def: Define GLIBC_2.15 version for libm.
89901         * math/Makefile (headers): Add bits/math-finite.h.
89902         * math/bits/math-finite.h: New file.
89903         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89904         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89905         * math/e_acoshl.c: Add __*_finite alias.
89906         * math/e_acosl.c: Likewise.
89907         * math/e_asinl.c: Likewise.
89908         * math/e_atan2l.c: Likewise.
89909         * math/e_atanhl.c: Likewise.
89910         * math/e_coshl.c: Likewise.
89911         * math/e_exp10.c: Likewise.
89912         * math/e_exp10f.c: Likewise.
89913         * math/e_exp10l.c: Likewise.
89914         * math/e_exp2l.c: Likewise.
89915         * math/e_fmodl.c: Likewise.
89916         * math/e_gammal_r.c: Likewise.
89917         * math/e_hypotl.c: Likewise.
89918         * math/e_j0l.c: Likewise.
89919         * math/e_j1l.c: Likewise.
89920         * math/e_jnl.c: Likewise.
89921         * math/e_lgammal_r.c: Likewise.
89922         * math/e_log10l.c: Likewise.
89923         * math/e_log2l.c: Likewise.
89924         * math/e_logl.c: Likewise.
89925         * math/e_powl.c: Likewise.
89926         * math/e_sinhl.c: Likewise.
89927         * math/e_sqrtl.c: Likewise.
89928         * math/e_scalb.c: Completely rewritten and optimized.
89929         * math/e_scalbf.c: Likewise.
89930         * math/e_scalbl.c: Likewise.
89931         * math/w_acos.c: Likewise.
89932         * math/w_acosf.c: Likewise.
89933         * math/w_acosl.c: Likewise.
89934         * math/w_acosh.c: Likewise.
89935         * math/w_acoshf.c: Likewise.
89936         * math/w_acoshl.c: Likewise.
89937         * math/w_asin.c: Likewise.
89938         * math/w_asinf.c: Likewise.
89939         * math/w_asinl.c: Likewise.
89940         * math/w_atan2.c: Likewise.
89941         * math/w_atan2f.c: Likewise.
89942         * math/w_atan2l.c: Likewise.
89943         * math/w_atanh.c: Likewise.
89944         * math/w_atanhf.c: Likewise.
89945         * math/w_atanhl.c: Likewise.
89946         * math/w_exp10.c: Likewise.
89947         * math/w_exp10f.c: Likewise.
89948         * math/w_exp10l.c: Likewise.
89949         * math/w_fmod.c: Likewise.
89950         * math/w_fmodf.c: Likewise.
89951         * math/w_fmodl.c: Likewise.
89952         * math/w_j0.c: Likewise.
89953         * math/w_j0f.c: Likewise.
89954         * math/w_j0l.c: Likewise.
89955         * math/w_j1.c: Likewise.
89956         * math/w_j1f.c: Likewise.
89957         * math/w_j1l.c: Likewise.
89958         * math/w_jn.c: Likewise.
89959         * math/w_jnf.c: Likewise.
89960         * math/w_log.c: Likewise.
89961         * math/w_logf.c: Likewise.
89962         * math/w_logl.c: Likewise.
89963         * math/w_log10.c: Likewise.
89964         * math/w_log10f.c: Likewise.
89965         * math/w_log10l.c: Likewise.
89966         * math/w_log2.c: Likewise.
89967         * math/w_log2f.c: Likewise.
89968         * math/w_log2l.c: Likewise.
89969         * math/w_pow.c: Likewise.
89970         * math/w_powf.c: Likewise.
89971         * math/w_powl.c: Likewise.
89972         * math/w_remainder.c: Likewise.
89973         * math/w_remainderf.c: Likewise.
89974         * math/w_remainderl.c: Likewise.
89975         * math/w_scalb.c: Likewise.
89976         * math/w_scalbf.c: Likewise.
89977         * math/w_scalbl.c: Likewise.
89978         * math/w_sqrt.c: Likewise.
89979         * math/w_sqrtf.c: Likewise.
89980         * math/w_sqrtl.c: Likewise.
89981         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89982         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89983         used.
89984         * math/math_private.h: Declare __kernel_standard_f.
89985         * math/w_cosh.c: Remove cruft and optimize a bit.
89986         * math/w_coshf.c: Likewise.
89987         * math/w_coshl.c: Likewise.
89988         * math/w_exp2.c: Likewise.
89989         * math/w_exp2f.c: Likewise.
89990         * math/w_exp2l.c: Likewise.
89991         * math/w_hypot.c: Likewise.
89992         * math/w_hypotf.c: Likewise.
89993         * math/w_hypotl.c: Likewise.
89994         * math/w_lgamma.c: Likewise.
89995         * math/w_lgamma_r.c: Likewise.
89996         * math/w_lgammaf.c: Likewise.
89997         * math/w_lgammaf_r.c: Likewise.
89998         * math/w_lgammal.c: Likewise.
89999         * math/w_lgammal_r.c: Likewise.
90000         * math/w_sinh.c: Likewise.
90001         * math/w_sinhf.c: Likewise.
90002         * math/w_sinhl.c: Likewise.
90003         * math/w_tgamma.c: Likewise.
90004         * math/w_tgammaf.c: Likewise.
90005         * math/w_tgammal.c: Likewise.
90006         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
90007         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90008         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
90009         Minor optimizations.  Pretty printing.  Remove cruft.
90010         * sysdeps/i386/fpu/e_acosf.S: Likewise.
90011         * sysdeps/i386/fpu/e_acosh.S: Likewise.
90012         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
90013         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
90014         * sysdeps/i386/fpu/e_acosl.c: Likewise.
90015         * sysdeps/i386/fpu/e_asin.S: Likewise.
90016         * sysdeps/i386/fpu/e_asinf.S: Likewise.
90017         * sysdeps/i386/fpu/e_atan2.S: Likewise.
90018         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
90019         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
90020         * sysdeps/i386/fpu/e_atanh.S: Likewise.
90021         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90022         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
90023         * sysdeps/i386/fpu/e_exp10.S: Likewise.
90024         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
90025         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
90026         * sysdeps/i386/fpu/e_exp2.S: Likewise.
90027         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
90028         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
90029         * sysdeps/i386/fpu/e_fmod.S: Likewise.
90030         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
90031         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
90032         * sysdeps/i386/fpu/e_hypot.S: Likewise.
90033         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
90034         * sysdeps/i386/fpu/e_log.S: Likewise.
90035         * sysdeps/i386/fpu/e_log10.S: Likewise.
90036         * sysdeps/i386/fpu/e_log10f.S: Likewise.
90037         * sysdeps/i386/fpu/e_log10l.S: Likewise.
90038         * sysdeps/i386/fpu/e_log2.S: Likewise.
90039         * sysdeps/i386/fpu/e_log2f.S: Likewise.
90040         * sysdeps/i386/fpu/e_log2l.S: Likewise.
90041         * sysdeps/i386/fpu/e_logf.S: Likewise.
90042         * sysdeps/i386/fpu/e_logl.S: Likewise.
90043         * sysdeps/i386/fpu/e_pow.S: Likewise.
90044         * sysdeps/i386/fpu/e_powf.S: Likewise.
90045         * sysdeps/i386/fpu/e_powl.S: Likewise.
90046         * sysdeps/i386/fpu/e_remainder.S: Likewise.
90047         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
90048         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
90049         * sysdeps/i386/fpu/e_scalb.S: Likewise.
90050         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
90051         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90052         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
90053         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
90054         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
90055         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
90056         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90058         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
90059         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90060         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
90061         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
90062         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
90063         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90064         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
90065         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
90066         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
90067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90068         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
90069         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
90070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90071         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
90072         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
90073         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90075         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
90076         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
90077         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
90078         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
90079         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
90080         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
90081         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90082         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
90083         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
90084         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
90085         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90086         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
90087         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90088         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
90089         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
90090         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
90091         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
90092         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
90093         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
90094         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
90095         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
90096         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
90097         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
90098         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
90099         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
90100         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
90101         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90102         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90103         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90104         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90105         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90106         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90107         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90108         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90109         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90110         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90111         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90112         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90113         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90114         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90115         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90116         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90117         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90118         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90119         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90120         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90121         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90122         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90123         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90124         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90125         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90126         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90128         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90129         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90131         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90132         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90133         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90134         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90135         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90136         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90137         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90138         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90139         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90140         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90141         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90142         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90143         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90144         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90146         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90147         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90148         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90149         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90150         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90151         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90152         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90153         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90154         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90155         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90156         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90157         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90158         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90159         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90160         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90161         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90162         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90163         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90164         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90165         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
90166         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90167         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90168         (__isnanf): Likewise.
90169         (__isinf_ns): Likewise.
90170         (__isinf_nsf): Likewise.
90171         (__finite): Likewise.
90172         (__finitef): Likewise.
90173         (__ieee754_sqrt): Define as macro.
90174         (__ieee754_sqrtf): Define as macro.
90175         (__ieee754_sqrtl): Define as macro.
90176         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90177         inlined copy.
90178         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90179         __FINITE_MATH_ONLY__ consistent.
90180         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90182 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
90184         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90185         of rawmemchr.
90187         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90189 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
90191         * po/ja.po: Update from translation team.
90193 2011-10-08  Roland McGrath  <roland@hack.frob.com>
90195         * locale/programs/locarchive.c (prepare_address_space): New function.
90196         (create_archive, enlarge_archive, open_archive): Use it.
90198         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90199         inside [SHARED], where it is used.
90201         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90203         * nss/getent.c (netgroup_keys): Remove unused variable.
90204         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90206 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
90208         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90209         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90211         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90212         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90213         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90214         * math/Makefile (libm-calls): Add s_isinf_ns.
90215         * math/divtc3.c: Use __isinf_nsl instead of isinf.
90216         * math/multc3.c: Likewise.
90217         * math/s_casin.c: Likewise.
90218         * math/s_casinf.c: Likewise.
90219         * math/s_casinl.c: Likewise.
90220         * math/s_ccos.c: Likewise.
90221         * math/s_ccosf.c: Likewise.
90222         * math/s_ccosl.c: Likewise.
90223         * math/s_ctan.c: Likewise.
90224         * math/s_ctanf.c: Likewise.
90225         * math/s_ctanh.c: Likewise.
90226         * math/s_ctanhf.c: Likewise.
90227         * math/s_ctanhl.c: Likewise.
90228         * math/s_ctanl.c: Likewise.
90229         * math/w_fmod.c: Likewise.
90230         * math/w_fmodf.c: Likewise.
90231         * math/w_fmodl.c: Likewise.
90232         * math/w_remainder.c: Likewise.
90233         * math/w_remainderf.c: Likewise.
90234         * math/w_remainderl.c: Likewise.
90235         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90236         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90237         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90238         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90239         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90240         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90241         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90242         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90244         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90245         of the number.
90246         * stdio-common/printf_fphex.c: Likewise.
90247         * stdio-common/printf_size.c: Likewise.
90249         * math/e_exp10.c: Include math_private.h using <...> not "...".
90250         * math/e_exp10f.c: Likewise.
90251         * math/e_exp10l.c: Likewise.
90252         * math/e_exp2l.c: Likewise.
90253         * math/e_j0l.c: Likewise.
90254         * math/e_j1l.c: Likewise.
90255         * math/e_jnl.c: Likewise.
90256         * math/e_lgammal_r.c: Likewise.
90257         * math/e_rem_pio2l.c: Likewise.
90258         * math/e_scalb.c: Likewise.
90259         * math/e_scalbf.c: Likewise.
90260         * math/e_scalbl.c: Likewise.
90261         * math/k_cosl.c: Likewise.
90262         * math/k_sinl.c: Likewise.
90263         * math/k_tanl.c: Likewise.
90264         * math/s_cacoshf.c: Likewise.
90265         * math/s_catan.c: Likewise.
90266         * math/s_catanf.c: Likewise.
90267         * math/s_catanh.c: Likewise.
90268         * math/s_catanhf.c: Likewise.
90269         * math/s_catanhl.c: Likewise.
90270         * math/s_catanl.c: Likewise.
90271         * math/s_ccosh.c: Likewise.
90272         * math/s_ccoshf.c: Likewise.
90273         * math/s_ccoshl.c: Likewise.
90274         * math/s_cexp.c: Likewise.
90275         * math/s_cexpf.c: Likewise.
90276         * math/s_cexpl.c: Likewise.
90277         * math/s_clog.c: Likewise.
90278         * math/s_clog10.c: Likewise.
90279         * math/s_clog10f.c: Likewise.
90280         * math/s_clog10l.c: Likewise.
90281         * math/s_clogf.c: Likewise.
90282         * math/s_clogl.c: Likewise.
90283         * math/s_csin.c: Likewise.
90284         * math/s_csinf.c: Likewise.
90285         * math/s_csinh.c: Likewise.
90286         * math/s_csinhf.c: Likewise.
90287         * math/s_csinhl.c: Likewise.
90288         * math/s_csinl.c: Likewise.
90289         * math/s_csqrt.c: Likewise.
90290         * math/s_csqrtf.c: Likewise.
90291         * math/s_csqrtl.c: Likewise.
90292         * math/s_ctan.c: Likewise.
90293         * math/s_ctanf.c: Likewise.
90294         * math/s_ctanh.c: Likewise.
90295         * math/s_ctanhf.c: Likewise.
90296         * math/s_ctanhl.c: Likewise.
90297         * math/s_ctanl.c: Likewise.
90298         * math/s_ldexp.c: Likewise.
90299         * math/s_ldexpf.c: Likewise.
90300         * math/s_ldexpl.c: Likewise.
90301         * math/s_significand.c: Likewise.
90302         * math/s_significandf.c: Likewise.
90303         * math/s_significandl.c: Likewise.
90304         * math/w_acos.c: Likewise.
90305         * math/w_acosf.c: Likewise.
90306         * math/w_acosh.c: Likewise.
90307         * math/w_acoshf.c: Likewise.
90308         * math/w_acoshl.c: Likewise.
90309         * math/w_acosl.c: Likewise.
90310         * math/w_asin.c: Likewise.
90311         * math/w_asinf.c: Likewise.
90312         * math/w_asinl.c: Likewise.
90313         * math/w_atan2.c: Likewise.
90314         * math/w_atan2f.c: Likewise.
90315         * math/w_atan2l.c: Likewise.
90316         * math/w_atanh.c: Likewise.
90317         * math/w_atanhf.c: Likewise.
90318         * math/w_atanhl.c: Likewise.
90319         * math/w_cosh.c: Likewise.
90320         * math/w_coshf.c: Likewise.
90321         * math/w_coshl.c: Likewise.
90322         * math/w_dremf.c: Likewise.
90323         * math/w_exp10.c: Likewise.
90324         * math/w_exp10f.c: Likewise.
90325         * math/w_exp10l.c: Likewise.
90326         * math/w_exp2.c: Likewise.
90327         * math/w_exp2f.c: Likewise.
90328         * math/w_fmod.c: Likewise.
90329         * math/w_fmodf.c: Likewise.
90330         * math/w_fmodl.c: Likewise.
90331         * math/w_hypot.c: Likewise.
90332         * math/w_hypotf.c: Likewise.
90333         * math/w_hypotl.c: Likewise.
90334         * math/w_j0.c: Likewise.
90335         * math/w_j0f.c: Likewise.
90336         * math/w_j0l.c: Likewise.
90337         * math/w_j1.c: Likewise.
90338         * math/w_j1f.c: Likewise.
90339         * math/w_j1l.c: Likewise.
90340         * math/w_jn.c: Likewise.
90341         * math/w_jnf.c: Likewise.
90342         * math/w_jnl.c: Likewise.
90343         * math/w_lgamma.c: Likewise.
90344         * math/w_lgamma_r.c: Likewise.
90345         * math/w_lgammaf.c: Likewise.
90346         * math/w_lgammaf_r.c: Likewise.
90347         * math/w_lgammal.c: Likewise.
90348         * math/w_lgammal_r.c: Likewise.
90349         * math/w_log.c: Likewise.
90350         * math/w_log10.c: Likewise.
90351         * math/w_log10f.c: Likewise.
90352         * math/w_log10l.c: Likewise.
90353         * math/w_log2.c: Likewise.
90354         * math/w_log2f.c: Likewise.
90355         * math/w_log2l.c: Likewise.
90356         * math/w_logf.c: Likewise.
90357         * math/w_logl.c: Likewise.
90358         * math/w_pow.c: Likewise.
90359         * math/w_powf.c: Likewise.
90360         * math/w_powl.c: Likewise.
90361         * math/w_remainder.c: Likewise.
90362         * math/w_remainderf.c: Likewise.
90363         * math/w_remainderl.c: Likewise.
90364         * math/w_scalb.c: Likewise.
90365         * math/w_scalbf.c: Likewise.
90366         * math/w_scalbl.c: Likewise.
90367         * math/w_sinh.c: Likewise.
90368         * math/w_sinhf.c: Likewise.
90369         * math/w_sinhl.c: Likewise.
90370         * math/w_sqrt.c: Likewise.
90371         * math/w_sqrtf.c: Likewise.
90372         * math/w_sqrtl.c: Likewise.
90373         * math/w_tgamma.c: Likewise.
90374         * math/w_tgammaf.c: Likewise.
90375         * math/w_tgammal.c: Likewise.
90377         * po/ja.po: Update from translation team.
90379 2011-09-29  Andreas Jaeger  <aj@suse.de>
90381         [BZ #13179]
90382         * sunrpc/netname.c (netname2host): Fix logic.
90384         [BZ #6779]
90385         [BZ #6783]
90386         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90387         correctly.
90388         * math/w_remainder.c (__remainder): Likewise.
90389         * math/w_remainderf.c (__remainderf): Likewise.
90390         * math/libm-test.inc (remainder_test): Add test cases.
90392 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90394         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90395         sdiv_qrnnd.
90397 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90399         * string/test-memcmp.c: Avoid unncessary #defines.
90400         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90402 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90404         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90405         Use new sse2 version for core i3 - i7 as it's faster
90406         than sse42 version.
90407         (bit_Prefer_PMINUB_for_stringop): New.
90408         * sysdeps/x86_64/rawmemchr.S: Update.
90409         Replace with faster SSE2 version.
90410         * sysdeps/x86_64/memrchr.S: New file.
90411         * sysdeps/x86_64/memchr.S: Update.
90412         Replace with faster SSE2 version.
90414 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90416         * elf/dl-load.c (lose): Add cast to avoid warning.
90418 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90420         * po/ca.po: Update from translation team.
90422         * inet/getnetgrent_r.c: Hook up nscd.
90423         * nscd/Makefile (routines): Add nscd_netgroup.
90424         (nscd-modules): Add netgroupcache.
90425         (CFLAGS-netgroupcache.c): Define.
90426         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90427         (cache_search): Add const to second parameter.
90428         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90429         INNETGR.
90430         (dbs): Add netgrdb entry.
90431         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90432         (verify_persistent_db): Handle netgrdb.
90433         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90434         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90435         GETFDNETGR.
90436         (netgroup_response_header): Define.
90437         (innetgroup_response_header): Define.
90438         (datahead): Add netgroup_response_header and innetgroup_response_header
90439         elements.
90440         * nscd/nscd.conf: Add entries for netgroup cache.
90441         * nscd/nscd.h (dbtype): Add netgrdb.
90442         (_PATH_NSCD_NETGROUP_DB): Define.
90443         (netgroup_iov_disabled): Declare.
90444         (xmalloc, xcalloc, xrealloc): Move declarations here.
90445         (cache_search): Adjust prototype.
90446         Add netgroup-related prototypes.
90447         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90448         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90449         (__nscd_innetgr): Declare.
90450         * nscd/selinux.c (perms): Use access_vector_t as element type and
90451         add netgroup-related initializers.
90452         * nscd/netgroupcache.c: New file.
90453         * nscd/nscd_netgroup.c: New file.
90454         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90455         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90456         For four parameters use innetgr.
90457         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90458         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90459         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90460         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90462         * nscd/connections.c (register_traced_file): Don't register file
90463         for disabled databases.
90465 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90467         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90469         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90470         from tree and freeing node.
90472 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90474         * nss/nsswitch.c (__nss_database_lookup): Handle
90475         nss_parse_service_list out of memory case.
90477 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90479         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90480         out of memory case.
90482 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90484         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90485         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90486         pass it down.
90487         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90488         elf_machine_rela, elf_machine_lazy_rel.
90489         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90490         (ELF_DYNAMIC_DO_REL): Likewise.
90491         (ELF_DYNAMIC_DO_RELA): Likewise.
90492         (ELF_DYNAMIC_RELOCATE): Likewise.
90493         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90494         to ELF_DYNAMIC_DO_REL.
90495         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90496         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90497         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90498         elf_machine_rela.
90499         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90500         skip_ifunc, don't call ifunc function if non-zero.
90501         (elf_machine_rela): Likewise.
90502         (elf_machine_lazy_rel): Likewise.
90503         (elf_machine_lazy_rela): Likewise.
90504         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90505         (elf_machine_lazy_rel): Likewise.
90506         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90507         Likewise.
90508         (elf_machine_lazy_rel): Likewise.
90509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90510         Likewise.
90511         (elf_machine_lazy_rel): Likewise.
90512         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90513         (elf_machine_lazy_rel): Likewise.
90514         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90515         (elf_machine_lazy_rel): Likewise.
90516         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90517         (elf_machine_lazy_rel): Likewise.
90518         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90519         (elf_machine_lazy_rel): Likewise.
90520         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90521         (elf_machine_lazy_rel): Likewise.
90522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90523         (elf_machine_lazy_rel): Likewise.
90525 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90527         * nss/nss_files/files-init.c (_nss_files_init): Use static
90528         initialization for all the *_traced_file variables.
90530 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90532         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90534 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90536         [BZ #13226]
90537         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90539 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90541         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90542         Reread the line before reparsing it.
90544 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90546         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90548 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90549             Maxim Kuvyrkov  <maxim@codesourcery.com>
90550             Joseph Myers  <joseph@codesourcery.com>
90552         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90553         if needed for __stack_chk_guard.
90555 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90557         * sysdeps/posix/spawni.c (script_execute): Always define it.
90558         It will be optimized away if unused.
90559         (maybe_script_execute): New function.
90560         (__spawni): Call it.
90562         * Makerules: Don't include tls.make.
90563         (config-tls): Always set to thread.
90564         * tls.make.c: File removed.
90566 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90568         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90569         * config.make.in (CPPFLAGS-config): New substituted variable.
90571 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90575         [BZ #13192]
90576         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90577         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90579 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90581         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90582         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90583         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90584         (CALL_FAIL): Likewise.
90585         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90586         (CALL_FAIL): Macro removed.
90587         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90589 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90591         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90592         for __FINITE_MATH_ONLY__ == 1.
90594 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90596         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90597         __ieee754_sqrt instead of sqrt.
90598         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90599         __ieee754_sqrtf instead of sqrtf.
90600         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90601         __floorf instead of floorf.
90602         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90603         __floorf, __truncf instead of floorf, truncf.
90605 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90607         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90609         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90610         __extern_always_inline.
90611         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90612         32-bit.
90614 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90616         * elf/rtld.c (dl_main): Also relocate in dependency order when
90617         doing symbol dependency testing.
90619 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90622         Always define `refsym'.
90624 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90626         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90627         (__FD_ELT): Renamed from __FDELT.
90628         * misc/bits/select2.h (__FD_ELT): Likewise.
90629         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90630         __FD_MASK instead of __FDELT, __FDMASK.
90631         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90632         Likewise.
90633         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90634         Likewise.
90636         * elf/Makefile (gen-ldd): Fix pattern.
90638         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90639         (init_tls): Likewise.
90641 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90645 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90647         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90648         `struct cmsghdr *' instead of `void *'.
90649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90650         Likewise.
90652 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90654         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90655         if non-absolute.
90656         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90657         ldd_rewrite_script.
90659 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90661         * configure.in: Remove --with-tls option.
90662         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90663         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90664         out in case it is missing.
90665         * sysdeps/ia64/elf/configure.in: Likewise.
90666         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90667         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90668         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90669         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90670         * sysdeps/sh/elf/configure.in: Likewise.
90671         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90672         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90673         * sysdeps/x86_64/elf/configure.in: Likewise.
90674         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90675         * sysdeps/mach/hurd/tls.h: Likewise.
90677         [BZ #13067]
90678         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90680         [BZ #13090]
90681         * configure.in: Fix use of AC_INIT.
90683         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90685 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90687         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90688         __set_errno.
90689         * malloc/hooks.c: Likewise.
90691         [BZ #11929]
90692         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90693         variables statically.
90694         (narenas): Initialize.
90695         (list_lock): Initialize.
90696         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90697         initializtion of main_arena and list_lock.  Small cleanups.
90698         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90699         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90700         Add initializers to main_arena and mp_.
90701         (malloc_state): Remove pagesize member.  Change all users to use
90702         GLRO(dl_pagesize).
90704         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90705         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90706         is always initialized.
90708         * malloc/malloc.c: Removed unused configurations and dead code.
90709         * malloc/arena.c: Likewise.
90710         * malloc/hooks.c: Likewise.
90711         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90713         * include/tls.h: Removed.  USE___THREAD must always be defined.
90714         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90715         * elf/dl-libc.c: Likewise.
90716         * elf/dl-tsd.c: Likewise.
90717         * include/errno.h: Likewise.
90718         * include/netdb.h: Likewise.
90719         * include/resolv.h: Likewise.
90720         * inet/herrno-loc.c: Likewise.
90721         * inet/herrno.c: Likewise.
90722         * malloc/arena.c: Likewise.
90723         * malloc/hooks.c: Likewise.
90724         * malloc/malloc.c: Likewise.
90725         * resolv/res-state.c: Likewise.
90726         * resolv/res_libc.c: Likewise.
90727         * sysdeps/i386/dl-machine.h: Likewise.
90728         * sysdeps/ia64/dl-machine.h: Likewise.
90729         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90730         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90731         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90732         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90733         * sysdeps/sh/dl-machine.h: Likewise.
90734         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90735         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90736         * sysdeps/unix/i386/sysdep.S: Likewise.
90737         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90738         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90739         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90741         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90743         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90747         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90748         * sysdeps/x86_64/dl-machine.h: Likewise.
90749         * tls.make.c: Likewise.
90751         * configure.in: Remove --with-__thread option.  Make tests for
90752         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90753         tls_model attribute fail if no support is available.  Remove
90754         USE_IN_LIBIO.
90755         * Makeconfig: Adjust for dropped configure option.  All features are
90756         now mandatory.
90757         * Makerules: Likewise.
90758         * Versions.def: Likewise.
90759         * argp/argp-fmtstream.c: Likewise.
90760         * argp/argp-fmtstream.h: Likewise.
90761         * argp/argp-help.c: Likewise.
90762         * assert/assert.c: Likewise.
90763         * config.h.in: Likewise.
90764         * config.make.in: Likewise.
90765         * configure: Likewise.
90766         * configure.in: Likewise.
90767         * csu/Versions: Likewise.
90768         * csu/init.c: Likewise.
90769         * elf/tst-audit2.c: Likewise.
90770         * elf/tst-tls10.c: Likewise.
90771         * elf/tst-tls10.h: Likewise.
90772         * elf/tst-tls11.c: Likewise.
90773         * elf/tst-tls12.c: Likewise.
90774         * elf/tst-tls14.c: Likewise.
90775         * elf/tst-tlsmod11.c: Likewise.
90776         * elf/tst-tlsmod12.c: Likewise.
90777         * elf/tst-tlsmod13.c: Likewise.
90778         * elf/tst-tlsmod13a.c: Likewise.
90779         * elf/tst-tlsmod14a.c: Likewise.
90780         * elf/tst-tlsmod15b.c: Likewise.
90781         * elf/tst-tlsmod16a.c: Likewise.
90782         * elf/tst-tlsmod16b.c: Likewise.
90783         * elf/tst-tlsmod7.c: Likewise.
90784         * elf/tst-tlsmod8.c: Likewise.
90785         * elf/tst-tlsmod9.c: Likewise.
90786         * gmon/gmon.c: Likewise.
90787         * grp/fgetgrent_r.c: Likewise.
90788         * grp/putgrent.c: Likewise.
90789         * hurd/fopenport.c: Likewise.
90790         * include/libc-symbols.h: Likewise.
90791         * include/tls.h: Likewise.
90792         * intl/gettextP.h: Likewise.
90793         * intl/loadinfo.h: Likewise.
90794         * locale/global-locale.c: Likewise.
90795         * locale/localeinfo.h: Likewise.
90796         * mach/devstream.c: Likewise.
90797         * malloc/arena.c: Likewise.
90798         * malloc/set-freeres.c: Likewise.
90799         * misc/err.c: Likewise.
90800         * misc/getttyent.c: Likewise.
90801         * misc/mntent_r.c: Likewise.
90802         * posix/getopt.c: Likewise.
90803         * posix/wordexp.c: Likewise.
90804         * pwd/fgetpwent_r.c: Likewise.
90805         * resolv/Versions: Likewise.
90806         * resolv/res_hconf.c: Likewise.
90807         * shadow/fgetspent_r.c: Likewise.
90808         * shadow/putspent.c: Likewise.
90809         * stdio-common/printf_fphex.c: Likewise.
90810         * stdio-common/tmpfile.c: Likewise.
90811         * stdlib/abort.c: Likewise.
90812         * stdlib/fmtmsg.c: Likewise.
90813         * sunrpc/auth_unix.c: Likewise.
90814         * sunrpc/clnt_perr.c: Likewise.
90815         * sunrpc/clnt_tcp.c: Likewise.
90816         * sunrpc/clnt_udp.c: Likewise.
90817         * sunrpc/clnt_unix.c: Likewise.
90818         * sunrpc/openchild.c: Likewise.
90819         * sunrpc/svc_simple.c: Likewise.
90820         * sunrpc/svc_tcp.c: Likewise.
90821         * sunrpc/svc_udp.c: Likewise.
90822         * sunrpc/svc_unix.c: Likewise.
90823         * sunrpc/xdr.c: Likewise.
90824         * sunrpc/xdr_array.c: Likewise.
90825         * sunrpc/xdr_rec.c: Likewise.
90826         * sunrpc/xdr_ref.c: Likewise.
90827         * sunrpc/xdr_stdio.c: Likewise.
90829 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90831         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90833 2011-07-03  Andreas Jaeger  <aj@suse.de>
90835         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90836         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90837         regenerate with gen-libm-tests.pl.
90839 2010-05-12  Petr Baudis  <pasky@suse.cz>
90841         [BZ #11589]
90842         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90843         around j0() zero points by switching to j1().
90844         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90846         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90847         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90849 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90851         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90852         instead of 0.
90853         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90854         instead of 0.
90855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90856         Patch in part by Pavel Roskin <proski@gnu.org>.
90858         [BZ #13138]
90859         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90860         realloc.
90861         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90862         Free memory block if necessary.
90864         [BZ #12847]
90865         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90866         be NULL.  Don't lock in this case.
90868 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90870         * elf/elf.h (ELFOSABI_GNU): New macro.
90871         (ELFOSABI_LINUX): Define to that.
90873 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90875         * string/strncat.c (strncat): Undef the symbol in case it has been
90876         defined in bits/string.h.
90878 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90880         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90882         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90883         link map.
90885 2011-08-17  Andreas Jaeger  <aj@suse.de>
90887         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90889 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90890             Ian Lance Taylor  <iant@google.com>
90892         * math/libm-test.inc (lround_test): New testcase.
90893         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90895 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90897         * Makefile: Remove support for automatic cvs check-ins.
90898         * Makerules: Likewise.
90899         * config.make.in: Likewise.
90900         * configure.in: Likewise.
90901         * intl/Makefile: Likewise.
90902         * locale/Makefile: Likewise.
90903         * po/Makefile: Likewise.
90904         * posix/Makefile: Likewise.
90905         * sysdeps/gnu/Makefile: Likewise.
90906         * sysdeps/mach/hurd/Makefile: Likewise.
90907         * sysdeps/sparc/sparc32/Makefile: Likewise.
90909         [BZ #13118]
90910         * posix/Makefile (bug-regex32-ENV): Define.
90911         Patch by John Stanley <jpsinthemix@verizon.net>.
90913         * misc/Makefile (headers): Add bits/select2.h.
90914         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90915         * misc/bits/select2.h: New file.
90916         * include/bits/select2.h: New file.
90917         * debug/Makefile (routines): Add fdelt_chk.
90918         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90919         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90920         FD_ISSET.
90921         * debug/fdelt_chk.c: New file.
90923         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90924         * wcsmbs/test-wmemcmp.c: Likewise.
90925         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90926         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90928 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90930         * string/Makefile (strop-tests): Add memcmp.
90931         * string/test-wmemcmp.c: New file.
90932         * string/test-memcmp.c: Add wmemcmp support.
90934 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90936         [BZ #13153]
90937         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90938         2011-07-19 change.
90940         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90941         garbage value in a __mach_port_mod_refs call in the cases of the
90942         task-self and thread-self ports.
90944 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90946         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90948 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90950         * elf/dl-load.c (lose): Check for non-null L.
90952 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90954         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90956         * elf/dl-libc.c (dlerror_run): Pass back error code from
90957         dl_catch_error.
90959         [BZ #13123]
90960         * elf/dl-load.c (lose): Free l_origin if it is valid.
90962         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90963         names.
90964         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90965         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90966         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90967         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90968         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90969         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90971 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90973         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90974         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90975         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90976         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90977         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90978         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90979         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90980         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90981         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90982         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90984 2011-08-15  Alan Modra  <amodra@gmail.com>
90986         [BZ #13092]
90987         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90988         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90989         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90990         ppc_mcount to static-only-routines.
90991         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90992         __mcount_internal.
90993         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90994         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90996 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90998         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90999         for finite and infinity parameters.
91001 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
91003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
91004         and add nop instructions for throughput optimization.
91005         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91007 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
91009         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
91010         aligned copy for power7 with vector-scalar instructions.
91011         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
91013 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
91015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
91016         AVX check.
91018 2011-09-07  Andreas Schwab  <schwab@redhat.com>
91020         [BZ #13144]
91021         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
91022         last change.
91024 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91026         * sysdeps/unix/sysv/linux/x86_64/init-first.c
91027         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91028         syscall wrapper around clock_gettime in __vdso_clock_gettime.
91029         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
91030         clock_gettime.
91032 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91034         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
91035         Forgot to demangle the pointer.
91037         * sysdeps/i386/sysdep.h: Define atom_text_section.
91038         * sysdeps/x86_64/sysdep.h: Likewise.
91039         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
91040         section with atom_text_section.
91041         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91042         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91043         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
91044         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91045         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
91047         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
91048         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
91049         already be defined.  Change to take two parameters and don't assign
91050         result to variable.  Adjust all users.
91051         Define INTERNAL_GETTIME if not already defined.
91052         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
91053         call.
91054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
91055         HAVE_CLOCK_GETTIME_VSYSCALL.
91056         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
91058         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
91059         gettimeofday vsyscall, just use time.
91061 2011-09-06  Andreas Schwab  <schwab@redhat.com>
91063         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
91064         <errno.h>.
91066 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91068         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
91069         syscall on x86-64.
91070         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
91071         syscall.
91072         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
91073         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
91074         syscall if possible.
91076 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91078         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
91079         e_ident.  Don't pass to find_mapsXX.
91080         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
91082 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91085         strchr-sse2-no-bsf strrchr-sse2-no-bsf
91086         * sysdeps/x86_64/multiarch/strchr.S: Update.
91087         Check bit_slow_BSF bit.
91088         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
91089         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
91090         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
91092 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91094         [BZ #13134]
91095         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
91096         before glibc 2.15.
91097         (tryshell): Define.
91098         (__spawni): Change last parameter to be flag.  Test
91099         SPAWN_XFLAGS_USE_PATH flag to use path or not.
91100         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
91101         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91102         * posix/spawni.c: Likewise.
91103         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91104         * posix/spawnp.c: Likewise.  Change normal version to use
91105         SPAWN_XFLAGS_USE_PATH.
91106         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91107         SPAWN_XFLAGS_TRY_SHELL.
91109         [BZ #13150]
91110         * posix/glob.h: Remove gcc 1.x support.
91112         [BZ #13068]
91113         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91115 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91118         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91119         strrchr-sse2-bsf
91120         * sysdeps/i386/i686/multiarch/strchr.S: New file.
91121         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91122         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91123         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91124         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91125         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91127 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91129         * sysdeps/x86_64/wcscmp.S: New file.
91131         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91132         wcscmp-c wcscmp-sse2
91133         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91134         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91135         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91136         * wcsmbs/wcscmp.c: Allow renaming.
91138 2011-09-05  David S. Miller  <davem@davemloft.net>
91140         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91141         stack slot, rather than the struct return pointer slot.
91142         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91143         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91145         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91147 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91149         * po/ja.po: Update from translation team.
91151         [BZ #13144]
91152         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91153         kernel in 64-bit binaries.
91155 2011-09-01  David S. Miller  <davem@davemloft.net>
91157         * elf/elf.h (HWCAP_SPARC_*): Move to..
91158         * sysdeps/sparc/sysdep.h: this new file and add new values.
91159         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91160         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91161         _DL_HWCAP_COUNT to 24.
91162         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91163         entries.
91164         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91165         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91166         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91168         instead of magic constants.
91169         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91171 2011-08-31  David S. Miller  <davem@davemloft.net>
91173         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91175         Reimplement to do errno handling inline.
91176         (SYSCALL_ERROR_HANDLER): New macro.
91177         (__SYSCALL_STRING): Do not do errno handling in asm.
91178         (__CLONE_SYSCALL_STRING): Delete.
91179         (__INTERNAL_SYSCALL_STRING): Delete.
91180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91181         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91182         (PSEUDO): Reimplement to do errno handling inline.
91183         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91184         (SYSCALL_ERROR_HANDLER): New macro.
91185         (__SYSCALL_STRING): Do not do errno handling in asm.
91186         (__CLONE_SYSCALL_STRING): Delete.
91187         (__INTERNAL_SYSCALL_STRING): Delete.
91188         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91189         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91190         i386.
91191         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91192         (inline_syscall*): Add 'err' argument.
91193         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91194         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91195         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91196         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91198         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91199         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91201 2011-08-30  Andreas Schwab  <schwab@redhat.com>
91203         * elf/rtld.c (dl_main): Relocate objects in dependency order.
91205 2011-08-29  Jiri Olsa <jolsa@redhat.com>
91207         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91208         directive.
91210 2011-08-24  David S. Miller  <davem@davemloft.net>
91212         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91214 2011-08-24  Andreas Schwab  <schwab@redhat.com>
91216         * elf/Makefile: Add rules to build and run unload8 test.
91217         * elf/unload8.c: New file.
91218         * elf/unload8mod1.c: New file.
91219         * elf/unload8mod1x.c: New file.
91220         * elf/unload8mod2.c: New file.
91221         * elf/unload8mod3.c: New file.
91223         * elf/dl-close.c (_dl_close_worker): Reset private search list if
91224         it wasn't used.
91226 2011-08-23  David S. Miller  <davem@davemloft.net>
91228         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91229         subtract stack bias.
91230         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91231         %sp not %fp in calculations.
91232         (_JMPBUF_UNWINDS_ADJ): Likewise.
91234         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91235         (aio_suspend): Call it to force an exception region around the
91236         AIO_MISC_WAIT() invocation.
91238 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91240         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91241         backslash.
91243 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91245         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91246         protection macro.
91247         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91248         and <dl-machine.h>.
91249         (Elf64_FuncDesc): Remove.
91251 2011-08-22  David S. Miller  <davem@davemloft.net>
91253         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91254         sigaltstack check, add missing cfi directives.
91255         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91256         missing cfi directives, and sigaltstack handling.
91258 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91260         [BZ #11724]
91261         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91262         object is seen twice.
91263         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91265         * elf/Makefile (distribute): Add tst-initorder2.c.
91266         (tests): Add tst-initorder2.
91267         (modules-names): Add tst-initorder2a tst-initorder2b
91268         tst-initorder2c tst-initorder2d.  Add rules to build them.
91269         ($(objpfx)tst-initorder2.out): New rule.
91270         * elf/tst-initorder2.c: New file.
91271         * elf/tst-initorder2.exp: New file.
91273 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91275         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91277         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91278         dependencies back to end of function.
91280         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91281         $(elfobjdir)/ld.so.
91283 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91285         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91286         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91287         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91288         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91289         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91290         of __vdso_gettimeofday.
91291         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91292         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91293         attribute_hidden.
91294         (_libc_vdso_platform_setup): Remove initialization of
91295         __vdso_gettimeofday and __vdso_time.
91297 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91299         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91300         and fgetc_unlocked.
91301         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91302         getc_unlocked.
91304         * elf/dl-open.c (add_to_global): Report additions to the global scope
91305         for LD_DEBUG=scopes.
91306         (dl_open_worker): Also print scope of newly loaded dependencies.
91307         (_dl_show_scope): Indicate if there is no scope.
91309         [BZ #13114]
91310         * stdio-common/Makefile (tests): Add bug24.
91311         * stdio-common/bug24.c: New file.
91313 2011-08-19  Andreas Jaeger  <aj@suse.de>
91315         [BZ #13114]
91316         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91317         non-existant file when using close-on-exec mode.
91319 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91321         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91322         the very first instruction.
91324         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91325         the CFI state in the end.
91326         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91327         inclusion of dl-trampoline.h.
91328         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91330 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91332         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91333         expectations for long double.
91335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91336         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91338 2011-08-14  David S. Miller  <davem@davemloft.net>
91340         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91341         artificual limit depends upon the system page size.
91343 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91345         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91346         * resolv/Makefile: Define CFLAGS-libresolv.
91348 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91350         * nss/makedb.c (compute_tables): Make variables used in nested
91351         function static.
91353 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91355         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91356         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91357         if buffer was too small.
91359         * elf/pldd.c (main): Attach to all threads in the process.
91360         Rewrite /proc handling to use *at functions.
91362 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91364         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91365         specifies first scope to show.
91366         (dl_open_worker): Update callers.  Move printing scope of new
91367         object to before the relocation.
91368         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91369         * sysdeps/generic/ldsodefs.h: Update declaration.
91371         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91372         string for the scope number.
91374 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91376         * nscd/servicescache.c (cache_addserv): Make sure written is always
91377         initialized.
91379 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91381         * sysdeps/i386/i486/bits/atomic.h
91382         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91383         statement expression, so as to suppress "set but not used" warning.
91384         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91386         * string/strncat.c (STRNCAT): Use prototype definition.
91388         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91389         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91390         -Iprograms here.
91391         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91392         (localedef-modules): Add localedef.
91393         (locale-modules): Add locale.
91395         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91396         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91397         to avoid a warning.
91399 2011-08-14  David S. Miller  <davem@davemloft.net>
91401         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91402         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91404 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91406         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91407         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91408         * elf/rtld.c (dl_main): Set l_name of vDSO.
91409         Call _dl_show_scope when DL_DEBUG_SCOPES.
91410         (process_dl_debug): Recognize scopes flag and also set it for all.
91411         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91412         Declare _dl_show_scope.
91414         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91415         (do_dlopen): Pass caller_dlopen to dl_open.
91416         (__libc_dlopen_mode): Initialize caller_dlopen.
91418         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91419         of libc.  Make tolower call locale-independent.  Optimize a bit by
91420         using isdigit instead of isalnum.
91421         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91423 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91425         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91426         was a dependency or dynamically loaded.
91428 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91430         * intl/l10nflist.c: Allow architecture-specific pop function.
91431         * sysdeps/x86_64/l10nflist.c: New file.
91433         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91434         classification.
91436 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91438         * include/dirent.h: Add libc_hidden_proto for scandirat and
91439         scandirat64.  Don't declare __scandirat64.
91440         * dirent/scandirat.c: Add libc_hidden_def.
91441         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91442         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91444 2011-08-10  David S. Miller  <davem@davemloft.net>
91446         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91447         enum.
91448         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91449         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91450         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91452 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91454         * Versions.def [libc]: Add GLIBC_2.15.
91455         * dirent/Makefile (routines): Add scandirat and scandirat64.
91456         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91457         GLIBC_2.15.
91458         * dirent/dirent.h: Declare scandirat and scandirat64.
91459         * dirent/scandirat.c: New file.
91460         * dirent/scandirat64.c: New file.
91461         * sysdeps/wordsize-64/scandirat.c: New file.
91462         * sysdeps/wordsize-64/scandirat64.c: New file.
91463         * dirent/opendir.c: Define opendirat.
91464         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91465         using scandirat.
91466         * dirent/scandir64.c: Adjust for scandir.c change.
91467         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91468         __scandirat64, and __scandir_cancel_handler.
91469         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91470         additional parameter and use openat instead of open (outside of ld.so).
91471         Add new __opendir as wrapper around __opendirat.
91472         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91473         here without requiring old scandirat implementation.
91475 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91477         * dirent/scandir.c (cancel_handler): Renamed to
91478         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91479         defined.  Adjust users.
91480         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91481         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91483 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91485         * string/test-string.h (IMPL): Use __STRING to expand name and then
91486         stringify it.
91488         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91489         of cleanups.
91491 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91493         * string/Makefile: Update.
91494         (strop-tests): Append strncat.
91495         * string/test-wcscmp.c: New file.
91496         New comprehensive test for wcscmp.
91497         * string/test-strcmp.c: Update.
91498         (WIDE): New define.
91500 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91502         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91503         line.
91505 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91508         encoding to ACE if AI_IDN.
91510 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91512         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91513         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91515 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91517         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91518         Fix overflow bug in strncat.
91519         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91521         * string/test-strncat.c: Update.
91522         Add new tests for checking overflow bugs.
91524 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91527         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91528         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91529         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91530         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91531         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91532         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91533         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91534         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91536         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91537         (USE_AS_STRCAT): Define.
91538         Add strcat and strncat support.
91539         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91541 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91543         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91544         __n bigger than INT_MAX+1.
91545         (__strncmp_g): Likewise.
91547 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91549         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91550         * libio/stido.h: Likewise.
91552         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91553         (AF_NFC): Define.
91554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91555         (AF_NFC): Define.
91557         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91558         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91560         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91561         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91563         [BZ #13021]
91564         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91565         installed.
91567         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91568         typo.
91569         (_dl_x86_64_save_sse): Likewise.
91571 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91574         OSXSAVE.
91575         (_dl_x86_64_save_sse): Likewise.
91577         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91579         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91581 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91584         change.
91585         (_dl_x86_64_save_sse): Use correct AVX check.
91587 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91589         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91590         bug in strncpy/strncat.
91591         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91593 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91595         * string/tester.c (test_strcat): Add tests for different alignments
91596         of source and destination.
91597         (test_strncat): Likewise.
91599 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91601         [BZ #12852]
91602         * posix/glob.c (glob): Check passed in values before using them in
91603         expressions to avoid some overflows.
91604         (glob_in_dir): Likewise.
91606         [BZ #13007]
91607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91608         check for AVX enablement so that we don't crash with old kernels and
91609         new hardware.
91610         * elf/tst-audit4.c: Add same checks here.
91611         * elf/tst-audit6.c: Likewise.
91613         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91615 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91617         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91619 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91621         * po/cs.po: Update from translation team.
91622         * po/bg.po: Likewise.
91624 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91626         * misc/sys/cdefs.h: Add support for const attribute.
91627         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91628         to gnu_dev_{major,minor,makedev} functions.
91630 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91632         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91634 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91636         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91637         strlen results.
91639 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91642         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91643         register in order to avoid conflicts with the soft frame pointer
91644         being held in r11 when necessary.
91645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91646         (INTERNAL_VSYSCALL_NCS): Likewise.
91648 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91650         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91651         * elf/dl-fini.c (_dl_fini): Adjust caller.
91652         * elf/dl-close.c (_dl_close_worker): Likewise.
91653         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91655 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91657         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91658         "aux_cache->nlibs < 0".
91660         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91661         in the reload-count case.
91663 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91666         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91667         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91668         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91669         * sysdeps/x86_64/multiarch/strcat.S: New file.
91670         * sysdeps/x86_64/multiarch/strncat.S: New file.
91671         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91672         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91673         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91674         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91675         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91676         (USE_AS_STRCAT): Define.
91677         Add strcat and strncat support.
91678         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91679         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91680         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91681         * string/strncat.c: Update.
91682         (USE_AS_STRNCAT): Define.
91683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91684         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91685         and i7.
91686         * sysdeps/x86_64/multiarch/init-arch.h
91687         (bit_Prefer_PMINUB_for_stringop): New.
91688         (index_Prefer_PMINUB_for_stringop): Likewise.
91689         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91690         bit_Prefer_PMINUB_for_stringop.
91692 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91694         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91695         buffer64.
91696         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91697         of casting of buffer.
91698         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91699         buffer32 and buffer64.
91700         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91701         writes instead of casting of buffer.
91702         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91703         buffer32.
91704         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91705         casting of buffer.
91707 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91709         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91711 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91713         * nscd/nscd.c (termination_handler): Don't do anything for a database
91714         if it has not yet been initialized.
91716 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91718         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91720 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91722         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91724 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91726         * po/nl.po: Update from translation team.
91727         * po/sv.po: Likewise.
91729 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91731         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91732         now disallowed by GCC.
91734         * configure.in (use-default-link): Default to yes if a test -shared
91735         link meets our qualifications.
91736         * configure: Regenerated.
91738         * config.make.in (output-format): New variable.
91739         * configure.in: Check for ld --print-output-format support.
91740         * configure: Regenerated.
91741         * Makerules ($(common-objpfx)format.lds)
91742         [$(output-format) != unknown]: Just use $(output-format),
91743         instead of the linker-script munging.
91745 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91747         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91748         of $(common-objpfx)shlib.lds.
91749         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91751         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91752         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91754         * configure.in (-z relro check): Adjust test code to add a large
91755         writable data section after it.
91756         * configure: Regenerated.
91758 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91760         * configure.in (-z relro check): Fix test code to make the variable
91761         truly const.
91762         * configure: Regenerated.
91764 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91766         * nscd/nscd.h (struct traced_file): Define.
91767         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91768         elements.  Add traced_files.
91769         (inotify_fd): Declare.
91770         (register_traced_file): Declare.
91771         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91772         (inotify_fd): Export.
91773         (resolv_conf_descr): Remove.
91774         (nscd_init): Move inotify descriptor creation to main.
91775         Don't register files for notification here.
91776         (register_traced_file): New function.
91777         (invalidate_cache): Don't use reset_res to determine whether to call
91778         res_init, go through the list of registered files.
91779         (main_loop_poll): The inotify descriptors are now stored in the
91780         structures for the traced files.
91781         (main_loop_epoll): Likewise.
91782         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91783         to __nss_disable_nscd.
91784         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91785         for a database anymore.  Check the records for all the registered
91786         files instead.
91787         * nss/Makefile (libnss_files-routines): Add files-init.
91788         (libnss_db-routines): Add db-init.
91789         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91790         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91791         * nss/nss_db/db-init.c: New file.
91792         * nss/nss_files/files-init.c: New file.
91793         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91794         __nss_lookup_function.
91795         (__nss_lookup_function): Call nss_load_library.
91796         (nss_load_all_libraries): New function.
91797         (__nss_disable_nscd): Take parameter with callback function for files
91798         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91799         used for the cached services.
91800         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91801         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91802         options for features to all the files in nscd.
91804         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91806 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91808         * csu/elf-init.c (__libc_csu_init): Comment typo.
91810 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91812         * po/pl.po: Update from translation team.
91813         * po/ja.po: Likewise.
91814         * po/ru.po: Likewise.
91815         * po/ko.po: Likewise.
91816         * po/fr.po: Likewise.
91818 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91820         * configure.in (.ctors/.dtors header and trailer check):
91821         Use an empirical test on a built program.
91822         * configure: Regenerated.
91824         * configure.in (-z relro check): Use an empirical test on a built DSO.
91825         Detect, but do not require, on ia64.
91826         * configure: Regenerated.
91828         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91829         Update tests that use readelf to use $READELF instead.
91830         * configure: Regenerated.
91832 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91834         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91835         if the result is not used.
91837 2011-07-05  Andreas Jaeger  <aj@suse.de>
91839         [BZ #9696]
91840         * stdlib/tst-strtod.c: Add testcase.
91842 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91844         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91845         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91846         The latter has a higher limit.  Take additional parameter to pass to
91847         the new function.
91848         (__pathconf): Pass file to __statfs_link_max.
91849         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91850         __statfs_link_max.
91851         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91852         __statfs_link_max.
91854         [BZ #12868]
91855         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91856         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91857         Handle Lustre.
91858         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91859         (__statfs_filesize_max): Likewise.
91860         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91862 2011-07-05  Andreas Jaeger  <aj@suse.de>
91864         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91866 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91868         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91869         `status' variable.
91870         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91871         Likewise.
91873 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91875         * Makefile (strop-tests): Add strncat.
91876         * string/test-strncat.c: New file.
91878 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91880         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91882 2011-06-21  Andreas Jaeger  <aj@suse.de>
91884         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91885         Copy rule from iconvdata/Makefile.
91887 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91889         [BZ #12922]
91890         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91891         but no long options are defined, just return 'W'.
91893 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91895         [BZ #9696]
91896         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91898 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91900         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91901         netgroups to read.
91902         (innetgr): Likewise.
91904 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91906         * config.make.in (install_root): Default to $(DESTDIR).
91908 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91910         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91912 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91914         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91916         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91917         containing directory rather than embedding absolute directory names.
91919         * scripts/check-local-headers.sh: Rewritten using awk.
91920         Match by word, not by line.  Print error messages for matches.
91921         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91923         * Makerules [shlib-lds-flags empty]:
91924         ($(common-objpfx)libc_pic.opts): New target.
91925         ($(common-objpfx)libc_pic.os.clean): New target.
91926         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91928         * config.make.in (OBJCOPY): New variable.
91929         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91930         * configure: Regenerated.
91932         * config.make.in (use-default-link): New variable.
91933         * configure.in (use_default_link): Grok --with-default-link to set it.
91934         * configure: Regenerated.
91935         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91936         (shlib-lds, shlib-lds-flags): Define to empty.
91938         * Makerules (shlib-lds): New variable.
91939         (shlib-lds-flags): New variable.
91940         (build-shlib, build-moduile, build-module-asneeded): Use it.
91941         ($(common-objpfx)libc.so): Use $(shlib-lds).
91942         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91943         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91945         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91946         DT_FLAGS/DT_FLAGS_1 with zero flags.
91948         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91949         linker script munging.
91951 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91953         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91954         as 128-bit value.
91955         * crypt/sha512.c (sha512_process_block): Perform total addition using
91956         128-bit if possible.
91957         (__sha512_finish_ctx): Likewise.
91958         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91959         as 64-bit value.
91960         * crypt/sha256.c (SWAP64): Define.
91961         (sha256_process_block): Perform total addition using 64-bit if
91962         possible.
91963         (__sha256_finish_ctx): Likewise.
91965 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91967         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91968         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91969         * nscd/hstcache.c (cache_addhst): Likewise.
91970         * nscd/grpcache.c (cache_addgr): Likewise.
91971         * nscd/aicache.c (addhstaiX): Likewise.
91972         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91974 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91976         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91977         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91978         * nscd/hstcache.c (cache_addhst): Likewise.
91979         * nscd/grpcache.c (cache_addgr): Likewise.
91980         * nscd/aicache.c (addhstaiX): Likewise.
91982 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91984         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91985         domain only when needed.
91987 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91990         is always restored.
91992 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91994         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91995         are re-adding the entry.
91996         * nscd/servicescache.c (cache_addserv): Likewise.
91998 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
92000         * sysdeps/generic/dl-irel.h: fix protection against multiple
92001         inclusions.
92002         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92004 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
92006         [BZ #12935]
92007         * malloc/memusage.sh: Fix quoting in message.
92008         * debug/xtrace.sh: Likewise.
92010         * configure.in: Remove support for --experimental-malloc option, make
92011         it the default.
92012         * config.make.in: Likewise.
92013         * malloc/Makefile: Likewise.
92015 2011-06-27  Andreas Schwab  <schwab@redhat.com>
92017         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
92018         two-byte characters.
92020 2011-06-27  Roland McGrath  <roland@hack.frob.com>
92022         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
92023         AC_CACHE_CHECK invocation.
92024         * configure: Regenerated.
92026         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92028 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
92030         [BZ #12350]
92031         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
92032         bit from old_res_options.
92034         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92036         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
92037         value type for setfct.
92039 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
92041         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92042         __gettimeofday instead of gettimeofday.
92044 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
92046         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92048 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
92050         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92052         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
92053         info.
92055 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92058         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92059         strcpy-sse2-unaligned strncpy-sse2-unaligned
92060         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
92061         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
92062         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
92063         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
92064         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
92065         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
92066         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
92067         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
92068         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
92069         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
92070         (STRCPY): Support SSE2 and SSSE3 versions.
92072 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
92074         [BZ #12874]
92075         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
92076         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
92077         kernels which artificially limit size of requests.
92079 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92082         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92083         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
92084         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
92085         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
92086         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
92087         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
92088         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
92089         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
92090         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
92091         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
92092         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
92093         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
92094         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92095         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
92096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92097         Enable unaligned load optimization for Intel Core i3, i5 and i7
92098         processors.
92099         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
92100         Define.
92101         (index_Fast_Unaligned_Load): Define.
92102         (HAS_FAST_UNALIGNED_LOAD): Define.
92104 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
92106         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92108 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92110         [BZ #12907]
92111         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92112         until it is clear that the information is realy needed.
92113         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92115 2011-06-22  Andreas Schwab  <schwab@redhat.com>
92117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92119 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92121         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92122         /sys/devices/system/cpu/online if it is usable.
92124         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92125         reading the information from the /proc filesystem to once a second.
92127 2011-06-21  Andreas Jaeger  <aj@suse.de>
92129         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92130         NULL after inclusion of kernel headers.
92132 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
92134         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92135         calls to internal_setent.
92137         [BZ #12885]
92138         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92139         addresses using gethostbyname4_r ignore IPv4 addresses.
92141         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92142         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
92144         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92146 2011-06-20  David S. Miller  <davem@davemloft.net>
92148         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92149         inclusions.
92150         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92152         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92153         (elf_irel): Use it.
92154         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92155         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92156         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92157         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92158         * sysdeps/x86_64/dl-irel.h: Likewise.
92160         * elf/dl-runtime.c: Use elf_ifunc_invoke.
92161         * elf/dl-sym.c: Likewise.
92163 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92165         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
92166         need to dereference resplen2.
92168 2011-06-14  Andreas Schwab  <schwab@redhat.com>
92170         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92172 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92174         * Makeconfig: Define vardbdir and inst_vardbdir.
92175         * nss/Makefile: Add rules to install db-Makefile.
92177         * nss/nss_db/db-XXX.c: Cleanup.
92179         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92180         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92181         GLIBC_PRIVATE.
92182         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92183         * nss/makedb.c: Implement -g option to specify that value strings
92184         are generated and should not be added to table iterated over for
92185         get*ent calls.
92186         * nss/nss_db/db-initgroups.c: New file.
92188         * nss/getent.c: Add support for initgroups lookups through getgrouplist
92189         interface.
92191         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92192         (internal_getgrouplist): Adjust to name change.
92193         Update use_initgroups_entry if this is not the first call.
92194         * nss/databases.def: Add initgroups entry.
92196         * nss/makedb.c (compute_tables): Check result of multiple hash table
92197         sizes to minimize maximum chain length.
92199 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
92201         * Versions.def: Add entry for libnss_db.
92202         * shlib-versions: Likewise.
92203         * nss/Makefile: Add rules to build libnss_db.
92204         * nss/Versions: Add libnss_db information.  Organize libnss_files
92205         entries better.
92206         * nss/db-Makefile: Add gshadow support.  Change rules for the new
92207         makedb progra.  Some minor improvements to generate smaller files.
92208         * nss/nss_db/nss_db.h: Move NSS database header data structures to
92209         here from...
92210         * nss/makedb.c: ...here.
92211         Improve database format to be smaller and require less memory at
92212         runtime.
92213         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
92214         db anymore.
92215         * nss/nss_db/db-netgrp.c: Likewise.
92216         * nss/nss_db/db-open.c: Likewise.
92217         * nss/nss_files/flies-XXX.x: Adjust comments.
92218         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92219         * nss/nss_files/files-grp.c: Likewise.
92220         * nss/nss_files/files-hosts.c: Likewise.
92221         * nss/nss_files/files-network.c: Likewise.
92222         * nss/nss_files/files-proto.c: Likewise.
92223         * nss/nss_files/files-pwd.c: Likewise.
92224         * nss/nss_files/files-rpc.c: Likewise.
92225         * nss/nss_files/files-service.c: Likewise.
92226         * nss/nss_files/files-sgrp.c: Likewise.
92227         * nss/nss_files/files-spwd.c: Likewise.
92228         * nss/nss_db/db-alias.c: Removed.
92229         * nss/nss_db/dummy-db.h: Removed.
92231 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92233         * nss/makedb.c: Rewritten to not use database library.
92234         * nss/Makefile: Update to build new makedb program.
92236 2011-06-14  Andreas Jaeger  <aj@suse.de>
92238         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92239         memset declaration.
92241 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92244         tmpbuf.
92246 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92248         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92249         * elf/Makefile ($(objpfx)ld.so): Likewise.
92251         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92252         Don't list ld.so twice in dependencies.
92254         * posix/bug-regex31.c: Include <stdlib.h>.
92256         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92258         * nis/nss_compat/compat-spwd.c
92259         (getspent_next_nss_netgr): Remove unused variable.
92260         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92262         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92263         nonmembers" output to use the right array.
92265         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92267         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92269         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92270         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92271         * catgets/gencat.c (read_input_file): Likewise.
92272         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92274         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92275         variable definition inside #if's controlling its use.
92277         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92279         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92281         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92283         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92284         unreachable code.
92286         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92288         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92289         * configure: Regenerated.
92291         * Makerules: Revert last change.
92292         * elf/Makefile: Likewise.
92294 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92296         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92297         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92298         (reloc-link): Likewise.
92300 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92302         * elf/Makefile: Add rules to build pldd.
92303         * elf/pldd.c: New file.
92304         * elf/pldd-xx.c: New file.
92306 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92308         * version.h: Update for 2.15 development version.
92310 2011-06-07  David S. Miller  <davem@davemloft.net>
92312         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92313         ifuncs.
92314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92315         elf_machine_lazy_rel): Likewise.
92316         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92318         elf_machine_lazy_rel): Likewise.
92319         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92320         dl_hwcap via passed in argument.
92321         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92322         Likewise.
92324 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92326         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92328 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92330         [BZ #12849]
92331         * manual/fdl-1.1.texi: New file, verbatim from:
92332         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92333         * manual/lgpl-2.1.texi: New file, verbatim from:
92334         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92335         * manual/Makefile (licenses): New variable, list those new file names.
92336         (texis): Use it.
92337         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92339         * manual/fdl.texi: File removed.
92340         * manual/lesser.texi: File removed.
92341         * manual/libc.texinfo (Copying, Documentation License):
92342         Use new @include file names, put @appendix directive before @include.
92344 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92346         [BZ #12841]
92347         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92348         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92349         (mq_open): Add __NTH.
92351 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92354         Assume Intel Core i3/i5/i7 processor if AVX is available.
92356 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92358         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92359         typo.
92361 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92363         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92364         memory.  Use alloca_account.  Fix memory leak when retrying.
92366 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92368         * version.h (RELEASE): Bump for 2.14 release.
92369         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92371         * config.make.in (RANLIB): Remove entry.
92373 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92375         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92376         (libc.pot): Work around missing support for .ksh extension in xgettext.
92378         [BZ #12684]
92379         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92380         if both request failed.
92381         (send_dg): In case of server errors clear resplen or *resplen2.
92383         [BZ #12454]
92384         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92385         when there are multiple maps.
92386         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92387         (_dl_fini): Remove test here.
92389         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92391 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92393         [BZ #12350]
92394         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92395         bit from old_res_options.
92396         (gaih_inet): Likewise.
92398         [BZ #11099]
92399         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92400         as signed.
92402         * resolv/res_init.c (res_setoptions): Make the code more compact.
92404         [BZ #11558]
92405         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92406         set RES_USEVC.
92408         [BZ #11634]
92409         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92411         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92413         [BZ #11781]
92414         * malloc/malloc.h: Declare malloc hook variables as volatile.
92416         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92417         in last patch.
92419         [BZ #11799]
92420         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92421         raise in the comment.
92422         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92423         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92424         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92426 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92428         [BZ #12811]
92429         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92430         grow the buffers more if it already has to be sufficient.
92431         (build_wcs_upper_buffer): Likewise.
92432         * posix/regexec.c (check_matching): Likewise.
92433         (clean_state_log_if_needed): Likewise.
92434         (extend_buffers): Don't enlarge buffers beyond size of the input
92435         buffer.
92436         Patches mostly by Emil Wojak <emil@wojak.eu>.
92437         * posix/bug-regex32.c: New file.
92438         * posix/Makefile (tests): Add bug-regex32.
92440         * locale/findlocale.c (_nl_find_locale): Return right away if
92441         _nl_explode_name failed.
92442         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92444         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92446         * debug/xtrace.sh: Unify messages.
92447         * malloc/memusage.sh: Likewise.
92449         [BZ #12813]
92450         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92451         time symbol from vDSO.  Substitute with vsyscall if not available.
92452         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92453         __vdso_time.
92455         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92456         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92457         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92458         Add sendmmsg and internal_sendmmsg.
92459         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92460         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92461         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92463         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92464         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92465         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92467 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92469         [BZ #12813]
92470         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92471         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92472         available.
92473         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92474         __vdso_getcpu.
92476         [BZ #12814]
92477         * iconvdata/Makefile (tests): Add bug-iconv9.
92478         * iconvdata/bug-iconv9.c: New file.
92480 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92482         [BZ #12814]
92483         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92485 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92487         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92488         (struct user_regs_struct): Change intcs field back to cs.
92490 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92492         * po/ja.po: Update from translation team.
92494 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92496         [BZ #12795]
92497         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92498         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92500 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92502         * stdlib/longlong.h: Update from GCC.
92504 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92506         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92507         parameter name.
92508         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92509         Add parameter name.
92510         (__sysconf): Pass it down.
92512 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92514         [BZ #12671]
92515         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92516         some situations.
92517         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92518         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92519         add in in __libc_use_alloca calls.  Adjust callers.
92520         (glob): Use malloc in some situations.
92522         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92523         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92524         pltexit.
92526 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92528         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92529         and CLOCK_BOOTTIME_ALARM.
92531         [BZ #12782]
92532         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92533         is returned.
92535         * string/_strerror.c (__strerror_r): Print negative errors as signed
92536         numbers.
92538         [BZ #12777]
92539         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92540         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92541         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92543         * configure.in: Fix typo in redirection and correct removal of test
92544         files in two cases.
92546         [BZ #12788]
92547         * locale/setlocale.c (new_composite_name): Fix test to check for
92548         identical name of all categories.
92550         [BZ #12792]
92551         * libio/filedoalloc.c (local_isatty): New function.
92552         (_IO_file_doallocate): Use local_isatty.
92553         * stdio-common/perror.c (perror): In case a new stream is used
92554         forward the stream error.
92555         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92556         error flag.
92558 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92560         [BZ #11884]
92561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92562         alloca.
92563         * include/alloca.h (extend_alloca_account): Define.
92565         [BZ #11857]
92566         * posix/regex.h: Fix comments with documentation of user-accessible
92567         fields after compilation and describe correct free'ing of pattern
92568         after re_compile_pattern.
92569         Patch by Reuben Thomas <rrt@sc3d.org>.
92571 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92573         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92574         and -mno-altivec to prevent the compiler from using Altivec and/or
92575         VSX instructions when the corresponding registers are not available.
92577 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92579         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92581 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92583         * libio/freopen.c (freopen): Use __dup2, not dup2.
92584         * libio/freopen64.c (freopen64): Likewise.
92586 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92588         [BZ #12775]
92589         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92590         * math/Makefile (tests): Add test-powl.
92591         (CFLAGS-test-powl.c): Define.
92592         * math/test-powl.c: New file.
92594 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92596         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92598 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92600         [BZ #11837]
92601         * iconvdata/gb18030.c: Update to GB18020-2005.
92603 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92605         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92606         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92607         Patch by Aharon Robbins <arnold@skeeve.com>.
92609         [BZ #11892]
92610         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92611         on the stack.
92613         [BZ #11895]
92614         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92615         through underflows.
92617         [BZ #12766]
92618         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92619         point to strings before performing equality test for error_one_per_line
92620         mode.
92622         [BZ #11697]
92623         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92625         [BZ #11820]
92626         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92627         (struct user_fpregs_struct): Avoid __uint*_t types.
92629         [BZ #6420]
92630         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92631         symbol info.  Use it instead of calling _dl_addr locally.
92632         (lock_and_info): New function.
92633         (tr_freehook): Call lock_and_info and pass symbol info as additional
92634         parameter to tr_where.
92635         (tr_mallochook): Likewise.
92636         (tr_reallochook): Likewise.
92637         (tr_memalignhook): Likewise.
92639         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92640         used and couldn't be at all thread-safe.
92642 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92644         * libio/freopen.c (freopen): Don't close old file descriptor
92645         before the new one is opened.  Instead dup the new file descriptor
92646         to the old one after the new stream is created.
92647         * libio/freopen64.c (freopen64): Likewise.
92648         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92649         * libio/fileops.c (_IO_new_file_close_it): Handle new
92650         _IO_FLAGS2_NOCLOSE flag.
92651         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92652         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92653         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92654         _IO_FLAGS2_NOCLOSE flag.
92655         * include/unistd.h: Add hidden_proto for dup3.
92656         Define __have_dup3.
92657         * io/dup3.c: Define hidden symbol.
92658         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92660         [BZ #7101]
92661         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92662         when an incomplete long option is used.
92663         * posix/tst-getopt_long1.c: New file.
92664         * posix/Makefile (tests): Add tst-getopt_long1.
92666         [BZ #10138]
92667         * scripts/config.guess: Update from autoconf-2.68.
92668         * scripts/config.sub: Likewise.
92670         [BZ #10157]
92671         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92672         tests into ...
92673         (has_cpuclock): ...this.  New function.
92674         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92675         macro here based on has_cpuclock code.
92677         [BZ #10149]
92678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92679         First byte (not low byte) is now always NUL.
92680         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92682         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92683         Use non-cancelable interfaces.
92685         [BZ #9809]
92686         * locale/iso-639.def: Add entry for Sorani.
92688         [BZ #11901]
92689         * include/stdlib.h: Move include protection to the right place.
92690         Define abort_msg_s.  Declare __abort_msg with it.
92691         * stdlib/abort.c (__abort_msg): Adjust type.
92692         * assert/assert.c (__assert_fail_base): New function.  Majority
92693         of code from __assert_fail.  Allocate memory for __abort_msg with
92694         mmap.
92695         (__assert_fail): Now call __assert_fail_base.
92696         * assert/assert-perr.c: Remove bulk of implementation.  Use
92697         __assert_fail_base.
92698         * include/assert.hL Declare __assert_fail_base.
92699         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92700         mmap.
92701         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92703 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92705         [BZ #11952]
92706         [BZ #12453]
92707         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92708         until all modules are registered in the DTV.
92709         * elf/Makefile: Add rules to build and run tst-tls19.
92710         * elf/tst-tls19.c: New file.
92711         * elf/tst-tls19mod1.c: New file.
92712         * elf/tst-tls19mod2.c: New file.
92713         * elf/tst-tls19mod3.c: New file.
92714         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92716         [BZ #12083]
92717         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92718         correctly.
92720         [BZ #12601]
92721         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92722         two-byte sequence errors.
92723         * iconvdata/Makefile (tests): Add bug-iconv8.
92724         * iconvdata/bug-iconv8.c: New file.
92726         [BZ #12626]
92727         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92728         buf2 definition.
92730         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92732         [BZ #12432]
92733         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92734         (dummy_getcfa): New function.
92735         (init): Get _Unwind_GetCFA address, use dummy if not found.
92736         (backtrace_helper): In recursion check, also check whether CFA changes.
92737         (__backtrace): Completely initialize arg.
92739         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92740         storing incomplete byte sequence in state object.  Avoid testing for
92741         guaranteed too small input if we know there is enough data available.
92743 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92745         * Makeconfig (+link-pie): Indent.
92746         * Rules (binaries-pie): Define if $(have-fpie) and
92747         $(build-shared).
92748         (binaries-shared): Also filter out $(binaries-pie).
92749         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92750         * nscd/Makefile (others-pie): Add nscd.
92751         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92752         ($(objpfx)nscd): Remove command override.
92753         * login/Makefile (others-pie): Add pt_chown.
92754         ($(objpfx)pt_chown): Remove command override.
92755         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92756         remove command overrides.
92758 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92760         * libio/tst_putwc.c: Fix error messages.
92762         [BZ #12724]
92763         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92764         currently writing and seek to current position when not.
92765         * libio/Makefile (tests): Add bug-fclose1.
92766         * libio/bug-fclose1.c: New file.
92768 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92770         [BZ #12511]
92771         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92772         don't set DF_1_NODELETE here.
92773         (do_lookup_x): When entering new entry test for copy relocation
92774         and if necessary set DF_1_NODELETE flag.
92775         * elf/tst-unique4.cc: New file.
92776         * elf/tst-unique4.h: New file.
92777         * elf/tst-unique4lib.cc: New file.
92778         * elf/Makefile: Add rules to build and run tst-unique4.
92779         Patch by Piotr Bury <pbury@goahead.com>.
92781 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92783         [BZ #12052]
92784         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92786         [BZ #12625]
92787         * misc/mntent_r.c (addmntent): Flush the stream after the output
92789         [BZ #12393]
92790         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92791         (is_trusted_path_normalize): Skip initial colon.  Append slash
92792         to empty buffer.  Duplicate is_trusted_path code but allow
92793         constructed patch to be prefix.
92794         (is_dst): Allow $ORIGIN followed by /.
92795         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92796         Correct testing of result of is_trusted_path_normalize
92797         (decompose_rpath): Fix warning.
92799 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92801         [BZ #11257]
92802         * grp/initgroups.c (internal_getgrouplist): When we found the service
92803         list through the initgroups entry in nsswitch.conf do not always
92804         continue on a successful lookup.  Don't always use the
92805         __nss_group_database value if it is set.
92806         * nss/nsswitch.conf (initgroups): Change action for successful db
92807         lookup to continue for compatibility.
92809 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92811         [BZ #11532]
92812         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92813         and CP774 modules.
92814         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92815         and CP774 modules.
92816         * iconvdata/tst-tables.sh: Likewise.
92817         * iconvdata/cp770.c: New file.
92818         * iconvdata/cp771.c: New file.
92819         * iconvdata/cp772.c: New file.
92820         * iconvdata/cp773.c: New file.
92821         * iconvdata/cp774.c: New file.
92822         * iconvdata/testdata/CP770: New file.
92823         * iconvdata/testdata/CP770..UTF8: New file.
92824         * iconvdata/testdata/CP771: New file.
92825         * iconvdata/testdata/CP771..UTF8: New file.
92826         * iconvdata/testdata/CP772: New file.
92827         * iconvdata/testdata/CP772..UTF8: New file.
92828         * iconvdata/testdata/CP773: New file.
92829         * iconvdata/testdata/CP773..UTF8: New file.
92830         * iconvdata/testdata/CP774: New file.
92831         * iconvdata/testdata/CP774..UTF8: New file.
92833         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92834         END CHARMAP line.
92835         * iconvdata/gen-8bit-gap.sh: Likewise.
92836         * iconvdata/gen-8bit.sh: Likewise.
92838         * locale/iso-639.def: Add ary entry.
92840         [BZ #11258]
92841         * locale/C-translit.h.in: Add U20A1 transliteration.
92843         [BZ #12178]
92844         * locale/iso-639.def: Add wae entry.
92845         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92847         [BZ #12545]
92848         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92849         for n.
92851         [BZ #12711]
92852         * locale/C-translit.h.in: Add entry for U20B9.
92853         Patch by pravin.d.s@gmail.com.
92855 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92857         [BZ #12713]
92858         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92859         ENAMETOOLONG use generic getcwd.
92860         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92861         in rtld.  Use *stat64.
92862         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92863         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92864         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92865         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92866         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92867         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92868         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92869         __fstatat64 macros.
92870         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92871         * dirent/rewinddir.c: Add libc_hidden_def.
92872         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92873         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92875         * include/dirent.h (__alloc_dir): Add flags parameter.
92876         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92877         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92878         __alloc_dir.
92879         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92880         from fdopendir if O_CLOEXEC is already set.
92882 2011-03-15  Alan Modra  <amodra@gmail.com>
92884         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92885         l_tls_firstbyte_offset non-zero.  Save padding offset in
92886         l_tls_firstbyte_offset for later use.
92887         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92888         freeing static tls block.
92890 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92892         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92893         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92894         being defined by the kernel headers.
92896 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92898         [BZ #12734]
92899         * resolv/resolv.h: Define RES_NOTLDQUERY.
92900         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92901         no-tld-query and set RES_NOTLDQUERY.
92902         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92903         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92904         modern BIND to search name as TLD unless forbidden.
92906 2011-05-07  Petr Baudis  <pasky@suse.cz>
92907             Ulrich Drepper  <drepper@gmail.com>
92909         [BZ #12393]
92910         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92911         (is_trusted_path): ...to here.
92912         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92913         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92914         using is_trusted_path_normalize() in setuid scripts.
92916 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92918         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92919         __BEGIN/__END_DECLS.
92921 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92923         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92924         NSS_STATUS_NOTFOUND if no record was found.
92926 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92928         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92929         (headers-not-in-tirpc): Remove rpc/netdb.h
92930         * resolv/netdb.h: Revert last change.
92932 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92934         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92935         circular dependency between libgcc.a and libc.a.
92937 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92939         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92940         * nis/Makefile: Don't install rpcsvc/*.
92941         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92942         instead of <rpc/types.h>.
92943         (MAXHOSTNAMELEN): Define.
92945 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92947         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92949 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92951         [BZ #12714]
92952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92953         gethostbyname4_r when IPv6 results are possible.
92955 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92957         [BZ #12723]
92958         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92959         _PC_PIPE_BUF handling.
92961 2011-04-30  Bruno Haible  <bruno@clisp.org>
92963         [BZ #12717]
92964         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92965         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92966         to 'int'.
92967         * inet/getnameinfo.c (getnameinfo): Likewise.
92969 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92971         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92972         to groups setting in database lookup.
92973         * nss/nsswitch.conf: Add initgroups entry.
92975 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92977         [BZ #12685]
92978         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92979         mode string.
92980         Patch by Eric Blake <eblake@redhat.com>.
92982 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92984         * sunrpc/Makefile (need-export-routines): Add svc_run.
92985         (routines): Remove svc_run.
92986         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92987         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92988         * sunrpc/svc_run.c (svc_run): Likewise.
92989         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92991 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92993         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92994         problem in reallocation in last patch.
92996 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92998         * sunrpc/Makefile: Move inclusion of Rules.
93000 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93002         * nss/nss_files/files-initgroups.c: New file.
93003         * nss/Makefile (libnss_files-routines): Add files-initgroups.
93004         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
93005         _nss_files_initgroups_dyn.
93007 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
93009         * elf/elf.h (R_ARM_IRELATIVE): Define.
93011 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93013         * po/ru.po: Update from translation team.
93015 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93017         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
93018         dependencies.
93020 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
93022         [BZ #12653]
93023         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
93024         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
93025         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
93026         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
93027         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93029 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
93031         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
93032         differing bytes.
93033         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
93034         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
93035         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
93037 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93039         [BZ #12420]
93040         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
93041         storing it.
93042         * stdlib/bug-getcontext.c: New file.
93043         * stdlib/Makefile: Add rules to build and run bug-getcontext.
93045 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93047         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
93048         instructions into .machine "z9-109".
93049         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
93050         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
93052 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93054         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
93055         between environment variables and auxiliary vector.
93057 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
93059         * Makefile: Add rules to build linkobj/libc.so.
93060         * include/libc-symbols.h: Define libc_hidden_nolink.
93061         * include/rpc/auth.h: Mark functions which are to be hidden.
93062         * include/rpc/auth_des.h: Likewise.
93063         * include/rpc/auth_unix.h: Likewise.
93064         * include/rpc/clnt.h: Likewise.
93065         * include/rpc/des_crypt.h: Likewise.
93066         * include/rpc/key_prot.h: Likewise.
93067         * include/rpc/pmap_clnt.h: Likewise.
93068         * include/rpc/pmap_prot.h: Likewise.
93069         * include/rpc/pmap_rmt.h: Likewise.
93070         * include/rpc/rpc_msg.h: Likewise.
93071         * include/rpc/svc.h: Likewise.
93072         * include/rpc/svc_auth.h: Likewise.
93073         * include/rpc/xdr.h: Likewise.
93074         * nis/Makefile: Link all DSOs against linkobj/libc.so.
93075         * nss/Makefile: Likewise.
93076         * sunrpc/Makefile: Don't install headers.  Build library with normal
93077         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
93078         * sunrpc/auth_des.c: Hide exported symbols by default, export some
93079         for the compat linking library.  Remove use of INTDEF/INTUSE.
93080         * sunrpc/auth_none.c: Likewise.
93081         * sunrpc/auth_unix.c: Likewise.
93082         * sunrpc/authdes_prot.c: Likewise.
93083         * sunrpc/authuxprot.c: Likewise.
93084         * sunrpc/clnt_gen.c: Likewise.
93085         * sunrpc/clnt_perr.c: Likewise.
93086         * sunrpc/clnt_raw.c: Likewise.
93087         * sunrpc/clnt_simp.c: Likewise.
93088         * sunrpc/clnt_tcp.c: Likewise.
93089         * sunrpc/clnt_udp.c: Likewise.
93090         * sunrpc/clnt_unix.c: Likewise.
93091         * sunrpc/des_crypt.c: Likewise.
93092         * sunrpc/des_soft.c: Likewise.
93093         * sunrpc/get_myaddr.c: Likewise.
93094         * sunrpc/key_call.c: Likewise.
93095         * sunrpc/key_prot.c: Likewise.
93096         * sunrpc/netname.c: Likewise.
93097         * sunrpc/pm_getmaps.c: Likewise.
93098         * sunrpc/pm_getport.c: Likewise.
93099         * sunrpc/pmap_clnt.c: Likewise.
93100         * sunrpc/pmap_prot.c: Likewise.
93101         * sunrpc/pmap_prot2.c: Likewise.
93102         * sunrpc/pmap_rmt.c: Likewise.
93103         * sunrpc/publickey.c: Likewise.
93104         * sunrpc/rpc_cmsg.c: Likewise.
93105         * sunrpc/rpc_common.c: Likewise.
93106         * sunrpc/rpc_dtable.c: Likewise.
93107         * sunrpc/rpc_prot.c: Likewise.
93108         * sunrpc/rpc_thread.c: Likewise.
93109         * sunrpc/rtime.c: Likewise.
93110         * sunrpc/svc.c: Likewise.
93111         * sunrpc/svc_auth.c: Likewise.
93112         * sunrpc/svc_authux.c: Likewise.
93113         * sunrpc/svc_raw.c: Likewise.
93114         * sunrpc/svc_run.c: Likewise.
93115         * sunrpc/svc_simple.c: Likewise.
93116         * sunrpc/svc_tcp.c: Likewise.
93117         * sunrpc/svc_udp.c: Likewise.
93118         * sunrpc/svc_unix.c: Likewise.
93119         * sunrpc/svcauth_des.c: Likewise.
93120         * sunrpc/xcrypt.c: Likewise.
93121         * sunrpc/xdr.c: Likewise.
93122         * sunrpc/xdr_array.c: Likewise.
93123         * sunrpc/xdr_float.c: Likewise.
93124         * sunrpc/xdr_intXX_t.c: Likewise.
93125         * sunrpc/xdr_mem.c: Likewise.
93126         * sunrpc/xdr_rec.c: Likewise.
93127         * sunrpc/xdr_ref.c: Likewise.
93128         * sunrpc/xdr_sizeof.c: Likewise.
93129         * sunrpc/xdr_stdio.c: Likewise.
93131 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
93133         [BZ #12650]
93134         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93135         * sysdeps/ia64/dl-tls.h: Likewise.
93136         * sysdeps/powerpc/dl-tls.h: Likewise.
93137         * sysdeps/s390/dl-tls.h: Likewise.
93138         * sysdeps/sh/dl-tls.h: Likewise.
93139         * sysdeps/sparc/dl-tls.h: Likewise.
93140         * sysdeps/x86_64/dl-tls.h: Likewise.
93141         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93143 2011-03-14  Andreas Schwab  <schwab@redhat.com>
93145         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93146         rpath element also skip the following colon.
93147         (expand_dynamic_string_token): Add is_path parameter and pass
93148         down to DL_DST_REQUIRED and _dl_dst_substitute.
93149         (decompose_rpath): Call expand_dynamic_string_token with
93150         non-zero is_path.  Ignore empty rpaths.
93151         (_dl_map_object_from_fd): Call expand_dynamic_string_token
93152         with zero is_path.
93154 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
93156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93157         Make cancelable.
93159 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
93161         [BZ #12655]
93162         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93163         Patch by Filipe David Manana <fdmanana@apache.org>.
93165 2011-04-07  Andreas Schwab  <schwab@redhat.com>
93167         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93168         Maintain aligned stack.
93169         (CHECK_RSP): Remove unused macro.
93171 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
93173         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93174         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93176 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
93178         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93180         * include/features.h: Mention __USE_XOPEN2K8 in comment.
93182 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
93184         [BZ #12518]
93185         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93186         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93187         * sysdeps/x86_64/memmove.c: New file.
93188         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93189         (memcpy): Renamed to ...
93190         (__new_memcpy): This.
93191         (memcpy): Provide GLIBC_2_14 memcpy.
93192         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93193         (memcpy): Provide GLIBC_2_2_5 memcpy.
93195 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93197         [BZ #12631]
93198         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93200 2011-03-30  Andreas Schwab  <schwab@redhat.com>
93202         * misc/syncfs.c: New file.
93203         * misc/Makefile (routines): Add syncfs.
93204         * posix/unistd.h: Declare syncfs.
93205         * sysdeps/unix/syscalls.list: Add syncfs.
93207 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93209         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93210         open_by_handle_at.
93211         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93212         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93214         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93216         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93219 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93221         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93222         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93223         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93224         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93227         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93229         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93230         sync_file_range.c with -fexceptions.
93231         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93232         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93233         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93234         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93235         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93236         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93238         sync_file_range as cancellation point
93239         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93240         now a wrapper around __call_sync_file_range with cancellation handling.
93241         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93242         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93243         function name to __call_sync_file_range.
93244         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93245         Add call_sync_file_range.
93247 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93250         bits/timex.h.
93252 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93254         * iconv/iconv.h: Fix typo in comment.
93255         * io/fcntl.h: Likewise.
93256         * libio/stdio.h: Likewise.
93257         * posix/spawn.h: Likewise.
93258         * posix/unistd.h: Likewise.
93259         * stdlib/stdlib.h: Likewise.
93260         * time/time.h: Likewise.
93261         * wcsmbs/wchar.h: Likewise.
93263         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93264         open_by_handle): Add.
93265         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93266         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93267         Augment a few comments.
93268         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93269         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93270         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93272         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93273         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93274         open_by_handle.
93276         * io/fcntl.h (AT_EMPTY_PATH): Define.
93278 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93280         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93281         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93282         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93283         to...
93284         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93285         * Versions.def: Add GLIBC_2.14.
93286         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93287         Export.
93289 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93291         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93292         round counter.
93293         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93295 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93297         [BZ #12597]
93298         * string/test-strncmp.c (do_page_test): New function.
93299         (check2): Likewise.
93300         (test_main): Call check2.
93301         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93303 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93305         [BZ #12587]
93306         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93307         Handle cache information in CPU leaf 4.
93308         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93310 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93312         [BZ #12583]
93313         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93314         character representation.
93315         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93317 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93319         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93320         END(__isnan) to END(__isnanf) to match function entry point/label
93321         EALIGN(__isnanf,...).
93323 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93325         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93327 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93329         [BZ #12510]
93330         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93331         copy from the symbol referenced in the relocation to initialize the
93332         used variable.
93333         Patch by Piotr Bury <pbury@goahead.com>.
93334         * elf/Makefile: Add rules to build and tst-unique3.
93335         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93336         * elf/tst-unique3.cc: New file.
93337         * elf/tst-unique3.h: New file.
93338         * elf/tst-unique3lib.cc: New file.
93339         * elf/tst-unique3lib2.cc: New file.
93341         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93343 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93345         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93346         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93347         to _start.
93349 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93351         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93352         to-be-loaded object along a path to loader is ld.so.
93354 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93355             Ulrich Drepper  <drepper@gmail.com>
93357         * sysdeps/x86_64/memset.S: After aligning destination, code
93358         branches to different locations depending on the value of
93359         misalignment, when multiarch is enabled. Fix this.
93361 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93363         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93364         Set _x86_64_preferred_memory_instruction for AMD processsors.
93365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93366         Set bit_Prefer_SSE_for_memop for AMD processors.
93368 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93370         * libio/fmemopen.c (fmemopen): Optimize a bit.
93372 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93374         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93376 2011-03-03  Roland McGrath  <roland@redhat.com>
93378         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93380 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93382         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93383         __bzero_ultra1 instead of __memset_ultra1.
93385 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93386             Ulrich Drepper  <drepper@gmail.com>
93388         [BZ #12509]
93389         * include/link.h (struct link_map): Add l_orig_initfini.
93390         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93391         returning unsuccessfully.
93392         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93393         close of a file loaded at startup, restore the original l_initfini
93394         list.
93395         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93396         list, store the pointer.
93397         * elf/Makefile ($(objpfx)noload-mem): New rule.
93398         (noload-ENV): Define.
93399         (tests): Add $(objpfx)noload-mem.
93400         * elf/noload.c: Include <memcheck.h>.
93401         (main): Call mtrace.  Close all opened handles.
93403 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93405         [BZ #12454]
93406         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93407         dependencies are missing.
93409 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93411         Fix __if_freereq crash: Unlike the generic version which uses free,
93412         Hurd needs munmap.
93413         * sysdeps/mach/hurd/ifreq.h: New file.
93415 2011-01-27  Petr Baudis  <pasky@suse.cz>
93416             Ulrich Drepper  <drepper@gmail.com>
93418         [BZ 12445]#
93419         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93420         to extend_alloca().
93421         * stdio-common/bug23.c: New file.
93422         * stdio-common/Makefile (tests): Add bug23.
93424 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93425             Ulrich Drepper  <drepper@gmail.com>
93427         [BZ #12489]
93428         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93429         before performing relro protection.  At old place add assertion
93430         to make sure nothing changed.
93432 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93433             Glauber de Oliveira Costa  <glommer@gmail.com>
93435         * elf/elf.h: Add new ARM TLS relocs.
93437 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93440         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93441         cast from r3.
93442         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93443         'tests' variable.
93444         * sysdeps/wordsize-64/tst-writev.c: New file.
93446 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93448         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93449         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93450         insns in _dl_start to prevent a TOC reference before relocs are
93451         resolved.
93453 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93455         [BZ #12469]
93456         * Makeconfig: Remove RANLIB definition.
93457         * Makerules: Don't use RANLIB.
93458         * aclocal.m4: Remove ranlib test.
93459         * configure.in: No need to check for ranlib.
93460         * elf/rtld-Rules: Don't use RANLIB.
93462 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93464         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93465         protection macro.
93466         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93467         inclusion protection macro.
93469         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93470         SIGRTMIN and SIGRTMAX and print information in that case only when
93471         SIGRTMIN is defined.
93473 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93475         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93476         arginfo fn returning -1.
93478         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93479         and thousands string is zero terminated.
93481 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93484         sysdeps/unix/sysv/linux/bits/socket.h.
93486 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93488         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93489         (__CPU_COUNT): Remove old macros.
93490         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93491         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93492         (__CPU_ALLOC, __CPU_FREE): Add macros.
93493         (__sched_cpualloc, __sched_cpufree): Add declarations.
93495 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93497         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93498         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93499         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93500         (readdhstai): Return value of addhstaiX call.
93501         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93502         (addgrbyX): Return value returned by cache_addgr.
93503         (readdgrbyname): Return value returned by addgrbyX.
93504         (readdgrbygid): Likewise.
93505         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93506         (addpwbyX): Return value returned by cache_addpw.
93507         (readdpwbyname): Return value returned by addhstbyX.
93508         (readdpwbyuid): Likewise.
93509         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93510         (addservbyX): Return value returned by cache_addserv.
93511         (readdservbyname): Return value returned by addservbyX:
93512         (readdservbyport): Likewise.
93513         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93514         (addhstbyX): Return value returned by cache_addhst.
93515         (readdhstbyname): Return value returned by addhstbyX.
93516         (readdhstbyaddr): Likewise.
93517         (readdhstbynamev6): Likewise.
93518         (readdhstbyaddrv6): Likewise.
93519         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93520         (readdinitgroups): Return value returned by addinitgroupsX.
93521         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93522         (prune_cache): Keep track of timeout value of re-added entries.
93523         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93524         * nscd/nscd.h: Adjust prototypes of readd* functions.
93526 2011-02-04  Roland McGrath  <roland@redhat.com>
93528         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93529         (nis_stats): Likewise.
93530         * nis/nis_modify.c (nis_modify): Likewise.
93531         * nis/nis_remove.c (nis_remove): Likewise.
93532         * nis/nis_add.c (nis_add): Likewise.
93534         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93536         * posix/fnmatch_loop.c: Add some consts.
93538         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93540 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93542         [BZ #12460]
93543         * config.make.in (config-cflags-novzeroupper): Define.
93544         * configure.in: Substitute libc_cv_cc_novzeroupper.
93545         * elf/Makefile (AVX-CFLAGS): Define.
93546         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93547         (CFLAGS-tst-auditmod4a.c): Likewise.
93548         (CFLAGS-tst-auditmod4b.c): Likewise.
93549         (CFLAGS-tst-auditmod6b.c): Likewise.
93550         (CFLAGS-tst-auditmod6c.c): Likewise.
93551         (CFLAGS-tst-auditmod7b.c): Likewise.
93552         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93554 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93556         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93557         function to the callback.
93558         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93560 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93562         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93563         of errno.
93565 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93567         [BZ #11724]
93568         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93569         of constructors.
93570         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93571         of destructors.
93572         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93574         [BZ #11724]
93575         * elf/Makefile: Add rules to build and run new test.
93576         * elf/tst-initorder.c: New file.
93577         * elf/tst-initorder.exp: New file.
93578         * elf/tst-initordera1.c: New file.
93579         * elf/tst-initordera2.c: New file.
93580         * elf/tst-initordera3.c: New file.
93581         * elf/tst-initordera4.c: New file.
93582         * elf/tst-initorderb1.c: New file.
93583         * elf/tst-initorderb2.c: New file.
93584         * elf/tst-order-a1.c: New file.
93585         * elf/tst-order-a2.c: New file.
93586         * elf/tst-order-a3.c: New file.
93587         * elf/tst-order-a4.c: New file.
93588         * elf/tst-order-b1.c: New file.
93589         * elf/tst-order-b2.c: New file.
93590         * elf/tst-order-main.c: New file.
93591         New test case by George Gensure <werkt0@gmail.com>.
93593 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93596         decoding ACE if AI_CANONIDN.
93598 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93600         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93602 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93604         * version.h (RELEASE): Bump for 2.13 release.
93605         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93607         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93609         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93610         MADV_NOHUGEPAGE.
93611         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93612         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93613         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93614         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93615         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93618         * posix/getconf.c: Update copyright year.
93619         * catgets/gencat.c: Likewise.
93620         * csu/version.c: Likewise.
93621         * debug/catchsegv.sh: Likewise.
93622         * debug/xtrace.sh: Likewise.
93623         * elf/ldconfig.c: Likewise.
93624         * elf/ldd.bash.in: Likewise.
93625         * elf/sprof.c (print_version): Likewise.
93626         * iconv/iconv_prog.c: Likewise.
93627         * iconv/iconvconfig.c: Likewise.
93628         * locale/programs/locale.c: Likewise.
93629         * locale/programs/localedef.c: Likewise.
93630         * malloc/memusage.sh: Likewise.
93631         * malloc/mtrace.pl: Likewise.
93632         * nscd/nscd.c (print_version): Likewise.
93633         * nss/getent.c: Likewise.
93635         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93636         PF_CAIF, and PF_ALG.
93637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93639 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93641         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93642         (modules-names): Use them.
93643         (ifunc-test-modules, ifunc-pie-tests): Define.
93644         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93645         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93646         (test-extras): Likewise.
93647         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93648         $(compile-command.c).
93649         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93650         (all-built-dso): Define.
93651         (check-textrel.out, check-execstack.out): Depend on it.
93653         * configure.in: Don't override --enable-multi-arch.
93655 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93657         [BZ #6812]
93658         * nscd/hstcache.c (tryagain): Define.
93659         (cache_addhst): Return tryagain not notfound for temporary errors.
93660         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93661         failed.
93663 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93665         [BZ #10563]
93666         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93667         to make the syscall.
93668         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93670         [BZ #12378]
93671         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93672         and fall back to matching as normal character if the string ends before
93673         the matching ']' is found.  This is what POSIX requires.
93674         * posix/testfnm.c: Adjust test result.
93675         * posix/globtest.sh: Adjust test result.  Add new test.
93676         * posix/tst-fnmatch.input: Likewise.
93677         * posix/tst-fnmatch2.c: Add new test.
93679 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93681         * elf/Makefile (check-execstack): Revert last change.  Depend on
93682         check-execstack.h.
93683         (check-execstack.h): New target.
93684         (generated): Add check-execstack.h.
93685         * elf/check-execstack.c: Include "check-execstack.h".
93686         (main): Revert last change.
93687         (handle_file): Return zero if GNU_STACK is absent and
93688         DEFAULT_STACK_PERMS doesn't include PF_X.
93690 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93692         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93693         in child fails because the descriptor is already closed.
93694         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93695         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93696         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93698         [BZ #12397]
93699         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93700         syscall.
93702         [BZ #10484]
93703         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93704         temporary buffer used to handle multi lookups locally.
93705         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93707 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93709         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93710         loader is ld.so.
93712 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93714         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93715         alignment for SSE2.
93717 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93719         [BZ #12394]
93720         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93721         characters.  When rounding increased number of integer digits recompute
93722         number of groups.
93723         * stdio-common/tst-grouping.c: New file.
93724         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93726 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93728         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93729         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93731         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93732         void.
93733         * bits/select.h: Likewise.
93735 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93737         * po/ja.po: Update from translation team.
93739 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93741         [BZ #11155]
93742         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93743         implementation just like for lxstat, fxstatat, et al.
93745 2010-12-27  Jim Meyering  <meyering@redhat.com>
93747         [BZ #12348]
93748         * posix/regexec.c (build_trtable): Return failure indication upon
93749         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93751 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93753         [BZ #12201]
93754         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93755         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93756         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93757         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93759         [BZ #12207]
93760         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93762         [BZ #12204]
93763         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93764         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93766 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93768         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93769         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93770         script has SORT_BY_INIT_PRIORITY.
93771         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93772         NO_CTORS_DTORS_SECTIONS is defined.
93773         * elf/soinit.c: Likewise.
93774         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93775         NO_CTORS_DTORS_SECTIONS is defined.
93776         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93777         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93778         * sysdeps/sh/init-first.c: Likewise.
93779         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93781 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93783         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93784         always use the slow path.
93786 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93788         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93789         similar rule which adds the sysdep directories to the header search in
93790         order to pick up the correct platform stackinfo.h.
93791         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93792         perform test if it is, otherwise return successfully without testing.
93793         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93794         DEFAULT_STACK_PERMS define in stackinfo.h.
93795         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93796         defined in stackinfo.h.
93797         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93798         DEFAULT_STACK_PERMS defined in stackinfo.h.
93799         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93800         * sysdeps/ia64/stackinfo.h: Likewise.
93801         * sysdeps/s390/stackinfo.h: Likewise.
93802         * sysdeps/sh/stackinfo.h: Likewise.
93803         * sysdeps/sparc/stackinfo.h: Likewise.
93804         * sysdeps/x86_64/stackinfo.h: Likewise.
93805         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93806         PF_X for powerpc64.  Retain PF_X for powerpc32.
93808 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93810         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93811         accurately.
93812         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93813         GETDENTS_64BIT_ALIGNED.
93815 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93817         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93819 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93821         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93822         _GNU_SOURCE.
93824         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93825         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93826         Remove __restrict.
93827         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93828         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93830 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93832         [BZ #11655]
93833         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93834         are initialized.
93836 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93838         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93840 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93842         * po/it.po: Update from translation team.
93844 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93846         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93847         unused codes.
93849 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93851         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93853 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93855         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93856         specially.
93857         (gaih_getanswer_slice): Likewise.
93859 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93863 2010-05-31  Petr Baudis  <pasky@suse.cz>
93865         [BZ #11149]
93866         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93867         silently even in the chroot mode.
93869 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93871         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93872         last patch a bit.  Pretty printing
93874 2010-05-31  Petr Baudis <pasky@suse.cz>
93876         [BZ #10085]
93877         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93878         initialization of skip_initgroups_dyn.
93880 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93882         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93883         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93885 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93887         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93889 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93891         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93892         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93893         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93894         ($(objpfx)tst-fnmatch-mem): New rule.
93895         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93896         * posix/tst-fnmatch.c (main): Call mtrace.
93898 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93901         Support Intel processor model 6 and model 0x2c.
93903 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93905         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93906           signed comparison.
93908 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93910         [BZ #12205]
93911         * string/test-strncasecmp.c (check_result): New function.
93912         (do_one_test): Use it.
93913         (check1): New function.
93914         (test_main): Use it.
93915         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93916         Support strcasecmp and strncasecmp.
93918 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93920         [BZ #12194]
93921         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93922         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93924 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93926         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93927         IFUNC support.
93928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93929         memset-x86-64.
93930         * sysdeps/x86_64/multiarch/bzero.S: New file.
93931         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93932         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93933         * sysdeps/x86_64/multiarch/memset.S: New file.
93934         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93936         Set bit_Prefer_SSE_for_memop for Intel processors.
93937         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93938         Define.
93939         (index_Prefer_SSE_for_memop): Define.
93940         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93942 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93944         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93945         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93947 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93949         [BZ #12191]
93950         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93951         (__x86_64_raw_data_cache_size_half): Likewise.
93952         (__x86_64_raw_shared_cache_size): Likewise.
93953         (__x86_64_raw_shared_cache_size_half): Likewise.
93955         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93956         (__x86_64_raw_data_cache_size_half): Likewise.
93957         (__x86_64_raw_shared_cache_size): Likewise.
93958         (__x86_64_raw_shared_cache_size_half): Likewise.
93959         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93960         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93961         and __x86_64_raw_shared_cache_size_half.  Round
93962         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93963         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93964         to multiple of 256 bytes.
93966 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93968         [BZ #12167]
93969         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93970         of inacessible symlinks.  Verify result of symlink before returning it.
93971         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93972         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93974 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93976         * math/math.h (isinf): Fix typo in comment.
93978 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93980         * po/da.po: Update from translation team.
93982 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93984         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93985         is added to the list.
93987 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93988             Ulrich Drepper  <drepper@gmail.com>
93990         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93991         the global list here.  Move code to...
93992         (_dl_add_to_namespace_list): ...here.  New function.
93993         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93994         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93995         * elf/dl-load.c (lose): Don't remove the element from the list.
93996         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93997         (_dl_map_object): Likewise.
93999 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
94001         [BZ #12159]
94002         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
94003         into all bytes of SSE register.
94004         Patch by Richard Li <richardpku@gmail.com>.
94006 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
94008         [BZ #12140]
94009         * malloc/malloc.c (_int_free): Fill correct number of bytes when
94010         perturbing.
94012 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
94014         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
94015         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
94016         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
94017         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
94018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
94019         submachine.
94020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
94022 2010-10-22  Andreas Schwab  <schwab@redhat.com>
94024         * include/dlfcn.h (__RTLD_SECURE): Define.
94025         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
94026         mode & __RTLD_SECURE instead.
94027         (open_path): Rename preloaded parameter to secure.
94028         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
94029         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
94030         * elf/dl-deps.c (openaux): Likewise.
94031         * elf/rtld.c (struct map_args): Remove is_preloaded.
94032         (map_doit): Don't use it.
94033         (dl_main): Likewise.
94034         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
94035         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
94037 2010-09-09  Andreas Schwab  <schwab@redhat.com>
94039         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94040         (sysd-rules-targets): Remove duplicates.
94041         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
94042         rtld-%.$o dependency.
94044 2010-10-18  Andreas Schwab  <schwab@redhat.com>
94046         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
94047         _dl_map_object do it.
94049 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
94051         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
94052         fast fma builtins, define the macros in the C99 standard.
94053         (FP_FAST_FMAF): Likewise.
94054         (FP_FAST_FMAL): Likewise.
94055         * sysdeps/x86_64/bits/mathdef.h: Likewise.
94057         * bits/mathdef.h: Update copyright year.
94058         * sysdeps/powerpc/bits/mathdef.h: Likewise.
94060 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
94062         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
94063         builtins, define the macros in the C99 standard.
94064         (FP_FAST_FMAF): Likewise.
94065         (FP_FAST_FMAL): Likewise.
94066         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
94067         multiply/add.
94068         (FP_FAST_FMAF): Likewise.
94070 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
94072         [BZ #3268]
94073         * math/libm-test.inc (fma_test): Some new testcases.
94074         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
94075         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
94076         y and infinite z.  Do multiplication by C already in long double.
94077         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
94078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
94079         y and infinite z.  Do bitwise or of inexact bit into u.d.
94080         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
94081         * sysdeps/i386/fpu/s_fmaf.S: Removed.
94082         * sysdeps/i386/fpu/s_fma.S: Removed.
94083         * sysdeps/i386/fpu/s_fmal.S: Removed.
94085 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
94087         [BZ #3268]
94088         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
94089         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
94090         computation is not scheduled after fetestexcept.  Fix value
94091         of minimum denormal long double.
94093 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
94095         [BZ #3268]
94096         * math/libm-test.inc (fma_test): Add some more tests.
94097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
94098         correctly.
94100 2010-10-15  Andreas Schwab  <schwab@redhat.com>
94102         * scripts/data/localplt-s390-linux-gnu.data: New file.
94103         * scripts/data/localplt-s390x-linux-gnu.data: New file.
94105 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
94107         [BZ #3268]
94108         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94109         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94110         instead of dbl-64.
94111         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94112         inlines.
94113         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94115         if one of x and y is very large and the other is subnormal.
94116         * sysdeps/s390/fpu/s_fmaf.c: New file.
94117         * sysdeps/s390/fpu/s_fma.c: New file.
94118         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94119         * sysdeps/powerpc/fpu/s_fma.S: New file.
94120         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94121         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94122         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94124 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
94126         [BZ #3268]
94127         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94128         fma tests.
94129         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94130         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94131         * sysdeps/i386/i686/multiarch/s_fma.c: Include
94132         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94133         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94134         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94135         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94137 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
94139         [BZ #12078]
94140         * posix/regcomp.c (parse_branch): One more memory leak plugged.
94141         * posix/bug-regex31.input: Add test case.
94143 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94145         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94146         * posix/bug-regex31.input: New file.
94148         [BZ #12078]
94149         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94150         (parse_sub_exp): Fix last change, use postorder.
94152         * posix/bug-regex31.c: New file.
94153         * posix/Makefile: Add rules to build and run bug-regex31.
94155         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94157         [BZ #12078]
94158         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94160         [BZ #12108]
94161         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94162         to have entries in sys_siglist.
94164         [BZ #12093]
94165         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94166         be NULL.
94168 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
94170         [BZ #3268]
94171         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94172         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94173         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94174         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94175         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94176         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94177         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94178         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94179         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94180         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94181         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94182         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94183         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94184         * math/ftestexcept.c (fetestexcept): Likewise.
94185         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94186         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94187         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94188         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94189         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94190         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94191         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94193 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94195         [BZ #12107]
94196         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94197         newline.
94199 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
94201         * string/bug-strstr1.c: New file.
94202         * string/Makefile: Add rules to build and run bug-strstr1.
94204 2010-10-05  Eric Blake  <eblake@redhat.com>
94206         [BZ #12092]
94207         * string/str-two-way.h (two_way_long_needle): Always clear memory
94208         when skipping input due to the shift table.
94210 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
94212         [BZ #12005]
94213         * malloc/mcheck.c: Handle large requests.
94215         [BZ #12077]
94216         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94217         for strncmp and strncasecmp.
94218         * string/stratcliff.c: Add tests for strcmp and strncmp.
94219         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94221 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
94223         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94224         __set_fpscr.
94226 2010-09-30  Andreas Jaeger  <aj@suse.de>
94228         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94229         (CGROUP_SUPER_MAGIC): Define.
94230         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94231         Handle btrfs and cgroup file systems.
94232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94233         Likewise.
94235 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94237         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94238         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94240 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94242         [BZ #12067]
94243         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94244         trying to locate the ELF header.
94246 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94248         [BZ #11611]
94249         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94250         Mask out sign-bit copies when constructing f_fsid.
94252 2010-09-24  Petr Baudis <pasky@suse.cz>
94254         * debug/stack_chk_fail_local.c: Add missing licence exception.
94255         * debug/warning-nop.c: Likewise.
94257 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94259         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94260         implementing getdents64 using getdents syscall, set d_type if
94261         __ASSUME_GETDENTS32_D_TYPE.
94263 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94265         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94266         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94268 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94270         [BZ #12037]
94271         * posix/unistd.h: Undo change of feature selection for ftruncate from
94272         2010-01-11.
94274 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94276         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94277         detection.
94279 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94282         fanotify_mark.
94283         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94285 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94287         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94288         variables after CHECK_SP call.
94289         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94291 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94292             Ulrich Drepper  <drepper@redhat.com>
94294         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94295         re-relocationg ld.so.
94296         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94297         _dl_init_paths call.
94298         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94299         here anymore.
94301 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94303         * resolv/res_init.c (__res_vinit): Count the default server we added.
94305 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94306             Ulrich Drepper  <drepper@redhat.com>
94308         [BZ #11968]
94309         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94310         (____longjmp_chk): Use %ebx for saving value across system call.
94311         Add unwind info.
94313 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94315         * manual/Makefile: Don't mix pattern rules with normal rules.
94317 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94319         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94320         operation.
94321         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94322         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94323         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94324         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94325         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94326         Likewise.
94328 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94330         [BZ #11979]
94331         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94332         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94334 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94336         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94337         * sysdeps/x86_64/addmul_1.S: Likewise.
94338         * sysdeps/x86_64/lshift.S: Likewise.
94339         * sysdeps/x86_64/mul_1.S: Likewise.
94340         * sysdeps/x86_64/rshift.S: Likewise.
94341         * sysdeps/x86_64/sub_n.S: Likewise.
94342         * sysdeps/x86_64/submul_1.S: Likewise.
94344 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94346         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94347         Define __sched_param instead of SCHED_* and sched_param when
94348         <bits/sched.h> is included with __need_schedparam defined.
94349         * bits/sched.h [__need_schedparam]
94350         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94351         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94352         (__defined_schedparam): Define to 1.
94353         (__sched_param): New structure, identical to sched_param.
94354         (__need_schedparam): Undefine.
94356 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94358         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94359         (epoll_create1): Declare.
94361         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94363 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94365         [BZ #7066]
94366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94367         shifting retval into place.
94369 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94371         * nis/rpcsvc/nis.h: Update copyright notice.
94372         * nis/rpcsvc/nis.x: Likewise.
94373         * nis/rpcsvc/nis_callback.h: Likewise.
94374         * nis/rpcsvc/nis_callback.x: Likewise.
94375         * nis/rpcsvc/nis_object.x: Likewise.
94376         * nis/rpcsvc/nis_tags.h: Likewise.
94377         * nis/rpcsvc/yp.h: Likewise.
94378         * nis/rpcsvc/yp.x: Likewise.
94379         * nis/rpcsvc/ypupd.h: Likewise.
94380         * nis/yp_xdr.c: Likewise.
94381         * nis/ypupdate_xdr.c: Likewise.
94383         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94384         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94385         (pmap_getport): Use __libc_rpc_getport.
94386         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94387         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94388         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94390 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94393         fanotify_mark.
94395 2010-08-27  Roland McGrath  <roland@redhat.com>
94397         * sysdeps/i386/i686/multiarch/Makefile
94398         (CFLAGS-varshift.c): New variable.
94400 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94402         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94403         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94405         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94407         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94409 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94411         * sysdeps/x86_64/strlen.S: Unroll the loop.
94412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94413         strlen-sse2 strlen-sse2-bsf.
94414         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94415         __strlen_no_bsf if bit_Slow_BSF is set.
94416         (__strlen_sse42): Removed.
94417         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94418         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94420 2010-08-25  Roland McGrath  <roland@redhat.com>
94422         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94423         * sysdeps/x86_64/multiarch/varshift.c: New file.
94424         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94425         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94426         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94427         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94429 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94431         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94432         strlen-sse2 strlen-sse2-bsf.
94433         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94434         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94435         (__strlen_sse2): Removed.
94436         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94437         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94439         bit_Slow_BSF for Atom.
94440         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94441         (index_Slow_BSF): Define.
94442         (HAS_SLOW_BSF): Define.
94444 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94446         [BZ #10851]
94447         * resolv/res_init.c (__res_vinit): When no server address at all
94448         is given default to loopback.
94450 2010-08-24  Roland McGrath  <roland@redhat.com>
94452         * configure.in: Remove config-name.h generation.
94453         * configure: Regenerated.
94454         * config-name.in: File removed.
94455         * scripts/config-uname.sh: New file.
94456         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94457         ($(objdir)config-name.h): New target.
94459         * sunrpc/rpc_parse.h: Avoid nested comment.
94461 2010-08-24  Richard Henderson  <rth@redhat.com>
94462             Ulrich Drepper  <drepper@redhat.com>
94463             H.J. Lu  <hongjiu.lu@intel.com>
94465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94467         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94468         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94469         _mm_alignr_epi8 with _mm_loadu_si128.
94470         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94471         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94472         (__m128i_shift_right): Removed.
94473         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94474         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94475         * sysdeps/x86_64/multiarch/varshift.h: New file.
94476         * sysdeps/x86_64/multiarch/varshift.S: New file.
94478 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94480         * configure.in: Move assembler checks to before sysdep dir checking.
94482 2010-08-20  Petr Baudis  <pasky@suse.cz>
94484         * LICENSES: Sync the sunrpc license.
94486 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94488         * sunrpc/auth_des.c: Update copyright notice once again.
94489         * sunrpc/auth_none.c: Likewise.
94490         * sunrpc/auth_unix.c: Likewise.
94491         * sunrpc/authdes_prot.c: Likewise.
94492         * sunrpc/authuxprot.c: Likewise.
94493         * sunrpc/bindrsvprt.c: Likewise.
94494         * sunrpc/clnt_gen.c: Likewise.
94495         * sunrpc/clnt_perr.c: Likewise.
94496         * sunrpc/clnt_raw.c: Likewise.
94497         * sunrpc/clnt_simp.c: Likewise.
94498         * sunrpc/clnt_tcp.c: Likewise.
94499         * sunrpc/clnt_udp.c: Likewise.
94500         * sunrpc/clnt_unix.c: Likewise.
94501         * sunrpc/des_crypt.c: Likewise.
94502         * sunrpc/des_soft.c: Likewise.
94503         * sunrpc/get_myaddr.c: Likewise.
94504         * sunrpc/getrpcport.c: Likewise.
94505         * sunrpc/key_call.c: Likewise.
94506         * sunrpc/key_prot.c: Likewise.
94507         * sunrpc/openchild.c: Likewise.
94508         * sunrpc/pm_getmaps.c: Likewise.
94509         * sunrpc/pm_getport.c: Likewise.
94510         * sunrpc/pmap_clnt.c: Likewise.
94511         * sunrpc/pmap_prot.c: Likewise.
94512         * sunrpc/pmap_prot2.c: Likewise.
94513         * sunrpc/pmap_rmt.c: Likewise.
94514         * sunrpc/rpc/auth.h: Likewise.
94515         * sunrpc/rpc/auth_unix.h: Likewise.
94516         * sunrpc/rpc/clnt.h: Likewise.
94517         * sunrpc/rpc/des_crypt.h: Likewise.
94518         * sunrpc/rpc/key_prot.h: Likewise.
94519         * sunrpc/rpc/netdb.h: Likewise.
94520         * sunrpc/rpc/pmap_clnt.h: Likewise.
94521         * sunrpc/rpc/pmap_prot.h: Likewise.
94522         * sunrpc/rpc/pmap_rmt.h: Likewise.
94523         * sunrpc/rpc/rpc.h: Likewise.
94524         * sunrpc/rpc/rpc_des.h: Likewise.
94525         * sunrpc/rpc/rpc_msg.h: Likewise.
94526         * sunrpc/rpc/svc.h: Likewise.
94527         * sunrpc/rpc/svc_auth.h: Likewise.
94528         * sunrpc/rpc/types.h: Likewise.
94529         * sunrpc/rpc/xdr.h: Likewise.
94530         * sunrpc/rpc_clntout.c: Likewise.
94531         * sunrpc/rpc_cmsg.c: Likewise.
94532         * sunrpc/rpc_common.c: Likewise.
94533         * sunrpc/rpc_cout.c: Likewise.
94534         * sunrpc/rpc_dtable.c: Likewise.
94535         * sunrpc/rpc_hout.c: Likewise.
94536         * sunrpc/rpc_main.c: Likewise.
94537         * sunrpc/rpc_parse.c: Likewise.
94538         * sunrpc/rpc_parse.h: Likewise.
94539         * sunrpc/rpc_prot.c: Likewise.
94540         * sunrpc/rpc_sample.c: Likewise.
94541         * sunrpc/rpc_scan.c: Likewise.
94542         * sunrpc/rpc_scan.h: Likewise.
94543         * sunrpc/rpc_svcout.c: Likewise.
94544         * sunrpc/rpc_tblout.c: Likewise.
94545         * sunrpc/rpc_util.c: Likewise.
94546         * sunrpc/rpc_util.h: Likewise.
94547         * sunrpc/rpcinfo.c: Likewise.
94548         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94549         * sunrpc/rpcsvc/key_prot.x: Likewise.
94550         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94551         * sunrpc/rpcsvc/mount.x: Likewise.
94552         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94553         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94554         * sunrpc/rpcsvc/rex.x: Likewise.
94555         * sunrpc/rpcsvc/rstat.x: Likewise.
94556         * sunrpc/rpcsvc/rusers.x: Likewise.
94557         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94558         * sunrpc/rpcsvc/spray.x: Likewise.
94559         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94560         * sunrpc/rtime.c: Likewise.
94561         * sunrpc/svc.c: Likewise.
94562         * sunrpc/svc_auth.c: Likewise.
94563         * sunrpc/svc_authux.c: Likewise.
94564         * sunrpc/svc_raw.c: Likewise.
94565         * sunrpc/svc_run.c: Likewise.
94566         * sunrpc/svc_simple.c: Likewise.
94567         * sunrpc/svc_tcp.c: Likewise.
94568         * sunrpc/svc_udp.c: Likewise.
94569         * sunrpc/svc_unix.c: Likewise.
94570         * sunrpc/svcauth_des.c: Likewise.
94571         * sunrpc/xcrypt.c: Likewise.
94572         * sunrpc/xdr.c: Likewise.
94573         * sunrpc/xdr_array.c: Likewise.
94574         * sunrpc/xdr_float.c: Likewise.
94575         * sunrpc/xdr_mem.c: Likewise.
94576         * sunrpc/xdr_rec.c: Likewise.
94577         * sunrpc/xdr_ref.c: Likewise.
94578         * sunrpc/xdr_sizeof.c: Likewise.
94579         * sunrpc/xdr_stdio.c: Likewise.
94581         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94582         handling.
94584 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94586         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94588 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94590         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94591         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94592         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94593         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94594         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94595         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94596         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94597         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94598         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94599         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94600         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94601         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94602         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94603         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94605 2010-07-26  Anton Blanchard  <anton@samba.org>
94607         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94608         * malloc/arena.c (heap_trim): Likewise.
94610 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94612         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94613         here.  Not...
94614         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94615         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94617 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94619         * sysdeps/i386/elf/Makefile: New file.
94621 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94623         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94624         from fanotify_init.
94625         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94628 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94630         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94631         of strncasecmp_l.
94632         * sysdeps/multiarch/strcmp.S: Likewise.
94634 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94636         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94637         strncase_l-nonascii.
94638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94639         Add strncase_l-ssse3.
94640         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94641         * sysdeps/x86_64/strcmp.S: Likewise.
94642         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94643         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94644         * sysdeps/x86_64/strncase.S: New file.
94645         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94646         * sysdeps/x86_64/strncase_l.S: New file.
94647         * string/Makefile (strop-tests): Add strncasecmp.
94648         * string/test-strncasecmp.c: New file.
94650         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94651         warning.
94653         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94654         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94656 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94658         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94660 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94662         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94663         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94664         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94666 2010-05-01  Alan Modra  <amodra@gmail.com>
94668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94669         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94670         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94671         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94672         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94673         tidying.  Don't tail-call __sigjmp_save for static lib.
94674         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94675         save location.
94676         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94677         (CALL_MCOUNT): Add eh info, and nop after bl.
94678         (TAIL_CALL_SYSCALL_ERROR): New macro.
94679         (PSEUDO_RET): Use it.
94680         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94681         Correct save location of integer regs and cr.
94682         (_dl_profile_resolve): Correct cr save location.  Delete nops
94683         after bl when SHARED.  Reduce cfi size a little by better
94684         placement of cfi directives.
94685         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94686         make a stack frame.  Instead use parm save area as a temp.
94687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94688         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94690         Don't make a stack frame for parent, use parm save area.
94691         Increase child stack frame to 112 bytes.  Don't save unused reg,
94692         and adjust reg usage.  Set up cfi on error recovery and
94693         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94695         (__makecontext): Add dummy nop after jump to exit.
94696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94697         Use correct parm save area and cr save, reduce stack frame.
94698         Correct cfi for possible PSEUDO_RET frame setup.
94699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94700         Branch to local label emitted by PSEUDO_RET rather than
94701         __syscall_error.
94703 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94705         [BZ #11904]
94706         * locale/programs/locale.c (print_assignment): New function.
94707         (show_locale_vars): Use it.
94709 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94711         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94712         field.
94713         (struct statfs64): Likewise.
94714         (_STATFS_F_FLAGS): Define.
94715         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94716         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94717         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94718         (ST_VALID): Define locally.
94719         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94720         __statvfs_getflags, use the provided value.
94721         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94722         __ASSUME_STATFS_F_FLAGS.
94724         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94726         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94727         Add sys/fanotify.h.
94728         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94729         fanotify_mask for GLIBC_2.13.
94730         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94731         fanotify_init and fanotify_mark.
94732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94733         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94735         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94736         Add prlimit.
94737         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94738         prlimit64 for GLIBC_2.13.
94739         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94740         prlimit64.
94741         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94742         syscall.
94743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94744         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94745         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94746         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94747         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94748         add prlimit alias.
94749         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94751         [BZ #11903]
94752         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94753         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94755         * nss/Makefile: Add rules to build and run tst-nss-test1.
94756         * shlib-versions: Add entry for libnss_test1.
94757         * nss/nss_test1.c: New file.
94758         * nss/tst-nss-test1.c: New file.
94760         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94761         (__nss_configure_lookup): Set appropriate entry in
94762         __nss_configure_lookup to true.
94763         * nss/nsswitch.h: Define enum with indeces of databases in
94764         databases and __nss_database_custom arrays.  Declare
94765         __nss_database_custom.
94766         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94767         to avoid using nscd when custom rules are installed.
94768         * nss/getXXbyYY_r.c: Likewise.
94769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94771         * nss/nss_files/files-parse.c: Whitespace fixes.
94773 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94775         [BZ #11883]
94776         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94777         * posix/fnmatch_loop.c: Likewise.
94779 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94781         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94782         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94783         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94784         * Versions.def [GLIBC_2.13]: Add.
94786 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94788         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94789         Also fail if tpwd after pwuid call is NULL.
94791 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94793         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94794         when converting to ms.
94796 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94798         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94799         EOPNOTSUPP errors with ENOTTY.
94800         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94801         EOPNOTSUPP errors with ENOTTY.
94803 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94805         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94806         Add strcasecmp_l-ssse3.
94807         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94808         strcasecmp.
94809         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94810         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94811         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94813 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94815         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94817         * string/Makefile (strop-tests): Add strcasecmp.
94818         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94819         strcasecmp_l-nonascii.
94820         (gen-as-const-headers): Add locale-defines.sym.
94821         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94822         * sysdeps/x86_64/strcasecmp.S: New file.
94823         * sysdeps/x86_64/strcasecmp_l.S: New file.
94824         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94825         * sysdeps/x86_64/locale-defines.sym: New file.
94826         * string/test-strcasecmp.c: New file.
94828         * string/test-strcasestr.c: Test both ends of the range of characters.
94829         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94831 2010-07-29  Roland McGrath  <roland@redhat.com>
94833         [BZ #11856]
94834         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94836 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94838         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94839         for ld.so.
94841 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94843         * manual/memory.texi (Malloc Tunable Parameters): Document
94844         M_PERTURB.
94846 2010-07-26  Roland McGrath  <roland@redhat.com>
94848         [BZ #11840]
94849         * configure.in (-fgnu89-inline check): Set and substitute
94850         gnu89_inline, not libc_cv_gnu89_inline.
94851         * configure: Regenerated.
94852         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94854 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94856         * string/test-strnlen.c: New file.
94857         * string/Makefile (strop-tests): Add strnlen.
94858         * string/tester.c (test_strnlen): Add a few more test cases.
94859         * string/tst-strlen.c: Better error reporting.
94861         * sysdeps/x86_64/strnlen.S: New file.
94863 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94865         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94866         lower-latency instructions.
94868 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94870         * string/test-strcasestr.c: New file.
94871         * string/test-strstr.c: New file.
94872         * string/Makefile (strop-tests): Add strstr and strcasestr.
94873         * string/str-two-way.h: Don't undefine MAX.
94874         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94876 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94879         strcasestr-nonascii.
94880         (CFLAGS-strcasestr-nonascii.c): Define.
94881         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94882         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94883         Remove unused attribute.
94885 2010-07-20  Roland McGrath  <roland@redhat.com>
94887         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94888         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94889         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94890         like LD_HWCAP_MASK can disable hwcaps.
94892 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94894         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94896 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94898         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94899         call in strcasestr.
94900         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94901         __strcasestr_sse42_nonascii.
94902         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94903         strcasestr-nonascii.c.
94904         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94906 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94908         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94909         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94910         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94911         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94913 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94915         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94916         fcntl.
94918 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94920         [BZ #11577]
94921         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94922         dl_signal_cerror.
94924 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94927         _PC_PIPE_BUF using F_GETPIPE_SZ.
94929 2010-07-05  Roland McGrath  <roland@redhat.com>
94931         * manual/arith.texi (Rounding Functions): Fix rint description
94932         implicit in round description.
94934 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94936         * elf/Makefile: Fix linking for a few tests to make recent linker
94937         happy.
94939 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94941         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94942         $(common-objpfx)libc_nonshared.a.
94944 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94946         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94947         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94948         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94949         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94950         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94951         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94952         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94953         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94968         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94969         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94970         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94971         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94972         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94973         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94974         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94975         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94976         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94977         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94978         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94979         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94995 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94997         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94998         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94999         * string/memmove.c (memmove): Renamed to ...
95000         (MEMMOVE): ...this.  Default to memmove.
95001         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
95002         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
95003         (END_CHK): Define.
95004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95005         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
95006         mempcpy-ssse3-back memmove-ssse3-back.
95007         * sysdeps/x86_64/multiarch/bcopy.S: New file .
95008         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
95009         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
95010         * sysdeps/x86_64/multiarch/memcpy.S: New file.
95011         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
95012         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
95013         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
95014         * sysdeps/x86_64/multiarch/memmove.c: New file.
95015         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
95016         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
95017         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
95018         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
95019         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
95020         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
95021         Define.
95022         (index_Fast_Copy_Backward): Define.
95023         (HAS_ARCH_FEATURE): Define.
95024         (HAS_FAST_REP_STRING): Define.
95025         (HAS_FAST_COPY_BACKWARD): Define.
95027 2010-06-21  Andreas Schwab  <schwab@redhat.com>
95029         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95030         Restore proper fallback handling.
95032 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
95034         [BZ #11701]
95035         * posix/group_member.c (__group_member): Correct checking loop.
95037         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
95038         OOM in getpwuid_r correctly.  Return error number when the caller
95039         should return, otherwise -1.
95040         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
95041         call returning > 0 value.
95042         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
95044 2010-06-07  Andreas Schwab  <schwab@redhat.com>
95046         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
95047         libc_nonshared.a from targets in modules-names.
95049 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
95051         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
95052         requires it.
95054 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
95056         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
95057         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
95058         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
95059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
95061 2010-06-02  Andreas Schwab  <schwab@redhat.com>
95063         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
95065 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
95067         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
95068         and F_GETPIPE_SZ.
95069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
95070         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
95071         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
95072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
95073         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
95074         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
95076 2010-06-14  Roland McGrath  <roland@redhat.com>
95078         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
95080 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
95082         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
95083         __REDIRECT followed by __THROW.
95084         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
95085         * posix/getopt.h (getopt): Likewise.
95087 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95089         * hurd/lookup-at.c (__file_name_lookup_at): Accept
95090         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
95091         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
95092         in AT_FLAGS.
95093         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
95094         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
95096 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
95098         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
95100 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
95102         [BZ #11640]
95103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95104         Properly check family and model.
95106 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
95108         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95110 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
95112         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95114 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
95116         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95117         symbol reference.
95119 2010-05-19  Andreas Schwab  <schwab@redhat.com>
95121         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95122         symbol reference.
95124 2010-05-21  Andreas Schwab  <schwab@redhat.com>
95126         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95127         and internal_recvmmsg.
95128         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95129         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95130         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95131         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95133         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95134         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95135         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95137 2010-05-20  Andreas Schwab  <schwab@redhat.com>
95139         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95141 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
95143         POWER7 optimizations.
95144         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95145         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95147 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
95149         * version.h: Update for 2.13 development version.
95151 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
95153         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95154         exceptions.  Return 0.
95156 2010-05-07  Roland McGrath  <roland@redhat.com>
95158         * elf/ldconfig.c (main): Add a const.
95160 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
95162         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95163         (args_options): Add no-idn option.
95164         (ahosts_keys_int): Add idn_flags to ai_flags.
95165         (parse_option): Handle 'i' option to clear idn_flags.
95167         * malloc/malloc.c (_int_free): Possible race in the most recently
95168         added check.  Only act on the data if no current modification
95169         happened.
95171 See ChangeLog.17 for earlier changes.