Add support for DT_MIPS_RLD_MAP_REL.
[glibc.git] / ChangeLog
blobb502c78f894b41986ba758b4cee879ac5830e2a8
1 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
3         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4         (DT_MIPS_NUM): Update.
5         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
6         DT_MIPS_RLD_MAP_REL.
8 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10         [BZ #16559]
11         [BZ #18602]
12         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13         round-to-nearest internally then recompute results that
14         underflowed to zero in the original rounding mode.
15         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
19         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20         * sysdeps/i386/fpu/libm-test-ulps: Update.
21         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25         * NEWS: Fixed description of link with vector math library.
27 2015-06-25  Andreas Schwab  <schwab@suse.de>
29         [BZ #18549]
30         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31         * libio/test-fmemopen.c (do_test): Add test for it.
33 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35         [BZ #17841]
36         * Makeconfig (no-pie-ldflag): New.
37         (+link): Set to $(+link-pie) if default to PIE.
38         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
39         * config.make.in (build-pie-default): New.
40         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
41         is default.  AC_SUBST.
42         * configure: Regenerated.
43         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
45 2015-06-24  Roland McGrath  <roland@hack.frob.com>
47         * nptl/descr.h (struct pthread): Change type of field setxid_futex
48         to 'unsigned int'.
50         * resolv/gai_misc.h (struct waitlist): Change type of field
51         counterp to 'volatile unsigned int *'.
52         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
53         FUTEXADDR and OLDVAL.
54         * resolv/getaddrinfo_a.c (getaddrinfo_a):
55         Give local variable TOTAL type 'volatile unsigned int'.
56         (struct async_waitlist): Change type of field counter to 'unsigned int'.
57         * resolv/gai_suspend.c (gai_suspend):
58         Give local variable CNTR type 'unsigned int'.
60         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
61         counterp to 'volatile unsigned int *'.
62         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
63         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
64         (aio_suspend): Give local variable CNTR type 'unsigned int'.
65         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
66         Give local variable TOTAL type 'volatile unsigned int'.
67         (struct async_waitlist): Change type of field counter to 'unsigned int'.
69 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71         [BZ #18383]
72         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
73         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
74         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
75         comment for i386/x86-64.
76         (test-xfail-tst-tlsalign-extern-static): Removed.
78 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
80         * math/test-double.h: New file.
81         * math/test-float.h: Likewise.
82         * math/test-ldouble.h: Likewise.
83         * math/test-math-inline.h: Likewise.
84         * math/test-math-no-inline.h: Likewise.
85         * math/test-math-scalar.h: Likewise.
86         * math/test-math-vector.h: Likewise.
87         * math/test-vec-loop.h: Remove file.  Contents moved into
88         test-math-vector.h.
89         * math/libm-test.inc (MATHCONST): Do not document macro.
90         * math/test-double.c: Include test-double.h, test-math-no-inline.h
91         and test-math-scalar.h.
92         (FUNC): Remove macro.
93         (FUNC_TEST): Likewise.
94         (FLOAT): Likewise.
95         (MATHCONST): Likewise.
96         (PRINTF_EXPR): Likewise.
97         (PRINTF_XEXPR): Likewise.
98         (PRINTF_NEXPR): Likewise.
99         (TEST_DOUBLE): Likewise.
100         (TEST_MATHVEC): Likewise.
101         (__NO_MATH_INLINES): Likewise.
102         * math/test-float.c: Include test-float.h, test-math-no-inline.h
103         and test-math-scalar.h.
104         (FUNC): Remove macro.
105         (FUNC_TEST): Likewise.
106         (FLOAT): Likewise.
107         (MATHCONST): Likewise.
108         (PRINTF_EXPR): Likewise.
109         (PRINTF_XEXPR): Likewise.
110         (PRINTF_NEXPR): Likewise.
111         (TEST_FLOAT): Likewise.
112         (TEST_MATHVEC): Likewise.
113         (__NO_MATH_INLINES): Likewise.
114         * math/test-idouble.c: Include test-double.h, test-math-inline.h
115         and test-math-scalar.h.
116         (FUNC): Remove macro.
117         (FUNC_TEST): Likewise.
118         (FLOAT): Likewise.
119         (MATHCONST): Likewise.
120         (PRINTF_EXPR): Likewise.
121         (PRINTF_XEXPR): Likewise.
122         (PRINTF_NEXPR): Likewise.
123         (TEST_DOUBLE): Likewise.
124         (TEST_MATHVEC): Likewise.
125         (TEST_INLINE): Likewise.
126         (__NO_MATH_INLINES): Likewise.
127         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
128         test-math-scalar.h.
129         (FUNC): Remove macro.
130         (FUNC_TEST): Likewise.
131         (FLOAT): Likewise.
132         (MATHCONST): Likewise.
133         (PRINTF_EXPR): Likewise.
134         (PRINTF_XEXPR): Likewise.
135         (PRINTF_NEXPR): Likewise.
136         (TEST_FLOAT): Likewise.
137         (TEST_MATHVEC): Likewise.
138         (TEST_INLINE): Likewise.
139         (__NO_MATH_INLINES): Likewise.
140         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
141         and test-math-scalar.h.
142         (FUNC): Remove macro.
143         (FUNC_TEST): Likewise.
144         (FLOAT): Likewise.
145         (MATHCONST): Likewise.
146         (PRINTF_EXPR): Likewise.
147         (PRINTF_XEXPR): Likewise.
148         (PRINTF_NEXPR): Likewise.
149         (TEST_LDOUBLE): Likewise.
150         (TEST_MATHVEC): Likewise.
151         (TEST_INLINE): Likewise.
152         (__NO_MATH_INLINES): Likewise.
153         * math/test-ldouble.c: Include test-ldouble.h,
154         test-math-no-inline.h and test-math-scalar.h.
155         (FUNC): Remove macro.
156         (FUNC_TEST): Likewise.
157         (FLOAT): Likewise.
158         (MATHCONST): Likewise.
159         (PRINTF_EXPR): Likewise.
160         (PRINTF_XEXPR): Likewise.
161         (PRINTF_NEXPR): Likewise.
162         (TEST_LDOUBLE): Likewise.
163         (TEST_MATHVEC): Likewise.
164         (__NO_MATH_INLINES): Likewise.
165         * math/test-double-vlen2.h: Include test-double.h,
166         test-math-no-inline.h and test-math-vector.h.
167         (FLOAT): Remove macro.
168         (FUNC): Likewise.
169         (MATHCONST): Likewise.
170         (PRINTF_EXPR): Likewise.
171         (PRINTF_XEXPR): Likewise.
172         (PRINTF_NEXPR): Likewise.
173         (TEST_DOUBLE): Likewise.
174         (TEST_MATHVEC): Likewise.
175         (__NO_MATH_INLINES): Likewise.
176         (CNCT): Likewise.
177         (CONCAT): Likewise.
178         (WRAPPER_NAME): Likewise.
179         (WRAPPER_DECL): Likewise.
180         (WRAPPER_DECL_ff): Likewise.
181         (WRAPPER_DECL_fFF): Likewise.
182         (VECTOR_WRAPPER): Likewise.
183         (VECTOR_WRAPPER_ff): Likewise.
184         (VECTOR_WRAPPER_fFF): Likewise.
185         (VEC_LEN): New macro.
186         * math/test-double-vlen4.h: Include test-double.h,
187         test-math-no-inline.h and test-math-vector.h.
188         (FLOAT): Remove macro.
189         (FUNC): Likewise.
190         (MATHCONST): Likewise.
191         (PRINTF_EXPR): Likewise.
192         (PRINTF_XEXPR): Likewise.
193         (PRINTF_NEXPR): Likewise.
194         (TEST_DOUBLE): Likewise.
195         (TEST_MATHVEC): Likewise.
196         (__NO_MATH_INLINES): Likewise.
197         (CNCT): Likewise.
198         (CONCAT): Likewise.
199         (WRAPPER_NAME): Likewise.
200         (WRAPPER_DECL): Likewise.
201         (WRAPPER_DECL_ff): Likewise.
202         (WRAPPER_DECL_fFF): Likewise.
203         (VECTOR_WRAPPER): Likewise.
204         (VECTOR_WRAPPER_ff): Likewise.
205         (VECTOR_WRAPPER_fFF): Likewise.
206         (VEC_LEN): New macro.
207         * math/test-double-vlen8.h: Include test-double.h,
208         test-math-no-inline.h and test-math-vector.h.
209         (FLOAT): Remove macro.
210         (FUNC): Likewise.
211         (MATHCONST): Likewise.
212         (PRINTF_EXPR): Likewise.
213         (PRINTF_XEXPR): Likewise.
214         (PRINTF_NEXPR): Likewise.
215         (TEST_DOUBLE): Likewise.
216         (TEST_MATHVEC): Likewise.
217         (__NO_MATH_INLINES): Likewise.
218         (CNCT): Likewise.
219         (CONCAT): Likewise.
220         (WRAPPER_NAME): Likewise.
221         (WRAPPER_DECL): Likewise.
222         (WRAPPER_DECL_ff): Likewise.
223         (WRAPPER_DECL_fFF): Likewise.
224         (VECTOR_WRAPPER): Likewise.
225         (VECTOR_WRAPPER_ff): Likewise.
226         (VECTOR_WRAPPER_fFF): Likewise.
227         (VEC_LEN): New macro.
228         * math/test-float-vlen4.h: Include test-float.h,
229         test-math-no-inline.h and test-math-vector.h.
230         (FLOAT): Remove macro.
231         (FUNC): Likewise.
232         (MATHCONST): Likewise.
233         (PRINTF_EXPR): Likewise.
234         (PRINTF_XEXPR): Likewise.
235         (PRINTF_NEXPR): Likewise.
236         (TEST_FLOAT): Likewise.
237         (TEST_MATHVEC): Likewise.
238         (__NO_MATH_INLINES): Likewise.
239         (CNCT): Likewise.
240         (CONCAT): Likewise.
241         (WRAPPER_NAME): Likewise.
242         (WRAPPER_DECL): Likewise.
243         (WRAPPER_DECL_ff): Likewise.
244         (WRAPPER_DECL_fFF): Likewise.
245         (VECTOR_WRAPPER): Likewise.
246         (VECTOR_WRAPPER_ff): Likewise.
247         (VECTOR_WRAPPER_fFF): Likewise.
248         (VEC_LEN): New macro.
249         * math/test-float-vlen8.h: Include test-float.h,
250         test-math-no-inline.h and test-math-vector.h.
251         (FLOAT): Remove macro.
252         (FUNC): Likewise.
253         (MATHCONST): Likewise.
254         (PRINTF_EXPR): Likewise.
255         (PRINTF_XEXPR): Likewise.
256         (PRINTF_NEXPR): Likewise.
257         (TEST_FLOAT): Likewise.
258         (TEST_MATHVEC): Likewise.
259         (__NO_MATH_INLINES): Likewise.
260         (CNCT): Likewise.
261         (CONCAT): Likewise.
262         (WRAPPER_NAME): Likewise.
263         (WRAPPER_DECL): Likewise.
264         (WRAPPER_DECL_ff): Likewise.
265         (WRAPPER_DECL_fFF): Likewise.
266         (VECTOR_WRAPPER): Likewise.
267         (VECTOR_WRAPPER_ff): Likewise.
268         (VECTOR_WRAPPER_fFF): Likewise.
269         (VEC_LEN): New macro.
270         * math/test-float-vlen16.h: Include test-float.h,
271         test-math-no-inline.h and test-math-vector.h.
272         (FLOAT): Remove macro.
273         (FUNC): Likewise.
274         (MATHCONST): Likewise.
275         (PRINTF_EXPR): Likewise.
276         (PRINTF_XEXPR): Likewise.
277         (PRINTF_NEXPR): Likewise.
278         (TEST_FLOAT): Likewise.
279         (TEST_MATHVEC): Likewise.
280         (__NO_MATH_INLINES): Likewise.
281         (CNCT): Likewise.
282         (CONCAT): Likewise.
283         (WRAPPER_NAME): Likewise.
284         (WRAPPER_DECL): Likewise.
285         (WRAPPER_DECL_ff): Likewise.
286         (WRAPPER_DECL_fFF): Likewise.
287         (VECTOR_WRAPPER): Likewise.
288         (VECTOR_WRAPPER_ff): Likewise.
289         (VECTOR_WRAPPER_fFF): Likewise.
290         (VEC_LEN): New macro.
291         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
292         test-vec-loop.h.
293         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
294         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
295         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
296         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
297         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
298         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
299         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
301 2015-06-24  Roland McGrath  <roland@hack.frob.com>
303         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
304         (__getlogin_r): ... this.
306 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
308         [BZ #18594]
309         * math/s_ccosh.c (__ccosh): Compare with least normal value
310         instead of comparing class with FP_SUBNORMAL.
311         * math/s_ccoshf.c (__ccoshf): Likewise.
312         * math/s_ccoshl.c (__ccoshl): Likewise.
313         * math/s_cexp.c (__cexp): Likewise.
314         * math/s_cexpf.c (__cexpf): Likewise.
315         * math/s_cexpl.c (__cexpl): Likewise.
316         * math/s_csin.c (__csin): Likewise.
317         * math/s_csinf.c (__csinf): Likewise.
318         * math/s_csinh.c (__csinh): Likewise.
319         * math/s_csinhf.c (__csinhf): Likewise.
320         * math/s_csinhl.c (__csinhl): Likewise.
321         * math/s_csinl.c (__csinl): Likewise.
322         * math/s_ctan.c (__ctan): Likewise.
323         * math/s_ctanf.c (__ctanf): Likewise.
324         * math/s_ctanh.c (__ctanh): Likewise.
325         * math/s_ctanhf.c (__ctanhf): Likewise.
326         * math/s_ctanhl.c (__ctanhl): Likewise.
327         * math/s_ctanl.c (__ctanl): Likewise.
328         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
329         csin, csinh, ctan and ctanh.
330         * math/auto-libm-test-out: Regenerated.
331         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
332         * sysdeps/i386/fpu/libm-test-ulps: Update.
333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
335 2015-06-24  Roland McGrath  <roland@hack.frob.com>
337         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
338         return value is wrong, print the expected value too.
340 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
342         [BZ #18585]
343         * elf/readlib.c (is_gdb_python_file): New.
344         (process_file): Don't issue errors on filenames with -gdb.py
345         suffix.
347 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
349         * math/auto-libm-test-in: Add more tests of csin and csinh.
350         * math/auto-libm-test-out: Regenerated.
351         * math/libm-test.inc (csin_test_data): Remove tests moved to
352         auto-libm-test-in.
353         (csinh_test_data): Likewise.
355         [BZ #18593]
356         * math/s_csin.c (__csin): Negate before rather than after possibly
357         overflowing multiplication.
358         * math/s_csinf.c (__csinf): Likewise.
359         * math/s_csinh.c (__csinh): Likewise.
360         * math/s_csinhf.c (__csinhf): Likewise.
361         * math/s_csinhl.c (__csinhl): Likewise.
362         * math/s_csinl.c (__csinl): Likewise.
363         * math/auto-libm-test-in: Add some tests of csin and csinh.
364         * math/auto-libm-test-out: Regenerated.
365         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
366         (csinh_test_data): Likewise.
367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
369         [BZ #18586]
370         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
371         underflow exception for small results.
373 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
375         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
376         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
377         variable and included header.
378         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
379         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
381         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
382         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
383         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
384         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
385         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
386         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
387         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
388         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
389         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
390         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
391         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
392         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
393         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
395 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
397         [BZ #16526]
398         [BZ #16538]
399         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
400         (__sin): Force underflow exception for arguments with small
401         absolute value.
402         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
403         (__kernel_sinf): Force underflow exception for arguments with
404         small absolute value.
405         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
406         (__kernel_sincosl): Force underflow exception for arguments with
407         small absolute value.
408         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
409         (__kernel_sinl): Force underflow exception for arguments with
410         small absolute value.
411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
412         (__kernel_sincosl): Force underflow exception for arguments with
413         small absolute value.
414         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
415         (__kernel_sinl): Force underflow exception for arguments with
416         small absolute value.
417         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
418         (__kernel_sinl): Force underflow exception for arguments with
419         small absolute value.
420         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
421         (__kernel_sinf): Force underflow exception for arguments with
422         small absolute value.
423         * math/auto-libm-test-in: Add more tests of sin and sincos.
424         * math/auto-libm-test-out: Regenerated.
426         [BZ #18245]
427         [BZ #18583]
428         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
429         (__kernel_standard_l): Use feholdexcept and fesetenv around
430         conversion to double instead of special-casing overflow and
431         underflow.
432         * math/libm-test.inc (fmod_test_data): Add more tests.
433         (remainder_test_data): Likewise.
434         (sqrt_test_data): Likewise.
436 2015-06-23  Torvald Riegel  <triegel@redhat.com>
438         [BZ #17403]
439         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
440         atomic_read_barrier, atomic_write_barrier): Define.
441         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
442         atomic_read_barrier, atomic_write_barrier): Define.
444 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
446         * math/Makefile [$(PERL) != no]
447         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
448         dependency on libm-test.stmp below the inclusion of Rules.
450 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
452         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
453         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
454         and included header.
455         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
456         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
457         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
458         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
460         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
462         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
463         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
464         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
465         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
466         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
467         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
468         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
469         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
470         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
471         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
472         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
473         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
475 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
477         [BZ #18371]
478         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
479         intermediate but not final result might underflow.
480         * math/s_csqrtf.c (__csqrtf): Likewise.
481         * math/s_csqrtl.c (__csqrtl): Likewise.
482         * math/auto-libm-test-in: Add more tests of csqrt.
483         * math/auto-libm-test-out: Regenerated.
484         * sysdeps/i386/fpu/libm-test-ulps: Update.
486         [BZ #18219]
487         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
488         threshold on absolute value of exponent for which scaling is used.
489         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
490         * math/auto-libm-test-in: Add more tests of exp2.
491         * math/auto-libm-test-out: Regenerated.
493 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
495         [BZ #17977]
496         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
497         when initializing interface list, based on the bug analysis
498         and the patch proposed by Eric Newton.
499         * resolv/tst-res_hconf_reorder.c: New test.
500         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
501         tst-res_hconf_reorder.
502         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
503         and $(shared-thread-library).
504         (tst-res_hconf_reorder-ENV): New variable.
506         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
507         in comment.
509 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
511         [BZ #16353]
512         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
513         (__expm1): Force underflow exception for arguments with small
514         absolute value.
515         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
516         (__expm1f): Force underflow exception for arguments with small
517         absolute value.
518         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
519         (__expm1): Force underflow exception for arguments with small
520         absolute value.
521         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
522         (__expm1f): Force underflow exception for arguments with small
523         absolute value.
524         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
525         Check for small arguments before calling __expm1.
526         * math/auto-libm-test-in: Do not mark underflow exceptions as
527         possibly missing for bug 16353.
528         * math/auto-libm-test-out: Regenerated.
530 2015-06-22  Andreas Schwab  <schwab@suse.de>
532         [BZ #18513]
533         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
534         PTR queries.
536 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
538         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
540         * string/strcoll_l.c: Remove unused struct element idxnow.
542 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #18569]
545         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
546         underflow and return argument in case of subnormal argument.
547         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
548         Likewise.
549         * math/auto-libm-test-in: Add more tests of expm1.
550         * math/auto-libm-test-out: Regenerated.
552         [BZ #16361]
553         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
554         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
555         tiny results.
556         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
557         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
558         tiny results.
559         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
560         mark underflow exceptions as possibly missing for bug 16361.
561         * math/auto-libm-test-out: Regenerated.
563 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
565         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
566         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
567         Remove variable.
568         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
569         (test-xfail-XOPEN2K8/utmpx.h/conform).
571         * conform/conformtest.pl ($xerrors): New variable.
572         (note_error): New function.
573         (compiletest): New argument $xfail.  Use not_error.
574         (runtest): Likewise.
575         (top level): Handle xfail- lines.  Update calls to compiletest and
576         runtest.  Handle xfail- and optional- in headers listed with
577         allow-header.
578         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
579         (O_EXEC): Likewise.
580         (O_SEARCH): Likewise.
581         * conform/data/stropts.h-data (ioctl): Likewise.
582         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
583         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
584         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
585         (msghdr.msg_controllen): Likewise.
586         (cmsghdr.cmsg_len): Likewise.
587         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
588         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
589         variable.
590         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
591         (test-xfail-XPG4/stropts.h/conform): Likewise.
592         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
593         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
594         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
595         (test-xfail-UNIX98/stropts.h/conform): Likewise.
596         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
597         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
598         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
599         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
600         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
601         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
602         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
603         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
604         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
605         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
606         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
607         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
608         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
609         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
610         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
612 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
614         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
615         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
616         definitions for proper unfolding of __MATHDECL_VEC.
618 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
620         * benchtests/bench-strcoll.c:
621         Include string.h.
622         (main): Remove unused variable res.
624 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
626         * timezone/Makefile (%/UTC %/Universal):
627         Generate test-result files for UTC and Universal.
629 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
631         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
633 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
635         [BZ #16350]
636         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
637         for arguments with small absolute value.
638         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
639         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
640         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
641         (__asinh): Force underflow exception for arguments with small
642         absolute value.
643         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
644         (__asinhf): Force underflow exception for arguments with small
645         absolute value.
646         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
647         (__asinhl): Force underflow exception for arguments with small
648         absolute value.
649         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
650         (__asinhl): Force underflow exception for arguments with small
651         absolute value.
652         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
653         (__asinhl): Force underflow exception for arguments with small
654         absolute value.
655         * math/auto-libm-test-in: Do not mark underflow exceptions as
656         possibly missing for bug 16350.
657         * math/auto-libm-test-out: Regenerated.
659         * include/bits/ipc.h: Remove file.
660         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
661         variable.
662         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
663         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
664         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
665         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
666         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
667         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
668         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
669         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
670         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
672         * math/auto-libm-test-in: Remove spurious underflow allowance for
673         tests of cexp.
674         * math/auto-libm-test-out: Regenerated.
676         [BZ #18558]
677         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
678         unconditional definition.
679         (MCAST_BLOCK_SOURCE): Likewise.
680         (MCAST_UNBLOCK_SOURCE): Likewise.
681         (MCAST_LEAVE_GROUP): Likewise.
682         (MCAST_JOIN_SOURCE_GROUP): Likewise.
683         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
684         (MCAST_MSFILTER): Likewise.
685         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
686         Remove variable.
687         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
688         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
689         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
690         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
691         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
693 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
695         * NEWS: Mention addition of x86_64 vector sincosf.
696         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
697         * math/test-float-vlen4.h: Likewise.
698         * math/test-float-vlen8.h: Likewise.
699         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
700         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
701         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
702         * sysdeps/x86_64/fpu/Versions: New versions added.
703         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
704         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
705         Added build of SSE, AVX2 and AVX512 IFUNC versions.
706         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
707         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
708         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
709         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
710         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
711         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
712         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
713         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
714         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
715         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
716         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
717         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
718         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
719         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
720         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
721         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
722         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
723         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
724         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
725         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
726         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
728         * NEWS: Mention addition of x86_64 vector sincos.
729         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
730         * math/math.h (__MATHDECL_VEC): New macro.
731         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
732         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
733         declaration under condition.
734         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
735         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
736         TEST_VEC_LOOP change.
737         * math/test-double-vlen4.h: Likewise.
738         * math/test-double-vlen8.h: Likewise.
739         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
740         * math/test-float-vlen4.h: Likewise.
741         * math/test-float-vlen8.h: Likewise.
742         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
743         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
744         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
745         * sysdeps/x86_64/fpu/Versions: New versions added.
746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
747         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
748         Added build of SSE, AVX2 and AVX512 IFUNC versions.
749         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
751         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
752         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
753         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
754         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
755         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
756         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
757         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
758         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
759         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
760         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
761         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
762         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
763         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
764         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
765         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
766         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
767         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
768         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
769         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
771         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
772         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
773         redirections for powf.
774         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
775         * sysdeps/x86_64/fpu/Versions: New versions added.
776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
777         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
778         Added build of SSE, AVX2 and AVX512 IFUNC versions.
779         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
780         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
781         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
782         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
783         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
784         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
785         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
786         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
787         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
788         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
789         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
790         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
791         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
792         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
793         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
794         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
795         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
798         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
799         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
800         * math/test-float-vlen16.h: Fixed 2 argument macro.
801         * math/test-float-vlen4.h: Likewise.
802         * math/test-float-vlen8.h: Likewise.
803         * NEWS: Mention addition of x86_64 vector powf.
805 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
807         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
808         and redefine.
809         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
810         and redefine.
811         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
812         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
815         [BZ #18553]
816         * resource/getpriority.c (getpriority): Rename to __getpriority
817         and define as weak alias of __getpriority.
818         * resource/setpriority.c (setpriority): Rename to __setpriority
819         and define as weak alias of __setpriority.
820         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
821         __getpriority and define as weak alias of __getpriority.
822         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
823         __setpriority and define as weak alias of __setpriority.
824         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
825         strong name.
826         (setpriority): Use __setpriority as strong name.
827         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
828         __getpriority and define as weak alias of __getpriority.
829         * include/sys/resource.h (__getpriority): Declare.  Use
830         libc_hidden_proto.
831         (__setpriority): Likewise.
832         (getpriority): Don't use libc_hidden_proto.
833         (setpriority): Likewise.
834         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
835         getpriority.  Call __setpriority instead of setpriority.
836         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
837         Remove variable.
839         [BZ #18547]
840         * misc/getttyent.c (getttynam): Rename to __getttynam and define
841         as weak alias of __getttynam.  Use prototype function definition.
842         Call __setttyent, __getttyent and __endttyent instead of
843         setttyent, getttyent and endttyent.
844         (getttyent): Rename to __getttyent and define as weak alias of
845         __getttyent.  Call __setttyent instead of setttyent.  Call
846         __fgets_unlocked instead of fgets_unlocked.
847         (setttyent): Rename to __setttyent and define as weak alias of
848         __setttyent.
849         (endttyent): Rename to __endttyent and define as weak alias of
850         __endttyent.
851         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
852         (__setttyent): Likewise.
853         (__endttyent): Likewise.
854         (getttyent): Don't use libc_hidden_proto.
855         (setttyent): Likewise.
856         (endttyent): Likewise.
857         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
858         __endttyent instead of setttyent, getttyent and endttyent.
859         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
860         Remove variable.
862         [BZ #18546]
863         * socket/recv.c (__recv): Use libc_hidden_def.
864         * socket/socket.c (__socket): Likewise.
865         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
866         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
867         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
868         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
869         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
870         libc_hidden_def.
871         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
872         libc_hidden_weak.
873         * include/sys/socket.h (__socket): Do not use attribute_hidden.
874         Use libc_hidden_proto.
875         (__recv): Likewise.
876         * socket/Versions (libc): Export __recv and __socket at version
877         GLIBC_PRIVATE.
878         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
879         instead of recv.
880         (init_mq_netlink): Call __socket instead of socket.
881         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
882         Remove variable.
884         [BZ #18545]
885         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
886         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
887         hidden_weak.
888         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
889         define as alias of __mq_timedsend.  Use hidden_weak.
890         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
891         __mq_timedsend as strong name.
892         (mq_timedreceive): Use __mq_timedreceive as strong name.
893         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
894         (__mq_timedreceive): Likewise.
895         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
896         __mq_timedreceive instead of mq_timedreceive.
897         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
898         instead of mq_timedsend.
899         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
900         Remove variable.
902         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
903         hidden_def and hidden_weak instead of libc_hidden_def and
904         libc_hidden_weak.
905         (top level): Refer to hidden_def in comment.
906         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
907         macro.  Use it instead of libc_hidden_def.
908         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
909         specify __GI_* name explicitly.
910         (mq_timedreceive): Likewise.
911         (mq_setattr): Likewise.
913         [BZ #18544]
914         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
915         __pthread_barrier_init and define as weak alias of
916         __pthread_barrier_init.
917         * sysdeps/sparc/nptl/pthread_barrier_init.c
918         (pthread_barrier_init): Likewise.
919         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
920         __pthread_barrier_wait and define as weak alias of
921         __pthread_barrier_wait.
922         * sysdeps/sparc/nptl/pthread_barrier_wait.c
923         (pthread_barrier_wait): Likewise.
924         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
925         (pthread_barrier_wait): Likewise.
926         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
927         (pthread_barrier_wait): Likewise.
928         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
929         (pthread_barrier_wait): Likewise.
930         * nptl/Versions (libpthread): Export __pthread_barrier_init and
931         __pthread_barrier_wait at version GLIBC_PRIVATE.
932         * include/pthread.h (__pthread_barrier_init): Declare.
933         (__pthread_barrier_wait): Likewise.
934         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
935         Call __pthread_barrier_wait instead of pthread_barrier_wait.
936         (helper_thread): Likewise.
937         (init_mq_netlink): Call __pthread_barrier_init instead of
938         pthread_barrier_init.
940         [BZ #18542]
941         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
942         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
943         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
944         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
945         vswscanf.
946         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
947         Remove variable.
949         [BZ #18540]
950         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
951         strong alias of _IO_fflush.  Use libc_hidden_def.
952         * libio/iofflush_u.c (fflush_unlocked): Rename to
953         __fflush_unlocked and define as weak alias of __fflush_unlocked.
954         Use libc_hidden_weak.
955         * include/stdio.h (__fflush_unlocked): Declare.  Use
956         libc_hidden_proto.
957         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
958         fflush_unlocked.
959         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
960         Remove variable.
962         [BZ #18539]
963         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
964         define as weak alias of __addseverity.
965         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
966         Remove variable.
967         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
968         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
969         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
971         [BZ #18536]
972         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
973         (__tfind): Likewise.
974         (__tdelete): Likewise.
975         (__twalk): Likewise.
976         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
977         __twalk to GLIBC_PRIVATE.
978         * include/search.h (__tsearch): Use libc_hidden_proto.
979         (__tfind): Likewise.
980         (__tdelete): Likewise.
981         (__twalk): Likewise.
982         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
983         Call __tdelete instead of tdelete.
984         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
985         tfind.  Call __tsearch instead of tsearch.
986         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
987         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
988         Remove variable.
989         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
991         [BZ #18534]
992         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
993         (dprintf): Define as a weak alias of __dprintf, not a strong
994         alias.
995         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
996         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
997         dprintf.
998         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
999         Remove variable.
1000         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1001         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1003         [BZ #18533]
1004         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1005         not a strong alias.
1006         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1007         Remove variable.
1009         [BZ #18532]
1010         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1011         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1012         (in6addr_loopback): Rename to __in6addr_loopback and define as
1013         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1014         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1015         libc_hidden_proto.
1016         (__in6addr_any): Likewise.
1017         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1018         in6addr_any.
1019         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1020         variable.
1021         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1023 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1025         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1026         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1027         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1028         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1029         redirections for pow.
1030         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1031         * sysdeps/x86_64/fpu/Versions: New versions added.
1032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1033         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1034         build of SSE, AVX2 and AVX512 IFUNC versions.
1035         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1036         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1037         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1038         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1039         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1040         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1041         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1042         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1043         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1044         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1045         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1046         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1047         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1048         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1049         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1050         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1051         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1052         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1053         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1054         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1055         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1056         * NEWS: Mention addition of x86_64 vector pow.
1058         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1059         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1060         redirections for expf.
1061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1062         * sysdeps/x86_64/fpu/Versions: New versions added.
1063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1064         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1065         build of SSE, AVX2 and AVX512 IFUNC versions.
1066         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1067         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1069         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1070         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1071         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1072         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1073         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1074         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1075         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1076         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1077         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1078         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1079         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1080         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1081         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1082         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1083         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1084         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1085         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1086         * NEWS: Mention addition of x86_64 vector expf.
1088         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1089         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1090         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1091         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1092         redirections for exp.
1093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1094         * sysdeps/x86_64/fpu/Versions: New versions added.
1095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1097         build of SSE, AVX2 and AVX512 IFUNC versions.
1098         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1099         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1100         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1102         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1103         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1104         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1105         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1106         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1107         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1108         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1109         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1110         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1111         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1114         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1115         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1116         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1117         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1118         * NEWS: Mention addition of x86_64 vector exp.
1120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1121         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1122         redirections for logf.
1123         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1124         * sysdeps/x86_64/fpu/Versions: New versions added.
1125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1126         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1127         build of SSE, AVX2 and AVX512 IFUNC versions.
1128         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1129         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1130         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1131         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1132         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1133         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1134         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1135         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1136         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1137         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1138         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1139         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1140         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1141         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1142         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1143         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1144         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1145         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1146         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1147         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1148         * NEWS: Mention addition of x86_64 vector logf.
1150         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1151         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1152         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1153         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1154         redirections for log.
1155         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1156         * sysdeps/x86_64/fpu/Versions: New versions added.
1157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1158         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1159         build of SSE, AVX2 and AVX512 IFUNC versions.
1160         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1161         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1162         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1163         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1164         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1165         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1166         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1167         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1168         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1169         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1170         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1171         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1172         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1173         test.
1174         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1176         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1177         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1178         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1179         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1180         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1181         * NEWS: Mention addition of x86_64 vector log.
1183 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1185         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1186         cfi_adjust_cfa_offset argument.
1187         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1188         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1190         [BZ #18034]
1191         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1192         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1193         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1194         ordering using ldar.
1195         (_dl_tlsdesc_dynamic): Likewise.
1196         (_dl_tlsdesc_return_lazy): Likewise.
1197         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1198         relaxed atomics instead of volatile and synchronize with release store.
1199         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1200         volatile.
1201         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1203 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1206         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1208         * sysdeps/x86_64/fpu/Versions: New versions added.
1209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1211         build of SSE, AVX2 and AVX512 IFUNC versions.
1212         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1213         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1214         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1215         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1216         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1217         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1218         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1219         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1220         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1221         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1222         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1223         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1224         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1225         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1226         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1227         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1228         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1229         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1230         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1231         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1232         * NEWS: Mention addition of x86_64 vector sinf.
1234 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1236         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1237         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1238         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1239         Remove variable.
1240         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1241         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1243 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1245         [BZ #18530]
1246         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1247         strong alias of _IO_fputs.  Use libc_hidden_def.
1248         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1249         and define as weak alias of __fputs_unlocked.  Use
1250         libc_hidden_weak.
1251         * include/stdio.h (__fputs_unlocked): Declare.  Use
1252         libc_hidden_proto.
1253         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1254         fputs_unlocked.
1256         [BZ #18529]
1257         * resolv/netdb.h [__USE_POSIX]: Change condition to
1258         [__USE_XOPEN2K].
1259         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1260         not expect.
1261         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1262         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1263         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1264         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1265         [XPG4 || UNIX98] (AI_ALL): Likewise.
1266         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1267         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1268         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1269         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1270         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1271         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1272         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1273         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1274         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1275         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1276         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1277         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1278         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1279         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1280         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1281         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1282         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1283         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1284         [XPG4 || UNIX98] (gai_strerror): Likewise.
1285         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1286         [XPG4 || UNIX98] (getnameinfo): Likewise.
1288         [BZ #18528]
1289         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1290         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1291         __USE_XOPEN2K8].
1292         (getgrent): Likewise.
1293         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1294         expect.
1295         [XPG3 || POSIX2008] (endgrent): Likewise.
1296         [XPG3] (setgrent): Likewise.
1297         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1298         variable.
1299         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1301         [BZ #18527]
1302         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1303         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1304         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1305         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1306         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1307         * include/unistd.h (__getlogin_r): Declare.  Use
1308         libc_hidden_proto.
1309         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1310         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1311         variable.
1312         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1313         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1314         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1316 2015-06-12  Martin Sebor  <msebor@redhat.com>
1318         [BZ #18512]
1319         * Makerules (check-install-supported): New target.
1320         (install): Add check-install-supported as a dependency.
1321         * manual/install.texi (Installing the C Library): Document
1322         that overriding prefix and exec_prefix is not supported.
1323         Mention DESTDIR.
1324         * INSTALL: Regenerate from the above.
1326 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1328         [BZ #18519]
1329         * posix/Versions (libc): Export __libc_pread at version
1330         GLIBC_PRIVATE.
1331         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1332         instead of pread.
1333         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1334         variable.
1336         [BZ #18522]
1337         * misc/efgcvt_r.c
1338         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1339         (cvt_symbol): Use weak_alias instead of strong_alias.
1340         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1341         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1342         Remove variable.
1343         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1344         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1346         [BZ #18520]
1347         * inet/herrno.c (h_errno): Rename to __h_errno.
1348         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1349         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1350         to __h_errno instead of h_errno.
1351         * nptl/herrno.c (h_errno): Rename to __h_errno.
1352         (__h_errno_location): Refer to __h_errno not h_errno.
1353         * resolv/Versions (h_errno): Rename to __h_errno.
1354         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1355         Remove variable.
1356         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1358 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1360         * configure.ac: More strict check for AVX512 assembler support.
1361         * configure: Regenerated.
1363         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1364         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1365         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1366         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1368         * sysdeps/x86_64/fpu/Versions: New versions added.
1369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1371         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1372         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1373         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1374         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1376         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1377         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1378         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1379         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1380         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1381         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1382         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1383         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1384         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1385         test.
1386         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1387         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1388         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1389         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1390         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1391         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1392         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1393         * NEWS: Mention addition of x86_64 vector sin.
1395 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1397         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1398         comment.
1400 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1402         [BZ #18479]
1403         * nptl/pt-interp.c: New file.
1404         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1405         Add pt-interp.
1406         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1407         $(common-objpfx)runtime-linker.h.
1409 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1411         * Makeconfig (+interp): Remove unused variable.
1412         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1413         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1414         $(elf-objpfx)runtime-linker.h.
1415         ($(elf-objpfx)runtime-linker.h): Rename to
1416         $(common-objpfx)runtime-linker.h and move ...
1417         * Makerules [$(build-shared) = yes]: ... here.
1418         * elf/interp.c: Include <runtime-linker.h> instead of
1419         <elf/runtime-linker.h>.
1421 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1423         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1424         (__gettimeofday_syscall): Remove vsyscall fallback.
1425         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1426         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1427         Add syscall fallback function.
1428         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1429         if vDSO is not present.
1430         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1431         fallback function.
1432         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1433         present.
1434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1435         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1437 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1439         [BZ #18497]
1440         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1441         of wcscmp.
1442         (wcscmp): Define as weak alias of WCSCMP.
1443         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1444         wcscoll.
1445         (USE_HIDDEN_DEF): Define.
1446         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1447         __wcscoll.  Don't use libc_hidden_weak.
1448         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1449         wcscmp.
1450         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1451         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1452         __GI_wcscmp.
1453         (weak_alias): Undefine and redefine.
1454         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1455         __wcscmp and define as weak alias of __wcscmp.
1456         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1457         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1458         (__wcscoll): Likewise.
1459         (wcscmp): Don't use libc_hidden_proto.
1460         (wcscoll): Likewise.
1461         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1462         wcscoll.
1463         * posix/regexec.c (check_node_accept_bytes): Likewise.
1464         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1465         variable.
1466         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1467         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1469         [BZ #18507]
1470         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1471         __fstatvfs and define as weak alias of __fstatvfs.  Use
1472         libc_hidden_weak.
1473         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1474         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1475         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1476         Define as alias of __fstatvfs, not fstatvfs.
1477         (fstatvfs64): Likewise.
1478         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1479         Define as alias of __statvfs, not statvfs.
1480         (statvfs64): Likewise.
1481         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1482         Remove variable.
1484 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1487         (HAVE_GETCPU_VSYSCALL): Define.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1489         (HAVE_GETCPU_VSYSCALL): Likewise.
1490         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1491         * sysdeps/unix/sysv/linux/sched_getcpu.c
1492         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1493         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1494         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1495         prototype.
1496         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1497         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1498         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1500         Define.
1501         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1502         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1503         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1504         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1506 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1508         * sysdeps/x86_64/fpu/Makefile: New file.
1509         * sysdeps/x86_64/fpu/Versions: New file.
1510         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1511         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1512         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1513         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1514         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1515         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1516         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1518         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1519         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1520         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1521         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1522         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1524         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1526         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1527         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1528         * sysdeps/x86_64/configure: Regenerated.
1529         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1531         * manual/install.texi (Configuring and compiling): Document
1532         --disable-mathvec.
1533         * INSTALL: Regenerated.
1534         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1536         * math/Makefile: Added rules for vector tests.
1537         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1538         declaration under condition.
1539         * math/test-double-vlen2.h: New file.
1540         * math/test-double-vlen4.h: New file.
1541         * math/test-double-vlen8.h: New file.
1542         * math/test-vec-loop.h: Added initialization macro.
1543         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1545         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1546         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1547         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1548         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1549         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1550         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1551         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1552         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1553         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1555         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1556         * sysdeps/x86_64/fpu/Versions: New versions added.
1557         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1559         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1560         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1561         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1562         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1563         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1564         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1565         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1566         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1567         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1568         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1569         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1571         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1572         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1573         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1574         * NEWS: Mention addition of x86_64 vector cosf.
1576         * math/Makefile: Added CFLAGS for new tests.
1577         * math/test-float-vlen16.h: New file.
1578         * math/test-float-vlen4.h: New file.
1579         * math/test-float-vlen8.h: New file.
1580         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1581         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1583         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1584         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1585         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1586         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1587         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1589         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1590         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1592 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1594         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1595         * locale/programs/ld-ctype.c: Likewise.
1597 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1599         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1600         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1601         bit_ZMM16_31_state): New macro.
1602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1603         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1605 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1607         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1609 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1611         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1613 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1615         [BZ #18498]
1616         * libio/memstream.c (open_memstream): Rename to __open_memstream
1617         and define as weak alias of __open_memstream.
1618         * include/stdio.h (__open_memstream): Declare.  Use
1619         libc_hidden_proto.
1620         (open_memstream): Don't use libc_hidden_proto.
1621         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1622         open_memstream.
1623         * posix/getopt.c (_getopt_internal_r): Likewise.
1624         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1625         variable.
1626         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1627         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1628         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1630         [BZ #18496]
1631         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1632         instead of wcrtomb.
1634         [BZ #18483]
1635         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1636         [__USE_XOPEN2K8].  Remove redundant #endif.
1637         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1638         Remove redundant #if.
1639         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1640         Remove variable.
1641         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1642         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1644         [BZ #18495]
1645         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1646         (__iswlower): Likewise.
1647         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1648         (__iswlower): Likewise.
1649         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1650         instead of towlower.
1651         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1652         instead of iswlower.  Call __towupper instead of towupper.
1653         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1654         instead of iswalnum.
1656 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1658         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1659         errors to stderr.
1661 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1663         [BZ #15661]
1664         [BZ #17322]
1665         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1666         Check for overflow properly.  Check for O_APPEND.  Ignore large
1667         file system block sizes.  Add comments about problems.
1668         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1669         * manual/filesys.texi (Storage Allocation): New node.
1671 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1673         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1674         cancellable syscalls.
1675         (SYS_ify): Add guard to no redefine it.
1676         (INLINE_SYSCALL): Likewise.
1677         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1678         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1679         SYSCALL_CANCEL instead.
1680         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1681         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1682         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1683         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1684         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1685         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1686         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1687         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1688         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1689         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1690         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1691         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1692         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1693         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1694         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1696         Likewise.
1697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1698         (__libc_pread64): Likewise.
1699         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1700         (__libc_preadv): Likewise.
1701         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1702         (__libc_readv64): Likewise.
1703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1704         (__libc_pwrite): Likewise.
1705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1706         (__libc_pwrite64): Likewise.
1707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1708         (__libc_pwritev): Likewise.
1709         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1710         (__libc_pwritev64): Likewise.
1711         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1712         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1713         (sync_file_range): Likewise.
1714         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1715         Likewise.
1716         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1717         Likewise.
1718         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1719         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1720         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1721         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1722         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1723         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1724         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1725         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1727         Likewise.
1728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1729         (__libc_read64): Likewise.
1730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1731         Likewise.
1732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1733         Likewise.
1734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1735         Likewise.
1736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1737         Likewise.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1739         (__libc_pread64): Likewise.
1740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1741         Likewise.
1742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1743         (__libc_pwrite64): Likewise.
1744         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1745         (sync_file_range): Likewise.
1746         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1747         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1748         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1749         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1750         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1751         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1752         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1753         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1754         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1755         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1756         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1757         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1758         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1759         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1760         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1761         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1762         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1763         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1764         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1765         Likewise.
1766         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1767         Likewise.
1768         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1769         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1770         Likewise.
1771         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1772         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1773         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1774         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1775         Likewise.
1776         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1777         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1778         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1779         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1780         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1782 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1784         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1785         Include dl-vdso.
1786         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1787         Use VDSO routines for gettimeofday, clock_gettime if
1788         available.
1789         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1790         Declare VDSO symbols.
1791         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1792         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1793         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1794         * sysdeps/unix/sysv/linux/arm/Versions: Add
1795         __vdso_clock_gettime.
1797 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1799         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1800         be an inline implementation regardless of library is built within.
1801         (open_not_cancel_2): Likewise.
1802         (__read_nocancel): Likewise.
1803         (__write_nocancel): Likewise.
1804         (openat_not_cancel): Likewise.
1805         (openat_not_cancel_3): Likewise.
1806         (openat64_not_cancel): Likewise.
1807         (openat64_not_cancel_3): Likewise.
1808         (__close_nocancel): Likewise.
1809         (pause_not_cancel): Likewise.
1810         (nanosleep_not_cancel): Likewise.
1811         (sigsuspend_not_cancel): Likewise.
1813 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1815         [BZ #14958]
1816         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1817         wake-up.
1818         (__pthread_rwlock_rdlock_slow): Likewise.
1819         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1820         Likewise.
1821         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1822         Likewise.
1823         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1824         * nptl/tst-rwlock16.c: New file.
1825         * nptl/Makefile (tests): Add new test.
1827 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1829         [BZ #18324]
1830         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1831         missing wake-up of readers.
1832         * nptl/tst-rwlock15.c: New file.
1833         * nptl/Makefile (tests): Add new test.
1835 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1837         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1838         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1839         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1840         and __nacl_supply_interface_rtld.
1841         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1842         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1843         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1844         Add __nacl_supply_interface_rtld.
1845         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1847 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1849         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1850         isfinite.
1851         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1852         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1854 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1856         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1857         __signbit* with standard C99 macros.
1858         * math/e_exp10l.c: Likewise.
1859         * math/e_exp2l.c: Likewise.
1860         * math/e_scalb.c: Likewise.
1861         * math/e_scalbf.c: Likewise.
1862         * math/e_scalbl.c: Likewise.
1863         * math/s_ldexp.c: Likewise.
1864         * math/s_ldexpf.c: Likewise.
1865         * math/s_ldexpl.c: Likewise.
1866         * math/w_atan2.c: Likewise.
1867         * math/w_atan2f.c: Likewise.
1868         * math/w_atan2l.c: Likewise.
1869         * math/w_cosh.c: Likewise.
1870         * math/w_coshf.c: Likewise.
1871         * math/w_coshl.c: Likewise.
1872         * math/w_exp10.c: Likewise.
1873         * math/w_exp10f.c: Likewise.
1874         * math/w_exp10l.c: Likewise.
1875         * math/w_exp2.c: Likewise.
1876         * math/w_exp2f.c: Likewise.
1877         * math/w_exp2l.c: Likewise.
1878         * math/w_fmod.c: Likewise.
1879         * math/w_fmodf.c: Likewise.
1880         * math/w_fmodl.c: Likewise.
1881         * math/w_hypot.c: Likewise.
1882         * math/w_hypotf.c: Likewise.
1883         * math/w_hypotl.c: Likewise.
1884         * math/w_jnl.c: Likewise.
1885         * math/w_lgamma.c: Likewise.
1886         * math/w_lgamma_r.c: Likewise.
1887         * math/w_lgammaf.c: Likewise.
1888         * math/w_lgammaf_r.c: Likewise.
1889         * math/w_lgammal.c: Likewise.
1890         * math/w_lgammal_r.c: Likewise.
1891         * math/w_pow.c: Likewise.
1892         * math/w_powf.c: Likewise.
1893         * math/w_powl.c: Likewise.
1894         * math/w_remainder.c: Likewise.
1895         * math/w_remainderf.c: Likewise.
1896         * math/w_remainderl.c: Likewise.
1897         * math/w_scalb.c: Likewise.
1898         * math/w_scalbf.c: Likewise.
1899         * math/w_scalbl.c: Likewise.
1900         * math/w_scalbln.c: Likewise.
1901         * math/w_scalblnf.c: Likewise.
1902         * math/w_scalblnl.c: Likewise.
1903         * math/w_sinh.c: Likewise.
1904         * math/w_sinhf.c: Likewise.
1905         * math/w_sinhl.c: Likewise.
1906         * math/w_tgamma.c: Likewise.
1907         * math/w_tgammaf.c: Likewise.
1908         * math/w_tgammal.c: Likewise.
1909         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1910         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1911         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1913         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1915         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1916         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1917         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1918         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1919         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1921         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1922         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1926         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1929         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1930         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1931         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1934         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1935         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1936         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1937         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1938         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1940         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1941         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1942         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1943         * stdio-common/printf_fp.c: Likewise.
1944         * stdio-common/printf_fphex.c: Likewise.
1945         * stdio-common/printf_size.c: Likewise.
1947 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1949         [BZ #18470]
1950         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1951         strnlen.
1952         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1953         Remove variable.
1954         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1955         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1956         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1957         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1958         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1959         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1960         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1961         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1962         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1963         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1965         [BZ #18468]
1966         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1967         weak alias of __wmemchr.  Use libc_hidden_weak.
1968         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1969         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1970         instead of wmemchr.
1972 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1974         [BZ #18383]
1975         * elf/tst-tlsalign-extern.c: New file.
1976         * elf/tst-tlsalign-extern-static.c: New file.
1977         * elf/tst-tlsalign-vars.c: New file.
1978         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1979         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1980         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1981         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1982         (test-xfail-tst-tlsalign-extern-static): New variable.
1984 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1986         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1987         Use variable name _sc_err instead of err.
1988         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1989         instead of ret.
1990         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1991         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1992         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1993         (INLINE_SYSCALL): Likewise.
1995         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1996         * include/string.h (__strnlen): Use libc_hidden_proto.
1997         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1998         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1999         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2000         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2001         (libc_hidden_def): Undefine and redefine.
2002         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2003         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2004         __GI_strnlen.
2005         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2006         libc_hidden_def.
2007         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2009         [BZ #18469]
2010         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2011         weak alias of __towlower.  Use libc_hidden_weak.
2012         (towupper): Rename to __towupper and define as weak alias of
2013         __towupper.  Use libc_hidden_weak.
2014         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2015         (__towupper): Likewise.
2016         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2017         __towlower instead of towlower.
2019 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2021         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2022         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2024 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2026         * sysdeps/aarch64/libm-test-ulps: Update.
2028 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2030         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2031         Define.
2032         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2034         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2035         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2036         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2037         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2038         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2040 2015-06-01  Martin Sebor  <msebor@redhat.com>
2042         [BZ #18116]
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2044         (__setcontext): Use extended four-operand version of mtsf whenever
2045         possible.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2047         (__novec_swapcontext): Likewise.
2049 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2051         * benchtests/scripts/compare_bench.py: New file.
2052         * benchtests/scripts/import_bench.py (mean): New function.
2053         (split_list): Likewise.
2054         (do_for_all_timings): Likewise.
2055         (compress_timings): Likewise.
2057         * benchtests/scripts/import_bench.py: New file.
2058         * benchtests/scripts/validate_benchout.py: Import import_bench
2059         instead of jsonschema.
2060         (validate_bench): Remove function.
2061         (main): Use import_bench.
2063 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2065         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2066         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2068 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2072 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2074         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2075         set THREAD_SELF->tid to a magic value and futex-wake it.
2076         Pass its address to the thread_exit system call.
2077         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2078         bit is clear.
2079         * sysdeps/nacl/lowlevellock.h: New file.
2080         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2082         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2083         Add TIMEOUT to current time, don't subtract it.
2085 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2087         [BZ #18422]
2088         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2089         ($(objpfx)tst-audit2.out): Also depend on
2090         $(objpfx)tst-auditmod9b.so.
2091         * elf/tst-audit2.c: Include <dlfcn.h>.
2092         (calloc_called): New.
2093         (calloc): Allow to be called more than once.
2094         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2096 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2098         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2099         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2101 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2103         * stdlib/monetary.h: Fix comment.
2105 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2107         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2108         Avoid using variables in #defines that might cause shadowing.
2109         (INTERNAL_VSYSCALL_CALL): Likewise.
2111 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2113         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2115         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2116         * nptl/lll_timedlock_wait.c: ... to this new file.
2117         * nptl/Makefile (libpthread-routines): Add it.
2118         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2119         * nptl/lll_timedwait_tid.c: ... to this new file.
2120         * nptl/Makefile (libpthread-routines): Add it.
2121         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2122         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2123         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2124         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2125         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2126         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2127         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2128         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2129         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2130         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2132 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2134         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2135         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2136         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2137         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2138         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2140         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2142         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2143         * sysdeps/unix/sysv/linux/tile/sysdep.h
2144         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2145         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2146         using vDSO syscall macro.
2148 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2150         [BZ #17293]
2151         * uk_UA: Fix sorting order for Ukrainian locale
2153 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2155         * stdlib/monetary.h: Fix comment.
2157 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2159         [BZ #18234]
2160         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2161         st_mtim and st_ctim members.
2162         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2163         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2164         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2165         (struct stat64): Likewise.
2166         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2167         (struct stat64): Likewise.
2168         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2169         (struct stat64): Likewise.
2171 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2173         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2174         Define and include sysdep-vdso.h.
2175         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2176         Likewise.
2177         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2178         Likewise.
2179         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2180         Define with VDSO_SYMBOL and use PTR_MANGLE.
2181         (__vdso_clock_gettime): Likewise.
2182         (__vdso_clock_getres): Likewise.
2183         (_libc_vdso_platform_setup): Likewise.
2184         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2185         Likewise.
2186         (_libc_vdso_platform_setup): Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2188         Likewise.
2189         (__vdso_clock_gettime): Likewise.
2190         (__vdso_clock_getres): Likewise.
2191         (__vdso_get_tbfreq): Likewise.
2192         (__vdso_getcpu): Likewise.
2193         (__vdso_time): Likewise.
2194         (__vdso_sigtramp_rt64): Likewise.
2195         (__vdso_signtramp32): Likewise.
2196         (__vdso_sigtramp_rt32): Likewise.
2197         (_libc_vdso_platform_setup): Likewise.
2198         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2199         Likewise.
2200         (__vdso_clock_gettime): Likewise.
2201         (__vdso_clock_getres): Likewise.
2202         (_libc_vdso_platform_setup): Likewise.
2203         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2204         Likewise.
2205         (__vdso_clock_gettime): Likewise.
2206         (_libc_vdso_platform_setup): Likewise.
2207         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2208         Likewise.
2209         (__vdso_getcpu): Likewise.
2210         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2211         Use VDSO_SYMBOL macro to define.
2212         (__vdso_clock_gettime): Likewise.
2213         (__vdso_clock_getres): Likewise.
2214         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2215         Likewise.
2216         (__vdso_clock_gettime): Likewise.
2217         (__vdso_clock_getres): Likewise.
2218         (__vdso_get_tbfreq): Likewise.
2219         (__vdso_getcpu): Likewise.
2220         (__vdso_time): Likewise.
2221         (__vdso_sigtramp_rt64): Likewise.
2222         (__vdso_signtramp32): Likewise.
2223         (__vdso_sigtramp_rt32): Likewise.
2224         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2225         Likewise.
2226         (__vdso_clock_gettime): Likewise.
2227         (__vdso_clock_getres): Likewise.
2228         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2229         Likewise.
2230         (__vdso_clock_gettime): Likewise.
2231         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2232         Likewise.
2233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2234         macro.
2235         (INTERNAL_VSYSCALL): Likewise.
2236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2237         Remove macro.
2238         (INTERNAL_VSYSCALL): Likewise.
2239         (INTERNAL_VSYSCALL_NCS): Likewise.
2240         (INTERNAL_VSYSCALL_CALL): New macro.
2241         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2243         Likewise.
2244         (INTERNAL_VSYSCALL): Likewise.
2245         (INTERNAL_VSYSCALL_NCS): Likewise.
2246         (INTERNAL_VSYSCALL_CALL): New macro.
2247         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2249         (INLINE_VSYSCALL): Remove macro.
2250         (INTERNAL_VSYSCALL): Remove macro.
2251         (INTERNAL_VSYSCALL_NCS): Remove macro.
2252         (INTERNAL_VSYSCALL_CALL): New macro.
2253         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2254         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2255         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2256         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2257         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2259         (INLINE_VSYSCALL): Remove macro.
2260         (INTERNAL_VSYSCALL): Likewise.
2261         (INTERNAL_VSYSCALL_NCS): Likewise.
2262         (INTERNAL_VSYSCALL_CALL): New macro.
2263         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2264         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2265         PTR_DEMANGLE on vDSO pointer.
2266         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2267         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2268         macro.
2269         (INTERNAL_SYSCALL): Likewise.
2270         (INTERNAL_VSYSCALL_NCS): Remove macro.
2271         (INTERNAL_VSYSCALL_CALL): New macro.
2272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2273         Remove macro.
2274         (INTERNAL_VSYSCALL): Likewise.
2275         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2276         sysdep-vdso.h instead of libc-vdso.h.
2277         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2278         definition.
2279         (INLINE_VSYSCALL): Likewise.
2280         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2281         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2282         definition.
2283         (INLINE_VSYSCALL): Likewise.
2284         (INTERNAL_VSYSCALL): Likewise.
2285         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2286         * sysdeps/unix/sysv/linux/timespec_get.c
2287         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2288         (timespec_get): Use ANSI prototype.
2289         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2290         and definition for Linux.
2292 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2294         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2295         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2297 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2299         [BZ #18410]
2300         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2301         for missing DT_PLTRELSZ.
2303 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2305         Remove obsolete aliases that broke 'locale -a'
2306         [BZ #18412]
2307         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2308         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2309         breaking some applications that use 'locale -a' output.
2310         Change the encoding of this file from Latin-1 to ASCII to avoid
2311         other potential problems with people grepping this file.
2313 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2315         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2316         -fasynchronous-unwind-tables.
2317         (CFLAGS-sendto.c): Likewise.
2318         (CFLAGS-sendmsg.c): Likewise.
2319         (CFLAGS-connect.c): Likewise.
2320         (CFLAGS-recvmsg.c): Likewise.
2321         (CFLAGS-recvfrom.c): Likewise.
2322         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2323         (SOCKETCALL): New macro: non-cancellable socketcall.
2324         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2325         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2326         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2327         * sysdeps/unix/sysv/linux/accept.c: New file.
2328         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2329         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2330         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2331         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2332         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2333         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2334         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2335         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2336         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2337         * sysdeps/unix/sysv/linux/send.c: Likewise.
2338         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2339         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2340         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2341         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2342         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2343         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2344         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2345         prototype.
2346         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2347         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2348         instead of __internal_xxx function.
2349         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2350         prototype.
2351         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2352         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2353         instead of __internal_xxx function.
2354         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2355         prototype.
2356         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2357         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2358         instead of __internal_xxx function.
2359         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2360         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2361         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2362         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2363         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2364         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2365         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2366         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2367         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2368         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2369         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2370         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2371         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2372         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2373         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2374         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2375         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2376         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2377         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2378         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2381         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2382         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2383         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2384         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2385         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2386         * sysdeps/unix/sysv/linux/send.S: Likewise.
2387         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2388         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2389         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2390         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2391         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2392         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2393         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2394         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2395         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2396         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2397         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2398         socketcall is implemented in GLIBC.
2400 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2402         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2403         (__fma): Ignore uninitialized warnings around packing.
2404         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2405         (__fmaf): Ignore uninitialized warnings around packing.
2406         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2407         (__fmal): Ignore uninitialized warnings around packing.
2409         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2410         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2411         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2412         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2414         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2415         switch statement into default case.
2416         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2418         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2419         a conditional in forcing "inexact".
2420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2421         Likewise.
2423 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2425         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2426         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2427         for each INTERNAL_SYSCALL use.
2429 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2431         [BZ #438]
2432         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2433         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2434         variable.
2436         [BZ #18444]
2437         * string/basename.c (basename): Rename to __basename and define as
2438         weak alias of __basename.  Use libc_hidden_weak.
2439         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2440         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2441         __basename instead of basename.
2442         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2443         Remove variable.
2444         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2446 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2448         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2449         (_IO_JUMPS_FILE_plus): New.
2450         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2451         _IO_CAST_FIELD_ACCESS.
2452         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2453         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2454         * libio/freopen.c (freopen): Likewise.
2455         * libio/freopen64.c (freopen64): Likewise.
2456         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2457         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2458         * libio/iofwide.c (_IO_fwide): Likewise.
2459         * libio/memstream.c (open_memstream): Likewise.
2460         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2461         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2462         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2464 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2466         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2467         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2468         NADJ.
2469         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2470         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2471         NADJ.
2472         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2473         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2474         NADJ.
2476         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2477         (p == 4) case.
2479         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2480         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2481         Remove variable.
2482         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2483         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2484         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2486 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2488         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2489         Adjust jump table label generation macros.
2491 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2493         * stdio-common/vfprintf.c (vfprintf): Move local variables
2494         args_malloced, specs, specs_malloced, and the code after
2495         do_positional to the printf_positional function.
2496         (printf_positional): New function.
2498 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2500         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2501         function.
2502         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2503         STEP4_TABLE, process_arg): Move macro definitions
2504         out of the vfprintf function.  (Cosmetic change only.)
2506 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2508         * benchtests/Makefile (stdio-common-bench): Define.
2509         (benchset): Add stdio-common-bench.
2510         * sprintf-inputs: New file.
2511         * sprintf-source.c: New file.
2513 2015-05-21  Andreas Schwab  <schwab@suse.de>
2515         [BZ #13028]
2516         [BZ #17053]
2517         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2518         of struct __res_state.
2519         * resolv/res_send.c (__libc_res_nsend): Likewise.
2520         (get_nsaddr): New function.
2521         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2522         statp directly.
2524 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2526         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2527         -D_POSIX_C_SOURCE=199506L.
2529         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2531         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2532         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2533         Do not mention otherwise.
2534         [POSIX] (_XOPEN_VERSION): Do not expect.
2535         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2536         [POSIX] (_POSIX2_C_BIND): Likewise.
2537         [POSIX] (_POSIX2_VERSION): Likewise.
2538         [POSIX] (_XOPEN_XPG2): Likewise.
2539         [POSIX] (_XOPEN_XPG3): Likewise.
2540         [POSIX] (_XOPEN_XPG4): Likewise.
2541         [POSIX] (_XOPEN_UNIX): Likewise.
2542         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2543         [POSIX] (_POSIX_BARRIERS): Likewise.
2544         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2545         [POSIX] (_POSIX_CPUTIME): Likewise.
2546         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2547         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2548         [POSIX] (_POSIX_SHELL): Likewise.
2549         [POSIX] (_POSIX_SPAWN): Likewise.
2550         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2551         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2552         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2553         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2554         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2555         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2556         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2557         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2558         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2559         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2560         [POSIX] (_POSIX2_PBS): Likewise.
2561         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2562         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2563         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2564         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2565         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2566         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2567         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2568         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2569         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2570         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2571         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2572         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2573         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2574         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2575         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2576         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2577         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2578         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2579         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2580         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2581         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2582         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2583         [POSIX] (_SC_2_C_BIND): Likewise.
2584         [POSIX] (_SC_2_C_VERSION): Likewise.
2585         [POSIX] (_SC_2_PBS): Likewise.
2586         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2587         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2588         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2589         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2590         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2591         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2592         [POSIX] (_SC_BARRIERS): Likewise.
2593         [POSIX] (_SC_BASE): Likewise.
2594         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2595         [POSIX] (_SC_DEVICE_IO): Likewise.
2596         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2597         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2598         [POSIX] (_SC_FD_MGMT): Likewise.
2599         [POSIX] (_SC_FIFO): Likewise.
2600         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2601         [POSIX] (_SC_FILE_LOCKING): Likewise.
2602         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2603         [POSIX] (_SC_IOV_MAX): Likewise.
2604         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2605         [POSIX] (_SC_NETWORKING): Likewise.
2606         [POSIX] (_SC_PAGE_SIZE): Likewise.
2607         [POSIX] (_SC_PASS_MAX): Likewise.
2608         [POSIX] (_SC_PIPE): Likewise.
2609         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2610         [POSIX] (_SC_REGEXP): Likewise.
2611         [POSIX] (_SC_SHELL): Likewise.
2612         [POSIX] (_SC_SIGNALS): Likewise.
2613         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2614         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2615         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2616         [POSIX] (_SC_USER_GROUPS): Likewise.
2617         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2618         [POSIX] (_SC_STREAMS): Likewise.
2619         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2620         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2621         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2622         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2623         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2624         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2625         [POSIX] (_PC_FILESIZEBITS): Likewise.
2626         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2627         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2628         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2629         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2630         [POSIX] (uid_t): Likewise.
2631         [POSIX] (gid_t): Likewise.
2632         [POSIX] (off_t): Likewise.
2633         [POSIX] (pid_t): Likewise.
2634         [POSIX] (cuserid): Allow.
2635         (_SC_2_CHAR_TERM): Require constant.
2636         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2637         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2638         variable.
2640 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2642         * sysdeps/nacl/pthread-pids.h: New file.
2643         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2644         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2646         * nptl/pthread-pids.h: New file.
2647         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2648         * nptl/nptl-init.c: Include <pthread-pids.h>.
2649         (__pthread_initialize_minimal_internal):
2650         Call __pthread_initialize_pids instead of set_tid_address syscall.
2652         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2653         * sysdeps/posix/usleep.c: ... here.
2655 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2657         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2658         call_pselect6 object.
2659         [$(subdir) = io]: Remove call_sync_file_range object.
2660         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2661         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2662         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2663         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2665 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2667         * math/s_cproj.c: Add include "math_private.h".
2668         * math/s_cprojf.c: Likewise.
2669         * math/s_cprojl.c: Likewise.
2671 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2673         [BZ #18244]
2674         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2675         high mantissa bit when testing whether P is a NaN.
2676         * math/libm-test.inc (remainder_test_data): Add more tests.
2677         (remquo_test_data): Likewise.
2679         [BZ #18049]
2680         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2681         below -32, return the argument, with underflow if subnormal.
2682         * math/auto-libm-test-in: Add more tests of atanh.
2683         * math/auto-libm-test-out: Regenerated.
2685 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2687         [BZ #18434]
2688         * nptl/tst-sem15.c: New file.
2689         * nptl/Makefile (tests): Add it.
2690         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2691         s/<</>>/ to fix typo in EOVERFLOW check.
2692         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2694 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2696         * manual/strings.texi (envz_remove): Fix typo in safety
2697         annotations.
2699 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2700             Steve Ellcey  <sellcey@imgtec.com>
2702         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2703         in order to avoid strict alias warnings.
2704         (iruserok_af): Ditto for ra.
2706 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2708         [BZ #17581]
2709         * malloc/hooks.c
2710         (magicbyte): Convert to a function and avoid returning 0x01.
2711         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2712         (mem2chunk_check): Fix unsigned comparisons to zero.
2713         Hoist defs of sz and magic.
2715 2015-05-19  Richard Henderson  <rth@redhat.com>
2717         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2719         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2721 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2723         [BZ #16159]
2724         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2725         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2726         (reused_arena): Find a non-corrupt arena.
2727         (heap_trim): Pass arena to unlink.
2728         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2729         malloc_printerr.
2730         (top_check): Likewise.
2731         (free_check): Likewise.
2732         (realloc_check): Likewise.
2733         * malloc/malloc.c (malloc_printerr): Add arena argument.
2734         (unlink): Likewise.
2735         (munmap_chunk): Adjust.
2736         (ARENA_CORRUPTION_BIT): New macro.
2737         (arena_is_corrupt): Likewise.
2738         (set_arena_corrupt): Likewise.
2739         (sysmalloc): Use mmap if there are no usable arenas.
2740         (_int_malloc): Likewise.
2741         (__libc_malloc): Don't fail if arena_get returns NULL.
2742         (_mid_memalign): Likewise.
2743         (__libc_calloc): Likewise.
2744         (__libc_realloc): Adjust for additional argument to
2745         malloc_printerr.
2746         (_int_free): Likewise.
2747         (malloc_consolidate): Likewise.
2748         (_int_realloc): Likewise.
2749         (_int_memalign): Don't touch corrupt arenas.
2750         * malloc/tst-malloc-backtrace.c: New test case.
2752         * Makefile (summarize-tests): Fix return value on success.
2754         * manual/string.texi (Envz Functions): Add envz_remove.
2756 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2758         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2759         (invalid_name): New function, broken out of ...
2760         (__opendirat): ... here.  Call it.
2761         (need_isdir_precheck): New function, broken out of ...
2762         (__opendirat): ... here.  Call it.
2763         Use __fxstatat64, not __xstatat64.
2764         (opendir_oflags): New function, broken out of ...
2765         (__opendirat): ... here.  Call it.
2766         (opendir_tail): New function, broken out of ...
2767         (__opendirat): ... here.  Call it.
2768         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2769         opendir_tail, rather than punting to __opendirat.
2770         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2772 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2774         * .gitignore: Ignore generated *.pyc.
2776 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2778         * include/stdio.h: Define __need_wint_t.
2779         * test-skeleton.c: Avoid `for' loop initial declaration.
2780         * nptl/tst-initializers1.c: Use test-skeleton.c.
2782 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2784         [BZ #18418]
2785         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2787 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2789         [BZ #16352]
2790         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2791         (__ieee754_atanh): Force underflow exception for results with
2792         small absolute value.
2793         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2794         (__ieee754_atanhf): Force underflow exception for results with
2795         small absolute value.
2796         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2797         (__ieee754_atanh): Force underflow exception for results with
2798         small absolute value.
2799         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2800         (__ieee754_atanhf): Force underflow exception for results with
2801         small absolute value.
2802         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2803         (__ieee754_atanhl): Force underflow exception for results with
2804         small absolute value.
2805         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2806         (__ieee754_atanhl): Force underflow exception for results with
2807         small absolute value.
2808         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2809         (__ieee754_atanhl): Force underflow exception for results with
2810         small absolute value.
2811         * math/auto-libm-test-in: Do not allow missing underflow
2812         exceptions from atanh.
2813         * math/auto-libm-test-out: Regenerated.
2815         [BZ #18221]
2816         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2817         2**-28 as threshold for returning x or +/- 1/x.
2818         * math/auto-libm-test-in: Add more tests of tan.
2819         * math/auto-libm-test-out: Regenerated.
2821         [BZ #18220]
2822         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2823         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2824         * math/auto-libm-test-in: Add another test of lgamma.
2825         * math/auto-libm-test-out: Regenerated.
2827 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2829         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2830         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2831         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2832         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2833         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2834         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2835         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2836         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2838         (log1): Use fabs.  (my_log2): Use fabs.
2839         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2840         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2842         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2844         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2845         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2846         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2847         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2848         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2849         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2851 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2853         [BZ #18217]
2854         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2855         as threshold for returning 1 - x.
2856         * math/auto-libm-test-in: Add more tests of erfc.
2857         * math/auto-libm-test-out: Regenerated.
2859 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2861         [BZ #18196]
2862         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2863         threshold for large arguments.
2864         * math/auto-libm-test-in: Add another test of atan.
2865         * math/auto-libm-test-out: Regenerated.
2867         [BZ #16339]
2868         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2869         (__log1p): Force underflow exception for results with small
2870         absolute value.
2871         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2872         (__log1pf): Force underflow exception for results with small
2873         absolute value.
2874         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2875         (__log1p): Force underflow exception for results with small
2876         absolute value.
2877         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2878         (__log1pf): Force underflow exception for results with small
2879         absolute value.
2880         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2881         (__log1pl): Force underflow exception for results with small
2882         absolute value.
2883         * math/auto-libm-test-in: Do not allow missing underflow
2884         exceptions from log1p.
2885         * math/auto-libm-test-out: Regenerated.
2887 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2888             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2890         [BZ #16704]
2891         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2893 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2895         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2896         (libmvec): New variable.
2897         * configure.ac: Added option for mathvec build.
2898         * configure: Regenerated.
2899         * mathvec/Depend: New file.
2900         * mathvec/Makefile: New file.
2901         * shlib-versions: Added libmvec.
2902         * math/Makefile: Added rule for libm.so installation.
2904         * bits/math-vector.h: New file.
2905         * bits/libm-simd-decl-stubs.h: New header.
2906         * math/Makefile (headers): Added new header
2907         libm-simd-decl-stubs.h.
2908         * math/math.h (__MATHCALL_VEC): New macro.
2910         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2911         for conditions in testing functions.
2912         * math/Makefile: Added call of libm-have-vector-test.sh.
2913         * math/libm-test.inc (HAVE_VECTOR): New macros.
2915         * math/libm-test.inc: START refactored.
2916         * math/test-double.c (TEST_MATHVEC): Add define.
2917         * math/test-float.c: Likewise.
2918         * math/test-idouble.c: Likewise.
2919         * math/test-ifloat.c: Likewise.
2920         * math/test-ildoubl.c: Likewise.
2921         * math/test-ldouble.c: Likewise.
2922         * sysdeps/generic/math-tests-arch.h
2923         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2924         architecture check.
2926         * math/test-double.c (FUNC_TEST): New macro.
2927         * math/test-float.c: Likewise.
2928         * math/test-idouble.c: Likewise.
2929         * math/test-ifloat.c: Likewise.
2930         * math/test-ildoubl.c: Likewise.
2931         * math/test-ldouble.c: Likewise.
2932         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2934 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2936         * sysdeps/nacl/fdopendir.c: New file.
2938         * dirent/scandir-tail.c: New file.
2939         * dirent/scandir64-tail.c: New file.
2940         * dirent/Makefile (routines): Add them.
2941         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2942         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2943         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2944         [!SCANDIR] (SCANDIR_TAIL): New macro.
2945         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2946         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2947         (SCANDIRAT): Macro removed.
2948         (SCANDIR_TAIL): New macro.
2949         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2950         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2951         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2952         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2953         (READDIR): Macro removed.
2954         (SCANDIR_TAIL): New macro.
2955         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2956         (SCANDIR_TAIL): New macro.
2958         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2959         * dirent/scandir-cancel.c: ... to this new file.
2960         * dirent/Makefile (routines): Add it.
2961         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2962         * sysdeps/unix/sysv/linux/i386/scandir64.c
2963         (SKIP_SCANDIR_CANCEL): Macro removed.
2964         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2966         * dirent/tst-scandir.c: New file.
2967         * dirent/tst-scandir64.c: New file.
2968         * dirent/Makefile (tests): Add them.
2970 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2972         [BZ #18409]
2973         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2975 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2977         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2978         list.
2980 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2982         * benchtests/bench-strcoll.c: New benchmark.
2983         * benchtests/Makefile: Generate locales and run benchmark.
2984         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2985         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2986         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2987         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2988         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2989         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2990         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2991         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2992         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2993         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2994         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2995         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2996         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2997         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2998         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2999         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3000         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3001         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3002         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3003         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3004         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3005         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3006         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3007         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3009 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3011         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3012         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3014 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3016         * posix/uname-values.h: New file.
3017         * posix/uname.c: Include that instead of <config-name.h>.
3018         * sysdeps/nacl/uname-values.h: New file.
3019         * sysdeps/arm/nacl/uname-values.h: New file.
3021 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3023         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3024         splitting into fields.
3026 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3028         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3029         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3030         * locale/localeinfo.h: Add enum collation_encoding_type.
3031         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3032         * programs/ld-collate.c (collate_output): Add encoding type info.
3033         * string/strcoll_l.c (STRDIFF): New function.
3034         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3035         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3037 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #18397]
3040         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3041         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3042         <fpu_control.h> instead of <math/fpu_control.c>.
3043         * sysdeps/mips/mips32/fpu/Makefile: New file.
3045 2015-05-11  Andreas Schwab  <schwab@suse.de>
3047         [BZ #18007]
3048         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3049         nss_endgrent.
3050         (_nss_compat_endgrent): Call nss_endgrent.
3051         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3052         nss_endpwent.
3053         (_nss_compat_endpwent): Call nss_endpwent.
3054         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3055         needent, call nss_setspent only if non-zero.
3056         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3057         (internal_endspent): Don't call nss_endspent.
3058         (_nss_compat_endspent): Call nss_endspent.
3059         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3060         Remove.  All uses removed.
3061         (internal_setent): Remove parameter stayopen, add parameter
3062         stream.  Use it instead of global variable.
3063         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3064         (internal_endent, internal_getent): Add parameter stream.  Use it
3065         instead of global variable.
3066         (CONCAT(_nss_files_end,ENTNAME))
3067         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3068         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3069         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3070         uses removed.
3071         (internal_setent, internal_endent): Add parameter stream.  Use it
3072         instead of global variable.
3073         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3074         stream.
3075         (get_next_alias): Add parameter stream.
3076         (_nss_files_getaliasent_r): Pass global stream.
3077         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3078         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3079         (_nss_files_gethostbyname4_r): Pass local stream to
3080         internal_setent, internal_getent and internal_endent.  Remove
3081         locking.
3083 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3085         * tst-strfmon1.c (tests): Update expected currency symbol.
3087 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3089         * sysdeps/nacl/gethostname.c: New file.
3091 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3093         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3094         and sinh.
3095         * math/auto-libm-test-out: Regenerated.
3096         * sysdeps/i386/fpu/libm-test-ulps: Update.
3097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3099 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3101         [BZ #18125]
3102         * stdlib/tst-setcontext3.c: New file.
3103         * stdlib/tst-setcontext3.sh: New file.
3104         * stdlib/Makefile (tests): Add tst-setcontext3.
3105         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3106         to verify test program created output file.
3107         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3108         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3109         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3110         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3112 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3114         [BZ #18383]
3115         * elf/tst-tlsalign.c: New file.
3116         * elf/tst-tlsalign-static.c: New file.
3117         * elf/tst-tlsalign-lib.c: New file.
3118         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3119         (tests-static): Add tst-tlsalign-static.
3120         (modules-names): Add tst-tlsalign-lib.
3121         (test-xfail-tst-tlsalign): New variable.
3122         (test-xfail-tst-tlsalign-static): New variable.
3124         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3125         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3127 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3129         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3130         csqrt, erfc, sin and sincos.
3131         * math/auto-libm-test-out: Regenerated.
3132         * sysdeps/i386/fpu/libm-test-ulps: Update.
3133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3135 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3137         * sysdeps/aarch64/libm-test-ulps: Update.
3139 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3141         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3142         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3143         * math/auto-libm-test-out: Regenerated.
3144         * sysdeps/i386/fpu/libm-test-ulps: Update.
3145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3147 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3149         [BZ #18265]
3150         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3151         (wcsncpy): Likewise.
3153 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3155         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3156         Assume __ASSUME_FALLOCATE is always true.
3157         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3158         (__posix_fallocate64_l64): Likweise.
3159         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3160         (posix_fallocate): Likewise.
3161         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3162         (__posix_fallocate64_l64): Likewise.
3163         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3164         [!__ASSUME_FALLOCATE]: Add comment.
3166 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3168         * sysdeps/unix/sysv/linux/i386/Makefile
3169         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3170         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3171         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3172         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3173         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3174         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3175         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3177 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3179         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3180         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3181         tgamma.
3182         * math/auto-libm-test-out: Regenerated.
3183         * sysdeps/i386/fpu/libm-test-ulps: Update.
3184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3186 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3188         * math/auto-libm-test-in: Add more tests of tgamma.
3189         * math/auto-libm-test-out: Regenerated.
3190         * sysdeps/i386/fpu/libm-test-ulps: Update.
3191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3193         * math/auto-libm-test-in: Add more tests of tanh.
3194         * math/auto-libm-test-out: Regenerated.
3195         * sysdeps/i386/fpu/libm-test-ulps: Update.
3196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3198         * math/auto-libm-test-in: Add more tests of tan.
3199         * math/auto-libm-test-out: Regenerated.
3200         * sysdeps/i386/fpu/libm-test-ulps: Update.
3201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3203         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3204         * math/auto-libm-test-out: Regenerated.
3205         * sysdeps/i386/fpu/libm-test-ulps: Update.
3206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3208         * math/auto-libm-test-in: Add another test of pow.
3209         * math/auto-libm-test-out: Regenerated.
3210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3212         * math/auto-libm-test-in: Add more tests of lgamma.
3213         * math/auto-libm-test-out: Regenerated.
3214         * sysdeps/i386/fpu/libm-test-ulps: Update.
3215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3217         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3218         log1p.
3219         * math/auto-libm-test-out: Regenerated.
3220         * sysdeps/i386/fpu/libm-test-ulps: Update.
3221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3225         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3226         Elf64_Chdr structs and ELFCOMPRESS constants.
3228 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3230         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3231         expm1.
3232         * math/auto-libm-test-out: Regenerated.
3233         * sysdeps/i386/fpu/libm-test-ulps: Update.
3234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3236         * math/auto-libm-test-in: Add more tests of erf and erfc.
3237         * math/auto-libm-test-out: Regenerated.
3238         * sysdeps/i386/fpu/libm-test-ulps: Update.
3239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3241 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3243         * config.h.in (HAVE_AARCH64_BE): Add.
3245 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3247         * math/auto-libm-test-in: Add more tests of csqrt.
3248         * math/auto-libm-test-out: Regenerated.
3249         * sysdeps/i386/fpu/libm-test-ulps: Update.
3250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3252         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3253         * math/auto-libm-test-out: Regenerated.
3254         * sysdeps/i386/fpu/libm-test-ulps: Update.
3255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3259 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3261         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3262         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3264         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3265         (euidaccess, eaccess): Define as weak aliases.
3267         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3268         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3269         but __suseconds_t is often 'long int' so some sources assume that
3270         type is being used (e.g. they use %ld to print tv_usec).
3272 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3274         [BZ #18007]
3275         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3276         (CVE-2014-8121)
3277         * nss/tst-nss-getpwent.c: New file.
3278         * nss/Makefile (tests): Add new test.
3280 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3282         [BZ #18346]
3283         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3284         exponents less than 48 as cases where high part of mantissa needs
3285         examining to determine whether argument is integral.
3286         * math/libm-test.inc (round_test_data): Add more tests.
3288 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3290         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3292 2015-04-27  David S. Miller  <davem@davemloft.net>
3294         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3295         __tls_get_addr.
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3298 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3300         [BZ#18333]
3301         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3303 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3305         [BZ#18333]
3306         * time/tzset.c (parse_tzname): Return error on memory allocation
3307         failure.
3308         * test-skeleton.c (struct temp_name_list): Change type of name
3309         member to non-const.
3310         (add_temp_file): Create a copy of the file name.
3311         (delete_temp_files): Deallocate memory.
3312         (create_temp_file): Add comment.
3314 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3316         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3317         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3319 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3321         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3322         * sysdeps/arm/configure: Regenerated.
3324 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3326         [BZ #17715]
3327         * time/tzfile.c (__tzfile_read): Check for large values of
3328         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3329         * time/tzset.c (__tzstring_len): New function, based on the old
3330         __tzstring function.
3331         (__tzstring): Call __tzstring_len.
3332         (parse_tzname): New helper function extracted from
3333         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3334         the input string.
3335         (parse_offset): New helper function extracted from
3336         __tzset_parse_tz.  Replace switch with fallthrough with
3337         initialization before sscanf.
3338         (parse_rule): Likewise.
3339         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3340         new-style function definition.
3341         * timezone/Makefile (tests): Add tst-tzset.
3342         (tst-tzset.out): Dependencies on time zone files.
3343         (tst-tzset-ENV): Set TZDIR.
3344         (testdata/XT%): Copy crafted time zone files.
3345         * timezone/README: Mention crafted time zone files.
3346         * timezone/testdata/XT1, timezone/testdata/XT2,
3347         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3348         files.
3349         * timezone/tst-tzset.c: New test.
3351 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3353         * Makeconfig (+gccwarn): Remove -Winline.
3355 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3357         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3359 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3361         * NEWS: Mention sysconf() cache information support for s390.
3362         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3364 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3366         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3367         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3368         (__nearbyint): Likewise.
3369         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3370         (copysignl): Likewise.
3372 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3374         [BZ #18287]
3375         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3376         based on padding.  (CVE-2015-1781)
3378 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3380         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3381         libc-vdso.h.
3382         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3383         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3384         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3385         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3386         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3387         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3389         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3390         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3391         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3393         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3394         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3395         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3396         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3397         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3398         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3400         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3401         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3402         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3403         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3404         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3406 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3408         * stdlib/setenv.c (__add_to_environ):
3409         Dump core quickly if setenv (..., NULL, ...) is called.
3410         This time, do it the right way, and pacify GCC with a pragma.
3412 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3414         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3415         IMAP->l_prev cannot be null, and #if out the code for the contrary
3416         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3417         believe that NS (&_dl_ns[NSID]) could point outside the array.
3419         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3420         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3421         before using NSID as an index.
3423 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3425         [BZ #17825]
3426         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3427         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3428         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3430 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3432         Add preliminary port to Google Native Client on ARM.
3433         * abi-tags (.*-.*-nacl.*): New entry.
3434         * sysdeps/arm/nacl: New directory.
3435         * sysdeps/nacl: New directory.
3437 2015-04-16  David S. Miller  <davem@davemloft.net>
3439         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3440         lowlevellock-futex.h
3442 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3444         * sysdeps/tile/configure.ac: New file.
3445         * sysdeps/tile/configure: Regenerated.
3447 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3449         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3450         conditionals for weak_alias and libc_hidden_weak.
3451         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3452         libc_hidden_weak and weak_alias.
3453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3454         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3455         and weak_alias for static one.
3457 2015-04-15  David S. Miller  <davem@davemloft.net>
3459         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3461 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3463         [BZ #18206]
3464         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3465           Use signed comparision instead of substraction to avoid
3466           overflow bug.
3467         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3468           Take the sign of ret.
3469         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3470           Do not expect precise return values. Only the sign matters.
3471         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3472         * wcsmbs/test-wcsncmp.c: New File.
3473         * string/test-strncmp.c: Add wcsncmp support.
3475 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3477         [BZ #6792]
3478         * math/w_log1p.c: New file.
3479         * math/w_log1pf.c: Likewise.
3480         * math/w_log1pl.c: Likewise.
3481         * math/Makefile (libm-calls): Add w_log1p.
3482         * math/s_log1pl.c (log1pl): Remove weak_alias.
3483         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3484         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3485         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3486         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3487         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3488         [NO_LONG_DOUBLE] (log1pl): Likewise.
3489         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3490         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3491         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3492         (log1p): Remove long_double_symbol.
3493         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3494         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3495         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3496         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3497         remove weak_alias for corresponding log1p function.
3498         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3499         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3500         * sysdeps/ia64/fpu/w_log1p.c: New file.
3501         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3502         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3503         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3505 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3507         [BZ #18247]
3508         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3509         decimal exponent by 1.
3510         * stdlib/tst-strtod-round-data: Add more tests.
3511         * stdlib/tst-strtod-round.c (tests): Regenerated.
3513 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3515         * math/auto-libm-test-in: Add more tests of clog and clog10.
3516         * math/auto-libm-test-out: Regenerated.
3517         * sysdeps/i386/fpu/libm-test-ulps: Update.
3518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3520 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3522         * Makeconfig (module-cppflags): Exclude all .v.i files.
3523         (skip-module-cppflags): Variable removed.
3525         * configure.ac (libc_config_ok): Initialize before reading
3526         preconfigure scripts, not after.
3527         * configure: Regenerated.
3529         * test-skeleton.c (TIMEOUT): Move #define to top level.
3530         (main): Grok environment variable TEST_DIRECT.  If set, print
3531         test expectation details into that file and then behave as if
3532         given --direct.
3534 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3536         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3537         warning on 32-bit.
3539 2015-04-08  David S. Miller  <davem@davemloft.net>
3541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3543 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3545         * math/auto-libm-test-in: Add more tests of atanh.
3546         * math/auto-libm-test-out: Regenerated.
3547         * sysdeps/i386/fpu/libm-test-ulps: Update.
3548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3550         * math/auto-libm-test-in: Add more tests of atan.
3551         * math/auto-libm-test-out: Regenerated.
3552         * sysdeps/i386/fpu/libm-test-ulps: Update.
3553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3555 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3557         * elf/pldd.c (main): Rewrite to use struct
3558         scratch_buffer instead of extend_alloca.
3559         * elf/pldd-xx.c (find_maps): Likewise.
3560         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3561         <alloca.h>.
3562         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3563         scratch_buffer instead of extend_alloca.
3564         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3565         grp/compat-initgroups.c.
3566         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3567         Rewrite to use struct scratch_buffer instead of extend_alloca.
3568         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3569         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3571 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3573         * math/auto-libm-test-in: Add more tests of cbrt.
3574         * math/auto-libm-test-out: Regenerated.
3575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3577         * math/auto-libm-test-in: Add more tests of cabs.
3578         * math/auto-libm-test-out: Regenerated.
3579         * sysdeps/i386/fpu/libm-test-ulps: Update.
3580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582         [BZ #18210]
3583         [BZ #18211]
3584         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3585         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3586         computations.
3587         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3588         clog10.
3589         * math/auto-libm-test-out: Regenerated.
3590         * sysdeps/i386/fpu/libm-test-ulps: Update.
3591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3593         [BZ #18197]
3594         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3595         (atan): Set FE_TONEAREST mode for internal computations.
3596         * math/auto-libm-test-in: Add more tests of atan.
3597         * math/auto-libm-test-out: Regenerated.
3599 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3601         [BZ #17930]
3602         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3604 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3606         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3608 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3610         * include/scratch_buffer.h: New file.
3611         * malloc/scratch_buffer_grow.c: Likewise.
3612         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3613         * malloc/scratch_buffer_set_array_size.c: Likewise.
3614         * malloc/tst-scratch_buffer.c: Likewise.
3615         * malloc/Makefile (routines): Add scratch_buffer_grow.
3616         (tests): Add test case.
3617         * malloc/Versions (GLIBC_PRIVATE): Export
3618         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3619         __libc_scratch_buffer_set_array_size.
3621 2015-04-06  Richard Henderson  <rth@redhat.com>
3623         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3624         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3626         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3627         unsigned int before printing.
3629 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3631         [BZ #17596]
3632         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3633         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3635 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3637         * include/libc-internal.h (libc_max_align_t): Define.
3639 2015-04-02  Andreas Schwab  <schwab@suse.de>
3641         [BZ #16850]
3642         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3644 2015-04-02  Mel Gorman  <mgorman@suse.de>
3646         [BZ #17195]
3647         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3648         as well as the main arena.
3650 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3652         [BZ #18185]
3653         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3654         sharing L2 cache to 2 for Silvermont/Knights Landing.
3656 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3658         [BZ #17711]
3659         * config.make.in (have-protected-data): New.
3660         * configure.ac: Check linker support for protected data symbol.
3661         * configure: Regenerated.
3662         * elf/Makefile (modules-names): Add tst-protected1moda and
3663         tst-protected1modb if $(have-protected-data) is yes.
3664         (tests): Add tst-protected1a and tst-protected1b if
3665         $(have-protected-data) is yes.
3666         ($(objpfx)tst-protected1a): New.
3667         ($(objpfx)tst-protected1b): Likewise.
3668         (tst-protected1modb.so-no-z-defs): Likewise.
3669         * elf/tst-protected1a.c: New file.
3670         * elf/tst-protected1b.c: Likewise.
3671         * elf/tst-protected1mod.h: Likewise.
3672         * elf/tst-protected1moda.c: Likewise.
3673         * elf/tst-protected1modb.c: Likewise.
3675 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3677         [BZ #17711]
3678         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3679         indicates it is called from do_lookup_x on relocation against
3680         protected data, skip the data definion in the executable from
3681         copy reloc.
3682         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3683         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3684         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3685         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3686         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3687         otherwise to 0.
3688         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3689         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3690         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3691         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3692         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3693         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3695 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3697         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3698         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3700 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3702         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3703         THREAD_SETMEM_NC.
3704         * sysdeps/x86_64/nptl/tls.h: Ditto.
3706 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3708         * dlfcn/tststatic.c (main): Converted to ...
3709         (do_test): ... this.
3710         (TEST_FUNCTION): New macro.
3711         Include test-skeleton.c.
3713 2015-03-26  Alan Modra  <amodra@gmail.com>
3715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3716         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3717         zero for undefined weak.
3718         (elf_machine_plt_conflict): Similarly.
3720 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3722         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3723         atanh.
3724         * math/auto-libm-test-out: Regenerated.
3725         * sysdeps/i386/fpu/libm-test-ulps: Update.
3726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3728         * math/auto-libm-test-in: Add another test of asin.
3729         * math/auto-libm-test-out: Regenerated.
3730         * sysdeps/i386/fpu/libm-test-ulps: Update.
3731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3734         Remove macro.
3735         (LLL_EBX_REG): Likewise.
3736         (LLL_ENTER_KERNEL): Likewise.
3738         * math/auto-libm-test-in: Add more tests of asin.
3739         * math/auto-libm-test-out: Regenerated.
3740         * sysdeps/i386/fpu/libm-test-ulps: Update.
3741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743         [BZ #18138]
3744         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3745         libc_do_syscall_args): New structure.
3746         (INTERNAL_SYSCALL_MAIN_0): New macro.
3747         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3748         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3749         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3750         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3751         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3752         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3753         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3754         Replace conditional definitions by conditional definitions of ....
3755         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3756         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3757         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3758         (libpthread-sysdep_routines): Add libc-do-syscall.
3759         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3760         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3761         to __NR_futex not 240.
3763 2015-03-25  Alan Modra  <amodra@gmail.com>
3765         * NEWS: Advertise TLS optimization.
3766         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3767         (DT_PPC_NUM): Increment.
3768         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3769         (CHECK_STATIC_TLS): Use here.
3770         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3771         TLS descriptors.
3772         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3773         * sysdeps/powerpc/dl-tls.c: New file.
3774         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3775         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3776         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3777         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3782 2015-03-25  Alan Modra  <amodra@gmail.com>
3784         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3785         for overlapping .opd entries" to "support...".
3786         * sysdeps/powerpc/powerpc64/configure: Regenerate
3788 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3790         * math/auto-libm-test-in: Add more tests of acos.
3791         * math/auto-libm-test-out: Regenerated.
3792         * sysdeps/i386/fpu/libm-test-ulps: Update.
3793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3795         * math/auto-libm-test-in: Add more tests of expm1.
3796         * math/auto-libm-test-out: Regenerated.
3797         * sysdeps/i386/fpu/libm-test-ulps: Update.
3798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3802         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3803         * math/auto-libm-test-out: Regenerated.
3804         * sysdeps/i386/fpu/libm-test-ulps: Update.
3805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3807         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3810         * math/auto-libm-test-in: Add more tests of log2.
3811         * math/auto-libm-test-out: Regenerated.
3812         * sysdeps/i386/fpu/libm-test-ulps: Update.
3813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3815 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3817         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3818         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3819         _IO_IS_APPENDING bit in READ_WRITE instead.
3821 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3823         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3824         (__determine_cpumask_size): Replace extend_alloca with a
3825         variable-length array.  Do not treat res == 0 as an error.
3827 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3829         [BZ #18100]
3830         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3831         and integer overflow.
3832         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3833         (main): Add integer overflow tests.
3834         * manual/pattern.texi (Calling Wordexp): Document additional use
3835         for WRDE_SYNTAX.
3837 2015-03-23  Alan Modra  <amodra@gmail.com>
3839         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3840         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3841         and false branch of conditional.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3843         Likewise.
3845 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3847         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3848         libc-modules.h
3849         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3850         unused declaration of _hurd_intr_rpc_msg_in_trap.
3851         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3852         defined instead of whether it is non-zero.
3853         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3854         input constraint instead of both input and output constraint.  Use ecx
3855         clobber instead of %ecx.
3856         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3857         mutex_unlock): Use a statement expression instead of an expression list.
3858         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3859         type to vm_size_t instead of vm_address_t.
3860         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3861         defined instead of whether it is non-zero.
3862         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3863         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3864         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3865         comparisons with mapaddr.
3866         * nscd/nscd-client.h: Include <time.h>.
3867         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3868         9th parameter to __vm_region instead of int.
3869         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3870         * scripts/check-local-headers.sh (exclude): Add device/,
3871         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3872         cthreads.h.
3874 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3876         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3877         to account for alignment padding.
3878         * sysdeps/arm/memmove.S: Likewise.
3880 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3882         * sysdeps/unix/sysv/linux/generic/README: New file.
3884 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3886         [BZ #18138]
3887         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3888         (futex_abstimed_wait)
3889         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3890         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3891         of lll_futex_timed_wait.
3893 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3895         [BZ #17542]
3896         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3898 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3900         [BZ #17090]
3901         [BZ #17620]
3902         [BZ #17621]
3903         [BZ #17628]
3904         * NEWS: Update.
3905         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3906         entries with Static TLS too.  Skip entries past the end of the
3907         allocated DTV, from Alan Modra.
3908         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3909         Static TLS DTV entry set up from...
3910         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3911         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3912         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3913         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3914         for Static TLS.
3915         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3916         that the slot we find is associated with the given map before
3917         using its generation count.
3918         * nptl_db/db_info.c: Include ldsodefs.h.
3919         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3920         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3921         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3922         (link_map::l_tls_offset): New struct field.
3923         (dtv_t::counter): Likewise.
3924         (rtld_global): New struct.
3925         (_rtld_global): New rtld variable.
3926         (dl_tls_dtv_slotinfo_list): New rtld global field.
3927         (dtv_slotinfo_list): New struct.
3928         (dtv_slotinfo): Likewise.
3929         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3930         (td_lookup): Rename to...
3931         (td_mod_lookup): ... this.  Use new mod parameter instead of
3932         LIBPTHREAD_SO.
3933         * nptl_db/td_thr_tlsbase.c: Include link.h.
3934         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3935         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3936         addresses even if the DTV is out of date or missing them.
3937         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3938         index zero-length arrays.
3939         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3940         (td_lookup): Make it a macro implemented in terms of...
3941         (td_mod_lookup): ... this declaration.
3942         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3943         (DB_MAIN_VARIABLE): Likewise.
3945 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3947         [BZ #18134]
3948         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3950 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3952         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3954 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3956         [BZ #18128]
3957         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3958         (atomic_add, atomic_increment_and_test)
3959         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3961 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3963         * stdlib/setenv.c (__add_to_environ):
3964         Dump core quickly if setenv (..., NULL, ...) is called.
3966 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3968         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3969         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3970         all the necessary asm magic in one place.
3971         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3972         using those.
3974 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3976         [BZ #14906]
3977         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3978         traced file mtime. Use consistent log message.
3979         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3980         (register_traced_file): Call install_watches. Always set mtime.
3981         (invalidate_cache): Iterate over all trace files. Call install_watches.
3982         (inotify_check_files): Don't inline. Handle watching parent
3983         directories and configuration file movement in and out.
3984         (handle_inotify_events): New function.
3985         (main_loop_poll): Call handle_inotify_events.
3986         (main_loop_epoll): Likewise.
3987         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3988         (struct traced_file): Use array of inotify fds. Add parent directory,
3989         and basename.
3990         (struct database_dyn): Remove unused file_mtime.
3991         (init_traced_file): New inline function.
3992         (define_traced_file): New macro.
3993         * nss/nss_db/db-init.c: Use define_traced_file.
3994         (_nss_db_init): Use init_traced_file.
3995         * nss/nss_files/files-init.c: Use define_traced_file.
3996         (_nss_files_init): Use init_traced_file.
3998 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4000         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4001         [_LIBC]: Do not include <stdlib.h>.
4002         [!_LIBC] (abort): Remove declaration.
4003         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4004         _FP_STATIC_ASSERT instead of conditionally calling abort.
4005         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4006         (_FP_EXTEND_CNAN): Likewise.
4007         (FP_TRUNC): Likewise.
4008         (__FP_CLZ): Likewise.
4009         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4011 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4013         * manual/string.texi (XPG basename): Fix prototype.
4015 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4017         [BZ #18080]
4018         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4019         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4020         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4021         (__setcontext): Likewise.
4022         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4023         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4024         Call rt_sigprocmask syscall one time to set new signal mask
4025         and retrieve the current signal mask instead of two calls.
4026         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4027         (__swapcontext): Likewise.
4028         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4029         * stdlib/tst-setcontext2.c: New file.
4031 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4033         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4035 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4037         [BZ #18093]
4038         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4039         the wrong size.
4041 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4043         [BZ #18043]
4044         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4046 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4048         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4049         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4050         Remove define.
4051         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4052         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4053         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4054         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4055         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4056         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4057         define.
4058         * nptl_db/td_symbol_list.c (td_lookup): Remove
4059         HAVE_ASM_GLOBAL_DOT_NAME code.
4060         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4061         HAVE_ASM_GLOBAL_DOT_NAME check.
4062         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4063         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4064         (DOT_LABEL): Remove define.
4065         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4066         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4067         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4068         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4069         (__TLS_GET_ADDR): Likewise.
4070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4071         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4073 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4075         [BZ #18111]
4076         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4077         (_FPU_SETCW): Initialize cw from fpsr before storing.
4078         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4079         (fesetexceptflag): Rewrite using fpu_control.h.
4080         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4082 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4084         [BZ #18110]
4085         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4086         asms.
4087         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4089 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4091         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4092         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4093         abort.
4094         (_FP_FMA): Likewise.
4095         (_FP_DIV): Likewise.
4097 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4099         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4100         with 0 in that case.
4101         * Makefile (summarize-tests): New canned sequence, factored out of
4102         commands for targets tests and xtests.  Display summary lines that
4103         don't start with PASS: or XFAIL: rather than ones that do start with
4104         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4105         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4106         do start with ERROR: or FAIL:.
4107         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4108         (except for [$(build-shared) = yes]).
4109         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4110         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4111         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4112         * nptl/Makefile: Revert 2015-03-04 changes.
4113         [$(CXX) empty] (tests-unsupported): New variable.
4114         * debug/Makefile: Likewise.
4116         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4117         gnulib file.  Replace __attribute with __attribute__ throughout.
4119 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4121         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4123 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4125         [BZ #18104]
4126         * math/auto-libm-test-in: Add another test of pow.
4127         * math/auto-libm-test-out: Regenerated.
4129 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4131         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4132         $(config-cflags-nofma).
4134 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4136         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4137         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4138         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4139         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4140         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4141         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4142         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4143         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4144         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4145         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4146         Add comment on closing #endif.
4148 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4150         * posix/wordexp.c (CHAR_IN_SET): New macro.
4151         (parse_param): Use it.
4153 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4155         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4157 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4159         [BZ #18043]
4160         * posix/wordexp.c (parse_param): Fix buffer overflow.
4161         * posix/wordexp-test.c (test_case): Add test case.
4163 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4165         [BZ #18042]
4166         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4167         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4169 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4171         [BZ #18043]
4172         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4173         (do_bz18043): Delete.
4174         (at_page_end): New.
4175         (testit): Refactor to have words at the edge of unreadable page.
4177 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4179         [BZ #16734]
4180         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4181         Cleanup read-only streams as well.
4182         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4184 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4186         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4187         <bits/libc-lockP.h>
4189 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4191         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4192         on [__KERNEL__].
4193         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4194         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4195         * soft-fp/op-common.h (_FP_DECL): Likewise.
4197 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4199         * elf/ifuncdep2.c (global): Replace
4200         __attribute__((visibility("protected"))) with
4201         asm (".protected global").
4202         * elf/ifuncmod1.c (global): Likewise.
4203         * elf/ifuncmod5.c (global): Likewise.
4205 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4207         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4208         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4210 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4212         * manual/install.texi (Configuring and compiling):
4213         Document test-wrapper-env-only.
4214         * INSTALL: Regenerated.
4216 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4218         [BZ #18043]
4219         * posix/wordexp.c (parse_param): Fix buffer overflow.
4220         * posix/wordexp-test.c (do_bz18043): Add test case.
4222 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4224         * time/tst-strptime2.c (do_test): Ensure failing tests are
4225         reported correctly.
4226         * time/tst-strptime3.c (do_test): Likewise.
4228 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4230         Fix aio_error thread-safety.
4231         * sysdeps/pthread/aio_error.c: New file
4232         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4233         synchronization.
4235 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4237         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4238         (group_number, vfprintf): Use it.
4239         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4240         (JUMP, REF): Use it.
4241         (WORK_BUFFER_SIZE): New enum constant.
4242         (process_arg, vfprintf): Use it.
4244 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4246         * manual/errno.texi (Error Messages): Complete example function
4247         by adding missing #define.
4248         (program_invocation_name): Add statement indicating GNU
4249         extension and reference which header file declares the variable.
4250         (program_invocation_short_name): Likewise.
4252 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4254         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4255         compatibility note.
4257 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4259         * Makeconfig (test-wrapper-env-only): New variable.
4260         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4261         then use that with $(test-wrapper-env-only) rather than using
4262         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4264 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4266         [BZ #18082]
4267         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4268         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4269         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4270         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4271         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4272         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4273         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4274         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4275         Likewise.
4276         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4277         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4278         Likewise.
4279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4280         Likewise.
4281         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4282         Likewise.
4283         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4284         Likewise.
4285         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4287         Likewise.
4288         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4289         Likewise.
4290         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4291         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4293 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4295         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4296         (ETH_ALEN): New macro.
4297         (struct ether_addr): Use it for length of ether_addr_octet.
4299         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4300         (setdb): Don't call __nss_configure_lookup for "rpc".
4301         (do_test): Don't call test_rpc.
4302         (output_rpcent, test_rpc): Functions moved ...
4303         * sunrpc/test-rpcent.c: ... to this new file.
4304         * sunrpc/Makefile (tests): Add it.
4306         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4307         __xpg_sigpause.
4308         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4309         * nptl/tst-signal6.c: Likewise.
4310         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4311         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4313         * configure.ac (libc_cv_cxx_link_ok): New check.
4314         Reset CXX to empty if it fails to link.
4315         * configure: Regenerated.
4316         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4317         bug-atexit3-lib only if $(CXX) is nonempty.
4318         * nptl/Makefile (tests): Likewise for tst-cancel24.
4319         (tests, tests-static): Likewise for tst-cancel24-static.
4320         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4321         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4322         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4323         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4325 2015-03-04  Andreas Schwab  <schwab@suse.de>
4327         [BZ #17631]
4328         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4329         for non-GCC compilers.
4330         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4331         Likewise.
4333 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4335         [BZ #17776]
4336         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4337         integer before bitwise and assembly operations.
4338         (feclearexcept): Likewise.
4339         * math/test-fenvinline.c: New file.
4340         * math/Makefile: Add test-fenvinline test.
4342 2015-03-03  Alan Modra  <amodra@gmail.com>
4344         [BZ #16512]
4345         * scripts/localplt.awk: Strip off symbol version.
4346         * NEWS: Mention bug fix.
4348 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4350         * sysdeps/pthread/timer_routines.c
4351         (timer_free_list, thread_free_list, thread_active_list): Make static.
4353 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4355         [BZ #17779]
4356         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4357         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4358         Undefine.
4359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4360         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4363         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4364         Likewise.
4366 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4368         [BZ #18036]
4369         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4370         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4372 2015-03-02  Andreas Schwab  <schwab@suse.de>
4374         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4375         variable name.
4377 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4379         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4380         Return error status.
4382 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4384         [BZ #15969]
4385         * locale/findlocale.c (_nl_find_locale): Introduce const
4386         version of loc_name and drop unsafe type casts.
4388 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4390         * dlfcn/tststatic2.c (main): Converted to ...
4391         (do_test): ... this.
4392         (TEST_FUNCTION): New macro.
4393         Include test-skeleton.c.
4395 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4397         [BZ #17711]
4398         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4399         (tests-pie): Add vismain.
4400         (CFLAGS-vismain.c): New.
4401         * elf/vismain.c: Add comments for PIE requirement.
4403 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4405         [BZ #18046]
4406         [BZ #18047]
4407         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4408         0x1p-56L as threshold for just returning the argument.
4409         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4410         0x1p-32L as threshold for just returning the argument.
4411         * math/auto-libm-test-in: Add more tests of atanh.
4412         * math/auto-libm-test-out: Regenerated.
4413         * sysdeps/i386/fpu/libm-test-ulps: Update.
4414         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4416 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4418         * string/bcopy.c (bcopy): Call memmove for performance.
4420 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4422         * string/bzero.c (__bzero): Call memset for performance.
4424 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4426         [BZ #18068]
4427         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4428         to 00100000.
4430 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4432         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4434 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4436         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4437         (__kernel_standard): Use CSTR macro when setting exc.name.
4438         * sysdeps/ieee754/Makefile [$(subdir) = math]
4439         (CFLAGS-k_standard.c): Remove variable.
4441         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4442         setting p and q from "else if" to "else".
4443         (qzero): Likewise.
4444         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4445         (qone): Likewise.
4446         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4447         (qzerof): Likewise.
4448         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4449         (qonef): Likewise.
4450         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4451         (qzero): Likewise.
4452         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4453         (qone): Likewise.
4455         [BZ #18038]
4456         [BZ #18039]
4457         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4458         return pi/2 for arguments below 0x1p-113L.
4459         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4460         return pi/2 for arguments below 0x1p-106L.
4461         * math/auto-libm-test-in: Add more tests of acos.
4462         * math/auto-libm-test-out: Regenerated.
4464         [BZ #16351]
4465         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4466         (MO): New macro.
4467         (__ieee754_asin): Force underflow exception for results with small
4468         absolute value.
4469         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4470         (MO): New macro.
4471         (__ieee754_asinf): Force underflow exception for results with
4472         small absolute value.
4473         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4474         (__ieee754_asin): Force underflow exception for results with small
4475         absolute value.
4476         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4477         (__ieee754_asinf): Force underflow exception for results with
4478         small absolute value.
4479         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4480         (__ieee754_asinl): Force underflow exception for results with
4481         small absolute value.
4482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4483         (__ieee754_asinl): Force underflow exception for results with
4484         small absolute value.
4485         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4486         (__ieee754_asinl): Force underflow exception for results with
4487         small absolute value.
4488         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4489         Include <math.h>.
4490         * math/auto-libm-test-in: Do not mark underflow exceptions as
4491         possibly missing for bug 16351.
4492         * math/auto-libm-test-out: Regenerated.
4494         [BZ #18030]
4495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4496         of power of 2 down when low part has opposite sign.
4497         * math/libm-test.inc (logb_test_data): Add more tests.
4499 2015-02-26  Andreas Schwab  <schwab@suse.de>
4501         [BZ #18032]
4502         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4503         over collating symbol inside a bracket expression.  Minor cleanup.
4504         * posix/tst-fnmatch3.c (do_test): Add test case.
4506 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4508         [BZ #18029]
4509         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4510         Adjust exponent of power of 2 down when low part has opposite
4511         sign.
4512         * math/libm-test.inc (ilogb_test_data): Add more tests.
4514 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4516         [BZ #15969]
4517         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4518         the previous change.
4520         [BZ #15969]
4521         * locale/findlocale.c (_nl_find_locale): Retry archive search
4522         after alias expansion.
4524 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4526         * iconv/tst-iconv3.c (main): Converted to ...
4527         (do_test): ... this.
4528         (TEST_FUNCTION): New macro.
4529         Include test-skeleton.c.
4531         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4532         (convert): Make function static.
4533         (test_unalign): Likewise.  Add const to argument pointee types.
4534         (main): Replace with static function do_test.
4535         Print "Succeeded." only if RET is zero.
4536         (TEST_FUNCTION): New macro.
4537         Include test-skeleton.c.
4539         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4540         returns a null pointer.
4542 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4544         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4545         to __memcpy_ppc only for static builds.
4547 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4549         [BZ #18020]
4550         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4551         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4552         * math/auto-libm-test-in: Add more tests of asinh.
4553         * math/auto-libm-test-out: Regenerated.
4554         * sysdeps/i386/fpu/libm-test-ulps: Update.
4555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4557 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4559         [BZ #15850]
4560         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4561         and ip6_mtuinfo definitions here.
4562         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4563         in this define too.  Update comment.
4565 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4567         * elf/sprof.c (load_shobj): Tweak error message to match others.
4569 2015-02-24  Kevin Easton  <kevin@guarana.org>
4571         [BZ #16145] (partial fix)
4572         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4573         to reduce lock contention.
4575 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4577         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4578         (struct timex): Update time comment.
4579         (ADJ_SETOFFSET): Define.
4581 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4583         [BZ #18019]
4584         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4585         2**56 not 2**28 as threshold for log (2x) formula.
4586         * math/auto-libm-test-in: Add more tests of acosh.
4587         * math/auto-libm-test-out: Regenerated.
4588         * sysdeps/i386/fpu/libm-test-ulps: Update.
4589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4591 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4593         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4594         parenthesis around the buf assignment.
4595         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4597 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4599         [BZ #16783]
4600         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4601         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4602         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4603         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4604         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4605         * math/libm-test.inc (scalb_test_data): Add more tests.
4607 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4609         [BZ #17916]
4610         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4611         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4613 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4615         [BZ #17523]
4616         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4617         * io/bits/fcntl2.h (open): Use it.
4618         (openat): Likewise.
4619         * io/open.c (__libc_open): Likewise.
4620         * io/open64.c (__libc_open64): Likewise.
4621         * io/open64_2.c (__open64_2): Likewise.
4622         * io/open_2.c (__open_2): Likewise.
4623         * io/openat.c (__openat): Likewise.
4624         * io/openat64.c (__openat64): Likewise.
4625         * io/openat64_2.c (__openat64_2): Likewise.
4626         * io/openat_2.c (__openat_2): Likewise.
4627         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4628         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4629         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4630         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4631         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4632         (__open_nocancel): Likewise.
4633         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4634         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4635         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4637 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4639         [BZ #14841]
4640         * resolv/gethnamaddr.c (getanswer): Skip logging if
4641         RES_USE_DNSSEC is set.
4642         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4644 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4646         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4648 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4650         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4651         201304L, for Unicode 7.
4653 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4655         [BZ #17836]
4656         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4657         shared library.  Add gmon-start.os otherwise.
4658         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4659         $(objpfx)gmon-start.os if builing shared library.
4660         ($(objpfx)g$(static-start-installed-name)): Likewise.
4662 2015-02-23  Andreas Schwab  <schwab@suse.de>
4664         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4666 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4668         [BZ #17269]
4669         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4670         (enlarge_userbuf): Likewise.
4672 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4674         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4675         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4676         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4677         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4679 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4681         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4682         expression inside statement expression.
4684 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4686         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4687         <sysdeps/nptl/lowlevellock.h> and remove macros and
4688         functions that are now defined there.
4689         (SYS_futex): Remove.
4690         (lll_compare_and_swap): Remove.
4691         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4693 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4695         [BZ #17999]
4696         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4697         instead of scandirat.
4698         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4699         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4700         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4701         __scandirat.
4702         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4703         (__scandirat): Declare.  Use libc_hidden_proto.
4704         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4705         Remove variable.
4706         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4708 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4710         [BZ #15319]
4711         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4712         (MO): New macro.
4713         (__ieee754_atan2): For results with small absolute value, force
4714         underflow exception and remove excess range and precision from
4715         return value.
4716         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4717         (MO): New macro.
4718         (__ieee754_atan2f): For results with small absolute value, force
4719         underflow exception and remove excess range and precision from
4720         return value.
4721         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4722         (MO): New macro.
4723         (__atan): For results with small absolute value, force underflow
4724         exception and remove excess range and precision from return value.
4725         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4726         (MO): New macro.
4727         (__atanf): For results with small absolute value, force underflow
4728         exception and remove excess range and precision from return value.
4729         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4730         <math.h>.
4731         (__ieee754_atan2): Force underflow exception for results with
4732         small absolute value.
4733         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4734         <math_private.h>.
4735         (atan): Force underflow exception for results with small absolute
4736         value.
4737         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4738         (__atanf): Force underflow exception for results with small
4739         absolute value.
4740         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4741         <math.h>.
4742         (__atanl): Force underflow exception for results with small
4743         absolute value.
4744         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4745         (__atanl): Force underflow exception for results with small
4746         absolute value.
4747         * sysdeps/x86/fpu/bits/mathinline.h
4748         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4749         (__ieee754_atan2): Only define inline for long double.
4750         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4751         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4752         * math/auto-libm-test-in: Do not mark underflow exceptions as
4753         possibly missing for bug 15319.  Add more tests of atan2.
4754         * math/auto-libm-test-out: Regenerated.
4755         * math/libm-test.inc (casin_test_data): Do not mark underflow
4756         exceptions as possibly missing for bug 15319.
4757         (casinh_test_data): Likewise.
4758         * sysdeps/i386/fpu/libm-test-ulps: Update.
4760 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4762         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4763         * sysdeps/mips/bits/endian.h: Fix comments.
4765 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4767         [BZ #17996]
4768         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4769         (hdestroy_r): Likewise.
4770         (hsearch_r): Likewise.
4771         (__hcreate_r): Declare and use libc_hidden_proto.
4772         (__hdestroy_r): Likewise.
4773         (__hsearch_r): Likewise.
4774         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4775         (hcreate): Call __hcreate_r instead of hcreate_r.
4776         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4777         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4778         as weak alias of __hcreate_r.
4779         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4780         __hdestroy_r.
4781         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4782         __hsearch_r.
4783         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4784         Remove variable.
4785         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4786         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4787         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4788         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4790 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4792         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4793         arena_lock into a single arena_get.
4795 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4797         * dl-reloc.c: Inlucde libc-internal.h.
4798         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4799         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4800         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4801         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4802         (grow_heap): Likewise.
4803         * malloc/malloc.c: Include libc-internal.h.
4804         (do_check_malloc): Call powerof2.
4805         (sysmalloc): Use pagesize. Call ALIGN_UP.
4806         (systrim): Use pagesize.
4807         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4808         (__libc_valloc): Use pagesize.
4809         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4811 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4813         [BZ #17991]
4814         * include/sys/resource.h (__getrlimit64): Declare.  Use
4815         libc_hidden_proto.
4816         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4817         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4818         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4819         getrlimit64.
4820         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4821         __getrlimit64.
4822         [!getrlimit64] (getrlimit64): Define as weak alias of
4823         __getrlimit64.  Use libc_hidden_weak.
4824         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4825         using __getrlimit64 not __new_getrlimit64.
4826         (__GI_getrlimit64): Likewise.
4827         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4828         Likewise.
4829         (__GI_getrlimit64): Likewise.
4830         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4832         (getrlimit): Add __getrlimit64 alias.
4833         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4834         Likewise.
4835         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4836         Remove variable.
4837         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4838         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4840 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4842         * libio/fileops.c: Add missing sys/mman.h
4843         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4845 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4847         * manual/math.texi (Errors in Math Functions): Clarify goals
4848         regarding inexact and underflow exceptions.
4850 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4852         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4853         * sysdeps/mips/memset.S: Ditto.
4855 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4857         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4859 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4861         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4862         (__v1longjmp): Remove versioned symbol.
4863         (__v1siglongjmp): Remove alias and versioned symbol.
4864         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4865         (__v2siglongjmp): Likewise.
4867 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4869         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4871 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4873         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4875 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #17987]
4878         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4879         zero result does not depend on the sign resulting from
4880         subtraction.
4881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4882         Likewise.
4883         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4884         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4885         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4886         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4887         * math/libm-test.inc (remquo_test_data): Add more tests.
4889 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4891         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4892         Problem reported by J William Piggott.
4894 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4896         [BZ #17978]
4897         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4898         products 4 * y and 2 * y where those would overflow.
4899         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4900         Likewise.
4901         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4902         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4903         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4904         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4905         * math/libm-test.inc (remquo_test_data): Add more tests.
4907         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4909         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4910         [defined _COMPILING_NEWLIB].
4911         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4912         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4914         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4915         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4917 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4919         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4920         acquired.
4922 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4924         [BZ #17792]
4925         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4926         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4927         HOST_STACK_END_ADDR): Likewise.
4929 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4931         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4932         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4933         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4935 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4937         * sysdeps/generic/c++-types.data: New file.
4938         * sysdeps/generic/ld.abilist: New file.
4939         * sysdeps/generic/libBrokenLocale.abilist: New file.
4940         * sysdeps/generic/libanl.abilist: New file.
4941         * sysdeps/generic/libc.abilist: New file.
4942         * sysdeps/generic/libcrypt.abilist: New file.
4943         * sysdeps/generic/libdl.abilist: New file.
4944         * sysdeps/generic/libm.abilist: New file.
4945         * sysdeps/generic/libpthread.abilist: New file.
4946         * sysdeps/generic/libresolv.abilist: New file.
4947         * sysdeps/generic/librt.abilist: New file.
4949 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4951         [BZ #17569]
4952         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4953         Compute absolute value of x as modified by fmod, not original
4954         value of x.
4955         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4956         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4957         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4958         RUN_TEST_ffI_f1_mod8.
4959         (remquo_test_data): Add more tests.
4961 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4963         * sysdeps/init_array/pt-crti.S: New file.
4965 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4967         [BZ #17967]
4968         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4969         __builtin_fmaf instead of relying on contraction of a * b + c.
4971 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4973         [BZ #17969]
4974         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4975         node.
4977 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4979         [BZ #17964]
4980         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4981         __builtin_fma instead of relying on contraction of a * b + c.
4983 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4985         * Makeconfig (ASFLAGS): Add -Werror=undef.
4986         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4987         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4988         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4990         * Makeconfig (after-link): New variable.
4991         (+link-pie, +link-pie-tests): Use it.
4992         (+link-static, +link-static-tests): Likewise.
4993         (+link, +link-tests): Likewise.
4994         * Makerules (build-module, build-module-asneeded): Likewise.
4995         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4996         Likewise.
4997         * elf/Makefile ($(objpfx)ld.so): Likewise.
4999 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5001         [BZ #17965]
5002         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5003         both struct timeval and struct timespec.
5005 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5007         [BZ #16560]
5008         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5009         and redefine.
5010         (__ieee754_exp2l): Do not multiply small fractional parts by
5011         M_LN2l.
5012         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5013         small argument.
5014         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5015         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5016         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5017         * math/auto-libm-test-in: Add more tests of exp2.
5018         * math/auto-libm-test-out: Regenerated.
5020 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5022         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5023         unaligned path.
5025 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5027         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5028         little endian.
5030 2015-02-12  Andreas Schwab  <schwab@suse.de>
5032         [BZ #15790]
5033         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5034         Filter out elision flags from value returned in kind.
5035         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5036         * nptl/tst-pthread-mutexattr.c: New file.
5038 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5040         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5041         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5042         into gnu-gnu, and update comment to refer to abi-tags.
5044 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5046         [BZ #15467]
5047         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5048         (__sincos): Set errno to EDOM for infinite argument.
5049         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5050         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5051         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5052         (__sincosl): Set errno to EDOM for infinite argument.
5053         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5054         (__sincosl): Set errno to EDOM for infinite argument.
5055         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5056         (__sincosl): Set errno to EDOM for infinite argument.
5057         * math/libm-test.inc (sincos_test_data): Test errno setting.
5059 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5061         * string/strxfrm_l.c: Remove #define STRCMP.
5062         * string/strcoll_l.c: Remove #define STRLEN.
5063         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5064         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5066 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5068         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5069         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5070         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5071         * sysdeps/mips/mips64/Makefile: ... here.
5072         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5073         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5074         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5075         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5076         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5077         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5078         * sysdeps/mips/mips64/n64/Implies: Likewise.
5080 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5082         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5083         <sys/time.h>, <string.h>, and <errno.h>.
5084         (dest_offset, dest_address, value, zero): Remove unused variables.
5085         (ldouble): Remove typedef.
5086         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5087         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5088         1).  Fix code style.
5089         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5090         (check): Function removed.
5091         (CHECK): New macro.
5092         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5093         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5094         Don't call set_sigaction_FP and remove_sigaction_FP here.
5095         (ldouble_test): Just use 'long double' as macro argument, no need for
5096         the 'ldouble' typedef.
5097         (do_test): Set up SIGFPE handler at start, using plain signal rather
5098         than sigaction.  Fix code style.
5100 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5102         [BZ #17949]
5103         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5104         jump label.
5106 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5108         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5109         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5111         * sysdeps/powerpc/configure.ac: Remove file.
5112         * sysdeps/powerpc/configure: Likewise.
5114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5115         [sysdep_routines]: Remove wordcopy-power6 object.
5116         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5117         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5118         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5119         (__memmove_ppc32): Likewise.
5120         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5121         file.
5122         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5124         Remove preprocessor.
5126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5127         [sysdep_routines]: Remove wide chars objects.
5128         [wcsmbs]: New rule for wide char objects.
5130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5131         Remove wordcopy-power6 obejct.
5132         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5133         Use local call for wordcopy and memcpy symbols.
5134         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5135         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5136         implementation for loader.
5137         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5140         Remove wordcopy-power7 object.
5141         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5142         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5143         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5144         (_wordcopy_fwd_dest_aligned): Likewise.
5145         (_wordcopy_bwd_aligned): Likewise.
5146         (_wordcopy_bwd_dest_aligned): Likewise.
5148         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5149         Rewrite to call __memmove_ppc instead of include default
5150         implementation.
5152         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5153         Remove wide chars objects.
5154         [wcsmbs]: New rule for wide char objects.
5156 2015-02-09  Andreas Schwab  <schwab@suse.de>
5158         [BZ #17912]
5159         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5160         in terms of __O_DIRECTORY.
5162 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5164         * time/getdate.c: Include <stdbool.h>.
5165         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5166         call PTR_MANGLE.
5167         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5168         PTR_DEMANGLE.
5170 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5172         Add ersatz _Static_assert on older C hosts
5173         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5174         pre-C11 C platform that is not known to support _Static_assert.
5176 2015-02-07  Richard Braun  <rbraun@sceen.net>
5178         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5179         sigstate.
5180         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5182 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5184         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5185         priority against unexistent AIO_PRIO_DELTA_MAX.
5186         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5187         instead of int.
5188         * misc/fchflags.c (fchflags): Likewise.
5189         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5190         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5191         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5192         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5193         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5194         Declare macros.
5195         [__USE_MISC] (chflags, fchflags): Declare functions.
5196         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5197         EINVAL when nfds is greater than FD_SETSIZE.
5198         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5199         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5200         45.
5201         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5202         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5203         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5204         MACH_RCV_TIMED_OUT.
5205         * hurd/hurd/signal.h (_hurd_self_sigstate,
5206         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5207         Explicit casts from void *.
5208         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5209         * abi-tags: Rename gnu-gnu os into gnu.
5211         [BZ #4719]
5212         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5213         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5214         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5215         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5216         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5217         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5219         [BZ #17944]
5220         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5221         duplicates ADDR->sun_path with sockaddr LEN limitation.
5222         * sysdeps/mach/hurd/connect.c: Include <string.h>
5223         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5224         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5225         * sysdeps/mach/hurd/sendto.c: Likewise.
5226         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5227         implementing it by hand.
5229 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5231         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5232         Use sfi_breg on ldr.
5233         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5234         Likewise.
5236         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5237         it's defined.
5238         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5239         Test SIGSETXID only if it's defined.
5241         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5243         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5244         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5246         * nptl/tst-align2.c: Moved ...
5247         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5248         * nptl/Makefile (tests): Remove tst-align2.
5249         * sysdeps/unix/sysv/linux/Makefile
5250         [$(subdir) = nptl] (tests): Add tst-align-clone.
5251         * nptl/tst-getpid1.c: Moved ...
5252         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5253         * nptl/tst-getpid2.c: Moved ...
5254         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5255         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5256         * sysdeps/unix/sysv/linux/Makefile
5257         [$(subdir) = nptl] (tests): ... here.
5258         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5259         * sysdeps/unix/sysv/linux/Makefile
5260         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5262         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5263         Drop trailing \n from perror argument.  Use return rather than exit.
5265         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5266         on [SA_SIGINFO].
5267         * nptl/tst-cancel21.c (do_test): Likewise.
5268         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5269         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5270         [!SA_SIGINFO]: Make it a stub test.
5272         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5273         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5275         * posix/tst-getlogin.c: Move to ...
5276         * login/tst-getlogin.c: ... here.
5277         * posix/Makefile (tests): Move tst-getlogin to ...
5278         * login/Makefile (tests): ... here.
5280         * libio/tst-atime.c (do_test): Move local variables SV and E
5281         inside [ST_NOATIME] conditional.
5283         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5285         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5287         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5288         (wait_code): New function replaces macro.
5289         Call nanosleep rather than syscall.
5291         * nptl/pt-system.c: Rewritten.  Put everything under
5292         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5293         Use IFUNC to redirect when possible.
5295         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5296         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5297         Use IFUNC to redirect when possible.
5299         * nptl/pt-fork.c: Rewritten.  Put everything under
5300         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5301         Use IFUNC to redirect when possible.
5302         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5305         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5306         unconditionally nowadays.  This included the only reference to
5307         __vdso_clock_gettime that appears outside libc proper.
5308         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5309         Remove version set (containing only __vdso_clock_gettime).
5310         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5311         Add attribute_hidden.
5312         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5313         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5314         libc_hidden_data_def.
5315         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5316         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5318         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5319         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5320         setrpcent, and getrpcport to ...
5321         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5322         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5323         getrpcbynumber_r, and getrpcent_r to ...
5324         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5325         * inet/getrpcbyname.c: Moved ...
5326         * sunrpc/getrpcbyname.c: ... here.
5327         * inet/getrpcbyname_r.c: Moved ...
5328         * sunrpc/getrpcbyname_r.c: ... here.
5329         * inet/getrpcbynumber.c: Moved ...
5330         * sunrpc/getrpcbynumber.c: ... here.
5331         * inet/getrpcbynumber_r.c: Moved ...
5332         * sunrpc/getrpcbynumber_r.c: ... here.
5333         * inet/getrpcent.c: Moved ...
5334         * sunrpc/getrpcent.c: ... here.
5335         * inet/getrpcent_r.c: Moved ...
5336         * sunrpc/getrpcent_r.c: ... here.
5337         * inet/Makefile (routines): Move those to ...
5338         * sunrpc/Makefile (routines): ... here.
5339         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5340         the $(subdirs) list.
5341         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5342         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5343         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5344         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5346         * elf/Makefile (routines): Include $(all-dl-routines), not just
5347         $(dl-routines).
5348         (rtld-routines): Likewise.  Use = rather than :=.
5349         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5350         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5351         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5352         * sysdeps/arm/Makefile: Likewise.
5353         * sysdeps/i386/Makefile: Likewise.
5354         * sysdeps/x86_64/Makefile: Likewise.
5355         * sysdeps/hppa/Makefile [$(subdir) = elf]
5356         (sysdep_routines, sysdep-rtld-routines): Don't add
5357         $(sysdep-dl-routines) to these.
5358         * sysdeps/ia64/Makefile: Likewise.
5359         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5360         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5361         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5362         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5363         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5364         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5365         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5366         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5367         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5368         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5369         these; sysdep-dl-routines alone is enough.
5371 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5373         [BZ #17932]
5374         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5375         where multiplication results in zero and third argument is finite
5376         and nonzero.
5377         * math/auto-libm-test-in: Add more tests of fma.
5378         * math/auto-libm-test-out: Regenerated.
5380         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5381         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5382         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5383         (_FP_CMP_EQ): Likewise.
5384         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5386         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5387         extra argument CHECK_NAN.  Redefine as wrapper around
5388         _FP_EXTEND_CNAN.
5390 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5392         * version.h (RELEASE): Set to "stable".
5393         (VERSION): Set to "2.21"
5394         * include/features.h (__GLIBC_MINOR__): Set to 21.
5396         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5398 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5399             Paul Eggert  <eggert@cs.ucla.edu>
5401         [BZ #16618]
5402         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5403         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5404         size in bytes. Store needed elements in wpmax. Use needed size
5405         in bytes for extend_alloca.
5407 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5409         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5410         binutls 2.25, and texinfo 5.2.
5411         * INSTALL: Regenerate.
5412         * sysdeps/nios2/configure: Regenerate.
5413         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5414         * manual/contrib.texi: Update.
5415         * po/be.po: Update.
5416         * po/bg.po: Update.
5417         * po/ca.po: Update.
5418         * po/cs.po: Update.
5419         * po/da.po: Update.
5420         * po/de.po: Update.
5421         * po/el.po: Update.
5422         * po/eo.po: Update.
5423         * po/es.po: Update.
5424         * po/fi.po: Update.
5425         * po/fr.po: Update.
5426         * po/gl.po: Update.
5427         * po/hr.po: Update.
5428         * po/hu.po: Update.
5429         * po/ia.po: Update.
5430         * po/id.po: Update.
5431         * po/it.po: Update.
5432         * po/ja.po: Update.
5433         * po/ko.po: Update.
5434         * po/lt.po: Update.
5435         * po/nb.po: Update.
5436         * po/nl.po: Update.
5437         * po/pl.po: Update.
5438         * po/pt_BR.po: Update.
5439         * po/ru.po: Update.
5440         * po/rw.po: Update.
5441         * po/sk.po: Update.
5442         * po/sl.po: Update.
5443         * po/sv.po: Update.
5444         * po/tr.po: Update.
5445         * po/uk.po: Update.
5446         * po/vi.po: Update.
5447         * po/zh_CN.po: Update.
5448         * po/zh_TW.po: Update.
5450         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5451         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5452         * sysdeps/hppa/dl-irel.h: Remove #warning.
5453         * sysdeps/hppa/entry.h: Provide prototype for
5454         __canonicalize_funcptr_for_compare and cast argument.
5455         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5456         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5457         * sysdeps/hppa/sotruss-lib.c: New file.
5458         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5459         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5460         (atomic_compare_and_exchange_bool_acq): Likewise.
5461         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5462         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5464         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5465         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5466         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5468 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5470         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5471         called function in non-PIC case.
5473 2015-01-31  David S. Miller  <davem@davemloft.net>
5475         * sysdeps/sparc/sparc32/bits/atomic.h
5476         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5477         unlock not after it.
5478         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5479         volatile register usage warnings from the compiler.
5481         * sysdeps/sparc/nptl/sem_init.c: Delete.
5482         * sysdeps/sparc/nptl/sem_post.c: Delete.
5483         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5484         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5485         * sysdeps/sparc/sparc32/sem_init.c: New file.
5486         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5487         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5488         padding explicitly initialized.
5489         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5490         padding for in-semaphore spinlock.
5491         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5492         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5493         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5494         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5495         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5496         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5497         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5498         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5499         version.
5500         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5501         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5503 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5505         [BZ #17801]
5506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5507         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5508         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5509         New.
5510         (index_AVX_Fast_Unaligned_Load): Likewise.
5511         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5512         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5513         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5514         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5515         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5516         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5517         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5518         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5519         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5521 2015-01-29  Andreas Schwab  <schwab@suse.de>
5523         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5525 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5527         [BZ #17892]
5528         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5530 2015-01-28  Martin Sebor  <msebor@redhat.com>
5532         * math/README.libm-test: Clarify. Add "How to read the test output."
5534 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5536         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5537         Define to 0.
5539 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5541         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5542         (__HAVE_64B_ATOMICS): Define to 0.
5544 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5546         [BZ #17885]
5547         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5548         value to set as new flag.
5550         [BZ #16576]
5551         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5552         and use _ARCH_PPCSQ instead.
5553         (__ieee754_sqrt): Likewise.
5554         (__ieee754_sqrtf): Likewise.
5555         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5556         _ARCH_PPCSQ is defined.
5557         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5558         fsqrt instruction.
5559         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5560         _ARCH_PPCSQ is defined.
5561         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5562         fsqrts instruction.
5563         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5565 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5567         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5568         bug (GCC BZ #64739).
5570 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5572         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5573         Mark _retval as used.
5574         (lll_futex_wake_unlock): Likewise.
5575         (lll_futex_timed_wait_requeue_pi): Likewise.
5577         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5578         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5579         register variables.
5581         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5582         libm_hidden_def.
5584         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5585         (__bswap_64): Mark as __always_inline.
5587 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5589         [BZ #15378]
5590         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5591         when none of the search directories exist.
5593 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5595         [BZ #17869]
5596         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5597         power8 in .machine directive.
5599         [BZ #17868]
5600         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5601         set dependency from opd value.
5603 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5606         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5607         architecture.
5609 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5611         [BZ #17870]
5612         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5613         with uint64_t.
5614         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5615         (uint64_t) 1.
5616         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5617         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5618         Replace 1UL with (uint64_t) 1.
5619         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5620         int with uint64_t.
5622 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5624         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5625         (if_freenameindex): Likewise.
5627         * resource/getrlimit64.c: Add missing libc_hidden_def.
5629 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5631         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5632         __label__.
5633         (_FP_FMA): Likewise.
5634         (_FP_TO_INT_ROUND): Likewise.
5635         (_FP_FROM_INT): Likewise.
5637 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5639         [BZ #16418]
5640         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5641         Make code racy and cancel safe.
5643 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5645         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5646         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5647         attribution.
5649         * pwd/tst-getpw.c: Rewrite.
5651         [BZ #17702]
5652         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5653         (modules-names): Add moddummy1 and moddummy2.
5654         ($(objpfx)tst-rec-dlopen): Define.
5655         * dlfcn/moddummy1.c: New file.
5656         * dlfcn/moddummy2.c: New file.
5657         * dlfcn/tst-rec-dlopen.c: New file.
5658         * elf/dl-cache.c (_dl_load_cache_lookup):
5659         Return char*. Copy result with alloca/strcpy/strdup.
5660         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5661         returns char*. Free cached. If not saving realname
5662         free cached.
5663         * elf/dl-open.c (dl_open_worker): Do not assert that
5664         _r_debug->r_state is RT_CONSISTENT.
5665         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5666         returns char*.
5668 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5669             Carlos O'Donell  <carlos@redhat.com>
5671         [BZ #12674]
5672         * nptl/sem_waitcommon.c: New file.
5673         * nptl/sem_wait.c: Include sem_waitcommon.c.
5674         (__sem_wait_cleanup, do_futex_wait): Remove.
5675         (__new_sem_wait): Adapt.
5676         (__new_sem_trywait): New function.
5677         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5678         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5679         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5680         (sem_timedwait): Adapt.
5681         * nptl/sem_post.c (__new_sem_post): Adapt.
5682         (futex_wake): New function.
5683         (__old_sem_post): Add release MO fence.
5684         * nptl/sem_open.c (sem_open): Adapt.
5685         * nptl/sem_init.c (__new_sem_init): Adapt.
5686         (futex_private_if_supported): New function.
5687         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5688         (__old_sem_getvalue): Add using previous code.
5689         * sysdeps/nptl/internaltypes.h: Adapt.
5690         * nptl/tst-sem13.c (do_test): Adapt.
5691         * nptl/tst-sem11.c (main): Adapt.
5692         * nptl/sem_trywait.c: Remove.
5693         * nptl/DESIGN-sem.txt: Remove.
5694         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5695         (gen-as-const-headers): Remove structsem.sym.
5696         * nptl/structsem.sym: Remove.
5697         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5698         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5699         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5700         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5701         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5702         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5703         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5704         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5705         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5706         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5707         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5708         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5709         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5710         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5711         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5712         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5713         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5714         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5715         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5716         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5717         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5718         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5720 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5722         * INSTALL: Regenerated.
5724         * po/libc.pot: Regenerated.
5726 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5727             Sandra Loosemore  <sandra@codesourcery.com>
5728             Andrew Jenner  <andrew@codesourcery.com>
5729             Joseph Myers  <joseph@codesourcery.com>
5730             Nathan Sidwell  <nathan@codesourcery.com>
5732         * NEWS: Mention new Nios II port.
5733         * sysdeps/nios2/Implies: New file.
5734         * sysdeps/nios2/Makefile: New file.
5735         * sysdeps/nios2/Subdirs: New file.
5736         * sysdeps/nios2/Versions: New file.
5737         * sysdeps/nios2/__longjmp.S: New file.
5738         * sysdeps/nios2/abort-instr.h: New file.
5739         * sysdeps/nios2/backtrace.c: New file.
5740         * sysdeps/nios2/bits/endian.h: New file.
5741         * sysdeps/nios2/bits/fenv.h: New file.
5742         * sysdeps/nios2/bits/link.h: New file.
5743         * sysdeps/nios2/bits/setjmp.h: New file.
5744         * sysdeps/nios2/bsd-_setjmp.S: New file.
5745         * sysdeps/nios2/bsd-setjmp.S: New file.
5746         * sysdeps/nios2/configure: New generated file.
5747         * sysdeps/nios2/configure.ac: New file.
5748         * sysdeps/nios2/crti.S: New file.
5749         * sysdeps/nios2/crtn.S: New file.
5750         * sysdeps/nios2/dl-init.c: New file.
5751         * sysdeps/nios2/dl-machine.h: New file.
5752         * sysdeps/nios2/dl-sysdep.h: New file.
5753         * sysdeps/nios2/dl-tls.h: New file.
5754         * sysdeps/nios2/dl-trampoline.S: New file.
5755         * sysdeps/nios2/gccframe.h: New file.
5756         * sysdeps/nios2/gmp-mparam.h: New file.
5757         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5758         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5759         * sysdeps/nios2/ldsodefs.h: New file.
5760         * sysdeps/nios2/libc-tls.c: New file.
5761         * sysdeps/nios2/libm-test-ulps: New file.
5762         * sysdeps/nios2/machine-gmon.h: New file.
5763         * sysdeps/nios2/math-tests.h: New file.
5764         * sysdeps/nios2/math_private.h: New file.
5765         * sysdeps/nios2/memusage.h: New file.
5766         * sysdeps/nios2/nptl/Makefile: New file.
5767         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5768         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5769         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5770         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5771         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5772         * sysdeps/nios2/nptl/tls.h: New file.
5773         * sysdeps/nios2/preconfigure: New file.
5774         * sysdeps/nios2/s_fma.c: New file.
5775         * sysdeps/nios2/s_fmaf.c: New file.
5776         * sysdeps/nios2/setjmp.S: New file.
5777         * sysdeps/nios2/sfp-machine.h: New file.
5778         * sysdeps/nios2/sotruss-lib.c: New file.
5779         * sysdeps/nios2/stackguard-macros.h: New file.
5780         * sysdeps/nios2/stackinfo.h: New file.
5781         * sysdeps/nios2/start.S: New file.
5782         * sysdeps/nios2/sysdep.h: New file.
5783         * sysdeps/nios2/tls-macros.h: New file.
5784         * sysdeps/nios2/tst-audit.h: New file.
5785         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5786         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5787         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5788         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5789         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5790         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5791         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5792         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5793         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5794         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5795         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5796         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5797         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5798         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5799         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5800         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5801         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5802         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5803         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5804         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5805         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5806         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5807         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5808         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5809         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5810         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5811         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5812         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5813         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5814         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5815         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5816         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5817         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5818         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5819         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5820         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5821         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5822         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5823         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5824         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5825         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5826         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5827         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5828         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5830 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5832         [BZ #17844]
5833         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5834         (getutent): Use weak_alias in non SHARED case
5835         and default_symbol_version in SHARED case.
5836         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5837         (getutent_r, pututline): Likewise.
5838         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5839         (getutid): Likewise.
5840         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5841         (getutid_r): Likewise.
5842         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5843         (getutline): Likewise.
5844         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5845         (getutline_r): Likewise.
5846         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5847         (updwtmp): Likewise.
5849 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5851         [BZ #17848]
5852         * sysdeps/s390/s390-32/memcmp.S
5853         (memcmp_g5): Rename to __memcmp_g5.
5854         * sysdeps/s390/s390-32/memcpy.S
5855         (memcpy_g5): Rename to __memcpy_g5.
5856         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5857         (memcpy_mvcle) Rename to __memcpy_mvcle.
5858         * sysdeps/s390/s390-32/memset.S
5859         (memset_g5): Rename to __memset_g5.
5860         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5861         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5862         and use prefixed functions.
5863         * sysdeps/s390/s390-32/multiarch/memcmp.S
5864         (memcmp_z196): Rename to __memcmp_z196.
5865         (memcmp_z10): Rename to __memcmp_z10.
5866         (memcmp): Set alias to __memcmp_g5.
5867         (bcmp): Set alias to __memcmp_g5.
5868         * sysdeps/s390/s390-32/multiarch/memcpy.S
5869         (memcpy_z196): Rename to __memcpy_z196.
5870         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5871         (memcpy_z10): Rename to __memcpy_z10.
5872         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5873         (memcpy): Set alias to __memcpy_g5.
5874         * sysdeps/s390/s390-32/multiarch/memset.S
5875         (memset_z196): Rename to __memset_z196.
5876         Jump to __memset_mvcle instead of memset_mvcle.
5877         (memset_z10): Rename to __memset_z10.
5878         Jump to __memset_mvcle instead of memset_mvcle.
5879         (memset_mvcle) Rename to __memset_mvcle.
5880         (memset): Set alias to __memset_g5.
5881         * sysdeps/s390/s390-64/memcmp.S
5882         (memcmp_z900): Rename to __memcmp_z900.
5883         * sysdeps/s390/s390-64/memcpy.S
5884         (memcpy_z900): Rename to __memcpy_z900.
5885         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5886         (memcpy_mvcle) Rename to __memcpy_mvcle.
5887         * sysdeps/s390/s390-64/memset.S
5888         (memset_z900): Rename to __memset_z900.
5889         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5890         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5891         and use prefixed functions.
5892         * sysdeps/s390/s390-64/multiarch/memcmp.S
5893         (memcmp_z196): Rename to __memcmp_z196.
5894         (memcmp_z10): Rename to __memcmp_z10.
5895         (memcmp): Set alias to __memcmp_z900.
5896         (bcmp): Set alias to __memcmp_z900.
5897         * sysdeps/s390/s390-64/multiarch/memcpy.S
5898         (memcpy_z196): Rename to __memcpy_z196.
5899         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5900         (memcpy_z10): Rename to __memcpy_z10.
5901         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5902         (memcpy): Set alias to __memcpy_z900.
5903         * sysdeps/s390/s390-64/multiarch/memset.S
5904         (memset_z196): Rename to __memset_z196.
5905         Jump to __memset_mvcle instead of memset_mvcle.
5906         (memset_z10): Rename to __memset_z10.
5907         Jump to __memset_mvcle instead of memset_mvcle.
5908         (memset_mvcle) Rename to __memset_mvcle.
5909         (memset): Set alias to __memset_z900.
5911 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5913         [BZ #17748]
5914         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5915         __fesetenv instead of fesetenv.
5917 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5919         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5920         macro.
5922 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5924         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5925         regression on LE.
5927         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5928         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5929         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5930         strncmp-power8 object.
5931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5932         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5933         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5934         * NEWS: Update.
5936 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5937             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5939         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5940         trailing byte check.
5942 2015-01-13  David S. Miller  <davem@davemloft.net>
5944         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5946 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5948         * login/logout.c (logout): Use memset rather than bzero.
5949         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5950         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5951         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5952         (_gethtbyaddr): Likewise.
5953         * locale/programs/simple-hash.c (bcopy): Macro removed.
5955 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5957         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5958         Add strcmp-power8 object.
5959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5960         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5961         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5962         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5963         __strcmp_power8 implementation.
5964         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5965         * NEWS: Update.
5967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5968         Add strncpy-power8 and stpncpy-power8 objects.
5969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5970         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5971         implementations.
5972         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5973         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5974         __stpncpy_power8 implementation.
5975         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5976         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5977         __strncpy_power8 implementation.
5978         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5979         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5980         * NEWS: Update.
5982         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5983         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5984         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5987         strncat-power8 object.
5988         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5989         __strcat_power8 implementation.
5990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5991         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5992         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5993         optimized strcat for power8.
5995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5996         strcpy-power8 and stpcpy-power8 objects.
5997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5998         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5999         implementations.
6000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6001         multiarch stpcpy implementation for POWER8.
6002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6003         multiarch strcpy implementation for POWER8.
6004         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6005         __strcpy_power8 function.
6006         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6007         stpcpy for POWER8.
6008         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6009         strcpy for POWER8.
6010         * NEWS: Update.
6012 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6014         [BZ #16009]
6015         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6016         weights and rules. Use do_xfrm_cached if data fits in cache,
6017         do_xfrm otherwise.  Moved former main loop to...
6018         * (do_xfrm_cached): New function.
6019         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6020         find_idx, find_position and stack_push.
6021         * (find_idx): New function.
6022         * (find_position): Likewise.
6023         * localedata/sort-test.sh: Added test run for do_xfrm.
6024         * localedata/xfrm-test.c (main): Added command line option
6025         -nocache to run the test with strings that are too large for
6026         the STRXFRM cache.
6028 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6030         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6031         variable to lll_futex_wake call, not the value itself.
6033 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6035         [BZ #17803]
6036         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6037         twom64.  Adjust value to 0x1p-64L.
6038         (__scalblnl): Only return standard underflowing result for K <=
6039         -64 not K <= -63; adjust exponent for underflowing result by 64
6040         not 63.
6041         * math/libm-test.inc (scalbn_test_data): Add more tests.
6042         (scalbln_test_data): Likewise.
6044         [BZ #17834]
6045         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6046         0x1p63L.
6047         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6048         not HX.
6049         * math/libm-test.inc (scalbn_test_data): Add more tests.
6050         (scalbln_test_data): Likewise.
6052 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6053             Stefani Seibold  <stefani@seibold.net>
6055         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6056         (sysdep_routines): Add dl-vdso here, ...
6057         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6058         (sysdep_routines): ... not here.
6059         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6060         fallback when vDSO is not presented.
6061         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6062         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6063         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6064         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6065         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6067         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6068         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6069         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6070         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6071         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6072         fallback configurable symbol when vDSO is not available.
6073         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6074         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6075         be able to redefine fallback symbol when vDSO is not available.
6076         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6077         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6079 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6081         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6082         (TLS_INIT_TP): Add tm_capable initialization.
6083         (TLS_DEFINE_INIT_TP): Likewise.
6084         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6085         TCB.
6086         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6087         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6088         calculation.
6089         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6090         transactoion is lock elision is built and TCB tm_capable is set.
6091         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6093         (INTERNAL_SYSCALL_NCS): Likewise.
6094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6095         (INTERNAL_SYSCALL_NCS): Likewise.
6096         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6098         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6099         for powerpc.
6100         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6101         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6102         and remove it for 32 bits case.
6103         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6105         initialization.
6106         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6107         Disable lock elision with rdlocks if elision is not available.
6109         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6110         (sysdep_routines): Add lock elision objects.
6111         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6112         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6113         [pthread_mutex_t] (__elision): Add field.
6114         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6115         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6116         elision definitions for powerpc.
6117         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6118         implementation of lock elision for powerpc.
6119         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6120         implementation of timed lock elision for powerpc.
6121         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6122         implementation of trylock with lock elision for powerpc.
6123         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6124         implementaion of unlock for lock elision for powerpc.
6125         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6126         automatic enable lock elision for mutexes.
6127         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6128         transaction execution definitions for powerpc.
6129         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6130         definitions.
6131         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6132         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6133         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6134         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6135         * NEWS: Update.
6137 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6139         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6140         for #include of <shm-directory.h>.
6142 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6144         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6145         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6147 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6149         [BZ #17791]
6150         * NEWS: Mention bug fix.
6151         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6152         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6153         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6155 2015-01-09  Torvald Riegel <triegel@redhat.com>
6157         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6159 2015-01-09  Torvald Riegel <triegel@redhat.com>
6161         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6163 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6165         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6166         pointer and cast to uintptr_t.
6168 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6170         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6171         removed.
6172         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6174 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6176         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6177         of 0.
6179 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6181         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6182         <nptl/pthreadP.h> instead.
6183         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6185         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6186         already defined.
6187         [__SIGRTMIN] (init): Function removed.
6188         [__SIGRTMIN] (initialized): Variable removed.
6189         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6190         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6191         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6192         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6193         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6194         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6195         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6196         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6197         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6198         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6199         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6200         * sysdeps/nptl/allocrtsig.c: New file.
6201         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6202         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6203         * sysdeps/generic/testrtsig.h: File removed.
6205         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6206         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6208         * nptl/nptl-init.c (pthread_functions): Conditionalize
6209         .ptr__nptl_setxid initialization on [SIGSETXID].
6211         * sysdeps/nptl/sys/procfs.h: New file.
6212         * nptl_db/Makefile (headers): Add it.
6213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6215         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6216         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6217         * nptl/pthread_attr_setaffinity.c: Include it.
6218         * nptl/pthread_setattr_default_np.c: Likewise.
6219         * nptl/check-cpuset.h: New file.
6221 2015-01-08  Richard Henderson  <rth@redhat.com>
6223         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6224         (CFLAGS-tst-execstack-prog.c): Likewise.
6225         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6227 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6228             Sandra Loosemore  <sandra@codesourcery.com>
6229             Andrew Jenner  <andrew@codesourcery.com>
6230             Joseph Myers  <joseph@codesourcery.com>
6231             Nathan Sidwell  <nathan@codesourcery.com>
6233         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6234         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6235         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6236         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6237         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6238         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6239         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6240         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6241         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6242         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6243         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6244         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6245         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6246         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6247         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6248         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6249         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6251 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6253         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6254         timespec struct member in syscall macro.
6255         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6256         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6257         first timeval struct member in syscall macro.
6258         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6260 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #17748]
6263         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6264         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6265         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6266         __feupdateenv and define as weak alias of __feupdateenv.  Use
6267         libm_hidden_weak.
6268         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6269         libm_hidden_def.
6270         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6271         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6272         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6273         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6274         libm_hidden_def.
6275         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6276         __feupdateenv and define as weak alias of __feupdateenv.  Use
6277         libm_hidden_weak.
6278         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6279         libm_hidden_def.
6280         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6281         __feupdateenv and define as weak alias of __feupdateenv.  Use
6282         libm_hidden_weak.
6283         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6284         libm_hidden_def.
6285         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6286         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6287         (__feupdateenv): Likewise.
6288         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6289         __feupdateenv and define as weak alias of __feupdateenv.  Use
6290         libm_hidden_weak.
6291         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6292         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6293         libm_hidden_def.
6294         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6295         function.
6296         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6297         libm_hidden_def.
6298         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6299         __feupdateenv instead of feupdateenv.
6300         (default_libc_feupdateenv_test): Likewise.
6301         (libc_feresetround_ctx): Likewise.
6303 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6305         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6306         prototype.
6308 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6310         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6311         COLL_SYM in a couple of places to avoid uninitialized variable
6312         wanings on tilegx gcc 4.8.2.
6314 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6316         * sysdeps/aarch64/strcpy.S: New file.
6317         * sysdeps/aarch64/stpcpy.S: New file.
6318         * NEWS: Updated.
6320 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6322         * sysdeps/aarch64/strrchr.S: New file.
6323         * NEWS: Updated.
6325 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6327         [BZ #17658]
6328         * stdlib/setenv.c: Fix memory leak when setting large,
6329         duplicate string.
6331 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6333         [BZ #17273]
6334         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6335         and tabs from buffer before parsing fstab entry.
6336         * misc/tst-mntent.c (main): Add test for mount entry with
6337         trailing spaces and tabs.
6339 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6341         [BZ #17748]
6342         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6343         * math/fesetround.c (fesetround): Rename to __fesetround and
6344         define as weak alias of __fesetround.  Use libm_hidden_weak.
6345         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6346         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6347         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6348         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6349         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6350         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6351         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6352         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6353         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6354         __fesetround_inline.
6355         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6356         __fesetround_inline instead of __fesetround.
6357         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6358         __fesetround and define as weak alias of __fesetround.  Use
6359         libm_hidden_weak.  Call __fesetround_inline instead of
6360         __fesetround.
6361         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6362         __fesetround and define as weak alias of __fesetround.  Use
6363         libm_hidden_weak.
6364         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6365         Likewise.
6366         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6367         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6368         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6369         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6370         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6371         __fesetround and define as weak alias of __fesetround.  Use
6372         libm_hidden_weak.
6373         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6374         __fesetround instead of fesetround.
6375         (default_libc_feholdexcept_setround): Likewise.
6376         (libc_feholdsetround_ctx): Likewise.
6377         (libc_feholdsetround_noex_ctx): Likewise.
6379         [BZ #17748]
6380         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6381         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6383         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6384         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6385         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6386         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6387         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6388         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6389         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6390         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6391         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6392         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6393         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6394         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6395         libm_hidden_def.
6396         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6397         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6398         Likewise.
6399         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6400         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6401         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6402         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6403         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6404         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6405         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6406         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6407         __fesetenv instead of fesetenv.
6408         (libc_feresetround_noex_ctx): Likewise.
6409         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6410         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6411         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6412         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6413         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6414         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6415         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6416         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6417         (__feupdateenv): Likewise.
6418         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6419         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6420         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6421         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6423 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6425         [BZ #17806]
6426         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6427         addresses have been freed.
6429 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6431         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6432         and nservall.
6434 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6436         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6437         Clean up check_pf allocation pattern. addresses
6439 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6441         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6442         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6443         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6444         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6445         * nptl/pthread_join.c (pthread_join): Likewise.
6446         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6447         * sysdeps/posix/waitid.c (__waitid): Likewise.
6448         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6449         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6450         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6451         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6453         Likewise.
6454         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6455         (__libc_pread64): Likewise.
6456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6457         (__libc_pwrite): Likewise.
6458         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6459         (__libc_pwrite64): Likewsie.
6460         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6461         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6462         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6463         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6464         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6465         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6466         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6468         Likewise.
6469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6470         (__libc_pread64): Likewise.
6471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6472         Likewise.
6473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6474         (__libc_pwrite64): Likewise.
6475         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6476         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6477         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6478         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6479         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6480         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6481         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6482         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6483         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6484         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6485         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6486         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6487         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6488         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6489         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6490         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6491         Likewise.
6493 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6495         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6496         (CFLAGS-test-double.c): Likewise.
6497         (CFLAGS-test-ldouble.c): Likewise.
6498         (CPPFLAGS-test-ifloat.c): Likewise.
6499         (CPPFLAGS-test-idouble.c): Likewise.
6500         (CPPFLAGS-test-ildoubl.c): Likewise.
6501         (CFLAGS-test-test-fenv.c): Remove variable.
6502         (CFLAGS-test-misc.c): Likewise.
6504 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6506         [BZ #17797]
6507         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6508         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6509         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6510         CLOCKS_PER_SEC == 1000000.
6511         * time/clocktest.c (main): Replace %ld with %jd and cast to
6512         intmax_t.
6514 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6516         * sysdeps/generic/unwind-resume.h: New file.
6517         * sysdeps/gnu/unwind-resume.c: Include it.
6518         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6519         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6520         argument list.
6521         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6522         global rather than static.
6523         (_Unwind_Resume): Update user.
6524         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6525         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6526         rather than static.  Add __attribute__ ((cold)).
6527         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6528         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6529         * sysdeps/arm/arm-unwind-resume.S: New file.
6530         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6531         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6532         * sysdeps/arm/Makefile [$(subdir) = csu]
6533         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6534         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6535         Add rt-arm-unwind-resume.
6536         [$(subdir) = nptl]
6537         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6538         Add pt-arm-unwind-resume.
6539         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6540         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6542 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6544         [BZ #17748]
6545         * include/fenv.h (__feholdexcept): Declare.  Use
6546         libm_hidden_proto.
6547         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6548         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6549         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6550         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6551         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6552         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6553         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6554         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6555         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6556         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6557         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6558         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6559         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6560         (feholdexcept): Likewise.
6561         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6562         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6563         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6564         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6565         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6566         __feholdexcept instead of feholdexcept.
6567         (default_libc_feholdexcept_setround): Likewise.
6569 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6571         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6572         to avoid using stl/str to align destination.
6574 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6576         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6578 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6580         [BZ #17796]
6581         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6582         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6583         Define as weak alias not strong alias.
6585 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6587         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6588         bltzal with addiupc.
6589         (RTLD_START): Ditto.
6591 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6593         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6594         for __vdso_* functions in declarations.
6595         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6596         definitions.
6597         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6598         INTERNAL_VSYSCALL): Use struct return types to check for error.
6600         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6601         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6602         function with cast from llround().
6603         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6604         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6605         Define.
6607 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6609         [BZ #17793]
6610         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6611         Define as weak alias not strong alias.
6613         [BZ #17635]
6614         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6615         ...
6616         * ctype/ctype-extn.c: ... here.
6617         (__isblank_l): Move to ...
6618         * ctype/ctype-c99_l.c: ... here.  New file.
6619         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6620         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6621         Remove variable.
6622         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6623         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6624         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6625         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6626         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6628         [BZ #17777]
6629         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6630         (posix_fadvise64): Define as weak alias not strong alias.
6631         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6632         (posix_fallocate64): Likewise.
6633         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6634         Remove variable.
6635         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6636         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6637         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6638         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6639         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6641 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6643         [BZ #16191]
6644         * NEWS: Mention bug fix.
6645         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6646         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6647         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6648         (HOST_STACK_END_ADDR): Likewise.
6650 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6652         [BZ #17748]
6653         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6654         * math/fegetround.c (fegetround): Rename to __fegetround and
6655         define as weak alias of __fegetround.  Use libm_hidden_weak.
6656         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6657         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6658         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6659         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6660         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6661         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6662         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6663         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6664         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6665         Undefine after rather than before function definition; use
6666         parentheses around function name in definition.
6667         (__fegetround): Also undefine macro after function definition.
6668         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6669         __fegetround and define as weak alias of __fegetround.  Use
6670         libm_hidden_weak.  Do not undefine as macro.
6671         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6672         Likewise.
6673         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6674         __fegetround and define as weak alias of __fegetround.  Use
6675         libm_hidden_weak.
6676         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6677         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6678         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6679         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6680         __fegetround and define as weak alias of __fegetround.  Use
6681         libm_hidden_weak.
6682         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6683         __fegetround instead of fegetround.
6685         [BZ #17782]
6686         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6687         Condition macro definition on [__USE_MISC].
6689         [BZ #17781]
6690         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6691         (struct sigaction): Change type of sa_flags field to int.
6693         [BZ #17780]
6694         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6695         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6696         __glibc_reserved0.
6698         * nptl/version.c (banner): Use single year in copyright notice.
6700         * NEWS: Update copyright dates.
6701         * catgets/gencat.c (print_version): Likewise.
6702         * csu/version.c (banner): Likewise.
6703         * debug/catchsegv.sh: Likewise.
6704         * debug/pcprofiledump.c (print_version): Likewise.
6705         * debug/xtrace.sh (do_version): Likewise.
6706         * elf/ldconfig.c (print_version): Likewise.
6707         * elf/ldd.bash.in: Likewise.
6708         * elf/pldd.c (print_version): Likewise.
6709         * elf/sotruss.sh: Likewise.
6710         * elf/sprof.c (print_version): Likewise.
6711         * iconv/iconv_prog.c (print_version): Likewise.
6712         * iconv/iconvconfig.c (print_version): Likewise.
6713         * locale/programs/locale.c (print_version): Likewise.
6714         * locale/programs/localedef.c (print_version): Likewise.
6715         * login/programs/pt_chown.c (print_version): Likewise.
6716         * malloc/memusage.sh (do_version): Likewise.
6717         * malloc/memusagestat.c (print_version): Likewise.
6718         * malloc/mtrace.pl: Likewise.
6719         * manual/libc.texinfo: Likewise.
6720         * nptl/version.c (banner): Likewise.
6721         * nscd/nscd.c (print_version): Likewise.
6722         * nss/getent.c (print_version): Likewise.
6723         * nss/makedb.c (print_version): Likewise.
6724         * posix/getconf.c (main): Likewise.
6725         * scripts/test-installation.pl: Likewise.
6726         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6728 2015-01-02  Will Newton  <will.newton@linaro.org>
6730         * sysdeps/arm/armv7/configure: Removed.
6731         * sysdeps/arm/armv7/configure.ac: Likewise.
6733 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6735         * All files with FSF copyright notices: Update copyright dates
6736         using scripts/update-copyrights.
6737         * intl/plural.c: Regenerated.
6738         * locale/programs/charmap-kw.h: Likewise.
6739         * locale/programs/locfile-kw.h: Likewise.
6741 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6743         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6745 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6747         [BZ #17748]
6748         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6749         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6750         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6751         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6752         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6753         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6754         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6755         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6756         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6757         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6758         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6759         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6760         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6761         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6762         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6763         libm_hidden_def.
6764         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6765         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6766         Likewise.
6767         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6768         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6769         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6770         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6771         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6772         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6773         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6774         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6775         __fegetenv instead of fegetenv.
6776         (libc_feholdsetround_noex_ctx): Likewise.
6778 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6780         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6781         (Elf_MIPS_ABIFlags_v0): New structure.
6782         (EF_MIPS_FP64): Define.
6783         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6784         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6785         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6786         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6787         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6788         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6789         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6790         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6791         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6792         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6793         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6794         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6795         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6796         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6797         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6798         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6799         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6800         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6801         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6802         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6803         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6804         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6805         field.
6806         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6807         EF_MIPS_FP64.
6808         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6809         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6810         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6811         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6812         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6813         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6814         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6815         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6816         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6817         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6818         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6819         record the current FP ABI extension.
6820         (mips-mode-switch): Define to show if kernel headers support mode
6821         switching.
6822         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6823         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6824         supported SYSV ABI version to 3.
6825         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6826         feature.
6828 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6829             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6831         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6832         path.
6833         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6835 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6837         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6838         __fegetround and redefine to call __fegetround.  Remove condition
6839         on [!__NO_MATH_INLINES].
6840         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6841         function.
6842         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6843         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6844         Remove macro.
6845         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6846         instead of <fenv_libc.h>.
6847         (__llrintl): Call fegetround instead of __fegetround.
6848         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6849         instead of <fenv_libc.h>.
6850         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6851         (__lrintl): Call fegetround instead of __fegetround.
6852         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6853         instead of <fenv_libc.h>.
6854         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6855         (__rintl): Call fegetround instead of __fegetround.
6857 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6859         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6860         arrays.
6862 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6864         [BZ #17775]
6865         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6866         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6867         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6869 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6871         * sysdeps/i386/tls-macros.h: Include <features.h>.
6872         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6873         (TLS_IE): Likewise.
6874         (TLS_LD): Likewise.
6875         (TLS_GD): Likewise.
6876         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6877         define for GCC >= 5.0.
6879 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6881         * math/test-fenv.c (test_single_exception, set_single_exc,
6882         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6883         feexcp_mask_test, feenable_test, fe_single_test): Add
6884         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6885         case where they are not used.
6886         * math/libm-test.inc: Likewise.
6887         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6888         unused in the absence of FP rounding/exception support.
6889         * stdio-common/tst-printf-round.c: Likewise.
6890         * stdlib/tst-strtod-round.c: Likewise.
6891         * stdlib/tst-strtod-underflow.c: Likewise.
6893 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6895         [BZ #17723]
6896         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6897         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6898         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6899         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6900         libm_hidden_weak.
6901         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6902         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6903         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6904         libm_hidden_def.
6905         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6906         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6907         libm_hidden_weak.
6908         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6909         Likewise.
6910         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6911         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6912         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6913         libm_hidden_weak.
6914         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6915         libm_hidden_def.
6916         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6917         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6918         (__feraiseexcept): Likewise.
6919         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6920         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6921         libm_hidden_weak.
6922         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6923         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6924         libm_hidden_def.
6925         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6926         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6927         Use libm_hidden_def.
6928         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6929         libm_hidden_def.
6930         (feraiseexcept): Define as weak not strong alias.  Use
6931         libm_hidden_weak.
6932         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6933         New inline function.  Factored out of ...
6934         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6935         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6936         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6937         feraiseexcept.
6938         * math/w_acos.c (__acos): Likewise.
6939         * math/w_asin.c (__asin): Likewise.
6940         * math/w_ilogb.c (__ilogb): Likewise.
6941         * math/w_j0.c (y0): Likewise.
6942         * math/w_j1.c (y1): Likewise.
6943         * math/w_jn.c (yn): Likewise.
6944         * math/w_log.c (__log): Likewise.
6945         * math/w_log10.c (__log10): Likewise.
6946         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6947         * sysdeps/aarch64/fpu/math_private.h
6948         (libc_feupdateenv_test_aarch64): Likewise.
6949         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6950         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6951         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6952         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6953         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6954         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6955         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6956         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6957         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6958         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6960 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6962         [BZ #17732]
6963         * io/test-utime.c (main): Replace %ld with %jd and cast to
6964         intmax_t.
6965         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6966         * nptl/tst-mutex5.c: Include <stdint.h>.
6967         (do_test): Replace %ld with %jd and cast to intmax_t.
6968         * posix/tst-regex.c (run_test): Likewise.
6969         (run_test_backwards): Likewise.
6970         * rt/tst-clock.c: Include <stdint.h>.
6971         (clock_test): Replace %ld with %jd and cast to intmax_t.
6972         * rt/tst-cpuclock1.c: Include <stdint.h>.
6973         (do_test): Replace %lu with %ju and cast to uintmax_t.
6974         * rt/tst-cpuclock2.c: Include <stdint.h>.
6975         (do_test): Replace %lu with %ju and cast to uintmax_t.
6976         * rt/tst-mqueue1.c: Include <stdint.h>.
6977         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6978         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6979         intmax_t.
6980         * rt/tst-mqueue4.c (do_test): Likewise.
6981         * rt/tst-timer4.c: Include <stdint.h>.
6982         (check_ts): Replace %ld with %jd and cast to intmax_t.
6983         (do_test): Likewise.
6984         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6985         and cast to intmax_t.
6986         * sysdeps/pthread/tst-timer.c (main): Likewise.
6987         * time/clocktest.c (main): Likewise.
6988         * time/tst-posixtz.c (do_test): Likewise.
6989         * timezone/tst-timezone.c (main): Likewise.
6991 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6992             H.J. Lu  <hongjiu.lu@intel.com>
6994         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6995         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6996         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6997         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6998         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6999         version if bit_Fast_Unaligned_Load is set.
7000         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7001         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7002         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7003         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7004         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7006         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7007         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7008         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7009         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7010         to 4.
7011         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7012         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7013         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7014         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7016 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7018         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7019         instead of #if to avoid a Wundef warning.
7020         * stdlib/tst-limits.c (do_test): Likewise.
7022         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7023         parallel other exception macros.
7024         (fegetenv): Convert from macro to extern inline so that it applies
7025         retroactively to inline functions already seen by the compiler.
7026         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7028         * posix/Makefile (before-compile): Use $(objpfx) for
7029         posix-conf-vars-def.h.
7031 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7033         * posix/getconf.c (main): Use size_t for type of I.
7034         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7035         NSPEC.
7037         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7038         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7039         * posix/posix-envs.def: Likewise.
7040         * sysdeps/posix/sysconf.c: Likewise.
7041         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7042         (specs): Remove array.
7043         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7044         array.
7046         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7047         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7048         (__sysconf): Use CONF_IS_* macros.
7050         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7051         ($(objpfx)posix-conf-vars-def.h): New target.
7052         * posix/posix-conf-vars.list: New file.
7053         * posix/posix-conf-vars.h: New file.
7054         * posix/confstr.c: Include posix-conf-vars.h.
7055         (confstr): Use CONF_IS_* macros.
7056         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7057         CONF_IS_* macros.
7058         * scripts/gen-posix-conf-vars.awk: New file.
7060 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7062         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7063         fegetround): Add no-op macros to avoid linknamespace issues.
7065         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7066         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7068         * sysdeps/unix/sysv/linux/tile/sysdep.h
7069         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7070         assembly-specific section to avoid a redefinition warning.
7072         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7073         long before casting to pointer to avoid a cast warning.
7075 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7077         * sysdeps/tile/tilegx/Implies: New file.
7079 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7081         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7083 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7085         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7087 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7090         not define.
7091         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7092         <kernel-features.h>.
7093         (__utimes) [__NR_utimes]: Make code unconditional.
7094         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7095         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7096         (__ASSUME_UTIMES): Do not undefine.
7097         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7098         (__ASSUME_UTIMES): Likewise.
7099         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7100         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7101         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7102         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7104 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7106         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7108 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7110         [BZ #17747]
7111         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7112         alias to weak alias for j0l, y0l.
7113         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7114         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7116         [BZ #17746]
7117         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7118         conversion.
7120 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7122         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7123         to zero if not already defined.
7125 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7127         [BZ #17724]
7128         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7129         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7130         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7131         (char *) casts added.
7132         * sysdeps/ieee754/k_standardf.c: New file.
7133         * sysdeps/ieee754/k_standardl.c: Likewise.
7134         * math/Makefile (libm-support): Remove k_standard.
7135         (libm-calls): Add k_standard.
7137 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7139         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7140         Optimize to avoid an unnecessary FPCR read.
7142 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7144         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7145         Optimize to reduce FPCR/FPSR accesses.
7147 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7149         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7150         Call libc_fetestexcept_aarch64.
7152 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7154         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7155         Call libc_fesetround_aarch64.
7157 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7159         [BZ #17733]
7160         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7161         (__bind): Do not define as weak alias.
7162         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7163         define.
7164         (__getsockname): Do not define as weak alias.
7166 2014-12-22  Will Newton  <will.newton@linaro.org>
7168         * manual/install.texi: Document that we require bison 2.7
7169         or above.
7170         * INSTALL: Regenerate.
7171         * configure.ac: Use AC_CHECK_PROG_VER instead of
7172         AC_PATH_PROG when checking for bison and check for
7173         version 2.7 or above.
7174         * configure: Regenerate.
7176 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7178         [BZ #17745]
7179         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7180         * sysdeps/tile/ffsll.c (ffsll): To here.
7182         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7184 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7186         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7187         if not defined.
7188         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7189         definition.
7190         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7191         hidden ___tls_get_addr.
7192         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7193         hidden __tls_get_addr.
7194         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7195         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7196         Likewise.
7198 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7200         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7201         _dl_init call.
7203 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7205         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7206         from "call _dl_init@PLT".
7207         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7209 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7211         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7212         guarantees.
7214 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7216         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7218 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7220         [BZ #17744]
7221         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7222         strnlen.
7224 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7226         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7227         of multu on MIPSr6.
7228         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7229         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7230         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7231         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7232         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7234 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7236         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7237         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7238         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7239         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7240         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7241         mips32r6/mips64r6.
7242         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7244 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7246         * string/strncat.c (STRNCAT): Simplify implementation.
7248 2014-12-19  David S. Miller  <davem@davemloft.net>
7250         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7251         access the quad as both a long double and as a series of 4 words.
7253         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7254         link_map->l_info array access.
7256 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7258         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7260         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7261         * math/atest-exp2.c (TIMEOUT): Likewise.
7262         * math/atest-sincos.c (TIMEOUT): Likewise.
7264 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7266         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7267         -Wno-error with -fno-builtin-lround.
7269 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7271         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7272         Contains futex constants and functions moved over from ...
7273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7274         <lowlevellock-futex.h>.
7275         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7276         (lll_timedwait_tid): Add comments and parentheses around macro
7277         arguments.
7279 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7281         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7282         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7283         (__lll_private_flag): Remove.
7284         (lll_futex_wait): Likewise.
7285         (lll_futex_timed_wait): Likewise.
7286         (lll_futex_wake): Likewise.
7287         (lll_futex_requeue): Likewise.
7288         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7289         (__lll_timedwait_tid): Spell out argument names.
7290         (lll_timedwait_tid): Add comments and parentheses around macro
7291         arguments.
7292         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7293         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7295 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7297         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7298         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7299         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7300         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7301         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7302         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7303         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7304         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7305         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7306         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7307         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7308         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7309         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7310         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7311         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7312         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7313         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7314         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7315         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7317 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7319         * sysdeps/x86_64/x32/Makefile: New file.
7321 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7323         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7324         1L with (mp_limb_t) 1.
7326 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7328         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7329         * nptl/libc_pthread_init.c: ... here.
7330         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7331         * nptl/register-atfork.c: ... here.
7333         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7334         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7335         Use assert_perror to check its return value.
7336         (__gai_create_helper_thread): Likewise.
7338         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7340         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7342 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7344         [BZ #17725]
7345         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7346         __profil_counter.
7347         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7348         Likewise.
7349         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7350         Likewise.
7351         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7354         (profil_counter): Likewise.
7355         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7356         (profil_counter): Likewise.
7357         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7358         Likewise.
7359         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7360         Likewise.
7361         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7362         (profil_counter): Likewise.
7363         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7364         Likewise.
7365         [!__profil_counter] (profil_counter): Define as weak alias of
7366         __profil_counter.
7367         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7368         (profil_counter): Rename to __profil_counter.
7369         [!__profil_counter] (profil_counter): Define as weak alias of
7370         __profil_counter.
7371         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7372         (profil_counter): Rename to __profil_counter.
7373         [!__profil_counter] (profil_counter): Define as weak alias of
7374         __profil_counter.
7375         * sysdeps/posix/profil.c: Update comment referring to
7376         profil_counter.
7377         (__profil): Use __profil_counter instead of profil_counter.
7378         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7379         __profil_counter.  Use __profil_counter_ushort and
7380         __profil_counter_uint in definitions.
7381         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7382         instead of profil_counter_uint and profil_counter_ushort.
7384         [BZ #17722]
7385         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7386         define as weak alias of __inet_makeaddr.
7387         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7388         as weak alias of __inet_addr.
7389         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7390         as weak alias of __inet_pton.  Use libc_hidden_weak.
7391         * include/arpa/inet.h (__inet_pton): Declare.  Use
7392         libc_hidden_proto.
7393         (inet_makeaddr): Don't use libc_hidden_proto.
7394         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7395         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7396         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7397         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7398         Remove variable.
7399         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7400         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7402 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7404         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7406 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7408         * stdio-common/bug-vfprintf-nargs.c (do_test):
7409         Cast value to intptr_t to avoid format warning
7410         for usage with PRIdPTR printing macro.
7412 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7414         * libio/tst-widetext.c (do_test):
7415         Use format type %td instead of %Zd for ptrdiff_t
7416         in order to avoid format warning.
7418 2014-12-17  Andreas Schwab  <schwab@suse.de>
7420         * nscd/mem.c (gc): Add size_t cast to match printf format.
7422 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7424         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7425         (init): Apply PTR_MANGLE to pointers before storing them.
7426         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7427         before using them.
7429 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7431         [BZ #17719]
7432         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7433         define as weak alias of __memrchr.
7434         (__memrchr): Do not define as strong alias of memrchr.
7435         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7436         Remove variable.
7437         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7438         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7439         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7441         [BZ #17717]
7442         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7443         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7444         (if_indextoname): Rename to __if_indextoname and define as weak
7445         alias of __if_indextoname.  Use libc_hidden_weak.
7446         (if_freenameindex): Rename to __if_freenameindex and define as
7447         weak alias of __if_freenameindex.
7448         (if_nameindex): Rename to __if_nameindex and define as weak alias
7449         of __if_nameindex.
7450         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7451         __if_nametoindex and define as weak alias of __if_nametoindex.
7452         Use libc_hidden_weak.
7453         (if_freenameindex): Rename to __if_freenameindex and define as
7454         weak alias of __if_freenameindex.
7455         (if_nameindex): Rename to __if_nameindex and define as weak alias
7456         of __if_nameindex.
7457         (if_indextoname): Rename to __if_indextoname and define as weak
7458         alias of __if_indextoname.  Use libc_hidden_weak.
7459         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7460         __if_nametoindex and define as weak alias of __if_nametoindex.
7461         Use libc_hidden_weak.
7462         (if_freenameindex): Rename to __if_freenameindex and define as
7463         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7464         (if_nameindex_netlink): Use __if_freenameindex instead of
7465         if_freenameindex.
7466         (if_nameindex): Rename to __if_nameindex and define as weak alias
7467         of __if_nameindex.  Use libc_hidden_weak.
7468         (if_indextoname): Rename to __if_indextoname and define as weak
7469         alias of __if_indextoname.  Use libc_hidden_weak.
7470         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7471         libc_hidden_proto.
7472         [!_ISOMAC] (__if_freenameindex): Likewise.
7473         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7474         if_nametoindex.
7475         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7476         variable.
7477         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7478         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7479         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7480         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7481         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7482         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7483         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7485         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7486         Remove variable.
7487         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7488         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7490 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7492         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7493         subscript above bounds'
7495         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7496         bounds.
7498 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7500         * libio/tst-fopenloc.c: Use test-skeleton.c.
7502         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7503         (entry): Rename to ITEM.
7504         (do_test, comp): Adjust.
7506         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7508 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7510         * string/tester.c: Include <libc-internal.h>.
7511         (test_memset): Ignore -Wmemset-transposed-args.
7513 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7515         * misc/tst-mntent2.c (do_test): Fix warning.
7517 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7519         * elf/tst-unique4lib.cc(a): Mark as used.
7521 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7523         [BZ #17630]
7524         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7525         names.
7527 2014-12-16  Allan McRae  <allan@archlinux.org>
7529         * stdio-common/Makefile (tests): Re-add bug26.
7531 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7533         [BZ #17657]
7534         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7535         static array.
7537 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7539         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7540         (__lll_lock_wait): Likewise.
7541         (__lll_timedlock_wait): Likewise.
7542         (__lll_timedwait_tid): Likewise.
7543         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7544         (__lll_robust_timedlock_wait): Likewise.
7545         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7546         (lll_cond_trylock): Likewise.
7547         (__lll_lock): Likewise.
7548         (__lll_robust_lock): Likewise.
7549         (__lll_cond_lock): Likewise.
7550         (lll_robust_cond_lock): Likewise.
7551         (__lll_timedlock): Likewise.
7552         (__lll_robust_timedlock): Likewise.
7553         (__lll_unlock): Likewise.
7554         (__lll_robust_unlock): Likewise.
7555         (lll_wait_tid): Likewise.
7556         (lll_timedwait_tid): Likewise.
7558 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7560         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7562 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7564         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7566 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7568         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7569         * stdio-common/tst-sprintf.c: Likewise.
7571 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7573         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7575 2014-12-15  Jeff Law  <law@redhat.com>
7577         [BZ #16617]
7578         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7579         on the heap.  (CVE-2012-3406)
7580         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7581         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7582         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7584 2014-12-15  Will Newton  <will.newton@linaro.org>
7586         * manual/install.texi: Bump required version of texinfo
7587         to 4.7 from 4.5.
7588         * INSTALL: Regenerated.
7589         * configure.ac: Check for makeinfo version 4.7 and above.
7590         * configure: Regenerated.
7592 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7594         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7595         PREFIX, string constant to insert between directory and name.
7596         * sysdeps/posix/shm_open.c: Update caller.
7597         * sysdeps/posix/shm_unlink.c: Likewise.
7598         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7599         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7600         (SEM_SHM_PREFIX): New macro.
7601         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7602         [$(have-thread-library) = no].
7603         * nptl/Makefile (libpthread-routines): Add shm-directory.
7604         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7605         * sysdeps/nptl/shm-directory.h: New file.
7606         * sysdeps/posix/shm-directory.c
7607         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7608         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7609         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7610         INTERNAL_SYSCALL.
7611         (__where_is_shmfs): Function removed.
7612         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7613         Variables removed.
7614         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7615         Use SHM_GET_NAME.
7616         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7618         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7619         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7620         unconditional for use inside libpthread.
7621         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7623 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7625         * nptl/pthread_getaffinity.c: New file.
7626         * nptl/pthread_setaffinity.c: New file.
7627         * nptl/pthread_getname.c: New file.
7628         * nptl/pthread_setname.c: New file.
7630         * nptl/pthread_create.c (START_THREAD_DEFN)
7631         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7633 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7634             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7636         * resolv/res_send.c (send_vc): Disable warning resplen may
7637         be used uninitialized.
7639 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7641         * nptl/tst-mutex6.c
7642         (ATTR_NULL): New define checks ATTR against NULL.
7643         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7644         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7646 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7648         [BZ #17581]
7649         * malloc/hooks.c
7650         (mem2mem_check): Revert my previous change.
7651         (malloc_check_get_size): Revert my previous change.
7652         (mem2chunk_check): Revert my previous change.
7654 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7656         * sysdeps/posix/shm-directory.c: New file.
7657         * sysdeps/posix/shm-directory.h: New file.
7658         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7659         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7660         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7661         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7662         Transmute EPERM to EACCES.
7663         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7664         from ...
7665         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7666         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7668 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7670         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7671         pointer and cast to uintptr_t.
7672         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7673         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7674         Add cast to avoid warning.
7675         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7677 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7679         * nptl/semaphore.h: Move to ...
7680         * sysdeps/pthread/semaphore.h: ... here.
7681         * Makefile (installed-headers): Change nptl/semaphore.h to
7682         sysdeps/pthread/semaphore.h.
7684 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7686         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7687         generated error format strings.
7689         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7690         -Wformat-extra-args warnings for scanf formats.
7691         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7692         test of zero-length format (duh).
7693         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7694         corner-case scanf format test.
7695         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7696         generated fprintf format string.
7697         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7698         corner-case sprintf format tests.
7699         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7700         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7701         -Wformat-extra-args warnings throughout.
7702         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7703         (CFLAGS-scanf4.c): Likewise.
7704         (CFLAGS-scanf7.c): Likewise.
7705         (CFLAGS-tst-sprintf.c): Likewise.
7706         (CFLAGS-tst-printf.c): Likewise.
7707         (CFLAGS-tst-printfsz.c): Likewise.
7709 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7711         * include/cpio.h: New file.
7712         * include/fmtmsg.h: Likewise.
7714         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7715         corresponding format argument to size_t.
7716         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7717         arguments.
7718         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7719         corresponding format argument to size_t.
7720         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7721         arguments.
7722         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7723         corresponding format argument to size_t.
7724         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7725         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7726         (CFLAGS-tst-mbswcs2.c): Likewise.
7727         (CFLAGS-tst-mbswcs3.c): Likewise.
7728         (CFLAGS-tst-mbswcs4.c): Likewise.
7729         (CFLAGS-tst-mbswcs5.c): Likewise.
7730         (CFLAGS-tst-trans.c): Likewise
7732 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7734         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7735         rather than assuming they won't contain any '%'s.
7737 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7739         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7740         inhibit_loop_to_libcall to avoid recursive calls.
7741         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7742         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7744 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7746         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7747         prototype.
7749 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7751         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7752         integer value instead of boolean.
7754 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7756         * malloc/malloc.c: Fix powerof2 check.
7758 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7760         * locale/programs/locfile.h (maybe_swap_uint32):
7761         Remove inline and add unused attribute.
7763 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7765         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7766         Truncating assembler expression to a .long expression.
7768 2014-12-11  Andreas Schwab  <schwab@suse.de>
7770         * elf/rtld.c (struct map_args): Constify str member.
7771         (do_preload): Constify fname argument.
7773 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7775         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7776         constants definition.
7778 2014-12-11  Andreas Schwab  <schwab@suse.de>
7780         [BZ #16657]
7781         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7782         FORCE_ELISION instead of DO_ELISION.
7783         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7784         Remove.
7785         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7786         Likewise.
7788         * iconvdata/gconv-modules: Remove duplicate entry.
7790 2014-12-11  Will Newton  <will.newton@linaro.org>
7792         Merge gettext 0.19.3 into intl/.
7794         This involves a number of cosmetic changes to comments
7795         and ANSI function definitions and prototypes throughout
7796         all the files. The gettext copyright header is used but
7797         with the date ranges taken from the glibc copy.
7799         * NEWS: Add gettext merge to 2.21.
7800         * intl/bindtextdom.c: Switch to gettext copyright.
7801         Use ANSI definitions and prototypes.
7802         Use gl_* locking primitives rather than __libc_* ones.
7803         Use __builtin_expect rather than __glibc_likely/unlikely.
7804         * intl/dcgettext.c: Switch to gettext copyright.
7805         Use ANSI definitions and prototypes.
7806         * intl/dcigettext.c: Switch to gettext copyright.
7807         Use ANSI definitions and prototypes.
7808         (INTDIV0_RAISES_SIGFPE): New define.
7809         Use gl_* locking primitives rather than __libc_* ones.
7810         Include eval-plural.h instead of plural-eval.c.
7811         Use __builtin_expect rather than __glibc_likely/unlikely.
7812         * intl/dcngettext.c: Switch to gettext copyright.
7813         Use ANSI definitions and prototypes.
7814         * intl/dgettext.c: Likewise.
7815         * intl/dngettext.c: Likewise.
7816         * intl/plural-eval.c: Renamed to...
7817         * intl/eval-plural.h: ...this.
7818         * intl/explodename.c: Switch to gettext copyright.
7819         Use ANSI definitions and prototypes.
7820         (_nl_explode_name): Use strchr instead of __rawmemchr.
7821         * intl/finddomain.c: Switch to gettext copyright.
7822         Use ANSI definitions and prototypes.
7823         Use gl_* locking primitives rather than __libc_* ones.
7824         (_nl_find_domain): Use malloc rather than alloca for
7825         allocation of temporary locale name.
7826         * intl/gettext.c: Switch to gettext copyright.
7827         Use ANSI definitions and prototypes.
7828         * intl/gettextP.h: Switch to gettext copyright.
7829         Use ANSI definitions and prototypes.
7830         Use gl_* locking primitives rather than __libc_* ones.
7831         * intl/gmo.h: Switch to gettext copyright.
7832         (struct sysdep_string): Move struct segment_pair outside of
7833         struct definition.
7834         * intl/hash-string.c: Use ANSI definitions and prototypes.
7835         * intl/hash-string.h: Switch to gettext copyright.
7836         Use ANSI definitions and prototypes.
7837         * intl/l10nflist.c: Switch to gettext copyright.
7838         Use ANSI definitions and prototypes.
7839         (_nl_normalize_codeset): Avoid integer overflow.
7840         * intl/loadinfo.h: Switch to gettext copyright.
7841         Use ANSI definitions and prototypes.
7842         (LIBINTL_DLL_EXPORTED): New define.
7843         (PATH_SEPARATOR): New define.
7844         * intl/loadmsgcat.c: Switch to gettext copyright.
7845         * intl/localealias.c: Switch to gettext copyright.
7846         Use ANSI definitions and prototypes.
7847         (_nl_expand_alias): Use PATH_SEPARATOR.
7848         * intl/ngettext.c: Switch to gettext copyright.
7849         Use ANSI definitions and prototypes.
7850         * intl/plural-exp.c: Likewise.
7851         * intl/plural-exp.h: Switch to gettext copyright.
7852         Use ANSI definitions and prototypes.
7853         (struct expression): Move definition of enum operator outside
7854         of struct definition.
7855         * intl/plural.c: Regenerate.
7856         * intl/plural.y: Switch to gettext copyright.
7857         Use ANSI definitions and prototypes.
7858         Port to bison 3.0.
7859         * intl/textdomain.c: Switch to gettext copyright.
7860         Use ANSI definitions and prototypes.
7861         Use gl_* locking primitives rather than __libc_* ones.
7863 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7865         * debug/warning-nop.c: Add used atrribute.
7867 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7869         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7871         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7872         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7873         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7875 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7876             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7878         [BZ #17634]
7879         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7880         Undefine after defining function.  Define as weak alias of
7881         __wcschr.  Use libc_hidden_weak.
7882         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7883         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7884         (libc_hidden_def): Also define __GI___wcschr alias.
7885         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7886         __wcschr and define as weak alias of __wcschr.
7887         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7888         __wcschr.
7889         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7890         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7891         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7892         libc_hidden_weak.  Do not use libc_hidden_def.
7893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7894         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7895         __GI___wcschr alias.
7896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7897         [IS_IN (libc)] (wcschr): Define as macro expanding to
7898         __redirect_wcschr.
7899         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7900         [IS_IN (libc)] (__wcschr_power6): Likewise.
7901         [IS_IN (libc)] (__wcschr_power7): Likewise.
7902         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7903         instead of wcschr.
7904         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7905         __libc_wcschr.
7906         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7907         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7908         __wcschr and define as weak alias of __wcschr.  Use
7909         libc_hidden_builtin_def.
7910         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7911         as weak alias of __wcschr.  Use libc_hidden_weak.
7912         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7913         wcschr.
7914         * time/era.c (_nl_init_era_entries): Likewise.
7915         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7916         variable.
7917         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7918         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7920 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7922         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7923         format for long int variable.
7925 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7927         [BZ #10672]
7928         * manual/search.texi: (Array Sort Function): Remove claim how to make
7929         qsort stable.
7931 2014-12-10  Andreas Schwab  <schwab@suse.de>
7933         [BZ #12847]
7934         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7935         user-controlled locks.
7937 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7939         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7940         register.
7942 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7944         * configure.ac (--disable-werror): New configure option.
7945         (enable_werror): New AC_SUBST.
7946         * configure: Regenerated.
7947         * config.make.in (enable-werror): New variable.
7948         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7949         -Wno-error=undef.
7950         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7951         * manual/install.texi (Configuring and compiling): Document
7952         --disable-werror.
7953         * INSTALL: Regenerated.
7954         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7955         (CFLAGS-tst-chk2.c): Likewise.
7956         (CFLAGS-tst-chk3.c): Likewise.
7957         (CFLAGS-tst-chk4.cc): Likewise.
7958         (CFLAGS-tst-chk5.cc): Likewise.
7959         (CFLAGS-tst-chk6.cc): Likewise.
7960         (CFLAGS-tst-lfschk1.c): Likewise.
7961         (CFLAGS-tst-lfschk2.c): Likewise.
7962         (CFLAGS-tst-lfschk3.c): Likewise.
7963         (CFLAGS-tst-lfschk4.cc): Likewise.
7964         (CFLAGS-tst-lfschk5.cc): Likewise.
7965         (CFLAGS-tst-lfschk6.cc): Likewise.
7967         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7968         (main): Disable -Wdeprecated-declarations around calls to
7969         register_printf_function.
7971         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7972         (do_test): Disable -Wdiv-by-zero around some calls to
7973         fwrite_unlocked and fread_unlocked.
7975         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7976         (DIAG_POP_NEEDS_COMMENT): Likewise.
7977         (_DIAG_STR1): Likewise.
7978         (_DIAG_STR): Likewise.
7979         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7980         * stdio-common/bug21.c: Include <libc-internal.h>.
7981         (do_test): Disable -Wformat around call to sscanf.
7982         * stdio-common/scanf14.c: Include <libc-internal.h>.
7983         (main): Disable -Wformat around some calls to scanf functions.
7985 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7987         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7989 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7991         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7992         stack variable alignment.
7994 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7996         [BZ #17682]
7997         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7998         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7999         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8000         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8001         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8002         __getrlimit instead of getrlimit.
8003         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8004         __gettimeofday instead of gettimeofday.
8005         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8006         Likewise.
8007         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8008         Likewise.
8009         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8010         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8011         Remove variable.
8012         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8013         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8015 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8017         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8018         for wide-character tests.
8020 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8022         * io/openat64.c: #include <libc-internal.h>
8023         (__openat64): Prototypify.  Use ignore_value on MODE.
8024         * io/openat.c: Likewise.
8025         * misc/reboot.c: #include <libc-internal.h>
8026         (reboot): Prototypify.  Use ignore_value on HOWTO.
8027         * misc/ptrace.c: #include <libc-internal.h>
8028         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8030 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8032         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8033         XPG4, UNIX98 and XOPEN2K.
8034         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8035         Remove variable.
8036         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8038 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8040         * libio/fileops.c: Use ISO C style for function definitions.
8041         * libio/iofopen.c: Likewise.
8042         * libio/wfileops.c: Likewise.
8044         [BZ #17653]
8045         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8046         offset on EOF.
8047         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8048         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8049         (fgets_func): Function pointer to fgets and fgetws.
8050         (do_ftell_test): Add test to verify ftell value after read
8051         EOF.
8052         (do_test): Set fgets_func.
8054         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8055         O_TRUNC flag for w and w+ modes.
8056         (do_rewind_test): Likewise.
8057         (do_ftell_test): Likewise.
8058         (do_write_test): Likewise.
8060         [BZ #17647]
8061         * libio/fileops.c (do_ftell): Seek only when there are
8062         unflushed writes.
8063         * libio/wfileops.c (do_ftell_wide): Likewise.
8064         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8065         test case.
8066         (do_one_test): Call it.
8068 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8070         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8071         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8072         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8073         Remove variable.
8074         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8075         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8076         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8078 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8080         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8081         Remove variable.
8082         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8084         [BZ #17668]
8085         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8086         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8087         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8088         __freeifaddrs.  Use libc_hidden_weak.
8089         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8090         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8091         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8092         __freeifaddrs.  Use libc_hidden_weak.
8093         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8094         __getifaddrs and define as weak alias of __getifaddrs.  Use
8095         libc_hidden_weak.
8096         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8097         __freeifaddrs.  Use libc_hidden_weak.
8098         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8099         Remove variable.
8100         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8101         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8103 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8105         [BZ #17601]
8106         * sysdeps/mips/start.S (__start): Use indirect jump to call
8107         __libc_start_main.
8109 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8111         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8113         * nptl/tst-mutex1.c: Include <stdbool.h>.
8114         [!ATTR] (ATTR_NULL): New macro.
8115         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8116         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8117         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8119         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8120         to char *.
8122         [BZ #17665]
8123         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8124         Change conditional to [__USE_MISC].
8126         [BZ #17664]
8127         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8128         fgets_unlocked.
8129         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8130         __fgets_unlocked.
8131         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8132         fgets_unlocked.
8133         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8134         Remove variable.
8135         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8136         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8137         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8138         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8139         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8140         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8141         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8142         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8143         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8145         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8147 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8149         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8150         Remove strpbrk objects.
8151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8152         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8153         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8154         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8155         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8156         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8159         Remove strcspn objects.
8160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8161         (__libc_ifunc_impl_list): Remove strcspn implementation.
8162         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8163         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8164         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8165         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8167         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8168         Remove strspn objetcs.
8169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8170         (__libc_ifunc_impl_list): Remove strspn implementation.
8171         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8172         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8173         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8174         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8176 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8178         [BZ #17581]
8179         * malloc/hooks.c
8180         (mem2mem_check): Add a terminator to the chain of checking blocks.
8181         (malloc_check_get_size): Use it here.
8182         (mem2chunk_check): Ditto.
8184 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8186         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8187         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8189 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8191         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8193         * nptl/nptl-init.c: Include libc-internal.h.
8194         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8196         * elf/ldconfig.c (search_dir): Expand comment.
8198 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8200         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8201         variable.
8202         (linknamespace-symlist-stdlibs-tests): Likewise.
8203         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8204         instead of $(objpfx)symlist-stdlibs.
8205         (linknamespace-libs-isoc): New variable.
8206         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8207         (linknamespace-libs-ISO): New variable.
8208         (linknamespace-libs-ISO99): Likewise.
8209         (linknamespace-libs-ISO11): Likewise.
8210         (linknamespace-libs-XPG3): Likewise.
8211         (linknamespace-libs-XPG4): Likewise.
8212         (linknamespace-libs-POSIX): Likewise.
8213         (linknamespace-libs-UNIX98): Likewise.
8214         (linknamespace-libs-XOPEN2K): Likewise.
8215         (linknamespace-libs-POSIX2008): Likewise.
8216         (linknamespace-libs-XOPEN2K8): Likewise.
8217         ($(objpfx)symlist-stdlibs): Replace by
8218         $(linknamespace-symlist-stdlibs-tests).  Use
8219         $(linknamespace-libs-$*) as set of libraries.
8220         ($(linknamespace-header-tests)): Update dependencies.  Use
8221         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8222         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8223         * conform/linknamespace.pl: Remove comment about considering
8224         definitions of symbols from irrelevant libraries.
8226 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8228         [BZ #13862]
8229         * elf/dl-tls.c: Include <atomic.h>.
8230         (oom): Remove #ifdef SHARED/#endif.
8231         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8232         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8233         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8234         big enough.
8235         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8236         * nptl/Makefile (tests): Add tst-stack4.
8237         (modules-names): Add tst-stack4mod.
8238         ($(objpfx)tst-stack4): New.
8239         (tst-stack4mod.sos): Likewise.
8240         ($(objpfx)tst-stack4.out): Likewise.
8241         ($(tst-stack4mod.sos)): Likewise.
8242         (clean): Likewise.
8243         * nptl/tst-stack4.c: New file.
8244         * nptl/tst-stack4mod.c: Likewise.
8246 2014-11-27  J. Brown  <jb999@gmx.de>
8248         * sysdeps/x86/bits/string.h: Add recent CPUs.
8250 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8252         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8253         sigblock.
8255         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8256         feof.
8258         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8259         variable.
8261 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8263         * nscd/connections.c: Include libc-internal.h because of macro
8264         usage ignore_value.
8266 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8268         * string/bits/string3.h (__warn_memset_zero_len): Don't
8269         declare for gcc newer than 5.0.
8270         (memset): Don't test for zero-length __LEN for gcc newer than
8271         5.0.
8273 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8275         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8276         size_t for %zu format.
8278         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8279         difference, not %ju.
8281 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8283         * include/libc-internal.h (ignore_value): New macro.
8284         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8285         with ignore_value.
8287         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8288         definition.
8290         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8291         pthread_cleanup_push to void *.
8293         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8294         Undefine.
8296         [BZ #16619]
8297         [BZ #16740]
8298         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8299         instead of 1L << 52.
8301         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8302         * libio/bug-rewind2.c (do_test): Likewise.
8304         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8305         * debug/test-strcpy_chk-ifunc.c: Likewise.
8306         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8307         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8308         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8309         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8310         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8311         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8312         * Rules [$(multi-arch) = no] (tests): Do not filter out
8313         $(tests-ifunc).
8314         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8315         * debug/Makefile (tests-ifunc): Remove variable.
8316         (tests): Do not add $(tests-ifunc).
8317         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8318         (tests): Do not add $(tests-ifunc).
8319         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8320         [TEST_IFUNC]: Remove conditionals.
8321         * string/test-string.h (TEST_IFUNC): Remove macro.
8322         [TEST_IFUNC]: Remove conditionals.
8324         * string/test-strchr.c [!WIDE] (L): New macro.
8325         [WIDE] (L): Likewise.
8326         (check1): Use CHAR instead of char.  Use L on string and character
8327         constants.
8329 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8331         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8332         tests.
8333         * sysdeps/powerpc/bits/atomic.h
8334         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8335         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8336         (atomic_exchange_and_add_acq): Likewise.
8337         (atomic_exchange_and_add_rel): Likewise.
8338         * sysdeps/powerpc/powerpc32/bits/atomic.h
8339         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8340         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8341         * sysdeps/powerpc/powerpc64/bits/atomic.h
8342         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8343         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8345 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8347         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8348         Change synchronization of __sched_fifo_min_prio and
8349         __sched_fifo_max_prio.
8350         * nptl/pthread_mutexattr_getprioceiling.c
8351         (pthread_mutexattr_getprioceiling): Likewise.
8352         * nptl/pthread_mutexattr_setprioceiling.c
8353         (pthread_mutexattr_setprioceiling): Likewise.
8354         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8355         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8356         Likewise.
8358 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8360         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8361         void.
8363 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8365         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8366         third argument const.
8368 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8370         fnmatch: work around GCC compiler warning bug with uninit var
8371         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8372         This works around a bug with x86-64 GCC 4.9.2 and earlier
8373         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8374         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8375         used uninitialized in this function [-Wmaybe-uninitialized]".
8377 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8379         * posix/bug-regex31.c (main): Return RES not 0.
8381 2014-11-25  Anton Blanchard <anton@samba.org>
8383         * sysdeps/powerpc/bits/atomic.h
8384         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8386 2014-11-24  Sterling Augustine  <saugustine@google.com>
8388         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8390 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8392         [BZ #17608]
8393         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8395 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8397         [BZ #17633]
8398         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8399         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8400         variable.
8401         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8402         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8404 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8406         * string/strncpy.c (strncpy): Improve performance by using memset.
8408 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8410         * string/strcpy.c (strcpy):
8411         Improve performance by using strlen and memcpy.
8413 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8415         * string/strcoll_l.c (get_next_seq): __always_inline.
8416         * string/strcoll_l.c (do_compare): __always_inline.
8418 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8420         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8421         defined.
8422         * include/mqueue.h: Likewise.
8423         * include/stdlib.h: Likewise.
8425         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8426         (get_null_defines): Adjust.
8427         * sunrpc/Makefile: Adjust comment.
8428         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8429         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8430         (CFLAGS-interp.c): Likewise.
8431         (CFLAGS-ldconfig.c): Likewise.
8432         (CPPFLAGS-.os): Likewise.
8433         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8434         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8435         * extra-modules.mk (extra-modules.mk): Likewise.
8436         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8437         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8438         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8439         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8440         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8441         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8442         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8443         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8444         * iconvdata/Makefile (CPPFLAGS): Likewise.
8445         (cpp-srcs-left): Add libof for all iconvdata routines.
8446         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8447         * include/assert.h: Likewise.
8448         * include/ctype.h: Likewise.
8449         * include/errno.h: Likewise.
8450         * include/libc-symbols.h: Likewise.
8451         * include/math.h: Likewise.
8452         * include/netdb.h: Likewise.
8453         * include/resolv.h: Likewise.
8454         * include/stdio.h: Likewise.
8455         * include/stdlib.h: Likewise.
8456         * include/string.h: Likewise.
8457         * include/sys/stat.h: Likewise.
8458         * include/wctype.h: Likewise.
8459         * intl/l10nflist.c: Likewise.
8460         * libidn/idn-stub.c: Likewise.
8461         * libio/libioP.h: Likewise.
8462         * nptl/libc_multiple_threads.c: Likewise.
8463         * nptl/pthreadP.h: Likewise.
8464         * posix/regex_internal.h: Likewise.
8465         * resolv/res_hconf.c: Likewise.
8466         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8467         * sysdeps/arm/memmove.S: Likewise.
8468         * sysdeps/arm/sysdep.h: Likewise.
8469         * sysdeps/generic/_itoa.h: Likewise.
8470         * sysdeps/generic/symbol-hacks.h: Likewise.
8471         * sysdeps/gnu/errlist.awk: Likewise.
8472         * sysdeps/gnu/errlist.c: Likewise.
8473         * sysdeps/i386/i586/memcpy.S: Likewise.
8474         * sysdeps/i386/i586/memset.S: Likewise.
8475         * sysdeps/i386/i686/memcpy.S: Likewise.
8476         * sysdeps/i386/i686/memmove.S: Likewise.
8477         * sysdeps/i386/i686/mempcpy.S: Likewise.
8478         * sysdeps/i386/i686/memset.S: Likewise.
8479         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8480         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8481         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8482         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8483         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8484         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8485         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8486         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8487         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8488         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8489         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8490         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8491         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8492         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8493         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8494         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8495         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8496         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8497         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8498         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8499         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8500         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8501         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8502         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8503         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8504         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8505         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8506         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8507         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8508         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8509         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8510         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8511         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8512         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8513         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8515         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8516         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8517         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8519         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8520         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8521         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8522         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8523         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8524         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8525         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8526         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8527         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8528         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8529         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8530         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8531         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8532         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8533         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8534         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8535         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8536         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8537         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8538         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8539         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8540         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8541         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8542         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8543         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8544         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8545         * sysdeps/posix/closedir.c: Likewise.
8546         * sysdeps/posix/opendir.c: Likewise.
8547         * sysdeps/posix/readdir.c: Likewise.
8548         * sysdeps/posix/rewinddir.c: Likewise.
8549         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8550         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8551         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8552         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8553         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8554         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8555         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8556         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8557         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8558         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8559         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8560         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8561         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8562         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8563         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8564         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8565         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8566         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8567         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8568         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8569         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8570         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8571         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8572         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8573         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8574         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8575         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8576         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8577         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8580         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8581         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8582         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8584         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8585         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8586         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8587         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8588         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8589         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8590         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8591         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8592         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8593         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8594         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8595         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8596         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8597         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8598         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8599         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8600         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8601         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8602         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8603         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8604         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8605         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8606         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8607         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8608         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8609         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8610         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8611         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8612         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8613         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8614         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8615         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8616         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8617         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8618         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8619         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8620         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8621         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8622         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8623         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8624         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8625         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8626         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8627         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8628         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8629         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8630         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8631         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8632         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8633         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8634         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8635         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8636         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8637         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8638         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8639         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8640         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8641         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8643         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8644         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8645         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8646         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8647         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8648         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8649         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8650         * sysdeps/unix/alpha/sysdep.S: Likewise.
8651         * sysdeps/unix/alpha/sysdep.h: Likewise.
8652         * sysdeps/unix/make-syscalls.sh: Likewise.
8653         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8655         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8656         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8657         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8658         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8659         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8660         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8661         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8662         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8663         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8664         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8666         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8667         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8668         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8669         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8670         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8671         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8672         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8673         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8674         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8675         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8676         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8677         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8678         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8679         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8682         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8683         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8686         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8687         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8688         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8690         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8691         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8692         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8694         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8695         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8696         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8697         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8699         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8700         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8701         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8703         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8704         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8705         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8706         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8707         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8708         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8709         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8711         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8712         * sysdeps/x86_64/memcpy.S: Likewise.
8713         * sysdeps/x86_64/memmove.c: Likewise.
8714         * sysdeps/x86_64/memset.S: Likewise.
8715         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8716         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8717         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8718         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8719         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8720         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8722         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8723         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8724         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8725         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8726         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8727         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8728         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8729         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8730         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8731         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8732         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8733         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8734         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8735         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8736         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8737         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8738         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8739         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8740         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8741         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8742         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8743         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8744         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8745         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8746         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8747         * sysdeps/x86_64/strcmp.S: Likewise.
8749         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8751         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8752         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8753         * elf/rtld-Rules: Likewise.
8754         * elf/setup-vdso.h: Likewise.
8755         * include/assert.h: Likewise.
8756         * include/bits/stdlib-float.h: Likewise.
8757         * include/errno.h: Likewise.
8758         * include/sys/stat.h: Likewise.
8759         * include/unistd.h: Likewise.
8760         * sysdeps/aarch64/setjmp.S: Likewise.
8761         * sysdeps/alpha/setjmp.S: Likewise.
8762         * sysdeps/arm/__longjmp.S: Likewise.
8763         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8764         * sysdeps/arm/setjmp.S: Likewise.
8765         * sysdeps/arm/sysdep.h: Likewise.
8766         * sysdeps/generic/_itoa.h: Likewise.
8767         * sysdeps/generic/dl-sysdep.h: Likewise.
8768         * sysdeps/generic/ldsodefs.h: Likewise.
8769         * sysdeps/i386/dl-tls.h: Likewise.
8770         * sysdeps/i386/setjmp.S: Likewise.
8771         * sysdeps/m68k/setjmp.c: Likewise.
8772         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8773         * sysdeps/mach/hurd/opendir.c: Likewise.
8774         * sysdeps/posix/getcwd.c: Likewise.
8775         * sysdeps/posix/opendir.c: Likewise.
8776         * sysdeps/posix/profil.c: Likewise.
8777         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8778         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8779         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8780         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8781         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8782         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8783         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8784         * sysdeps/s390/dl-tls.h: Likewise.
8785         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8786         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8787         * sysdeps/sh/sh3/setjmp.S: Likewise.
8788         * sysdeps/sh/sh4/setjmp.S: Likewise.
8789         * sysdeps/unix/alpha/sysdep.h: Likewise.
8790         * sysdeps/unix/arm/sysdep.S: Likewise.
8791         * sysdeps/unix/i386/sysdep.S: Likewise.
8792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8793         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8794         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8795         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8796         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8797         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8798         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8799         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8800         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8801         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8802         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8803         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8804         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8807         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8810         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8811         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8812         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8815         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8816         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8819         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8820         * sysdeps/x86_64/setjmp.S: Likewise.
8822         * include/math.h: Use IS_IN instead of IS_IN_libm.
8823         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8824         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8825         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8826         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8827         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8828         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8829         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8830         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8831         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8832         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8833         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8834         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8835         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8836         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8837         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8838         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8839         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8840         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8841         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8842         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8843         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8844         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8845         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8846         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8847         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8848         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8849         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8850         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8851         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8852         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8853         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8854         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8855         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8857         Likewise.
8858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8859         Likewise.
8860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8861         Likewise.
8862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8863         Likewise.
8864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8865         Likewise.
8866         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8867         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8868         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8869         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8870         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8871         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8877         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8878         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8879         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8880         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8881         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8882         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8883         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8884         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8885         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8886         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8887         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8888         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8889         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8890         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8892         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8894         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8895         * nptl/pthreadP.h: Likewise.
8896         * nptl_db/structs.def: Likewise.
8897         * sysdeps/arm/sysdep.h: Likewise.
8898         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8899         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8900         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8901         * sysdeps/unix/alpha/sysdep.h: Likewise.
8902         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8903         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8904         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8905         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8906         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8907         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8909         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8910         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8911         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8912         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8913         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8914         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8915         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8920         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8923         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8924         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8925         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8926         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8927         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8929         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8930         * nptl/pthreadP.h: Likewise.
8931         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8932         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8933         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8934         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8935         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8936         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8937         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8938         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8939         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8940         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8941         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8942         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8944         Likewise.
8945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8946         Likewise.
8947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8949         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8950         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8952         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8953         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8954         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8956         * dlfcn/dladdr.c: Use IS_IN.
8957         * dlfcn/dladdr1.c: Likewise.
8958         * dlfcn/dlclose.c: Likewise.
8959         * dlfcn/dlerror.c: Likewise.
8960         * dlfcn/dlinfo.c: Likewise.
8961         * dlfcn/dlmopen.c: Likewise.
8962         * dlfcn/dlopen.c: Likewise.
8963         * dlfcn/dlsym.c: Likewise.
8964         * dlfcn/dlvsym.c: Likewise.
8966         * include/ifaddrs.h: Use IS_IN.
8967         * inet/check_pf.c: Likewise.
8968         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8969         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8971         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8972         IS_IN_ldconfig.
8973         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8974         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8976         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8977         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8978         IS_IN (libc).
8980         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8982         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8983         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8984         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8985         * include/libc-symbols.h (IS_IN_LIB): New macro.
8986         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8987         * include/netdb.h: Likewise.
8988         * include/stap-probe.h: Remove all uses of IN_LIB.
8990         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8991         instead of IN_MODULE.
8992         * include/libc-symbols.h (IN_MODULE): Define using
8993         MODULE_NAME.
8994         (PASTE_NAME, PASTE_NAME1): New macros.
8995         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8996         of IN_LIB.
8997         (STAP_PROBE_ASM): Likewise.
8999 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9001         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9002         __mach_init in dlopened libc.
9004 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9006         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9007         * sysdeps/arm/preconfigure: Regenerate.
9009 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9011         * nptl/pthread_create.c (__pthread_create_2_1): Set
9012         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9013         when copying values from IATTR into PD.
9015 2014-11-21  Will Newton  <will.newton@linaro.org>
9016             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9018         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9019         Refactor inline-asm.  Also add comment.
9021         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9022         ElfW macro instead of hardcoded Elf64 types.
9023         (la_aarch64_gnu_pltenter): Likewise.
9024         * sysdeps/aarch64/dl-machine.h
9025         (elf_machine_runtime_setup): Use ElfW(Addr).
9027         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9028         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9029         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9030         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9031         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9032         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9033         (R_AARCH64_TLS_DTPMOD): This.
9034         (R_AARCH64_TLS_DTPREL64): Rename to ...
9035         (R_AARCH64_TLS_DTPREL): This.
9036         (R_AARCH64_TLS_TPREL64): Rename to ...
9037         (R_AARCH64_TLS_TPREL): This.
9038         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9039         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9040         R_AARCH64_TLS_TPREL64.
9041         (elf_machine_rela): Likewise.
9043 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9045         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9046         by setting it to 0.  64b atomics are not supported currently.
9048 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9050         [BZ #16469]
9051         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9052         search domain names.
9054 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9056         [BZ #16469]
9057         * NEWS: Update.
9058         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9059         trailing dot.
9060         * posix/tst-getaddrinfo5.c: New.
9061         * posix/Makefile (tests): Add it.
9063 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9065         [BZ #14498]
9066         * NEWS: Fixed.
9067         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9068         after parsing line but before break_if_match.
9069         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9070         if there is a protocol mismatch.
9072 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9074         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9075         because the potential race is on the user-supplied stream.
9077 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9079         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9080         string literal if not passed a buffer.
9081         * manual/job.texi (ctermid): Update reasoning, note deviation
9082         from posix, suggest mtasurace when not passed a buffer, for
9083         future non-preliminary safety notes.
9085 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9087         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9088         of not passing it a buffer.
9089         Reported by Peng Haitao.
9091 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9093         * manual/Makefile ($(objpfx)stamp-summary): Require
9094         check-safety.sh to pass.
9095         * manual/check-safety.sh: Wish for verification that every
9096         @deftypefn and @deftypefun is followed by a @safety remark.
9098 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9100         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9102         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9103         PTHREAD_CANCEL_ASYNCHRONOUS.
9104         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9105         send SIGCANCEL.
9107         * nptl/default-sched.h: New file.
9108         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9109         * nptl/pthread_create.c: Include it.
9110         (__pthread_create_2_1): Use collect_default_sched instead of making
9111         Linux syscalls here directly.
9113 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9115         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9116         __pthread_once): Use C11 atomics.
9118 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9120         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9122 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9124         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9125         atomic_thread_fence_acquire, atomic_thread_fence_release,
9126         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9127         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9128         atomic_compare_exchange_weak_relaxed,
9129         atomic_compare_exchange_weak_acquire,
9130         atomic_compare_exchange_weak_release,
9131         atomic_exchange_acquire, atomic_exchange_release,
9132         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9133         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9134         atomic_fetch_and_acquire,
9135         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9137 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9139         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9140         USE_ATOMIC_COMPILER_BUILTINS): Define.
9141         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9143         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9145         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9147         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9149         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9151         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9153         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9155         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9157         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9159         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9161         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9163         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9165         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9167         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9169         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9171         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9173         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9175         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9176         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9177         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9179         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9182 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9184         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9185         the sched_priority value here.  It was already checked when the user
9186         called pthread_attr_setschedparam.
9188         * nptl/tst-bad-schedattr.c: New file.
9189         * nptl/Makefile (tests): Add it.
9191 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9192             Florian Weimer  <fweimer@redhat.com>
9193             Joseph Myers  <joseph@codesourcery.com>
9194             Adam Conrad  <adconrad@0c3.net>
9195             Andreas Schwab  <schwab@suse.de>
9196             Brooks  <bmoses@google.com>
9198         [BZ #17625]
9199         * wordexp-test.c (__dso_handle): Add prototype.
9200         (__register_atfork): Likewise.
9201         (__app_register_atfork): New function.
9202         (registered_forks): New global.
9203         (register_fork): New function.
9204         (test_case): Add 3 new tests for WRDE_CMDSUB.
9205         (main): Call __app_register_atfork.
9206         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9207         fork count is non-zero fail the test.
9208         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9209         is set.
9210         (parse_dollars): Remove check for WRDE_NOCMD.
9211         (parse_dquote): Likewise.
9213 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9215         * Makeconfig (built-modules): List non-library modules to be
9216         built.
9217         (module-cppflags): Include libc-modules.h for
9218         everything except shlib-versions.v.i.
9219         (CPPFLAGS): Use it.
9220         (before-compile): Add libc-modules.h.
9221         ($(common-objpfx)libc-modules.h,
9222         $(common-objpfx)libc-modules.stmp): New targets.
9223         (common-generated): Add libc-modules.h and libc-modules.stmp.
9224         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9225         * include/libc-symbols.h: Don't include libc-modules.h.
9226         * include/libc-modules.h: Remove file.
9227         * scripts/gen-libc-modules.awk: New script to generate
9228         libc-modules.h.
9229         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9230         Depend on libc-modules.stmp.
9232         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9234         * Makeconfig (in-module): Get value of libof set for the
9235         translation unit.
9236         (CPPFLAGS): Use $(in-module).
9237         * Makerules: Don't suffix routine names for nonlib.
9238         * include/libc-modules.h: New file.
9239         * include/libc-symbols.h: Include libc-modules.h
9240         (IS_IN): New macro to replace IS_IN_* macros.
9241         * elf/Makefile: Set libof-* for each routine.
9242         * elf/rtld-Rules: Likewise.
9243         * extra-modules.mk: Likewise.
9244         * iconv/Makefile: Likewise.
9245         * iconvdata/Makefile: Likewise.
9246         * locale/Makefile: Likewise.
9247         * malloc/Makefile: Likewise.
9248         * nss/Makefile: Likewise.
9249         * sysdeps/gnu/Makefile: Likewise.
9250         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9251         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9252         * sysdeps/s390/s390-64/Makefile: Likewise.
9253         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9254         CPPFLAGS for nscd instead of nonlib.
9256 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9258         * nptl/createthread.c: New file.
9260         * nptl/createthread.c: Moved ...
9261         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9263         * nptl/createthread.c: Add proper top-line comment.
9264         (do_clone): Folded into ...
9265         (create_thread): ... here.  Take new arguments STOPPED_START and
9266         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9267         increment __nptl_threads, do event-reporting logic, do
9268         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9269         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9270         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9271         just send SIGCANCEL.
9272         * nptl/pthread_create.c: Forward-declare create_thread before
9273         including createthread.c.
9274         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9275         declaration, and new macro START_THREAD_SELF to replace argument.
9276         Remove return statement.
9277         (report_thread_creation): New function.
9278         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9279         synchronization logic, and __nptl_nthreads increment here, around
9280         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9281         PD->parent_cancelhandling here, before create_thread.  When
9282         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9283         __deallocate_stack, and ENOMEM translation here.
9285 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9287         [BZ #17616]
9288         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9289         (mptwo): Rename to __mptwo.
9290         (__inv): Use __mptwo instead of mptwo.
9291         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9292         (mptwo): Rename to __mptwo.
9293         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9294         of mpone and __mptwo instead of mptwo.
9295         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9296         instead of mpone.
9297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9298         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9299         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9300         of mpone and __mptwo instead of mptwo.
9301         (__mpranred): Use __mpone instead of mpone.
9302         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9303         variable.
9304         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9305         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9306         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9307         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9308         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9309         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9310         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9311         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9312         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9313         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9314         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9315         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9316         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9317         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9318         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9319         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9320         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9321         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9322         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9324 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9326         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9327         replace BSD Handler xref with BSD Signal Handling.
9329 2014-11-17  Richard Henderson  <rth@redhat.com>
9331         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9332         (_FP_PACK_RAW_2): Remove.
9333         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9334         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9335         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9336         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9337         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9338         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9339         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9340         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9341         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9342         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9343         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9344         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9345         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9346         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9347         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9348         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9350 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9352         * signal/signal.h [__USE_MISC]
9353         (struct sigvec): Remove type.
9354         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9355         (sigvec): Remove declaration.
9356         * sysdeps/posix/sigvec.c: Moved ...
9357         * signal/sigvec.c: ... here, replacing old file.
9358         (struct sigvec): New type, copied from old signal.h definition.
9359         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9360         (__sigvec): Convert definition to prototype.
9361         (sigvec): Replace weak_alias with compat_symbol.
9362         * signal/Versions (libc: GLIBC_2.21): New version set.
9363         * include/signal.h: Remove __sigvec declaration.
9364         * sysdeps/unix/bsd/sigvec.c: Remove file.
9365         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9366         * manual/signal.texi (BSD Handler): Remove subsection.
9367         Move siginterrupt up to ...
9368         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9369         (Blocking in BSD): Fold subsection into its parent.
9370         * NEWS: Mention sigvec removal.
9372 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9374         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9375         (DLA_FMS): Make definition conditional only on [__FMA4__].
9376         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9377         definition.
9379         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9380         Make definition conditional only on [PROF].
9381         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9382         definition.
9383         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9384         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9386         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9387         !__GNUC__].
9388         * include/signal.h (__sigpause): Move declaration above call to
9389         libc_hidden_proto.
9390         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9391         variable.
9392         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9393         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9395 2014-11-14  David S. Miller  <davem@davemloft.net>
9397         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9398         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9400 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9402         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9403         * configure: Regenerated.
9404         * manual/install.texi (Tools for Compilation): Document a
9405         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9406         compiler verified to work.
9407         * INSTALL: Regenerated.
9409         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9410         redeclare with asm name.
9411         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9412         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9413         including <string.h>.
9414         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9415         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9416         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9417         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9418         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9420         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9422 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9424         * stdlib/strtol.c (__strtol): Use prototype definition.
9426         [BZ #17594]
9427         * stdlib/strtol.c (SYM__): New macro.
9428         (SYM__1): Likewise.
9429         (__strtol): Likewise.
9430         (strtol): Rename to __strtol and define as weak alias of
9431         __strtol.  Use libc_hidden_weak.
9433 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9435         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9436         Use numbered labels in inline assembly.
9438 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9440         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9441         Add setjmp LIBC_PROBE.
9442         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9443         Likewise.
9444         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9445         Add longjmp, longjmp_target LIBC_PROBE.
9446         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9447         Likewise.
9449 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9451         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9452         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9453         to get rid of unused variable warning.
9455 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9457         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9458         Check for unwind_backtrace ==  NULL only in SHARED case.
9459         (__backchain_backtrace): Compile only in SHARED case.
9460         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9461         Likewise.
9462         (__backchain_backtrace): Declare as static.
9464 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9466         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9467         (__libc_multiple_threads_ptr): Variable moved ...
9468         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9470 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9472         * conform/GlibcConform.pm: New file.
9473         * conform/conformtest.pl: Use GlibcConform module.
9474         * conform/linknamespace.pl: New file.
9475         * conform/list-header-symbols.pl: Likewise.
9476         * conform/Makefile (linknamespace-symlists-base): New variable.
9477         (linknamespace-symlists-tests): Likewise.
9478         (linknamespace-header-base): Likewise.
9479         (linknamespace-header-tests): Likewise.
9480         (tests-special): Add new tests.
9481         ($(linknamespace-symlists-tests)): New rule.
9482         (linknamespace-libs): New variable.
9483         ($(objpfx)symlist-stdlibs): New rule.
9484         ($(linknamespace-header-tests)): Likewise.
9485         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9486         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9487         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9488         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9489         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9490         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9491         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9492         (test-xfail-ISO/math.h/linknamespace): Likewise.
9493         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9494         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9495         (test-xfail-ISO/time.h/linknamespace): Likewise.
9496         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9497         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9498         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9499         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9500         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9501         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9502         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9503         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9504         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9505         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9506         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9507         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9508         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9509         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9510         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9511         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9512         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9513         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9514         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9515         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9516         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9517         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9518         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9519         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9520         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9521         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9522         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9523         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9524         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9525         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9526         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9527         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9528         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9529         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9530         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9531         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9532         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9533         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9534         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9535         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9536         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9537         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9538         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9539         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9540         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9541         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9542         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9543         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9544         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9545         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9546         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9547         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9548         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9549         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9550         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9551         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9552         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9553         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9554         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9555         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9556         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9557         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9558         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9559         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9560         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9561         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9562         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9563         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9564         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9565         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9566         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9567         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9568         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9569         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9570         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9571         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9572         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9573         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9574         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9575         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9576         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9577         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9578         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9579         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9580         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9581         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9582         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9583         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9584         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9585         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9586         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9587         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9588         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9589         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9590         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9591         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9592         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9593         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9594         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9595         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9596         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9597         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9598         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9599         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9600         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9601         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9602         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9603         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9604         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9605         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9606         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9607         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9608         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9609         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9610         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9611         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9612         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9613         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9614         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9615         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9616         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9617         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9618         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9619         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9620         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9621         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9622         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9623         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9624         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9625         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9626         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9627         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9628         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9629         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9630         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9631         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9632         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9633         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9634         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9635         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9636         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9637         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9638         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9639         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9640         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9641         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9642         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9643         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9644         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9645         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9647         [BZ #17589]
9648         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9649         of fgets_unlocked.
9651         [BZ #17585]
9652         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9653         (memmem): Rename to __memmem and define as weak alias of
9654         __memmem.  Use libc_hidden_weak.
9655         (__memmem): Use libc_hidden_def.
9656         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9657         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9658         memmem.
9660         [BZ #17582]
9661         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9662         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9663         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9664         and define as weak alias of __fgets_unlocked.  Use
9665         libc_hidden_weak.
9666         (__fgets_unlocked): Use libc_hidden_def.
9667         * include/stdio.h (__fgets_unlocked): Declare.  Use
9668         libc_hidden_proto.
9669         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9670         __fgets_unlocked instead of fgets_unlocked.
9671         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9672         (GET_NPROCS_CONF_PARSER): Likewise.
9673         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9674         (GET_NPROCS_CONF_PARSER): Likewise.
9676         [BZ #17574]
9677         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9678         weak alias of __wmemset.  Use libc_hidden_weak.
9679         (__wmemset): Use libc_hidden_def.
9680         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9681         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9682         of wmemset.
9684         [BZ #17573]
9685         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9686         with asm name __mempcpy.
9687         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9689         [BZ #17572]
9690         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9691         and define as weak alias of __rawmemchr.
9692         (__rawmemchr): Do not define as strong alias of rawmemchr.
9694         [BZ #17571]
9695         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9696         alias of __qsort_r.
9697         (qsort): Call __qsort_r instead of qsort_r.
9698         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9699         (__qsort_r): Declare.  Call libc_hidden_proto.
9700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9701         instead of qsort_r.
9702         * nscd/gai.c (__qsort_r): Define to qsort_r.
9703         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9704         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9705         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9707         [BZ #17570]
9708         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9709         define as weak alias of __malloc_info.
9711         [BZ #17584]
9712         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9713         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9714         (__rewinddir): Use libc_hidden_def.
9715         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9716         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9717         (__rewinddir): Use libc_hidden_def.
9718         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9719         weak alias of __rewinddir.  Don't use libc_hidden_def.
9720         (__rewinddir): Use libc_hidden_def.
9721         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9722         (__rewinddir): Use libc_hidden_proto.
9723         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9724         rewinddir.
9725         (__getcwd): Use __rewinddir instead of rewinddir.
9727         [BZ #17583]
9728         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9729         alias of __fileno.  Use libc_hidden_weak.
9730         (__fileno): Use libc_hidden_def.
9731         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9732         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9733         alias of __ftello.
9734         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9735         __ftello.
9736         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9737         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9738         libc_hidden_def.
9739         (fread_unlocked): Don't use libc_hidden_ver.
9740         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9741         and define as weak alias of __fread_unlocked.  Don't use
9742         libc_hidden_def.
9743         (__fread_unlocked): Use libc_hidden_def.
9744         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9745         (ftello): Don't use libc_hidden_proto.
9746         (__ftello): Declare.  Use libc_hidden_proto.
9747         (fread_unlocked): Don't use libc_hidden_proto.
9748         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9749         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9750         and __ftello instead of fileno, fread_unlocked and ftello.
9752 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9754         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9755         GOT12.
9756         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9757         Likewise.
9758         (_dl_start_user): Likewise.
9759         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9761 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9762             Siddhesh Poyarekar  <siddhesh@redhat.com>
9764         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9765         Move argv and envp down instead of moving argc up.
9766         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9768 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9770         [BZ #17506]
9771         * test-skeleton.c (main): Return successful if one of
9772         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9773         * string/tst-strcoll-overflow.c: Define expected status.
9775 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9777         [BZ #17475]
9778         * locale/iso-639.def: Define Bhili and Tulu language codes.
9780 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9782         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9784 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9786         [BZ #17555]
9787         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9789 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9791         * configure.ac: Updated check of minimal required version to
9792         2.22.
9793         * manual/install.texi (Tools for Compilation): Updated version
9794         number.
9795         * configure: Regenerated.
9796         * INSTALL: Likewise.
9798 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9800         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9801         __tls_get_addr.
9803 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9805         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9806         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9807         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9808         libc_hidden_weak.
9809         (waitpid): Define as alias of __waitpid.
9810         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9811         __waitpid.
9812         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9813         libc_hidden_weak.
9814         (waitpid): Define as alias of __waitpid.
9815         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9816         __libc_waitpid alias.
9817         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9818         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9819         Likewise.
9820         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9821         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9822         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9823         alias.
9824         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9825         __waitpid.
9826         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9827         libc_hidden_weak.
9828         (waitpid): Define as alias of __waitpid.
9830 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9832         * manual/llio.texi: Add comment that write safety has been
9833         fixed in Linux.
9835         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9836         (localplt-build-dso): Add elf/ld.so.
9837         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9838         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9839         and free for ld.so.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9841         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9843         Likewise.
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9845         Likewise.
9846         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9847         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9848         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9849         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9850         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9851         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9852         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9853         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9854         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9858 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9860         [BZ #14132]
9861         * include/libc-symbols.h (INTUSE): Remove macro.
9862         (INTDEF): Likewise.
9863         (INTVARDEF): Likewise.
9864         (_INTVARDEF): Likewise.
9865         (INTDEF2): Likewise.
9866         (INTVARDEF2): Likewise.
9867         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9868         rtld_hidden_def instead of INTVARDEF.
9869         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9870         (_dl_starting_up_internal): Remove declaration.
9871         (_dl_starting_up): Use rtld_hidden_proto.
9872         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9873         declaration.
9874         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9875         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9876         _dl_starting_up.
9877         * elf/dl-writev.h (_dl_writev): Likewise.
9878         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9879         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9880         _dl_starting_up_internal.
9882 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9884         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9885         test-skeleton.c.
9887 2014-11-05  Will Newton  <will.newton@linaro.org>
9889         * benchtests/Makefile: (bench-malloc): Add malloc thread
9890         scalability benchmark.
9891         * benchtests/bench-malloc-threads.c: New file.
9893 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9895         * sysdeps/aarch64/strchrnul.S: New file.
9897 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9899         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9900         definition.
9901         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9902         Likwise.
9903         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9904         Likewise.
9905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9906         Likewise.
9907         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9908         Likewise.
9909         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9910         Likewise.
9912 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9914         * catgets/test-gencat.c: Use test-skeleton.c.
9915         * catgets/tst-catgets.c: Likewise.
9916         * csu/tst-empty.c: Likewise.
9917         * elf/tst-audit2.c: Likewise.
9918         * elf/tst-global1.c: Likewise.
9919         * elf/tst-pathopt.c: Likewise.
9920         * elf/tst-piemod1.c: Likewise.
9921         * elf/tst-tls10.c: Likewise.
9922         * elf/tst-tls11.c: Likewise.
9923         * elf/tst-tls12.c: Likewise.
9924         * gnulib/tst-gcc.c: Likewise.
9925         * iconvdata/tst-e2big.c: Likewise.
9926         * iconvdata/tst-loading.c: Likewise.
9927         * iconv/tst-iconv1.c: Likewise.
9928         * iconv/tst-iconv2.c: Likewise.
9929         * inet/test-inet6_opt.c: Likewise.
9930         * inet/tst-gethnm.c: Likewise.
9931         * inet/tst-network.c: Likewise.
9932         * inet/tst-ntoa.c: Likewise.
9933         * intl/tst-codeset.c: Likewise.
9934         * intl/tst-gettext2.c: Likewise.
9935         * intl/tst-gettext3.c: Likewise.
9936         * intl/tst-ngettext.c: Likewise.
9937         * intl/tst-translit.c: Likewise.
9938         * io/test-stat.c: Likewise.
9939         * libio/test-fmemopen.c: Likewise.
9940         * libio/tst-freopen.c: Likewise.
9941         * libio/tst-sscanf.c: Likewise.
9942         * libio/tst-ungetwc1.c: Likewise.
9943         * libio/tst-ungetwc2.c: Likewise.
9944         * libio/tst-widetext.c: Likewise.
9945         * localedata/tst-ctype.c: Likewise.
9946         * localedata/tst-digits.c: Likewise.
9947         * localedata/tst-leaks.c: Likewise.
9948         * localedata/tst-mbswcs1.c: Likewise.
9949         * localedata/tst-mbswcs2.c: Likewise.
9950         * localedata/tst-mbswcs3.c: Likewise.
9951         * localedata/tst-mbswcs4.c: Likewise.
9952         * localedata/tst-mbswcs5.c: Likewise.
9953         * localedata/tst-setlocale.c: Likewise.
9954         * localedata/tst-trans.c: Likewise.
9955         * localedata/tst-wctype.c: Likewise.
9956         * localedata/tst-xlocale1.c: Likewise.
9957         * login/tst-grantpt.c: Likewise.
9958         * malloc/tst-calloc.c: Likewise.
9959         * malloc/tst-malloc.c: Likewise.
9960         * malloc/tst-mallocstate.c: Likewise.
9961         * malloc/tst-mcheck.c: Likewise.
9962         * malloc/tst-mtrace.c: Likewise.
9963         * malloc/tst-obstack.c: Likewise.
9964         * math/atest-exp2.c: Likewise.
9965         * math/atest-exp.c: Likewise.
9966         * math/atest-sincos.c: Likewise.
9967         * math/test-matherr.c: Likewise.
9968         * math/test-misc.c: Likewise.
9969         * math/test-powl.c: Likewise.
9970         * math/tst-definitions.c: Likewise.
9971         * misc/tst-dirname.c: Likewise.
9972         * misc/tst-efgcvt.c: Likewise.
9973         * misc/tst-fdset.c: Likewise.
9974         * misc/tst-hsearch.c: Likewise.
9975         * misc/tst-mntent2.c: Likewise.
9976         * nptl/tst-sem7.c: Likewise.
9977         * nptl/tst-sem8.c: Likewise.
9978         * nptl/tst-sem9.c: Likewise.
9979         * nss/test-netdb.c: Likewise.
9980         * posix/tst-fnmatch.c: Likewise.
9981         * posix/tst-getlogin.c: Likewise.
9982         * posix/tst-gnuglob.c: Likewise.
9983         * posix/tst-mmap.c: Likewise.
9984         * pwd/tst-getpw.c: Likewise.
9985         * resolv/tst-inet_ntop.c: Likewise.
9986         * rt/tst-timer.c: Likewise.
9987         * stdio-common/test-fseek.c: Likewise.
9988         * stdio-common/test-popen.c: Likewise.
9989         * stdio-common/test-vfprintf.c: Likewise.
9990         * stdio-common/tst-cookie.c: Likewise.
9991         * stdio-common/tst-fileno.c: Likewise.
9992         * stdio-common/tst-gets.c: Likewise.
9993         * stdio-common/tst-obprintf.c: Likewise.
9994         * stdio-common/tst-perror.c: Likewise.
9995         * stdio-common/tst-sprintf2.c: Likewise.
9996         * stdio-common/tst-sprintf3.c: Likewise.
9997         * stdio-common/tst-sprintf.c: Likewise.
9998         * stdio-common/tst-swprintf.c: Likewise.
9999         * stdio-common/tst-tmpnam.c: Likewise.
10000         * stdio-common/tst-unbputc.c: Likewise.
10001         * stdio-common/tst-wc-printf.c: Likewise.
10002         * stdlib/tst-environ.c: Likewise.
10003         * stdlib/tst-fmtmsg.c: Likewise.
10004         * stdlib/tst-limits.c: Likewise.
10005         * stdlib/tst-rand48-2.c: Likewise.
10006         * stdlib/tst-rand48.c: Likewise.
10007         * stdlib/tst-random2.c: Likewise.
10008         * stdlib/tst-random.c: Likewise.
10009         * stdlib/tst-strtol.c: Likewise.
10010         * stdlib/tst-strtoll.c: Likewise.
10011         * stdlib/tst-tls-atexit.c: Likewise.
10012         * stdlib/tst-xpg-basename.c: Likewise.
10013         * string/test-ffs.c: Likewise.
10014         * string/tst-bswap.c: Likewise.
10015         * string/tst-inlcall.c: Likewise.
10016         * string/tst-strtok.c: Likewise.
10017         * string/tst-strxfrm.c: Likewise.
10018         * sysdeps/x86_64/tst-audit10.c: Likewise.
10019         * sysdeps/x86_64/tst-audit3.c: Likewise.
10020         * sysdeps/x86_64/tst-audit4.c: Likewise.
10021         * sysdeps/x86_64/tst-audit5.c: Likewise.
10022         * time/tst-ftime_l.c: Likewise.
10023         * time/tst-getdate.c: Likewise.
10024         * time/tst-mktime3.c: Likewise.
10025         * time/tst-mktime.c: Likewise.
10026         * time/tst-posixtz.c: Likewise.
10027         * time/tst-strptime2.c: Likewise.
10028         * time/tst-strptime3.c: Likewise.
10029         * wcsmbs/tst-btowc.c: Likewise.
10030         * wcsmbs/tst-mbrtowc.c: Likewise.
10031         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10032         * wcsmbs/tst-wchar-h.c: Likewise.
10033         * wcsmbs/tst-wcpncpy.c: Likewise.
10034         * wcsmbs/tst-wcrtomb.c: Likewise.
10035         * wcsmbs/tst-wcsnlen.c: Likewise.
10036         * wcsmbs/tst-wcstof.c: Likewise.
10038 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10040         [BZ #14132]
10041         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10042         INTDEF.
10043         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10044         declaration.
10045         (_dl_mcount): Use rtld_hidden_proto.
10046         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10047         _dl_mcount.
10048         * elf/rtld.c (_rtld_global_ro): Likewise.
10050         [BZ #14132]
10051         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10052         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10053         of _dl_init_internal.
10054         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10055         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10056         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10057         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10058         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10059         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10060         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10061         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10062         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10063         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10064         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10065         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10066         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10067         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10068         * sysdeps/tile/dl-start.S (_start): Likewise.
10069         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10070         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10072         [BZ #14132]
10073         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10074         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10075         (rtld_progname): Make macro definition unconditional.
10076         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10077         INTDEF.
10078         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10079         (dl_main): Likewise.
10080         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10081         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10082         instead of _dl_argv_internal.
10083         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10084         __GI__dl_argv instead of INTUSE(_dl_argv).
10085         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10086         __GI__dl_argv instead of _dl_argv_internal.
10088         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10089         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10090         macro.
10091         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10092         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10093         New macro.
10094         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10095         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10096         macro.
10097         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10098         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10100 2014-11-04  Andreas Schwab  <schwab@suse.de>
10102         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10104 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10106         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10107         mtvsrd instruction in binary form.
10109 2014-11-03  Andreas Schwab  <schwab@suse.de>
10111         [BZ #17522]
10112         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10113         for less than MB_LEN_MAX use a local buffer of that size.
10114         * libio/tst-fputws.c: New file.
10115         * libio/Makefile (tests): Add tst-fputws.
10117 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10119         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10120         the size of the fpu_fr.fpu_dregs[] array.
10122 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10124         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10125         (__nanosleep): Do not define as alias.
10126         (nanosleep): Define as alias of __nanosleep.
10127         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10128         __libc_nanosleep name.
10130 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10132         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10133         install.texi in comment.
10135 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10137         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10138         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10139         ... add here and use lwsync or sync ...
10140         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10141         ... and add here using lwsync.
10143 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10145         * elf/dl-machine-reject-phdr.h: New file.
10146         * elf/dl-load.c: #include that.
10147         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10148         if that returned true.
10150 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10152         [BZ #17496]
10153         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10154         gen-as-const-headers chunk.  Add a big scare comment after the last
10155         safe place to touch before-compile.
10157 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10159         * manual/install.texi (Tools for Compilation): Update autoconf
10160         version requirements.
10161         * INSTALL: Regenerated.
10163         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10164         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10165         (__libc_pselect): Likewise.
10167         [BZ #14138]
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10173 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10175         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10176         correct barrier instruction.
10177         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10178         Likewise.
10179         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10180         Likewise.
10182 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10184         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10185         after defining inlines.  Instead, just use parens to defeat macro
10186         expansion of __isctype in its declaration.
10188 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10190         * include/sys/uio.h (__libc_readv): Remove declaration.
10191         (__libc_writev): Likewise.
10192         * misc/readv.c (__libc_readv): Rename to __readv.
10193         (__readv): Do not define as alias.
10194         (readv): Define as alias of __readv.
10195         * misc/writev.c (__libc_writev): Rename to __writev.
10196         (__writev): Do not define as alias.
10197         (writev): Define as alias of __writev.
10198         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10199         (__readv): Do not define as alias.
10200         (readv): Define unconditionally as alias of __readv.
10201         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10202         (__writev): Do not define as alias.
10203         (writev): Define unconditionally as alias of __writev.
10204         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10205         name.
10206         (writev): Do not define __libc_writev name.
10208 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10210         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10211         (convert_charseq): New function, broken out of ...
10212         (use_from_charmap): ... here.  Call it.
10213         (use_to_charmap): Use convert_charseq and free instead of duplicating
10214         its code with a variable-length stack struct.
10216 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10218         * include/fcntl.h (__libc_creat): Remove declaration.
10219         * io/creat.c (__libc_creat): Rename to creat.
10220         (creat): Do not define as alias.
10221         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10222         of creat instead of __libc_creat.
10223         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10224         to creat.
10225         (creat): Do not define as alias.
10226         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10227         __libc_creat.
10228         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10229         __libc_creat name.
10230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10231         Likewise.
10233 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10235         * manual/llio.texi: Add comments discussing why write() may be
10236         considered MT-unsafe on Linux.
10238 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10240         * dl-load.c (local_strdup): Remove.
10241         (expand_dynamic_string_token): Use __strdup.
10242         (decompose_rpath): Likewise.
10243         (_dl_map_object): Likewise.
10245 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10247         [BZ #14132]
10248         * sysdeps/generic/unwind-dw2-fde.c
10249         (__register_frame_info_bases_internal): Do not declare.
10250         (__register_frame_info_table_bases_internal): Likewise.
10251         (__deregister_frame_info_bases_internal): Likewise.
10252         (__register_frame_info_bases): Declare and use hidden_proto before
10253         definition.  Use hidden_def instead of INTDEF.
10254         (__register_frame_info_table_bases): Likewise.
10255         (__deregister_frame_info_bases): Likewise.
10256         (__register_frame_info): Do not use INTUSE.
10257         (__register_frame): Likewise.
10258         (__register_frame_info_table): Likewise.
10259         (__register_frame_table): Likewise.
10260         (__deregister_frame_info): Likewise.
10261         (__deregister_frame): Likewise.
10263 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10265         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10266         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10267         not undefine.
10268         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10269         Likewise.
10270         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10271         Likewise.
10273 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10275         [BZ #14138]
10276         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10277         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10278         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10279         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10280         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10281         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10282         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10283         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10284         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10285         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10286         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10287         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10288         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10289         syscall.
10290         (setfsuid): Likewise.
10291         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10292         (setfsuid): Likewise.
10293         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10294         (setfsuid): Likewise.
10295         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10296         Likewise.
10297         (setfsuid): Likewise.
10298         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10299         (setfsuid): Likewise.
10300         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10301         Likewise.
10302         (setfsuid): Likewise.
10304 2014-10-27  Andreas Schwab  <schwab@suse.de>
10306         [BZ #17501]
10307         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10308         check for Slow_SSE4_2 feature bit.
10309         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10310         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10311         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10312         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10314 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10316         * configure.ac: Validate compiler version with a empirical test of
10317         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10318         $CC -v output.
10319         * configure: Regenerated.
10321         * inet/htons.c (htons): Prototypify.
10322         * inet/htonl.c (htonl): Likewise.
10324 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10326         * string/strncat.c (strncat): Improve performance by using strlen.
10328 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10330         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10332 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10334         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10335         Call libc_fetestexcept_aarch64.
10337 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10339         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10340         Call libc_feholdexcept_aarch64.
10342 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10344         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10345         Call get_rounding_mode.
10347 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10349         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10350         Simplify logic.
10352 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10354         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10355         Simplify logic.
10357 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10359         [BZ #14138]
10360         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10361         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10362         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10363         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10364         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10365         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10366         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10367         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10368         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10369         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10370         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10371         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10373         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10374         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10375         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10376         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10377         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10378         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10379         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10380         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10381         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10382         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10383         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10384         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10385         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10386         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10387         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10388         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10389         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10390         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10391         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10392         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10393         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10394         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10395         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10396         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10397         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10398         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10399         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10400         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10401         syscall.
10402         (geteuid): Likewise.
10403         (getgid): Likewise.
10404         (getuid): Likewise.
10405         (getresgid): Likewise.
10406         (getresuid): Likewise.
10407         (getgroups): Likewise.
10408         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10409         (geteuid): Likewise.
10410         (getgid): Likewise.
10411         (getuid): Likewise.
10412         (getresgid): Likewise.
10413         (getresuid): Likewise.
10414         (getgroups): Likewise.
10415         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10416         (geteuid): Likewise.
10417         (getgid): Likewise.
10418         (getuid): Likewise.
10419         (getresgid): Likewise.
10420         (getresuid): Likewise.
10421         (getgroups): Likewise.
10422         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10423         Likewise.
10424         (geteuid): Likewise.
10425         (getgid): Likewise.
10426         (getuid): Likewise.
10427         (getresgid): Likewise.
10428         (getresuid): Likewise.
10429         (getgroups): Likewise.
10430         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10431         (geteuid): Likewise.
10432         (getgid): Likewise.
10433         (getuid): Likewise.
10434         (getresgid): Likewise.
10435         (getresuid): Likewise.
10436         (getgroups): Likewise.
10437         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10438         Likewise.
10439         (geteuid): Likewise.
10440         (getgid): Likewise.
10441         (getuid): Likewise.
10442         (getgroups): Likewise.
10444         [BZ #14138]
10445         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10446         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10447         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10448         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10449         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10450         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10451         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10452         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10453         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10454         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10455         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10456         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10457         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10458         __chown.
10459         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10460         (lchown): Likewise.
10461         (fchown): Likewise.
10462         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10463         Likewise.
10464         (lchown): Likewise.
10465         (fchown): Likewise.
10466         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10467         (lchown): Likewise.
10468         (fchown): Likewise.
10469         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10470         Likewise.
10471         (lchown): Likewise.
10472         (fchown): Likewise.
10474 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10476         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10477         Simplify logic.
10479 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10481         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10482         Cleanup logic.
10484 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10486         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10487         Remove unused include.
10489 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10491         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10492         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10493         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10494         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10496 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10497             Helge Deller <deller@gmx.de>
10499         [BZ #17508]
10500         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10501         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10502         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10504 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10506         [BZ #14132]
10507         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10508         Remove macro definition.
10509         (__ashrdi3_v_glibc20): Likewise.
10510         (__lshrdi3_v_glibc20): Likewise.
10511         (__cmpdi2_v_glibc20): Likewise.
10512         (__ucmpdi2_v_glibc20): Likewise.
10513         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10514         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10515         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10516         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10517         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10518         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10520 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10522         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10523         old GNU extension [0] syntax.
10524         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10525         alloca rather than an array member with variable length.
10526         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10527         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10528         (parse_opt): ... here.  Likewise use alloca there.
10529         Validate the -i argument before checking for rootness.
10530         (send_shutdown): New function, broken out of ...
10531         (parse_opt): ... here.
10533 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10535         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10536         macro to get at the _rt_local_ro field.
10537         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10538         ([PIC] case) or _dl_hwcap ([!PIC] case).
10539         * sysdeps/arm/setjmp.S: Likewise.
10541         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10542         * sysdeps/arm/configure.ac: New check to define it.
10543         * sysdeps/arm/configure: Regenerated.
10544         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10545         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10546         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10547         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10548         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10549         Use move/movt pair instead of a load.
10550         (LDST_GLOBAL): Macro removed.
10551         (LDR_GLOBAL): New macro replaces it.
10552         (LDR_HIDDEN): New macro.
10553         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10554         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10556         * setjmp/tst-setjmp-static.c: New file.
10557         * setjmp/Makefile (tests): Add it.
10558         (tests-static): New variable.
10560 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10562         [BZ #17485]
10563         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10565 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10567         [BZ #14132]
10568         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10570 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10572         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10574 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10576         * io/fts.c (dirent_not_directory): New function.
10577         (fts_build): Call it.
10579 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10581         * nptl/version.c (__nptl_main): Use normal __write rather than
10582         INTERNAL_SYSCALL.
10583         (banner): Update copyright years.
10585         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10586         gettimeofday.
10587         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10588         * nptl/pthread_cond_timedwait.c: Likewise.
10589         * nptl/pthread_mutex_timedlock.c: Likewise.
10590         * nptl/sem_timedwait.c: Likewise.
10592         * sysdeps/nptl/bits/libc-lock.h
10593         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10594         (__libc_lock_init_recursive): Return void, not 0.
10595         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10596         (__libc_rwlock_init): Likewise.
10597         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10599 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10601         [BZ #15215]
10602         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10603         (__pthread_once_slow): ... here.
10604         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10605         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10607 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10609         [BZ #15215]
10610         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10611         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10612         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10613         * nptl/pthread_once.c (__pthread_once): Likewise.
10614         Update comments.
10616 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10618         [BZ #14138]
10619         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10620         name.
10621         (writev): Use __libc_writev as strong name.
10622         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10623         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10625 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10627         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10629         * sysdeps/i386/nptl/tls.h
10630         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10631         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10632         New macros.
10633         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10634         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10635         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10636         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10637         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10638         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10640         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10641         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10642         on [__NR_futex].
10643         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10644         broken out of ...
10645         (__pthread_mutex_init): ... here.  Call it.
10646         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10647         Conditionalize PI cases on [__NR_futex].
10648         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10649         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10650         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10652         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10653         conditional on [SIGSETXID].
10654         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10655         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10656         is defined.  Likewise for SIGSETXID.
10657         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10658         Conditionalize definitions on [SIGSETXID].
10659         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10660         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10661         unblocking on [SIGCANCEL].
10663         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10664         [__NR_set_robust_list].
10666 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10668         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10669         (do_compare): Likewise.
10671 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10673         [BZ #15884]
10674         * string/strcoll_l.c: Don't include stdio.h.
10675         (coll_seq): Remove members idxarr and rulearr.
10676         (get_next_seq_cached): Remove function.
10677         (get_next_seq): Likewise.
10678         (get_next_seq_nocache): Rename to get_next_seq.
10679         (do_compare): Remove function.
10680         (do_compare_nocache): Rename to do_compare.
10681         (STRCOLL): Remove weight and rules cache.
10683 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10685         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10686         * sysdeps/arm/sfp-machine.h: ... to here.
10687         * sysdeps/arm/Implies: Remove arm/soft-fp.
10689 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10691         * conform/data/sys/utsname.h-data (*_t): Allow.
10692         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10693         [POSIX] (WEXITED): Do not expect constant.
10694         [POSIX] (WSTOPPED): Likewise.
10695         [POSIX] (WNOHANG): Likewise.
10696         [POSIX] (WNOWAIT): Likewise.
10697         [POSIX] (siginfo_t): Do not expect type or elements.
10698         [POSIX] (pid_t): Do not expect type.
10699         [POSIX] (signal.h): Do not allow header.
10700         [POSIX] (sys/resource.h): Likewise.
10701         [POSIX] (si_*): Do not allow pattern.
10702         [POSIX] (W*): Likewise.
10703         [POSIX] (P_*): Likewise.
10704         [POSIX] (BUS_*): Likewise.
10705         [POSIX] (CLD_*): Likewise.
10706         [POSIX] (FPE_*): Likewise.
10707         [POSIX] (ILL_*): Likewise.
10708         [POSIX] (POLL_*): Likewise.
10709         [POSIX] (SEGV_*): Likewise.
10710         [POSIX] (SI_*): Likewise.
10711         [POSIX] (TRAP_*): Likewise.
10712         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10713         variable.
10715 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10717         [BZ #12926]
10718         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10719         infinite loop when __recvmsg returns 0.
10721 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10723         * CANCEL-FCT-WAIVE: Remove file.
10724         * CANCEL-FILE-WAIVE: Likewise.
10726         [BZ #14132]
10727         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10728         instead of INTVARDEF.
10729         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10730         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10731         rtld_hidden_data_def instead of INTVARDEF.
10732         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10733         * elf/dl-deps.c (expand_dst): Likewise.
10734         * elf/dl-load.c (_dl_dst_count): Likewise.
10735         (_dl_dst_substitute): Likewise.
10736         (decompose_rpath): Likewise.
10737         (_dl_init_paths): Likewise.
10738         (open_path): Likewise.
10739         (_dl_map_object): Likewise.
10740         * elf/rtld.c (dl_main): Likewise.
10741         (process_dl_audit): Likewise.
10742         (process_envvars): Likewise.
10743         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10744         Remove declaration.
10745         (__libc_enable_secure): Use rtld_hidden_proto.
10747 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10749         * elf/dl-load.c
10750         (add_path): New function broken out of _dl_rtld_di_serinfo.
10751         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10753 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10755         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10756         parentheses around macro arguments.
10757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10760         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10761         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10765         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10768         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10769         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10770         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10772         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10773         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10783         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10786         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10787         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10788         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10790         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10791         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10792         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10793         Likewise.
10794         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10795         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10796         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10798         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10799         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10800         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10801         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10802         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10803         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10804         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10805         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10806         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10807         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10808         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10809         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10811         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10812         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10813         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10815         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10816         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10817         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10818         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10819         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10820         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10821         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10822         (_FP_FRAC_SRS_1): Likewise.
10823         (_FP_FRAC_CLZ_1): Likewise.
10824         (_FP_MUL_MEAT_1_imm): Likewise.
10825         (_FP_MUL_MEAT_1_wide): Likewise.
10826         (_FP_MUL_MEAT_1_hard): Likewise.
10827         (_FP_SQRT_MEAT_1): Likewise.
10828         (_FP_FRAC_ASSEMBLE_1): Likewise.
10829         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10830         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10831         (__FP_CLZ_2): Likewise.
10832         (_FP_MUL_MEAT_2_wide): Likewise.
10833         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10834         (_FP_MUL_MEAT_2_gmp): Likewise.
10835         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10836         (_FP_SQRT_MEAT_2): Likewise.
10837         (_FP_FRAC_ASSEMBLE_2): Likewise.
10838         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10839         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10840         (_FP_FRAC_CLZ_4): Likewise.
10841         (_FP_MUL_MEAT_4_wide): Likewise.
10842         (_FP_MUL_MEAT_4_gmp): Likewise.
10843         (_FP_SQRT_MEAT_4): Likewise.
10844         (_FP_FRAC_ASSEMBLE_4): Likewise.
10845         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10846         * soft-fp/op-common.h (_FP_CMP): Likewise.
10847         (_FP_CMP_EQ): Likewise.
10848         (_FP_CMP_UNORD): Likewise.
10849         (_FP_TO_INT): Likewise.
10850         (_FP_FROM_INT): Likewise.
10851         [!__FP_CLZ] (__FP_CLZ): Likewise.
10852         (_FP_DIV_HELP_imm): Likewise.
10853         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10854         Likewise.
10855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10866         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10870         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10871         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10879         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10883         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10884         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10886         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10887         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10888         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10889         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10890         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10891         (FP_UNPACK_RAW_SP): Likewise.
10892         (FP_PACK_RAW_S): Likewise.
10893         (FP_PACK_RAW_SP): Likewise.
10894         (FP_UNPACK_S): Likewise.
10895         (FP_UNPACK_SP): Likewise.
10896         (FP_UNPACK_SEMIRAW_S): Likewise.
10897         (FP_UNPACK_SEMIRAW_SP): Likewise.
10898         (FP_PACK_S): Likewise.
10899         (FP_PACK_SP): Likewise.
10900         (FP_PACK_SEMIRAW_S): Likewise.
10901         (FP_PACK_SEMIRAW_SP): Likewise.
10902         (_FP_SQRT_MEAT_S): Likewise.
10903         (FP_CMP_S): Likewise.
10904         (FP_CMP_EQ_S): Likewise.
10905         (FP_CMP_UNORD_S): Likewise.
10906         (FP_TO_INT_S): Likewise.
10907         (FP_FROM_INT_S): Likewise.
10909         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10911         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10912         (FP_EX_INVALID_IMZ): Likewise.
10913         (FP_EX_INVALID_IMZ_FMA): Likewise.
10914         (FP_EX_INVALID_ISI): Likewise.
10915         (FP_EX_INVALID_ZDZ): Likewise.
10916         (FP_EX_INVALID_IDI): Likewise.
10917         (FP_EX_INVALID_SQRT): Likewise.
10918         (FP_EX_INVALID_CVI): Likewise.
10919         (FP_EX_INVALID_VC): Likewise.
10920         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10921         "invalid" exceptions.
10922         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10923         (_FP_ADD_INTERNAL): Likewise.
10924         (_FP_MUL): Likewise.
10925         (_FP_FMA): Likewise.
10926         (_FP_DIV): Likewise.
10927         (_FP_CMP_CHECK_NAN): Likewise.
10928         (_FP_SQRT): Likewise.
10929         (_FP_TO_INT): Likewise.
10930         (FP_EXTEND): Likewise.
10932 2014-10-09  Allan McRae  <allan@archlinux.org>
10934         * po/fr.po: Update French translation from translation project.
10936 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10938         [BZ #14132]
10939         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10940         of INTDEF.
10941         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10942         (__cxa_atexit): Use libc_hidden_proto.
10943         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10945         [BZ #14132]
10946         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10947         declaration.
10948         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10949         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10950         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10951         [!_ISOMAC] (__iswctype_internal): Likewise.
10952         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10953         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10954         alias.
10955         (fcntl): Remove __fcntl_internal alias.
10956         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10957         __connect_internal alias.
10958         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10959         Likewise.
10961         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10962         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10963         FP_DENORM_ZERO.
10964         (_FP_CHECK_FLUSH_ZERO): New macro.
10965         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10966         (_FP_CMP): Likewise.
10967         (_FP_CMP_EQ): Likewise.
10968         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10969         FP_DENORM_ZERO.
10970         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10971         (FP_TRUNC): Likewise.
10973         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10974         treated as invalid conversion, not as normal exponent.
10976         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10977         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10978         (_FP_CMP_EQ): Likewise.
10979         (_FP_CMP_UNORD): Likewise.
10980         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10981         (FP_CMP_EQ_D): Likewise.
10982         (FP_CMP_UNORD_D): Likewise.
10983         * soft-fp/extended.h (FP_CMP_E): Likewise.
10984         (FP_CMP_EQ_E): Likewise.
10985         (FP_CMP_UNORD_E): Likewise.
10986         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10987         (FP_CMP_EQ_Q): Likewise.
10988         (FP_CMP_UNORD_Q): Likewise.
10989         * soft-fp/single.h (FP_CMP_S): Likewise.
10990         (FP_CMP_EQ_S): Likewise.
10991         (FP_CMP_UNORD_S): Likewise.
10992         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10993         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10994         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10995         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10996         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10997         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10998         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10999         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11000         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11001         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11002         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11003         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11004         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11005         to FP_CMP_Q.
11006         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11007         FP_CMP_Q.
11008         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11009         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11010         FP_CMP_EQ_Q.
11011         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11012         FP_CMP_Q.
11013         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11014         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11015         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11016         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11017         FP_CMP_EQ_Q.
11018         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11019         FP_CMP_Q.
11020         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11021         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11022         FP_CMP_EQ_Q.
11023         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11024         FP_CMP_Q.
11025         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11026         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11027         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11028         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11029         FP_CMP_EQ_Q.
11031         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11032         a subnormal result, set the underflow exception if trapping on
11033         underflow is enabled.
11034         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11035         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11036         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11037         redefine to 0.
11038         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11039         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11040         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11041         * soft-fp/extendxftf2.c (__extendxftf2): Use
11042         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11044         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11045         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11046         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11047         FP_HANDLE_EXCEPTIONS.
11048         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11049         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11050         FP_HANDLE_EXCEPTIONS.
11051         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11052         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11053         FP_HANDLE_EXCEPTIONS.
11054         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11055         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11056         FP_HANDLE_EXCEPTIONS.
11058 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11060         [BZ #14132]
11061         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11062         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11063         use INTUSE.
11064         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11065         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11066         Remove alias.
11067         (__adjtimex): Define using libc_hidden_ver.
11068         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11069         Remove declaration.
11070         (ntp_gettime): Call __adjtimex directly.
11071         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11072         Remove declaration.
11073         (ntp_gettimex): Call __adjtimex directly.
11074         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11075         __adjtimex_internal alias.
11077 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11079         [BZ #17460]
11080         * nscd/nscd.c (more_help): Rewrite list of tables collection
11081         using xstrdup and asprintf.
11083         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11085 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11086             Roland McGrath  <roland@hack.frob.com>
11088         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11089         (do_lookup_unique): ... local function 'enter' here; update callers.
11091 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11093         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11094         compat_symbol calls on [SHARED].
11095         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11096         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11097         Remove.
11098         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11099         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11100         (oldsetrlimit): Remove.
11101         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11103         (lchown): New syscall entry.
11104         (oldsetrlimit): Remove.
11105         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11106         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11107         (oldsetrlimit): Remove.
11108         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11110         [BZ #14138]
11111         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11112         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11113         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11114         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11115         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11116         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11117         (fchown): Likewise.
11118         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11119         (fchown): Likewise.
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11121         Likewise.
11123 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11125         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11126         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11127         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11128         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11129         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11130         Likewise.
11131         (__old_sem_post): Likewise.
11133 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11135         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11136         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11137         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11138         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11139         Use INLINE_VSYSCALL macro.
11140         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11141         __vdso_clock_gettime.
11142         * sysdeps/unix/sysv/linux/tile/init-first.c
11143         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11144         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11145         __vdso_clock_gettime.
11147         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11148         to set up frame more cleanly.
11150         * sysdeps/tile/memcmp.c: New file.
11152         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11154         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11155         * sysdeps/tile/tilegx/strcasestr.c: New file.
11156         * sysdeps/tile/tilegx/strnlen.c: New file.
11157         * sysdeps/tile/tilegx/strstr.c: New file.
11159         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11161 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11163         * nptl/tst-setuid3.c: Write errors to stdout.
11165 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11167         * elf/dl-deps.c
11168         (preload): New functions broken out of _dl_map_object_deps.
11169         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11171 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11173         [BZ #14138]
11174         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11175         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11177 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11179         * sysdeps/mips/strcmp.S: New.
11181 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11183         [BZ #14138]
11184         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11185         (linkat): Likewise.
11186         (mkdirat): Likewise.
11187         (readlinkat): Likewise.
11188         (renameat): Likewise.
11189         (symlinkat): Likewise.
11190         (unlinkat): Likewise.
11191         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11192         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11193         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11194         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11195         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11196         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11197         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11199 2014-09-30  Will Newton  <will.newton@linaro.org>
11201         * math/math.h: Define long double math functions if
11202         _LIBC_TEST is defined.
11203         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11205         * localedata/Makefile: Move assignment to tests-special
11206         into an ifdef testing run-built-tests.
11207         * timezone/Makefile: Likewise.
11209 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11211         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11212         with $(BASH) not $(SHELL).
11214 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11215             Matthew LeGendre  <legendre1@llnl.gov>
11217         [BZ #17411]
11218         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11219         l_reloc_result.
11221 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11223         * stdio-common/printf_fp.c
11224         (hack_digit): New function, broken out of ...
11225         (__printf_fp): ... local function here.  Update call sites.
11226         hack_digit now takes an additional parameter that is a pointer
11227         to a struct of the referenced locals.  Those locals moved inside
11228         the struct and references updated.
11230 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11232         * aclocal.m4: Require autoconf 2.69.
11233         * configure: Regenerated.
11234         * sysdeps/aarch64/configure: Likewise.
11235         * sysdeps/alpha/configure: Likewise.
11236         * sysdeps/arm/armv7/configure: Likewise.
11237         * sysdeps/arm/configure: Likewise.
11238         * sysdeps/ia64/configure: Likewise.
11239         * sysdeps/mach/configure: Likewise.
11240         * sysdeps/mips/configure: Likewise.
11241         * sysdeps/s390/configure: Likewise.
11242         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11245         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11246         file.
11247         * sysdeps/ia64/configure.ac: Likewise.
11249 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11252         specify symbol version for ld.so.  Do not include entry for
11253         libpthread.
11254         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11255         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11256         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11258         [BZ #14171]
11259         * Makeconfig [$(build-shared) = yes]
11260         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11261         makefiles.
11262         [$(build-shared) = yes && $(soversions.mk-done) = t]
11263         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11264         [$(build-shared) = yes && $(soversions.mk-done) = t]
11265         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11266         to Makerules.
11267         [$(build-shared) = yes && $(soversions.mk-done) = t]
11268         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11269         here.
11270         [$(build-shared) = yes && $(soversions.mk-done) = t]
11271         (common-generated): Don't append gnu/lib-names.h and
11272         gnu/lib-names.stmp here.
11273         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11274         (lib-names-h-abi): New variable.
11275         [$(build-shared) = yes && $(soversions.mk-done) = t]
11276         (lib-names-stmp-abi): Likewise.
11277         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11278         abi-variants] (before-compile): Append
11279         $(common-objpfx)$(lib-names-h-abi).
11280         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11281         abi-variants] (common-generated): Append gnu/lib-names.h.
11282         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11283         abi-variants] (install-others-nosubdir): Depend on
11284         $(inst_includedir)/$(lib-names-h-abi).
11285         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11286         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11287         [$(build-shared) = yes && $(soversions.mk-done) = t]
11288         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11289         [$(build-shared) = yes && $(soversions.mk-done) = t]
11290         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11291         [$(build-shared) = yes && $(soversions.mk-done) = t]
11292         (common-generated): Append $(lib-names-h-abi) and
11293         $(lib-names-stmp-abi).
11294         * scripts/lib-names.awk: Do not handle multi being set.
11295         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11296         Remove variable.
11297         (abi-lp64_be-ld-soname): Likewise.
11298         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11299         Likewise.
11300         (abi-hard-ld-soname): Likewise.
11301         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11302         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11303         Remove variable.
11304         (abi-o32_hard-ld-soname): Likewise.
11305         (abi-o32_soft_2008-ld-soname): Likewise.
11306         (abi-o32_hard_2008-ld-soname): Likewise.
11307         (abi-n32_soft-ld-soname): Likewise.
11308         (abi-n32_hard-ld-soname): Likewise.
11309         (abi-n32_soft_2008-ld-soname): Likewise.
11310         (abi-n32_hard_2008-ld-soname): Likewise.
11311         (abi-n64_soft-ld-soname): Likewise.
11312         (abi-n64_hard-ld-soname): Likewise.
11313         (abi-n64_soft_2008-ld-soname): Likewise.
11314         (abi-n64_hard_2008-ld-soname): Likewise.
11315         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11316         Likewise.
11317         (abi-64-v2-ld-soname): Likewise.
11318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11319         ld.so entries.
11320         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11321         variable.
11322         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11323         entry.
11324         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11325         variable.
11326         (abi-64-ld-soname): Likewise.
11327         (abi-x32-ld-soname): Likewise.
11328         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11329         entry.
11330         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11332 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11334         [BZ #14138]
11335         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11336         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11337         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11338         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11339         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11340         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11341         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11342         syscall entry for GLIBC_2.2 symbol version.
11343         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11344         Likewise.
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11346         (setrlimit): Likewise.
11347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11348         Likewise.
11350 2014-09-23  Will Newton  <will.newton@linaro.org>
11352         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11353         _LINUX_ARM_SYSDEP_H include guard too.
11354         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11355         define.
11357 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11359         * sysdeps/unix/sysv/linux/eventfd.c:
11360         Make first argument unsigned.
11361         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11362         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11364 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11366         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11367         * socket/sys/socket.h: Likewise
11368         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11370 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11372         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11374 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11376         * time/tst-ftime.c: New test.
11377         * time/Makefile (tests): Add tst-ftime.
11379 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11381         * soft-fp/extended.h: Fix comment formatting.
11382         * soft-fp/op-1.h: Likewise.
11383         * soft-fp/op-2.h: Likewise.
11384         * soft-fp/op-4.h: Likewise.
11385         * soft-fp/op-8.h: Likewise.
11386         * soft-fp/op-common.h: Likewise.
11387         * soft-fp/soft-fp.h: Likewise.
11389         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11391 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11393         [BZ #6652]
11394         * Makeconfig (soversions-default-setname): Remove variable.
11395         ($(common-objpfx)soversions.i): Don't pass default_setname to
11396         soversions.awk.
11397         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11398         oldest_abi to abi-versions.awk.
11399         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11400         * config.make.in (oldest-abi): Remove variable.
11401         * configure.ac (--enable-oldest-abi): Remove configure option.
11402         * configure: Regenerated.
11403         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11404         text.
11405         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11406         * scripts/soversions.awk: Do not handle default_setname variable.
11407         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11408         variable.
11409         * sysdeps/mach/hurd/configure: Regenerated.
11410         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11411         variable.
11412         * sysdeps/unix/sysv/linux/configure: Regenerated.
11414 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11416         * elf/Makefile (CFLAGS-interp.c): Remove.
11417         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11418         path string.
11419         * elf/interp.c: Include generated runtime-linker.h
11421         * Makerules (lib%.so): Don't include $(+interp) in
11422         prerequisites.
11423         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11424         * dlfcn/eval.c: Remove file.
11426         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11427         macros.
11429         [BZ #17266]
11430         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11431         4.2 and newer.
11433         [BZ #17370]
11434         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11436 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11437             Jakub Jelinek  <jakub@redhat.com>
11439         [BZ #17266]
11440         * libio/stdio.h: Check definition of __fortify_function
11441         instead of __extern_always_inline to include bits/stdio2.h.
11442         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11443         check if __extern_always_inline is defined.
11444         [__USE_MISC || __USE_XOPEN]: Likewise.
11445         [__USE_ISOC99] Likewise.
11446         * misc/sys/cdefs.h (__fortify_function): Define only if
11447         __extern_always_inline is defined.
11448         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11449         __extern_always_inline and __extern_inline only for g++-4.3
11450         and newer or a compatible gcc.
11452 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11454         [BZ #17371]
11455         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11456         last change to handle zero prefix length.
11458 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11460         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11461         _SC_REGEX_VERSION.
11463         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11464         _POSIX_RAW_SOCKETS.
11466 2014-09-13  Allan McRae  <allan@archlinux.org>
11468         * po/ru.po: Update Russian translation from translation project.
11470 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11472         * locale/programs/locale.c (show_locale_vars): Inline local function
11473         into its sole call site.  Clean up some style nits.
11474         (print_item): New function, broken out of ...
11475         (show_info): ... local function here.  Clean up style nits.
11477         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11478         out of ...
11479         (set_class_defaults): ... local function set_default here.
11480         Define set_default as a macro locally to pass constant parameters.
11481         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11482         rather than a shared local.
11484         * stdlib/rpmatch.c (try): New function, broken out of ...
11485         (rpmatch): ... local function here.  Also, prototypify definition.
11487 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11489         * scripts/soversions.awk: Do not handle configuration names.
11490         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11491         vendor and os variables to soversions.awk.
11492         * configure.ac: Do not modify gnu-* host_os.
11493         * configure: Regenerated
11494         * shlib-versions: Remove first column with configuration names.
11495         * nptl/shlib-versions: Likewise.
11496         * nptl_db/shlib-versions: Likewise.
11497         * sysdeps/hppa/shlib-versions: Likewise.
11498         * sysdeps/m68k/shlib-versions: Likewise.
11499         * sysdeps/mach/hurd/shlib-versions: Likewise.
11500         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11501         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11502         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11503         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11504         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11505         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11506         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11507         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11509         Likewise.
11510         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11511         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11512         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11513         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11514         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11515         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11516         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11517         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11520         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11522         Regenerated.
11523         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11525         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11527         * shlib-versions: Remove OS-specific entries.  Moved to files in
11528         sysdeps.
11529         * sysdeps/mach/hurd/shlib-versions: New file.
11530         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11532         * nptl/shlib-versions: Remove architecture-specific entries.
11533         Moved to files in sysdeps.
11534         * shlib-versions: Likewise.
11535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11536         file.
11537         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11538         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11539         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11540         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11542         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11543         (UDP_NO_CHECK6_RX): Likewise.
11545 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11547         * sysdeps/posix/sysconf.c (__sysconf): Spell
11548         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11550 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11552         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11553         loading.
11554         * iconv/Versions (__gconv_transliterate): Export for use from
11555         gconv modules.
11556         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11557         (struct __gconv_trans_data, __gconv_trans_fct,
11558         __gconv_trans_context_fct, __gconv_trans_query_fct,
11559         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11560         definitions.
11561         (struct __gconv_step_data): Remove __trans member.
11562         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11563         longer hidden.  Remove unused trans_data argument.
11564         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11565         (__gconv_translit_find): Remove declaration.
11566         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11567         prototype.
11568         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11569         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11570         trans_data argument.  Add hidden definition.
11571         (__gconv_translit_find): Remove.
11572         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11573         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11574         * iconv/skeleton.c: Remove transliteration initialization.
11575         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11576         __gconv_step_data initialization.
11577         * libio/iofwide.c (__libio_translit_): Remove.
11578         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11579         * wcsmbs/btowc.c (__btowc): Likewise.
11580         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11581         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11582         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11583         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11584         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11585         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11586         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11587         * wcsmbs/wctob.c (wctob): Likewise.
11589 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11591         [BZ #16194]
11592         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11593         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11594         register usage.
11595         * sysdeps/x86/Makefile: Adjust.
11597 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11598             Roland McGrath  <roland@hack.frob.com>
11600         * locale/weight.h: Add include guard.
11601         (findidx): Make static rather than auto; take new parameters
11602         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11603         * locale/weightwc.h: Likewise.
11604         * posix/fnmatch_loop.c
11605         (FCT): Change type of EXTRA from int32_t to wint_t.
11606         Don't include either header inside the function.
11607         Call FINDIDX rather than findidx, and pass new arguments.
11608         #undef FINDIDX at the end of the file.
11609         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11610         FINDIDX before including fnmatch_loop.c for the non-wide version.
11611         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11612         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11613         for the wide version.
11614         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11615         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11616         Pass new arguments to findidx.
11617         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11618         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11619         Don't #include it inside the function.  Pass new arguments to findidx.
11620         * posix/regex_internal.h
11621         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11622         (re_string_elem_size_at): Don't #include it inside the function.
11623         Pass new arguments to findidx.
11624         * string/strcoll_l.c: #include WEIGHT_H at top level.
11625         (get_next_seq): Don't #include it inside the function.
11626         Pass new arguments to findidx.
11627         (get_next_seq_nocache): Likewise.
11628         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11629         (STRXFRM): Don't #include it inside the function.
11630         Pass new arguments to findidx.
11632 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11634         [BZ #17344]
11635         * malloc/malloc.c (unlink): Turn asserts into a call to
11636         malloc_printerr.
11638 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11640         [BZ #17370]
11641         * libio/wfileops (do_ftell_wide): Free OUT.
11643 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11645         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11647 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11649         [BZ #17363]
11650         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11651         group if the current group is empty.
11653 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11655         * benchtests/bench-memset.c (test_main): Add more test from size
11656         from 32 to 512 bytes.
11657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11658         Add POWER8 memset object.
11659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11660         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11661         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11662         implementation.
11663         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11664         Likewise.
11665         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11666         multiarch POWER8 memset optimization.
11667         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11668         POWER8 memset optimization.
11670         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11671         Remove bzero multiarch objects.
11672         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11673         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11674         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11675         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11676         Remove define.
11677         [__bzero]: Redefine to specific name.
11678         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11679         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11680         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11681         define.
11682         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11683         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11685 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11687         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11688         warnings into errors.
11690         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11691         __cxa_thread_atexit_impl prototype.
11693 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11695         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11696         Fix capitalization of error message.
11698 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11700         * sysdeps/mips/preconfigure: Modify ABI tests.
11702 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11704         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11706 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11707             Carlos O'Donell  <carlos@systemhalted.org>
11709         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11710         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11711         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11712         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11713         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11714         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11715         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11716         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11717         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11718         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11719         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11720         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11721         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11722         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11723         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11724         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11725         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11726         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11727         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11728         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11730         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11731         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11732         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11733         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11734         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11735         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11736         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11737         Deconditionalize the code that was previously under [RESET_PID].
11738         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11739         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11740         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11741         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11742         include sysdep.h.
11744 2014-09-08  Allan McRae  <allan@archlinux.org>
11746         * version.h (RELEASE): Set to "development".
11747         (VERSION): Set to "2.20.90"
11749 2014-09-07  Allan McRae  <allan@archlinux.org
11751         * version.h (RELEASE): Set to "stable".
11752         (VERSION): Set to "2.20"
11753         * include/features.h (__GLIBC_MINOR__): Set to 20.
11755         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11756         Liebler.
11758         * po/ko.po: Update Korean translation from translation project.
11760 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11762         [BZ #17354]
11763         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11764         macro for handling signed relocations.
11766 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11768         [BZ #17325]
11769         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11770         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11771         assert.
11772         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11773         * iconvdata/ibm935.c (BODY): Likewise.
11774         * iconvdata/ibm937.c (BODY): Likewise.
11775         * iconvdata/ibm939.c (BODY): Likewise.
11776         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11777         assert.
11778         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11779         script.
11780         * iconvdata/run-iconv-test.sh: New test loop for checking for
11781         decoder crashers.
11783 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11785         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11786         libm_hidden_ver.
11788 2014-09-01  Allan McRae  <allan@archlinux.org>
11790         * po/eo.po: Update Esperanto translation from translation project.
11792         * po/ca.po: Update Catalan translation from translation project.
11794 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11796         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11797         __proc_dostop call.
11799 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11801         [BZ #17319]
11802         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11803         to call set_thread_area instead of hand written asm.
11804         (__NR_set_thread_area): Removed define.
11805         (TLS_FLAG_WRITABLE): Likewise.
11806         (__ASSUME_SET_THREAD_AREA): Remove check.
11807         (TLS_EBX_ARG): Remove define.
11808         (TLS_LOAD_EBX): Likewise.
11810 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11812         Simplify atomicity of socket creation in bind.
11814         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11815         looking up the name after linking the file.
11817 2014-08-27  Allan McRae  <allan@archlinux.org>
11819         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11821 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11823         [BZ #17187]
11824         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11825         trans_compare, open_translit, __gconv_translit_find):
11826         Remove module loading code.
11828 2014-08-26  Allan McRae  <allan@archlinux.org>
11830         * po/vi.po: Update Vietnamese translation from translation project.
11832         * po/uk.po: Update Ukrainian translation from translation project.
11834         * po/fr.po: Update French translation from translation project.
11836         * po/ru.po: Update Russian translation from translation project.
11838         * po/pl.po: Update Polish translation from translation project.
11840         * po/cs.po: Update Czech translation from translation project.
11842         * po/de.po: Update German translation from translation project.
11844         * po/bg.po: Update Bulgarian translation from translation project.
11846         * po/sv.po: Update Sweedish translation from translation project.
11848         * po/nl.po: Update Dutch translation from translation project.
11850         * po/es.po: Update Spanish translation from translation project.
11852 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11854         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11856         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11857         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11858         (CPPFLAGS-iconvconfig): Likewise.
11859         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11861         * include/libc-symbols.h: Remove unnecessary check for
11862         NOT_IN_libc.
11863         * nptl/pthreadP.h: Likewise.
11864         * sysdeps/aarch64/setjmp.S: Likewise.
11865         * sysdeps/alpha/setjmp.S: Likewise.
11866         * sysdeps/arm/sysdep.h: Likewise.
11867         * sysdeps/i386/setjmp.S: Likewise.
11868         * sysdeps/m68k/setjmp.c: Likewise.
11869         * sysdeps/posix/getcwd.c: Likewise.
11870         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11871         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11872         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11873         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11874         * sysdeps/sh/sh3/setjmp.S: Likewise.
11875         * sysdeps/sh/sh4/setjmp.S: Likewise.
11876         * sysdeps/unix/alpha/sysdep.h: Likewise.
11877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11878         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11879         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11885         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11887         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11888         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11890         * sysdeps/x86_64/setjmp.S: Likewise.
11892 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11894         [BZ #17263]
11895         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11896         <stdint.h>.
11897         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11898         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11900 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11902         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11904         [BZ #17262]
11905         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11906         and __x86_64__ when disabling x87 inline functions.
11908 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11910         [BZ #17259]
11911         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11912         asm statement with __cpuid_count.
11914 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11916         * configure.ac: Change __ehdr_start code to dereference the struct.
11917         Run readelf on the output to look for relocations.
11918         * configure: Regenerated.
11920 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11922         [BZ #17261]
11923         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11924         value to 0.
11925         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11927 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11929         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11931 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11933         [BZ #16892]
11934         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11935         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11937 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11939         * malloc/malloc.c: Fix typo in comment.
11941 2014-08-09  Allan McRae  <allan@archlinux.org>
11943         * Regenerate libc.po.
11945 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11947         * intl/tst-gettext2.sh: Check every lang file for creation.
11949 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11951         * sysdeps/aarch64/fpu/math_private.h
11952         (libc_feholdsetround_noex_aarch64_ctx): New function.
11954 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11956         * sysdeps/arm/armv6/strcpy.S (strcpy):
11957         Fix performance issue in misaligned cases.
11959 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11961         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11962         Move definition from termios.h.
11963         (struct termio): Likewise.
11964         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11965         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11966         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11967         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11968         Likewise.
11969         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11970         Move definition to ioctl-types.h
11971         (struct termio): Likewise.
11972         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11973         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11974         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11975         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11976         Likewise.
11978 2014-08-05  Richard Henderson  <rth@redhat.com>
11980         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11981         exceptions.
11982         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11983         Add fraiseexcpt.
11984         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11985         Use __feraiseexcept.
11986         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11987         Protect libm symbols with IS_IN_libm.
11989         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11991 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11993         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11995 2014-08-04  Will Newton  <will.newton@linaro.org>
11997         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11998         file.
12000 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12002         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12003         variants for each function.
12005 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12007         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12008         appended ...
12009         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12010         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12011         appended ...
12012         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12013         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12014         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12015         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12016         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12017         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12018         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12019         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12020         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12021         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12022         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12023         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12024         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12025         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12026         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12027         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12028         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12029         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12030         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12031         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12032         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12033         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12034         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12035         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12036         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12037         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12038         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12039         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12040         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12041         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12042         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12043         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12044         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12045         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12046         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12047         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12048         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12049         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12050         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12051         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12052         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12053         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12054         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12055         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12056         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12057         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12058         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12060         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12062         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12063         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12064         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12065         Update #include.
12066         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12067         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12069 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12071         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12072         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12073         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12074         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12075         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12076         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12078 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12080         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12081         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12082         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12083         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12085 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12087         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12088         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12089         (__libc_vfork): Define function under this name.
12090         (__vfork): Define as an alias.
12091         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12092         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12094 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12096         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12097         that was previously under [RESET_PID].
12098         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12100 2014-08-04  Andreas Schwab  <schwab@suse.de>
12102         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12104 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12106         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12107         (main): Likewise.
12109 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12111         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12113 2014-08-01  Richard Henderon  <rth@redhat.com>
12115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12116         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12117         typo in exact zero test.
12118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12119         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12122 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12124         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12125         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12126         * sysdeps/arm/sysdep.h: ... here.
12127         [!__ASSEMBLER__]: Include <stdint.h>.
12129 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12131         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12132         (HAVE_WCTYPE_H): Likewise.
12133         (HAVE_ISWCTYPE): Likewise.
12134         (ENABLE_NLS): Likewise.
12135         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12136         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12138         * posix/regex_internal.c: Check if DEBUG is defined and is
12139         set.
12141         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12142         (HAVE_MBSRTOWCS): Likewise.
12143         * posix/fnmatch.c: Include string.h unconditionally.
12145 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12147         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12148         reversal.
12150 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12152         * sysdeps/generic/safe-fatal.h: New file.
12153         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12154         * nptl/forward.c: Include it.
12155         (__pthread_unwind): Use __safe_fatal as default action, rather
12156         than a bogus use of INTERNAL_SYSCALL that could never work.
12158         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12159         * configure.ac (libc_cv_builtin_trap): New test.
12160         * configure: Regenerated.
12161         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12162         (ABORT_INSTRUCTION): Define using __builtin_trap.
12164         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12165         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12166         * sysdeps/nptl/nptl-signals.h: New file.
12167         * nptl/pthreadP.h: Include <nptl-signals.h>.
12169 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12171         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12172         (ONE_DIRECTION): Define.
12173         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12174         (ONE_DIRECTION): Define.
12175         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12176         (ONE_DIRECTION): Define.
12178 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12180         * sysdeps/s390/Makefile: Delete file.
12181         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12182         * sysdeps/s390/__longjmp.c: Delete file.
12183         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12184         Remove fields __flags and __reserved.
12185         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12186         and add versioning.
12187         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12188         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12189         * sysdeps/s390/rtld-setjmp.S: Likewise.
12190         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12191         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12192         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12193         * sysdeps/s390/s390-32/setjmp.S: ... here.
12194         Add versioning.
12195         (__sigsetjmp): Remove setting __flags field.
12196         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12197         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12198         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12199         * sysdeps/s390/s390-64/setjmp.S: ... here.
12200         Add versioning.
12201         (__sigsetjmp): Remove setting __flags field.
12202         * sysdeps/s390/setjmp.S: Delete file.
12203         * sysdeps/s390/sigjmp.c: Likewise.
12204         * sysdeps/s390/v1-longjmp.c: Likewise.
12205         * sysdeps/s390/v1-setjmp.h: Likewise.
12206         * sysdeps/s390/v1-sigjmp.c: Likewise.
12207         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12208         Remove v1-longjmp_chk.
12209         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12210         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12211         Include debug/longjmp_chk.c and add versioning.
12212         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12213         Include nptl/pt-longjmp.c and add versioning.
12214         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12215         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12216         Include __longjmp.c.
12217         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12218         Move to ...
12219         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12220         (__getcontext): Remove setting __flags field.
12221         Add versioning.
12222         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12223         Don't restore upper high grps.
12224         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12225         Likewise.
12226         (__swapcontext): Remove setting uc_flags field.
12227         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12228         Delete file.
12229         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12230         Include __longjmp.c.
12231         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12232         Move to ...
12233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12234         (__getcontext): Remove setting __flags field.
12235         Add versioning.
12236         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12237         (__swapcontext): Remove setting uc_flags field.
12238         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12239         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12240         Remove fields uc_high_gprs and __reserved.
12241         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12242         New file with reverted content.
12243         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12244         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12245         Regenerated.
12246         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12247         Regenerated.
12249 2014-07-31  Andreas Schwab  <schwab@suse.de>
12251         * config.h.in (HAVE_IFUNC): Define to 0.
12252         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12253         definedness.
12255 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12258         memmove-avx-unaligned, memcpy-avx-unaligned and
12259         mempcpy-avx-unaligned.
12260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12261         Add tests for AVX memcpy functions.
12262         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12263         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12264         memcpy_chk.
12265         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12266         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12267         memmove_chk.
12268         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12269         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12270         mempcpy_chk.
12271         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12272         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12273         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12275 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12277         [BZ #17213]
12278         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12279         powerpc64le.
12281 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12283         [BZ #16839]
12284         * manual/llio.texi: Add section about open file description locks.
12285         * manual/examples/ofdlocks.c: Example of open file description
12286         lock usage.
12287         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12288         F_OFD_SETLK, and F_OFD_SETLKW.
12290 2014-07-23  Allan McRae  <allan@archlinux.org>
12292         * po/es.po: Update Spanish translation from translation project.
12294 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12296         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12298 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12300         [BZ #17078]
12301         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12302         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12303         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12305 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12307         [BZ #17088]
12308         * math/fesetenv.c (__fesetenv)
12309         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12310         * math/feupdateenv.c (__feupdateenv)
12311         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12313         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12314         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12315         (__ASSUME_SOCKETCALL): Do not define.
12317         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12318         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12319         (__ASSUME_SOCKETCALL): Do not define.
12320         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12321         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12322         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12323         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12324         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12325         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12326         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12327         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12329         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12330         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12331         (__ASSUME_SOCKETCALL): Do not define.
12332         (__ASSUME_IPC64): Define unconditionally.
12333         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12334         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12335         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12336         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12337         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12338         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12339         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12340         Likewise.
12342         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12343         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12344         (__ASSUME_SOCKETCALL): Do not define.
12345         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12346         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12347         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12348         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12349         (__ASSUME_REQUEUE_PI): Define unconditionally.
12350         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12351         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12352         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12353         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12354         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12355         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12357         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12358         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12359         (__ASSUME_SOCKETCALL): Do not define.
12360         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12361         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12362         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12363         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12365         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12367         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12368         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12369         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12370         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12371         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12372         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12373         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12374         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12375         (__ASSUME_GETCPU_SYSCALL): Likewise.
12377         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12378         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12379         cases for individual architectures.
12380         * sysdeps/gnu/configure: Regenerated.
12381         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12382         LIBC_SLIBDIR_RTLDDIR.
12383         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12384         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12385         LIBC_SLIBDIR_RTLDDIR.
12386         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12388         LIBC_SLIBDIR_RTLDDIR.
12389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12390         Regenerated.
12391         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12392         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12393         file.
12394         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12395         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12396         file.
12397         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12398         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12399         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12400         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12402         * sysdeps/aarch64/shlib-versions: Move to ...
12403         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12404         * sysdeps/alpha/shlib-versions: Move to ...
12405         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12406         * sysdeps/arm/shlib-versions: Move to ...
12407         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12408         * sysdeps/hppa/shlib-versions: Move all contents except for
12409         libgcc_s entry to ...
12410         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12411         entry from ...
12412         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12413         * sysdeps/ia64/shlib-versions: Move to ...
12414         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12415         entry from ...
12416         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12417         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12418         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12419         * sysdeps/microblaze/shlib-versions: Move to ...
12420         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12421         * sysdeps/mips/shlib-versions: Move to ...
12422         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12423         entry from ...
12424         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12425         * sysdeps/tile/shlib-versions: Move to ...
12426         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12427         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12428         from ...
12429         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12430         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12431         entry from ...
12432         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12434 2014-07-17  Will Newton  <will.newton@linaro.org>
12436         * sysdeps/arm/bits/atomic.h
12437         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12438         (__arch_compare_and_exchange_bool_16_int): Likewise.
12439         (__arch_compare_and_exchange_bool_64_int): Likewise.
12441         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12442         into an #else block.
12444 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12446         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12447         just Linux configurations.  Test empirically that the compiler sets
12448         __ARM_EABI__, rather than using the tuple to decide.
12449         * sysdeps/arm/preconfigure: Regenerated.
12450         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12451         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12452         contents appended ...
12453         * sysdeps/arm/configure.ac: ... here.
12454         * sysdeps/arm/configure: Regenerated.
12456 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12458         * nptl/pthread_kill.c: New file.
12459         * nptl/pthread_sigmask.c: New file.
12460         * nptl/pthread_sigqueue.c: New file.
12462         * sysdeps/nptl/lowlevellock.h: New file.
12463         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12464         * sysdeps/nptl/lowlevellock-futex.h: New file.
12466         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12467         Remove dead declarations.
12469 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12471         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12472         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12473         config-cflags-avx2.
12474         * sysdeps/x86_64/configure.ac: Likewise.
12475         * sysdeps/i386/configure: Regenerated.
12476         * sysdeps/x86_64/configure: Likewise.
12477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12478         memset-avx2 only if config-cflags-avx2 is yes.
12479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12480         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12481         defined.
12482         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12483         only if HAVE_AVX2_SUPPORT is defined.
12484         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12486 2014-07-14  Alan Modra  <amodra@gmail.com>
12488         [BZ #17153]
12489         * elf/elf.h (DT_PPC64_NUM): Correct value.
12490         * NEWS: Add to fixed bug list.
12492 2014-07-13  Jim Meyering  <meyering@fb.com>
12494         [BZ 17150]
12495         regex: don't deref NULL upon heap allocation failure
12496         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12497         failure in one more place.
12498         To trigger the segfault, configure grep -with-included-regex,
12499         build it, and run these commands:
12500         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12502 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12504         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12506 2014-07-11  Richard Henderson  <rth@redhat.com>
12508         * sysdeps/aarch64/libm-test-ulps: Update.
12510 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12512         [BZ #17135]
12513         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12514         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12515         (__nptl_setxid): Initialize error member.  Call
12516         __nptl_setxid_error.
12517         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12518         * nptl/descr.h (struct xid_command): Add error member.
12519         * nptl/tst-setuid3.c: New file.
12520         * nptl/Makefile (tests): Add it.
12522 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12524         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12525         New define.
12526         (__lll_trylock): Use __lll_base_trylock.
12527         (__lll_cond_trylock): Likewise.
12529 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12531         * nptl/pthread_create.c (start_thread): Use atomic_or and
12532         lll_futex_wake directly rather than lll_robust_dead.
12533         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12534         (lll_robust_dead): Macro removed.
12535         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12536         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12537         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12538         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12539         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12540         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12541         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12542         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12543         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12544         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12545         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12546         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12547         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12548         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12551         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12552         Use atomic_compare_and_exchange_val_acq directly rather than
12553         lll_robust_trylock.
12554         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12555         (__lll_robust_trylock, lll_robust_trylock): Removed.
12556         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12557         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12558         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12559         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12560         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12561         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12562         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12563         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12564         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12565         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12566         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12567         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12568         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12569         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12571 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12573         * manual/locale.texi (Locale Names): New section documenting
12574         locale name syntax.  Adjust menu and node chaining accordingly.
12575         (Choosing Locale): Reference Locale Names, Locale Categories.
12576         Mention setting LC_ALL=C.  Reflect that name syntax is now
12577         documented.
12578         (Locale Categories): New section title.  Reference Locale Names.
12579         LC_ALL is an environment variable, but not a category.
12580         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12581         description, now in Locale Name.  Reference that section.  Locale
12582         name syntax is now documented.
12584 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12586         [BZ #17137]
12587         * locale/findlocale.c (name_present, valid_locale_name): New
12588         functions.
12589         (_nl_find_locale): Use the loc_name variable to store name
12590         candidates.  Call name_present and valid_locale_name to check and
12591         validate locale names.  Return an error if the locale is invalid.
12593 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12595         * locale/setlocale.c (setlocale): Use strdup for allocating
12596         composite name copy.
12598 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12600         Sync up with gnulib.
12601         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12602         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12603         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12604         and _GL_ARG_NONNULL.
12605         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12606         [!_LIBC]: Include code for Windows and Cygwin.
12607         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12608         Include prototype for int strerror_r.
12609         [!_LIBC] (is_open): New function.
12610         (flush_stdout): New function.
12611         (print_errno_message): Use it.
12612         (error): Likewise.
12613         (error_at_line): Likewise.
12614         (error_tail) Add function attribute macros.  Use
12615         __builtin_expect.
12617         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12619         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12621         * io/ftw.c: Include sys/param.h unconditionally.
12623         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12625         [BZ #17125]
12626         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12627         libc_freeres_ptr.
12628         (freecache): New function to free CACHE on exit.
12630         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12631         initialization.
12633 2014-07-09  David S. Miller  <davem@davemloft.net>
12635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12637         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12638         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12639         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12640         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12641         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12642         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12643         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12644         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12645         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12646         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12647         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12648         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12649         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12651 2014-07-09  Andreas Schwab  <schwab@suse.de>
12653         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12654         output.
12655         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12656         (do_test): Likewise.
12658         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12660 2014-07-09  Will Newton  <will.newton@linaro.org>
12662         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12663         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12664         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12665         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12666         * sysdeps/hppa/start.S (_start): Likewise.
12668 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12670         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12672         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12673         defined.
12675 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12677         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12678         after checking that it is non-NULL.
12680         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12682 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12684         * sysdeps/powerpc/memmove.c: Remove file.
12685         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12686         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12687         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12688         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12689         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12690         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12691         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12692         string memmove instead of removed powerpc one.
12694         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12695         [weak_alias]: Fix compiler warning due trailing data.
12696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12697         [weak_alias]: Likewise.
12698         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12699         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12702         (__libc_ifunc_impl_list): Add memmove functions.
12704 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12706         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12707         Remove code.
12708         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12709         Likewise
12710         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12711         Likewise
12712         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12713         Likewise
12714         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12715         Likewise
12716         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12717         Likewise
12718         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12719         Likewise
12720         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12721         Likewise
12722         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12723         Likewise
12724         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12725         Likewise
12726         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12727         Likewise
12728         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12729         Likewise
12730         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12731         Likewise
12732         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12733         Likewise
12734         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12735         Likewise
12736         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12737         Likewise
12738         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12739         Likewise
12741 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12743         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12744         to avoid alignment traps in non-cacheable memory.
12745         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12748         multiarch objects.
12749         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12750         file: multiarch power7 memmove.
12751         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12752         multiarch default memmove.
12753         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12754         multiarch memove for powerpc32/power4.
12756         * string/bcopy.c: Use full path to include memmove.c.
12757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12758         multiarch objects.
12759         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12760         bcopy for powerpc64.
12761         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12762         bcopy for powerpc64.
12763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12764         and memmove implementations.
12765         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12766         optimized multiarch memmove for POWER7/powerpc64.
12767         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12768         default multiarch memmove for powerpc64.
12769         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12770         multiarch for powerpc64.
12771         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12772         for POWER7/powerpc64.
12773         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12774         memmove for POWER7/powerpc64.
12776         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12777         glibc default one.
12779         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12780         __ELF_NATIVE_CLASS equal to 64.
12782 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12784         * sysdeps/nptl/lowlevellock.h: File removed.
12786         * NEWS: NPTL is no longer an add-on!
12787         * nptl/internaltypes.h: Moved ...
12788         * sysdeps/nptl/internaltypes.h: ... here.
12789         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12790         * sysdeps/nptl/fork.c: Likewise.
12791         * sysdeps/nptl/gai_misc.h: Likewise.
12792         * sysdeps/nptl/librt-cancellation.c: Likewise.
12793         * sysdeps/nptl/jmp-unwind.c: Likewise.
12794         * sysdeps/nptl/setxid.h: Likewise.
12795         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12796         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12797         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12798         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12799         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12800         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12801         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12802         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12803         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12804         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12805         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12806         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12807         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12808         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12809         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12810         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12811         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12812         * nptl/Makeconfig: Moved ...
12813         * sysdeps/nptl/Makeconfig: ... here.
12814         * nptl/configure: File removed.
12815         * nptl/ANNOUNCE: File removed.
12816         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12817         * sysdeps/unix/sysv/linux/configure: Regenerated.
12819         * nptl/Makefile (routines): Add libc_pthread_init,
12820         libc_multiple_threads, register-atfork and unregister-atfork.
12821         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12822         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12823         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12824         pthread-pi-defines.sym, structsem.sym.
12825         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12826         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12827         [$(subdir) = nptl] (tests): Add tst-setgetname.
12828         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12829         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12830         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12831         [!LIBC_SIGACTION]: Remove aliases.
12832         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12833         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12834         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12835         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12836         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12837         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12838         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12839         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12840         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12841         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12842         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12843         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12844         __libc_allocate_rtsig_private.
12845         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12846         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12847         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12848         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12849         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12850         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12851         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12852         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12853         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12854         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12855         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12856         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12857         * nptl/internaltypes.h: ... here.
12858         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12859         * sysdeps/nptl/jmp-unwind.c: ... here.
12860         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12861         * nptl/libc-lowlevellock.c: ... here.
12862         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12863         * nptl/libc_multiple_threads.c: ... here.
12864         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12865         * nptl/libc_pthread_init.c: ... here.
12866         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12867         * nptl/lowlevelbarrier.sym: ... here.
12868         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12869         * nptl/lowlevelcond.sym: ... here.
12870         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12871         * nptl/lowlevellock.c: ... here.
12872         * nptl/lowlevellock.h: Moved ...
12873         * sysdeps/nptl/lowlevellock.h: ... here.
12874         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12875         * nptl/lowlevelrobustlock.c: ... here.
12876         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12877         * nptl/lowlevelrobustlock.sym: ... here.
12878         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12879         * nptl/lowlevelrwlock.sym: ... here.
12880         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12881         * nptl/pt-fork.c: ... here.
12882         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12883         * nptl/pthread-pi-defines.sym: ... here.
12884         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12885         * nptl/pthread_attr_getaffinity.c: ... here.
12886         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12887         * nptl/pthread_attr_setaffinity.c: ... here.
12888         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12889         * nptl/pthread_mutex_cond_lock.c: ... here.
12890         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12891         Update #include.
12892         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12893         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12894         * nptl/pthread_once.c: ... here, replacing old file.
12895         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12896         * nptl/pthread_yield.c: ... here.
12897         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12898         * nptl/register-atfork.c: ... here.
12899         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12900         * nptl/sem_post.c: ... here.
12901         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12902         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12903         * nptl/sem_timedwait.c: ... here.
12904         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12905         * nptl/sem_trywait.c: ... here.
12906         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12907         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12908         * nptl/sem_wait.c: ... here.
12909         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12910         * nptl/structsem.sym: ... here.
12911         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12912         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12913         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12914         * nptl/unregister-atfork.c: ... here.
12915         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12916         * nptl/unwindbuf.sym: ... here.
12917         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12918         * sysdeps/nptl/fork.c: ... here.
12919         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12920         * sysdeps/nptl/fork.h: ... here.
12921         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12922         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12923         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12924         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12925         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12926         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12927         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12928         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12929         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12930         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12931         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12932         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12933         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12934         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12935         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12936         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12937         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12938         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12939         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12940         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12941         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12942         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12943         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12944         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12945         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12946         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12947         * sysdeps/unix/sysv/linux/raise.c: ... here.
12948         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12949         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12950         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12951         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12952         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12953         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12954         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12955         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12956         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12957         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12958         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12959         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12960         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12961         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12962         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12964 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12966         * sysdeps/generic/memcopy.h: Add comment for
12967         MEMCPY_OK_FOR_FWD_MEMMOVE.
12969 2014-07-04  Will Newton  <will.newton@linaro.org>
12971         * string/memchr.c: Merge from gnulib.
12972         [_LIBC]: Remove conditionals.
12973         (__ptr_t): Remove define.
12974         (LONG_MAX_32_BITS): Likewise.
12975         (LONG_MAX): Likewise.
12976         (MEMCHR): Use ANSI prototype and optimize algorithm.
12978         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12980 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12982         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12983         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12985         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12986         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12987         in a bare environment with no <stdlib.h> installed.
12988         * sysdeps/nptl/configure: Regenerated.
12990         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12992         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12993         AC_EGREP_CPP for kernel header checks, so they only succeed if
12994         including <linux/version.h> actually works right.
12995         * sysdeps/unix/sysv/linux/configure: Regenerated.
12997         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12998         value so it's not diagnosed as unused.
13000         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13001         thing) with "ifeq ($(subdir),rt)".
13003 2014-07-03  Richard Henderson  <rth@redhat.com>
13005         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13006         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13007         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13009         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13010         (math_force_eval): New.
13012         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13013         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13015         * sysdeps/alpha/fpu/s_round.c: Remove file.
13016         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13018         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13019         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13020         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13021         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13022         (_dl_start, print_statistics): Likewise.
13023         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13024         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13026         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13027         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13028         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13029         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13030         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13031         (HP_SMALL_TIMING_AVAIL): Define.
13032         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13034         (HP_SMALL_TIMING_AVAIL): Define.
13035         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13036         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13038         * sysdeps/aarch64/hp-timing.h: New file.
13040         * sysdeps/generic/hp-timing.h: Remove dead comment.
13041         * sysdeps/generic/hp-timing-common.h: New file.
13042         * sysdeps/alpha/hp-timing.h: Include it.
13043         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13044         * sysdeps/i386/i686/hp-timing.h: Likewise.
13045         * sysdeps/ia64/hp-timing.h: Likewise.
13046         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13047         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13049         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13050         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13051         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13052         (hp_timing_t): New.
13054         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13055         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13056         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13057         * elf/rtld.c (_dl_start_final): Likewise.
13058         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13059         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13060         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13061         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13062         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13064         (HP_TIMING_DIFF_INIT): Remove.
13065         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13067         (HP_TIMING_DIFF_INIT): Remove.
13068         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13069         * sysdeps/i386/i686/hp-timing.c: Remove file.
13070         * sysdeps/x86_64/hp-timing.c: Remove file.
13071         * sysdeps/ia64/hp-timing.c: Remove file.
13072         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13073         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13074         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13075         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13077         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13078         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13079         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13080         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13081         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13082         (HP_TIMING_ACCUM): Remove.
13083         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13084         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13085         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13087         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13088         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13089         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13090         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13092         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13093         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13094         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13096         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13098 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13100         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13102 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13104         Sync up with gettext.
13105         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13106         [_MSC_VER]: Include malloc.h
13107         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13108         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13109         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13110         TEMP_FAILURE_RETRY.  Cast return of alloca.
13111         [!_LIBC] Call gl_rwlock_init.
13112         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13114 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13116         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13117         before checking its value.
13119 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13121         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13123         * debug/memcpy_chk.c: Don't include pagecopy.h.
13124         * debug/mempcpy_chk.c: Likewise.
13125         * string/memcpy.c: Likewise.
13126         * string/memmove.c: Likewise.
13127         * sysdeps/powerpc/memmove.c: Likewise.
13128         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13129         definition of PAGE_COPY_FWD_MAYBE here...
13130         * sysdeps/generic/pagecopy.h: ... from here.
13131         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13133 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13134             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13136         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13138         optimizations.
13139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13140         (__libc_ifunc_impl_list): Likewise.
13141         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13142         multiarch strcat for PPC64.
13143         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13144         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13146 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13148         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13150 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13152         * intl/loadmsgcat.c: Remove declaration of
13153         get_sysdep_segment_value.
13154         (get_sysdep_segment_value): Use ISO C style.
13155         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13156         semicolon.  Fix typo and formatting in comment.
13157         (_nl_unload_domain): Use ISO C style.
13159         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13161 2014-07-02  Will Newton  <will.newton@linaro.org>
13163         * malloc/obstack.c: Merge from gnulib master.
13164         [HAVE_CONFIG_H]: Remove conditional code.
13165         [!_LIBC]: Include config.h.
13166         [!ELIDE_CODE]: Don't include inttypes.h, include
13167         stdint.h unconditionally.
13168         (print_and_abort): Mark as _Noreturn.
13169         (_obstack_allocated_p): Mark as __attribute_pure__.
13170         (obstack_free): Rename to __obstack_free.
13171         [!__attribute__]: Remove conditional code.
13172         * malloc/obstack.h: Merge from gnulib master.
13173         [__cplusplus]: Move conditional down.
13174         [!__attribute_pure__]: Define __attribute_pure__ here
13175         if it is not already defined.
13176         (_obstack_memory_used): Mark as __attribute_pure__.
13177         [!__obstack_free]: Define as obstack_free.
13178         [__GNUC__]: Remove check for ancient NeXT gcc.
13180 2014-07-02  Will Newton  <will.newton@linaro.org>
13181             Paul Eggert  <eggert@cs.ucla.edu>
13183         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13185 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13187         * resolv/gethnamaddr.c: Add comment warning that the file is
13188         not maintained.
13190 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13192         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13193         entries.
13195         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13196         entry for aio_cancel and aio_cancel64.
13197         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13198         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13199         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13200         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13201         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13202         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13203         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13204         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13205         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13206         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13207         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13208         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13209         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13211 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13213         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13214         * nptl/pthread_mutex_lock.c: Likewise.
13215         * nptl/pthread_mutex_timedlock.c: Likewise.
13216         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13218 2014-07-01  Richard henderson  <rth@redhat.com>
13220         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13221         (__isnan, __isnanl): Remove.
13222         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13224         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13226 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13228         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13230 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13232         * resolv/nss_dns/dns-host.c (getanswer_r)
13233         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13235 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13238         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13239         undefine.
13240         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13241         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13243 2014-07-01  Roland McGrath <roland@hack.frob.com>
13245         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13246         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13248         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13249         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13251         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13252         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13253         ... here.
13254         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13255         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13257         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13258         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13259         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13260         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13262         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13263         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13264         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13265         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13266         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13267         Moved ...
13268         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13269         ... here.
13270         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13271         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13272         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13273         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13274         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13275         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13276         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13277         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13278         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13279         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13280         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13281         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13282         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13283         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13284         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13285         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13286         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13287         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13288         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13289         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13290         ... here.
13291         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13292         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13293         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13294         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13295         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13296         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13297         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13298         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13300 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13302         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13303         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13304         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13305         Add sysdep.
13307 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13311 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13313         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13314         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13316         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13318         * sysdeps/arm/libm-test-ulps: Regenerated.
13320 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13321             Roland McGrath <roland@hack.frob.com>
13323         * test-skeleton.c (signal_handler): Kill the whole process group
13324         before killing the child individually.
13325         (main): Report any failure on `setpgid'.
13327 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13329         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13330         from _TLS_H to _ARM_NPTL_TLS_H.
13331         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13332         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13334 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #16539]
13337         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13338         (__expm1l): Return argument unchanged when small but not
13339         subnormal.
13341         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13342         include macro name.
13343         (_FP_UNPACK_RAW_1_P): Likewise.
13344         (_FP_PACK_RAW_1): Likewise.
13345         (_FP_PACK_RAW_1_P): Likewise.
13346         (_FP_MUL_MEAT_1_wide): Likewise.
13347         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13348         (_FP_MUL_MEAT_1_hard): Likewise.
13349         (_FP_DIV_MEAT_1_imm): Likewise.
13350         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13351         (_FP_DIV_MEAT_1_udiv): Likewise.
13352         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13353         (_FP_UNPACK_RAW_2): Likewise.
13354         (_FP_UNPACK_RAW_2_P): Likewise.
13355         (_FP_PACK_RAW_2): Likewise.
13356         (_FP_PACK_RAW_2_P): Likewise.
13357         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13358         (_FP_MUL_MEAT_2_wide): Likewise.
13359         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13360         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13361         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13362         (_FP_MUL_MEAT_2_gmp): Likewise.
13363         (_FP_DIV_MEAT_2_udiv): Likewise.
13364         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13365         (_FP_FRAC_SRL_4): Likewise.
13366         (_FP_FRAC_SRST_4): Likewise.
13367         (_FP_FRAC_SRS_4): Likewise.
13368         (_FP_UNPACK_RAW_4): Likewise.
13369         (_FP_UNPACK_RAW_4_P): Likewise.
13370         (_FP_PACK_RAW_4): Likewise.
13371         (_FP_PACK_RAW_4_P): Likewise.
13372         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13373         (_FP_MUL_MEAT_4_wide): Likewise.
13374         (_FP_MUL_MEAT_4_gmp): Likewise.
13375         (umul_ppppmnnn): Likewise.
13376         (_FP_DIV_MEAT_4_udiv): Likewise.
13377         (__FP_FRAC_ADD_4): Likewise.
13378         (__FP_FRAC_SUB_3): Likewise.
13379         (__FP_FRAC_SUB_4): Likewise.
13380         (__FP_FRAC_DEC_3): Likewise.
13381         (__FP_FRAC_DEC_4): Likewise.
13382         (__FP_FRAC_ADDI_4): Likewise.
13383         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13384         (_FP_FRAC_SRL_8): Likewise.
13385         (_FP_FRAC_SRS_8): Likewise.
13387         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13388         include macro name.
13389         (FP_UNPACK_RAW_EP): Likewise.
13390         (FP_PACK_RAW_E): Likewise.
13391         (FP_PACK_RAW_EP): Likewise.
13392         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13393         (_FP_ISSIGNAN): Likewise.
13394         (_FP_ADD_INTERNAL): Likewise.
13395         (_FP_FMA): Likewise.
13396         (_FP_CMP): Likewise.
13397         (_FP_SQRT): Likewise.
13398         (_FP_TO_INT): Likewise.
13399         (_FP_FROM_INT): Likewise.
13400         (FP_EXTEND): Likewise.
13401         (_FP_DIV_MEAT_N_loop): Likewise.
13403 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13405         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13406         throughout.
13408 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13410         [BZ #17097]
13411         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13412         result with correct sign in case of exponents that produce
13413         overflow except for X very close to 1.
13415 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13417         mktime: merge #if/#ifdef usage from glibc
13418         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13419         as that works with both Glibc's and Gnulib's style.
13420         See thread starting at Siddhesh Poyarekar's bug report at:
13421         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13423 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13425         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13426         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13427         * sysdeps/tile/tilegx/memmove.c: Remove file.
13429 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13431         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13432         abi-name definition.
13433         * scripts/soversions.awk: Do not handle or generate ABI lines.
13434         * shlib-versions: Remove ABI entries.
13435         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13436         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13438 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13441         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13442         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13443         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13445         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13447         Moved ...
13448         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13449         ... here.
13450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13451         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13453         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13455         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13457         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13459         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13461         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13463         Moved ...
13464         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13466         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13468         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13470         Moved ...
13471         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13473         Moved ...
13474         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13476         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13478         Moved ...
13479         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13481         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13483         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13485         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13487         Moved ...
13488         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13490         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13491         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13492         Moved ...
13493         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13495         Moved ...
13496         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13498         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13500         Moved ...
13501         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13502         ... here.
13503         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13504         Identical file removed.
13505         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13506         Moved ...
13507         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13508         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13509         Identical file removed.
13510         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13511         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13513         Moved ...
13514         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13516         Identical file removed.
13517         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13518         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13520         Identical file removed.
13521         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13522         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13523         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13524         Identical file removed.
13525         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13526         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13528         Identical file removed.
13529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13530         Moved ...
13531         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13533         Identical file removed.
13534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13535         Moved ...
13536         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13538         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13540         Identical file removed.
13541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13542         Moved ...
13543         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13544         ... here.
13545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13546         Identical file removed.
13547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13548         Moved ...
13549         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13551         Identical file removed.
13552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13553         Moved ...
13554         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13556         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13557         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13558         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13560         Moved ...
13561         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13562         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13563         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13565         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13566         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13567         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13568         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13569         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13571 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13573         [BZ #17092]
13574         * nscd/nscd.c (monitor_child): Return exit status of child
13575         instead of return value from wait syscall.
13577 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13579         * configure.ac (libc_commonpagesize): Remove variable.
13580         (libc_relro_required): Likewise.
13581         (libc_cv_z_relro): Remove configure test.
13582         * configure: Regenerated.
13583         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13584         variable.
13585         (libc_relro_required): Likewise.
13586         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13587         (libc_relro_required): Likewise.
13588         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13589         (libc_relro_required): Likewise.
13590         * sysdeps/arm/preconfigure: Regenerated.
13591         * sysdeps/ia64/preconfigure: Remove file.
13592         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13593         variable.
13594         (libc_relro_required): Likewise.
13596         [BZ #16561]
13597         [BZ #16562]
13598         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13599         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13600         recompute overflowing results in original rounding mode.
13601         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13602         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13603         recompute overflowing results in original rounding mode.
13604         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13605         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13606         recompute overflowing results in original rounding mode.
13607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13608         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13609         recompute overflowing results in original rounding mode.
13610         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13611         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13612         recompute overflowing results in original rounding mode.
13613         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13614         (libc_feholdsetround_ctx): New macro.
13615         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13616         * sysdeps/i386/fpu/libm-test-ulps: Update.
13617         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13619 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13621         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13622         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13623         corresponding .cpsetup call.
13625 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13627         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13628         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13629         * sysdeps/arm/Makefile [$(subdir) = csu]
13630         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13631         (static-only-routines): Add aeabi_read_tp here.
13632         (shared-only-routines): Add libc-aeabi_read_tp here.
13633         (CFLAGS-libc-start.c): Add -fexceptions here.
13634         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13635         (sysdep_routines, static-only-routines, shared-only-routines):
13636         Don't add to these here.
13637         (CFLAGS-libc-start.c): Likewise.
13639         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13640         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13641         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13642         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13643         * sysdeps/arm/Makefile [$(subdir) = rt]
13644         (librt-sysdep_routines, librt-shared-only-routines):
13645         Append rt-aeabi_unwind_cpp_pr1 here.
13646         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13647         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13648         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13649         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13650         Append nptl-aeabi_unwind_cpp_pr1 here.
13651         (tests): Filter out tst-cleanupx4 here.
13652         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13653         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13654         Don't do those here.
13656 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13658         * scripts/list-sources.sh: Do not handle ports specially.
13660 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13662         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13663         * sysdeps/arm/feupdateenv.c: Likewise.
13665         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13667 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13669         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13670         trailing whitespace removed.
13671         * scripts/config.guess: Update to version 2014-03-23.
13672         * scripts/config.sub: Update to version 2014-05-01
13673         * scripts/install-sh: Update to version 2013-12-25.23.
13674         * scripts/move-if-change: Update from gnulib.
13676 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13678         * debug/memmove_chk.c: Remove pagecopy.h include.
13680 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13682         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13683         identical to gnulib mktime.
13685 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13687         * configure.ac: Do not test for machine being rs6000.  Do not test
13688         for powerpc*-*soft.
13689         * configure: Regenerated.
13691         [BZ #11505]
13692         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13693         test.
13694         * configure: Regenerated.
13695         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13696         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13697         Remove configure test.
13698         * sysdeps/arm/configure: Regenerated.
13699         * sysdeps/nptl/configure.ac: Do not check
13700         libc_cv_asm_cfi_directives.
13701         * sysdeps/nptl/configure: Regenerated.
13702         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13703         * sysdeps/x86_64/nptl/configure: Remove generated file.
13704         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13705         unconditional.
13706         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13708 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13710         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13711         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13712         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13713         it is defined.
13715         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13716         instead of whether it is defined.
13717         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13718         * sysdeps/hppa/dl-machine.h: Likewise.
13719         * sysdeps/ia64/dl-machine.h: Likewise.
13720         * sysdeps/m68k/dl-machine.h: Likewise.
13721         * sysdeps/microblaze/dl-machine.h: Likewise.
13722         * sysdeps/mips/dl-machine.: Likewise.
13723         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13724         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13725         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13726         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13727         * sysdeps/sh/dl-machine.h: Likewise.
13728         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13729         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13730         * sysdeps/tile/dl-machine.h: Likewise.
13731         * sysdeps/x86_64/dl-machine.h: Likewise.
13733         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13734         code.
13735         (verify_persistent_db): Likewise.
13737 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13740         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13742         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13744         Moved ...
13745         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13746         ... here.
13747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13748         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13750         Identical file removed.
13751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13752         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13754         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13756         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13758         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13760         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13762         Moved ...
13763         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13765         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13767         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13769         Moved ...
13770         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13772         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13774         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13776         Identical file removed.
13777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13778         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13780         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13782         Moved ...
13783         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13784         ... here.
13785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13786         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13788         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13790         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13792         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13794         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13796         Moved ...
13797         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13802         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13804         Moved ...
13805         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13809         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13810         folded into ...
13811         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13812         * sysdeps/unix/sysv/linux/s390/Versions
13813         (libpthread: GLIBC_2.19): New version set.
13814         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13815         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13816         (librt: GLIBC_2.3.3): New version set.
13817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13818         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13819         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13820         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13821         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13822         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13823         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13824         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13825         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13826         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13827         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13828         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13829         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13830         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13831         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13832         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13833         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13834         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13835         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13836         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13837         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13838         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13839         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13840         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13841         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13842         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13843         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13844         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13845         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13846         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13847         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13848         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13852         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13853         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13855         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13857         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13859         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13861         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13863         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13864         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13865         (__libc_vfork): Define the function under this name.
13866         [!NOT_IN_libc] (__vfork): Make this an alias.
13867         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13869         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13870         (__libc_vfork): Define the function under this name.
13871         [!NOT_IN_libc] (__vfork): Make this an alias.
13872         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13873         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13874         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13876         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13877         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13879         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13880         code that was previously under [RESET_PID].
13881         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13882         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13885         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13886         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13887         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13888         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13889         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13890         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13891         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13892         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13893         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13894         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13895         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13896         Moved ...
13897         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13898         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13899         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13900         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13901         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13902         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13903         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13904         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13905         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13906         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13907         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13908         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13909         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13910         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13911         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13912         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13913         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13914         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13915         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13916         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13917         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13918         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13919         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13920         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13921         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13922         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13923         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13924         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13925         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13927 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13929         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13930         that was previously under [RESET_PID].
13931         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13933 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13935         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13936         not undefine and redefine.
13937         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13938         [O_CLOEXEC]: Make code unconditional.
13939         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13940         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13941         <kernel-features.h>.
13942         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13943         conditional variable definition.
13944         (shm_open) [O_CLOEXEC]: Make code unconditional.
13945         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13946         code.
13948         * configure.ac (USE_REGPARMS): Don't define here.
13949         * configure: Regenerated.
13950         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13951         * sysdeps/i386/configure: Regenerated.
13953         * nptl/createthread.c: Don't include kernel-features.h.
13954         * nptl/pthread_cancel.c: Likewise.
13955         * nptl/pthread_condattr_setclock.c: Likewise.
13956         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13957         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13958         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13959         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13960         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13961         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13962         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13963         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13965         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13966         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13967         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13968         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13969         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13970         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13971         * nscd/gai.c: Likewise.
13972         * nss/nss_db/db-open.c: Likewise.
13973         * sysdeps/generic/ldsodefs.h: Likewise.
13974         * sysdeps/sh/nptl/tls.h: Likewise.
13975         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13976         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13977         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13978         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13979         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13980         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13981         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13982         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13983         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13984         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13985         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13986         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13987         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13988         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13989         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13990         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13991         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13992         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13993         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13994         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13995         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13997         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13998         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13999         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14000         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14003         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14004         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14005         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14006         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14007         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14008         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14009         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14010         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14011         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14012         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14013         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14014         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14015         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14016         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14017         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14018         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14019         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14020         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14021         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14022         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14023         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14024         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14025         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14026         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14027         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14028         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14029         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14030         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14031         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14032         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14055         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14056         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14057         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14058         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14059         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14060         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14061         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14062         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14063         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14064         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14065         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14066         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14067         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14068         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14069         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14070         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14071         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14072         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14073         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14074         * sysdeps/unix/sysv/linux/system.c: Likewise.
14075         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14076         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14077         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14078         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14079         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14080         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14081         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14083         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14084         * configure: Regenerated.
14085         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14087         * configure.ac (base_machine): Do not set specially for particular
14088         machines here.
14089         * configure: Regenerated.
14090         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14091         settings from configure.ac.
14092         * sysdeps/i386/preconfigure: New file.
14093         * sysdeps/s390/preconfigure: Likewise.
14094         * sysdeps/sh/preconfigure: Likewise.
14095         * sysdeps/sparc/preconfigure: Likewise.
14097 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14099         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14100         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14101         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14102         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14103         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14104         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14105         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14106         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14107         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14108         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14109         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14110         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14111         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14112         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14113         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14114         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14116         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14117         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14119         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14120         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14121         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14122         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14123         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14124         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14125         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14126         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14127         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14128         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14129         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14130         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14131         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14132         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14133         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14134         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14135         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14136         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14137         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14138         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14140         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14141         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14142         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14143         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14144         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14146         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14147         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14148         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14149         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14150         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14151         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14152         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14153         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14154         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14155         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14156         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14159         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14161         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14163         Moved ...
14164         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14165         ... here.
14166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14167         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14169         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14171         Moved ...
14172         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14174         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14176         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14178         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14180         Moved ...
14181         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14183         Moved ...
14184         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14186         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14188         Moved ...
14189         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14193         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14195         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14197         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14199         Moved ...
14200         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14201         ... here.
14202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14207         Moved ...
14208         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14210         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14212         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14214         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14216         Moved ...
14217         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14219         Moved ...
14220         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14222         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14224         Moved ...
14225         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14227         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14229         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14231 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14233         * timezone/checktab.awk: Update from tzcode 2014e.
14234         * timezone/private.h: Likewise.
14235         * timezone/tzfile.h: Likewise.
14236         * timezone/zdump.c: Likewise.
14237         * timezone/zic.c: Likewise.
14239         * sysdeps/unix/sysv/linux/kernel-features.h
14240         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14241         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14242         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14243         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14244         Remove conditional code.
14246 2014-06-25  Will Newton  <will.newton@linaro.org>
14248         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14249         (_dl_arm_cap_flags): Add HWCAP2 values.
14250         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14251         (_DL_HWCAP_COUNT): Increase to 37.
14252         (_DL_HWCAP_LAST): New define.
14253         (_DL_HWCAP2_LAST): New define.
14254         (_dl_procinfo): Add support for printing
14255         AT_HWCAP2 entries.
14256         (_dl_string_hwcap): Use _dl_hwcap_string.
14258 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14262 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14264         * README: Do not mention ports directory.
14266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14267         Remove macro.
14268         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14269         <kernel-features.h>.
14270         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14271         conditional variable definition.
14272         (__futimes): Update comment.
14273         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14274         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14276         [BZ #16560]
14277         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14278         arguments close to 0.
14279         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14280         Likewise.
14281         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14282         Likewise.
14283         * math/auto-libm-test-in: Add more tests of exp10.
14284         * math/auto-libm-test-out: Regenerated.
14285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14287         * sysdeps/unix/sysv/linux/kernel-features.h
14288         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14289         * sysdeps/unix/sysv/linux/readv.c: Do not include
14290         <kernel-features.h>.
14291         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14292         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14293         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14294         unconditional.
14295         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14296         conditional code.
14297         * sysdeps/unix/sysv/linux/writev.c: Do not include
14298         <kernel-features.h>.
14299         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14300         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14301         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14302         unconditional.
14303         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14304         conditional code.
14306 2014-06-25  Will Newton  <will.newton@linaro.org>
14308         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14309         comment changes throughout the file.  Remove checks
14310         for HAVE_*_H definitions that are not required.
14311         (__gen_tempname): Call abort if an unknown kind value is
14312         passed.
14314 2014-06-25  Andreas Schwab  <schwab@suse.de>
14316         [BZ #17086]
14317         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14318         scalbln, scalblnf, scalblnl in libc.
14320 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14322         [BZ #17086]
14323         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14324         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14325         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14327 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14329         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14330         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14331         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14332         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14333         Update #include.
14334         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14335         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14336         Update #include.
14337         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14338         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14339         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14340         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14341         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14342         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14343         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14344         * sysdeps/x86/bits/semaphore.h: ... here.
14345         * sysdeps/x86/nptl/elide.h: Moved ...
14346         * sysdeps/x86/elide.h: ... here.
14347         * sysdeps/x86_64/nptl/Implies: File removed.
14348         * sysdeps/i386/nptl/Implies: File removed.
14350 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14352         [BZ #16539]
14353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14354         return the argument for normal arguments with exponent below -64.
14355         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14356         Likewise.
14357         * math/auto-libm-test-in: Add another test of expm1.
14358         * math/auto-libm-test-out: Regenerated.
14360         [BZ #16287]
14361         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14362         calling __erfcl for arguments at least 16.
14363         * math/auto-libm-test-in: Add more tests of erf.
14364         * math/auto-libm-test-out: Regenerated.
14366         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14367         individual architectures.
14368         * sysdeps/unix/sysv/linux/configure: Regenerated.
14369         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14370         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14371         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14372         (ldd_rewrite_script): Define variable.
14373         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14375         file.
14376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14377         generated file.
14378         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14379         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14380         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14381         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14382         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14383         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14384         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14385         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14387 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14389         [BZ #17084]
14390         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14391         Rename member __data.d to __data.__elision_data.
14393 2014-06-24  Wilco  <wdijkstr@arm.com>
14395         * NEWS: Add 16918 to fixed bug list.
14397 2014-06-24  Wilco  <wdijkstr@arm.com>
14399         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14401 2014-06-24  Wilco  <wdijkstr@arm.com>
14403         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14404         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14405         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14406         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14407         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14408         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14409         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14410         Use _FPU_MASK_RM.
14412 2014-06-24  Wilco  <wdijkstr@arm.com>
14414         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14416 2014-06-24  Wilco  <wdijkstr@arm.com>
14418         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14419         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14420         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14421         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14423 2014-06-24  Wilco  <wdijkstr@arm.com>
14425         [BZ #16918]
14426         * sysdeps/arm/feupdateenv.c (feupdateenv):
14427         Rewrite to reduce FPSCR accesses and fix return value.
14429 2014-06-24  Wilco  <wdijkstr@arm.com>
14431         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14432         Optimize to avoid unnecessary FPSCR writes.
14433         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14434         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14435         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14436         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14438 2014-06-24  Wilco  <wdijkstr@arm.com>
14440         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14441         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14442         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14443         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14444         Call libc_fetestexcept_vfp.
14445         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14446         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14447         __SOFTFP__ ifdef so that they can be built for softfp.
14449 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14451         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14452         argument type signed char.
14454         * Makerules (check-abi): Dump diff of symlist if the test
14455         fails.
14457 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14459         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14460         using abort.
14462         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14463         Remove unused variable ST.
14465 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14467         [BZ #16354]
14468         [BZ #17061]
14469         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14470         small arguments before calling __expm1.
14471         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14472         small arguments before calling __expm1f.
14473         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14474         small arguments before calling __expm1l.
14475         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14476         Likewise.
14477         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14478         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14479         spurious underflow for some cosh tests.
14480         * math/auto-libm-test-out: Regenerated.
14481         * sysdeps/i386/fpu/libm-test-ulps: Update.
14483         [BZ #17050]
14484         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14485         (__ieee754_y1): Set errno if return value overflows.
14486         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14487         (__ieee754_y1f): Set errno if return value overflows.
14488         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14489         (__ieee754_y1l): Set errno if return value overflows.
14490         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14491         (__ieee754_y1l): Set errno if return value overflows.
14492         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14493         * math/auto-libm-test-out: Regenerated.
14495         * math/gen-auto-libm-tests.c: Document use of
14496         ignore-zero-inf-sign.
14497         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14498         (input_flags): Add ignore-zero-inf-sign.
14499         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14500         * math/gen-libm-test.pl (generate_testfile): Handle
14501         ignore-zero-inf-sign.
14502         * math/auto-libm-test-in: Mark some cpow tests with
14503         ignore-zero-inf-sign and some with xfail-rounding.
14504         * math/auto-libm-test-out: Regenerated.
14505         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14506         * sysdeps/i386/fpu/libm-test-ulps: Update.
14507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14509         [BZ #16315]
14510         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14511         overflowing or underflowing operations take place with sign of
14512         result.
14513         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14514         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14515         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14516         (__ieee754_pow): Recompute overflowing and underflowing results in
14517         original rounding mode.
14518         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14519         (__powl_helper): Allow negative argument X and scale negated value
14520         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14521         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14522         overflowing or underflowing operations take place with sign of
14523         result.
14524         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14525         Include <math.h>.
14526         * math/auto-libm-test-in: Add more tests of pow.
14527         * math/auto-libm-test-out: Regenerated.
14528         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14529         (pow_tonearest_test_data): Remove.
14530         (pow_test_tonearest): Likewise.
14531         (pow_towardzero_test_data): Likewise.
14532         (pow_test_towardzero): Likewise.
14533         (pow_downward_test_data): Likewise.
14534         (pow_test_downward): Likewise.
14535         (pow_upward_test_data): Likewise.
14536         (pow_test_upward): Likewise.
14537         (main): Don't call removed functions.
14538         * sysdeps/i386/fpu/libm-test-ulps: Update.
14539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14541 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14544         Moved ...
14545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14547         Moved ...
14548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14550         Moved ...
14551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14553         Moved ...
14554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14556         File removed.
14557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14558         File removed.
14559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14560         File removed.
14561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14562         File removed.
14563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14564         File removed.
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14566         File removed.
14567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14568         File removed.
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14570         File removed.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14572         File removed.
14573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14574         File removed.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14576         File removed.
14577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14578         File removed.
14579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14580         Moved ...
14581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14583         Moved ...
14584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14585         ... here.
14586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14587         Moved ...
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14590         Moved ...
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14593         Moved ...
14594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14596         Moved ...
14597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14599         Moved ...
14600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14602         Moved ...
14603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14605         Moved ...
14606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14609         ... here.
14610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14611         Moved ...
14612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14614         Moved ...
14615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14616         ... here.
14617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14618         Moved ...
14619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14620         ... here.
14621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14622         Moved ...
14623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14624         ... here.
14625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14626         Moved ...
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14629         Moved ...
14630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14634         Moved ...
14635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14636         ... here.
14637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14638         Moved ...
14639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14640         ... here.
14641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14642         Moved ...
14643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14645         Moved ...
14646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14648         Moved ...
14649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14651         Moved ...
14652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14654         Moved ...
14655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14656         ... here.
14657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14658         Moved ...
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14661         Moved ...
14662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14664         Moved ...
14665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14667         Moved ...
14668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14672         Moved ...
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14675         Moved ...
14676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14678         Moved ...
14679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14680         ... here.
14681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14682         Moved ...
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14684         ... here.
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14686         Moved ...
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14688         ... here.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14690         Moved ...
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14693         Moved ...
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14696         Moved ...
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14699         Moved ...
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14701         ... here.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14703         Moved ...
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14705         ... here.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14707         Moved ...
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14709         ... here.
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14711         Moved ...
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14714         Moved ...
14715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14717 2014-06-23  Will Newton  <will.newton@linaro.org>
14718             Wilco  <wdijkstr@arm.com>
14720         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14721         implementation.  Include get-rounding-mode.h.
14722         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14723         [!libc_feholdsetround_noex_ctx]: Define
14724         libc_feholdsetround_noex_ctx.
14725         [!libc_feholdsetround_noexf_ctx]: Define
14726         libc_feholdsetround_noexf_ctx.
14727         [!libc_feholdsetround_noexl_ctx]: Define
14728         libc_feholdsetround_noexl_ctx.
14729         (libc_feholdsetround_ctx): New function.
14730         (libc_feresetround_ctx): New function.
14731         (libc_feholdsetround_noex_ctx): New function.
14732         (libc_feresetround_noex_ctx): New function.
14734 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14736         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14737         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14738         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14739         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14740         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14741         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14743         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14744         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14745         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14746         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14747         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14748         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14750         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14751         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14752         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14753         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14754         Moved ...
14755         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14756         ... here.
14757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14758         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14762         Moved ...
14763         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14764         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14765         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14767         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14769         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14771         Moved ...
14772         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14774         Moved ...
14775         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14777         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14779         Moved ...
14780         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14782         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14783         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14784         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14785         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14786         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14788         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14789         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14790         Moved ...
14791         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14792         ... here.
14793         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14794         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14796         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14798         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14799         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14800         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14801         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14802         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14804         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14806         Moved ...
14807         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14808         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14809         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14811         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14813         Moved ...
14814         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14816         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14817         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14818         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14820         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14821         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14822         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14823         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14824         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14825         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14826         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14827         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14828         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14829         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14830         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14831         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14832         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14833         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14834         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14835         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14836         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14837         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14841         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14842         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14843         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14844         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14845         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14846         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14847         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14849 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14852         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14853         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14854         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14855         (IPV6_PMTUDISC_INTERFACE): Likewise.
14856         (IPV6_PMTUDISC_OMIT): Likewise.
14858 2014-06-23  Andreas Schwab  <schwab@suse.de>
14860         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14861         Remove unused errout label.
14863 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14865         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14866         macro: hardware supports Vector Crypto instructions.
14868 2014-06-23  Will Newton  <will.newton@linaro.org>
14870         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14871         rather than __builtin_expect.
14873         * elf/dl-lookup.c (undefined_msg): Remove variable.
14874         (_dl_lookup_symbol_x): Replace undefined_msg with string
14875         literal.
14877         * elf/dl-lookup.c (do_lookup_unique): New function.
14878         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14879         to a separate function.
14881 2014-06-23  Andreas Schwab  <schwab@suse.de>
14883         [BZ #17079]
14884         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14885         before reading the next line.
14887 2014-06-23  Will Newton  <will.newton@linaro.org>
14889         * test-skeleton.c (signal_handler): Use printf and %m
14890         rather than perror.  Use printf rather than fprintf to
14891         stderr.  Use puts rather than fputs to stderr.
14892         (main): Likewise.
14894 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14896         * nscd/nscd.c (thread_info_t): Remove typedef.
14897         (thread_info): Remove variable.
14899 2014-06-21  Allan McRae  <allan@archlinux.org>
14901         * NEWS: Mention CVE-2014-4043.
14903 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14905         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14906         * nptl/smp.h: ... here.
14908         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14910         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14911         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14912         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14913         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14915         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14916         * nptl/stack-aliasing.h: New file.
14917         * sysdeps/i386/i686/stack-aliasing.h: New file.
14918         * sysdeps/i386/i686/nptl/Makefile: File removed.
14919         * sysdeps/x86_64/stack-aliasing.h: New file.
14920         * sysdeps/x86_64/nptl/Makefile
14921         (CFLAGS-pthread_create.c): Variable removed.
14923         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14924         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14925         old file.
14926         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14927         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14928         old file.
14930 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14932         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14933         (__ASSUME_SIGFRAME_V2): Remove macro.
14934         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14935         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14936         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14937         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14938         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14939         Declare as function.  Remove conditional macro definitions.
14940         (__default_rt_sa_restorer): Likewise.
14941         (__default_sa_restorer_v1): Remove declaration.
14942         (__default_sa_restorer_v2): Likewise.
14943         (__default_rt_sa_restorer_v1): Likewise.
14944         (__default_rt_sa_restorer_v2): Likewise.
14945         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14946         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14947         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14949 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14951         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14952         (libpthread-routines): Add sysdep.
14953         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14954         * sysdeps/unix/sysv/linux/sparc/Versions
14955         (libpthread: GLIBC_2.3.3): New version set.
14956         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14957         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14958         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14959         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14960         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14961         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14962         Moved ...
14963         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14964         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14965         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14966         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14967         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14968         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14969         * sysdeps/sparc/nptl/sem_init.c: ... here.
14970         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14971         * sysdeps/sparc/nptl/sem_post.c: ... here.
14972         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14973         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14974         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14975         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14976         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14977         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14978         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14979         (libpthread-routines): Add cpu_relax.
14980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14981         File removed.
14982         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14983         (librt: GLIBC_2.3.3): New version set.
14984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14985         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14986         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14987         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14990         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14992         Moved ...
14993         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14995         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14997         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14999         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15001         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15003         Moved ...
15004         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15005         Update #include.
15006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15007         Moved ...
15008         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15009         Update #include.
15010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15011         Moved ...
15012         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15013         Update #include.
15014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15015         Moved ...
15016         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15017         Update #include.
15018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15019         Moved ...
15020         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15021         Update #include.
15022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15023         Moved ...
15024         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15025         Update #include.
15026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15027         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15033         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15035         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15037         Moved ...
15038         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15040         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15042         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15044 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15046         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15047         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15048         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15049         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15050         * nscd/nscd.c: Likewise.
15051         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15052         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15053         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15054         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15056         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15057         <kernel-features.h>.
15058         (init_mq_netlink): Remove conditional have_sock_cloexec
15059         definitions.  Remove code conditional on have_sock_cloexec < 0.
15060         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15061         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15062         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15063         <kernel-features.h>.
15064         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15065         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15067 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15070         Add tests for memset_chk and memset.
15072         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15073         with AVX2_Usable.
15075 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15077         [BZ #16046]
15078         * elf/tst-dl-iter-static.c: New file.
15079         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15081         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15082         error.
15084 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15086         * sysdeps/unix/sysv/linux/kernel-features.h
15087         (__ASSUME_F_GETOWN_EX): Remove macro.
15088         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15089         <kernel-features.h>.
15090         (miss_F_GETOWN_EX): Remove variable or macro.
15091         (do_fcntl): Do not check miss_F_GETOWN_EX.
15092         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15094         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15095         Remove macro.
15096         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15097         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15098         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15100         * sysdeps/unix/sysv/linux/kernel-features.h
15101         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15102         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15103         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15104         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15106 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15108         [BZ #17075]
15109         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15110         Fix calculation of the symbol's value.
15111         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15112         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15113         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15114         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15115         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15116         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15117         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15118         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15119         (modules-names): Add `tst-armtlsdescmod',
15120         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15121         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15122         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15123         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15124         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15125         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15126         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15127         ($(objpfx)tst-armtlsdescloc): New dependency.
15128         ($(objpfx)tst-armtlsdescextnow): Likewise.
15129         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15130         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15131         TLS scheme support.
15132         * sysdeps/arm/configure: Regenerate.
15134 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15136         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15137         (__atfct_seterrno_2): Likewise.
15138         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15139         <kernel-features.h>.
15140         (__ASSUME_ATFCTS): Do not undefine and redefine.
15141         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15142         (__have_atfcts): Remove conditional definition.
15143         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15144         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15145         unreachable if [__ASSUME_ATFCTS].
15146         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15147         not undefine and redefine.
15148         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15149         <kernel-features.h>.
15150         (faccessat) [__NR_faccessat]: Make code unconditional.
15151         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15152         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15153         <kernel-features.h>.
15154         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15155         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15156         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15157         <kernel-features.h>.
15158         (fchownat) [__NR_fchownat]: Make code unconditional.
15159         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15160         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15161         <kernel-features.h>.
15162         (futimesat) [__NR_futimesat]: Make code unconditional.
15163         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15164         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15165         <kernel-features.h>.
15166         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15167         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15168         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15169         <kernel-features.h>.
15170         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15171         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15172         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15173         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15174         <kernel-features.h>.
15175         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15176         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15177         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15178         <kernel-features.h>.
15179         (linkat) [__NR_linkat]: Make code unconditional.
15180         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15181         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15182         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15183         <kernel-features.h>.
15184         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15185         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15186         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15187         <kernel-features.h>.
15188         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15189         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15190         * sysdeps/unix/sysv/linux/openat.c: Do not include
15191         <kernel-features.h>.
15192         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15193         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15194         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15195         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15196         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15197         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15198         <kernel-features.h>.
15199         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15200         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15201         result of INLINE_SYSCALL directly, not via int variable.
15202         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15203         <kernel-features.h>.
15204         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15205         (renameat) [__NR_renameat]: Make code unconditional.
15206         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15207         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15208         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15209         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15210         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15211         (__ASSUME_ATFCTS): Do not undefine and redefine.
15212         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15213         <kernel-features.h>.
15214         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15215         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15216         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15217         <kernel-features.h>.
15218         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15219         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15220         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15221         (__ASSUME_ATFCTS): Do not undefine and redefine.
15222         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15223         <kernel-features.h>.
15224         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15225         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15226         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15227         <kernel-features.h>.
15228         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15229         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15231 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15233         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15235 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15237         [BZ #17069]
15238         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15239         constructed tree before returning error.
15240         * posix/bug-regexp36.c: Expand test case.
15242 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15244         [BZ #6803]
15245         * math/libm-test.inc (scalbln_test_date):
15246         Add errno expectations.
15247         * math/w_scalblnf.c: New File.
15248         Add wrapper which checks for setting errno to ERANGE.
15249         Add weak_alias for corresponding scalbln function.
15250         * math/w_scalbln.c: Likewise.
15251         * math/w_scalblnl.c: Likewise.
15252         * math/Makefile (libm-calls): Add w_scalbln.
15253         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15254         Remove weak_alias for corresponding scalbln function.
15255         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15256         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15258         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15259         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15260         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15261         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15262         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15263         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15264         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15265         Remove long_double_symbol for scalblnl function in libm, libc.
15266         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15267         Add wrapper which checks for setting errno to ERANGE.
15268         Add long_double_symbol for scalblnl function in libm, libc.
15269         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15270         Remove long_double_symbol for scalblnl in libm.
15271         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15272         Add wrapper which checks for setting errno to ERANGE.
15273         Add long_double_symbol for scalblnl function in libm.
15274         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15275         Do not use wrapper because of own implementation.
15277 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15279         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15280         3 bytes for __pad1 for x32.
15281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15283 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15284             H.J. Lu  <hongjiu.lu@intel.com>
15286         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15287         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15288         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15289         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15290         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15292 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15294         [BZ #17069]
15295         * posix/regcomp.c (parse_expression): Deallocate partially
15296         constructed tree before returning error.
15297         * posix/Makefile.c (tests): Add bug-regex36.
15298         (generated): Add bug-regex36.mtrace.
15299         (tests-special): Add $(objpfx)bug-regex36-mem.out
15300         (bug-regex36-ENV): New variable.
15301         ($(objpfx)bug-regex36-mem.out): New rule.
15302         * posix/bug-regex36.c: New file.
15304 2014-06-19  Will Newton  <will.newton@linaro.org>
15306         * malloc/malloc.c (systrim): If extra is zero then return
15307         early.
15309 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15311         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15313 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15315         * sysdeps/aarch64/strchr.S: New file.
15317 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15319         [BZ #17022]
15320         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15321         from arguments -2 or below.
15322         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15323         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15325 2014-06-18  Andreas Schwab  <schwab@suse.de>
15327         [BZ #17062]
15328         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15329         of a bracket expr not to run off the end of the string.
15330         * posix/Makefile (tests): Add tst-fnmatch3.
15331         * posix/tst-fnmatch3.c: New file.
15333 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15335         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15336         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15337         [$(cross-compiling) = no]: Likewise.
15338         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15339         [$(cross-compiling) = no]: Likewise.
15341 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15343         [BZ #17031]
15344         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15345         double, adjusted for any remainder from the high double.
15346         * math/libm-test.inc (nearbyint): Add tests.
15347         (rint): Likewise.
15349 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15351         * nptl/sysdeps/powerpc/Makefile: Moved ...
15352         * sysdeps/powerpc/nptl/Makefile: ... here.
15353         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15354         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15355         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15356         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15357         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15358         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15359         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15360         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15361         * nptl/sysdeps/powerpc/tls.h: Moved ...
15362         * sysdeps/powerpc/nptl/tls.h: ... here.
15364 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15366         [BZ #16681]
15367         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15368         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15369         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15370         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15371         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15372         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15373         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15374         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15375         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15377 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15379         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15381 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15383         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15384         defined operator.
15386         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15387         $TIMEOUTFACTOR.
15389 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15391         [BZ #17058]
15392         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15393         non-executed part of the test.
15395 2014-06-16  Andreas Schwab  <schwab@suse.de>
15397         * string/bits/string2.h (strdup, strndup): Update feature guard.
15399 2014-06-14  David S. Miller  <davem@davemloft.net>
15401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15403 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15405         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15406         that was previously under [RESET_PID].
15407         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15409         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15410         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15411         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15412         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15413         (__libc_vfork): New strong alias.
15414         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15416 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15418         * sysdeps/generic/elide.h: New file.
15420 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15422         * Makefile (installed-headers): Adjust path of pthread.h header.
15424 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15426         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15427         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15428         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15429         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15431         * nptl/sysdeps/s390/Makefile: Moved ...
15432         * sysdeps/s390/nptl/Makefile: ... here.
15433         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15434         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15435         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15436         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15437         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15438         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15439         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15440         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15441         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15442         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15443         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15444         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15445         * nptl/sysdeps/s390/tls.h: Moved ...
15446         * sysdeps/s390/nptl/tls.h: ... here.
15448         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15449         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15451 2014-06-13  David S. Miller  <davem@davemloft.net>
15453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15456         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15460         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15461         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15462         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15463         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15464         Remove RESET_PID cpp guards.
15465         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15466         Remove RESET_PID cpp guards.
15467         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15469 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15471         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15472         __sp to uintptr_t.
15474 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15477         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15478         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15479         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15480         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15481         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15482         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15483         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15484         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15485         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15486         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15488         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15489         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15490         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15491         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15492         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15493         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15494         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15495         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15497         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15498         (pthread_rwlock_rdlock): Add elision.
15499         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15500         (pthread_rwlock_wrlock): Add elision.
15501         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15502         (pthread_rwlock_trywrlock): Add elision.
15503         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15504         (pthread_rwlock_tryrdlock): Add elision.
15505         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15506         (pthread_rwlock_tryrdlock): Add elision unlock.
15507         * nptl/sysdeps/pthread/pthread.h:
15508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15509         (PTHREAD_RWLOCK_INITIALIZER,
15510         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15511         Handle new elision field.
15512         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15513         * sysdeps/arm/nptl/bits/pthreadtypes.h
15514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15515         * sysdeps/sh/nptl/bits/pthreadtypes.h
15516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15517         * sysdeps/tile/nptl/bits/pthreadtypes.h
15518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15519         * sysdeps/a/nptl/bits/pthreadtypes.h
15520         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15521         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15522         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15523         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15525         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15527         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15528         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15529         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15530         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15531         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15533         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15535         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15537         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15538         (elision_init): Set try_xbegin to zero when no RTM.
15539         * sysdeps/x86/nptl/bits/pthreadtypes.h
15540         (pthread_rwlock_t): Change __pad1 to __rwelision.
15541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15543 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15545         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15546         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15547         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15548         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15550 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15552         [BZ #16996]
15553         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15554         that the cached result has been set before returning it.
15556 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15558         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15559         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15560         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15561         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15562         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15563         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15565         * nptl/sysdeps/sparc/Makefile: Moved ...
15566         * sysdeps/sparc/nptl/Makefile: ... here.
15567         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15568         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15569         * nptl/sysdeps/sparc/tls.h: Moved ...
15570         * sysdeps/sparc/nptl/tls.h: ... here.
15571         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15572         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15573         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15574         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15575         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15576         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15577         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15578         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15579         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15580         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15581         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15582         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15583         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15584         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15585         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15586         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15587         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15588         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15589         Update #include.
15590         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15591         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15592         Update #include.
15593         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15595         Update #include.
15596         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15598         Update #include.
15600         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15602         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15603         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15605         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15606         (struct list_links): Type removed.
15607         (struct thread_node, struct timer_node): Replace struct list_links
15608         with struct list_head.
15609         (list_unlink_ip): Likewise.
15610         * sysdeps/pthread/timer_routines.c
15611         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15612         (list_append, list_insbefore): Likewise.
15613         (list_init): Function removed.
15614         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15615         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15616         * sysdeps/pthread/Makefile: ... here, new file.
15618         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15619         * sysdeps/nptl/Implies: ... here.
15620         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15621         * nptl/sysdeps/pthread/list.h: Moved ...
15622         * include/list.h: ... here.
15623         * nptl/sysdeps/pthread/createthread.c: Moved ...
15624         * nptl/createthread.c: ... here.
15625         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15626         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15627         * nptl/pt-longjmp.c: ... here.
15628         * nptl/sysdeps/pthread/Makefile: Moved ...
15629         * sysdeps/nptl/Makefile: ... here.
15630         * nptl/sysdeps/pthread/Subdirs: Moved ...
15631         * sysdeps/nptl/Subdirs: ... here.
15632         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15633         * sysdeps/nptl/aio_misc.h: ... here.
15634         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15635         * sysdeps/nptl/bits/libc-lock.h: ... here.
15636         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15637         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15638         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15639         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15640         * nptl/sysdeps/pthread/configure: Moved ...
15641         * sysdeps/nptl/configure: ... here.
15642         * nptl/sysdeps/pthread/configure.ac: Moved ...
15643         * sysdeps/nptl/configure.ac: ... here.
15644         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15645         * sysdeps/nptl/gai_misc.h: ... here.
15646         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15647         * sysdeps/nptl/librt-cancellation.c: ... here.
15648         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15649         * sysdeps/nptl/malloc-machine.h: ... here.
15650         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15651         * sysdeps/nptl/pthread-functions.h: ... here.
15652         * nptl/sysdeps/pthread/pthread.h: Moved ...
15653         * sysdeps/nptl/pthread.h: ... here.
15654         * nptl/sysdeps/pthread/setxid.h: Moved ...
15655         * sysdeps/nptl/setxid.h: ... here.
15656         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15657         * sysdeps/nptl/sigfillset.c: ... here.
15658         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15659         * sysdeps/nptl/tcb-offsets.h: ... here.
15660         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15661         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15662         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15663         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15664         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15665         * sysdeps/pthread/allocalim.h: ... here.
15666         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15667         * sysdeps/pthread/bits/sigthread.h: ... here.
15668         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15669         * sysdeps/pthread/flockfile.c: ... here.
15670         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15671         * sysdeps/pthread/ftrylockfile.c: ... here.
15672         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15673         * sysdeps/pthread/funlockfile.c: ... here.
15674         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15675         * sysdeps/pthread/posix-timer.h: ... here.
15676         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15677         * sysdeps/pthread/timer_create.c: ... here.
15678         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15679         * sysdeps/pthread/timer_delete.c: ... here.
15680         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15681         * sysdeps/pthread/timer_getoverr.c: ... here.
15682         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15683         * sysdeps/pthread/timer_gettime.c: ... here.
15684         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15685         * sysdeps/pthread/timer_routines.c: ... here.
15686         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15687         * sysdeps/pthread/timer_settime.c: ... here.
15688         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15689         * sysdeps/pthread/tst-timer.c: ... here.
15690         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15691         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15693         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15694         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15696         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15697         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15698         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15699         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15700         Update #include target.
15701         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15702         * sysdeps/i386/i686/nptl/Makefile: ... here.
15703         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15704         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15705         Update #include target.
15706         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15707         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15708         * nptl/sysdeps/i386/Makefile: Moved ...
15709         * sysdeps/i386/nptl/Makefile: ... here.
15710         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15711         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15712         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15713         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15714         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15715         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15716         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15717         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15718         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15719         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15720         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15721         * nptl/sysdeps/i386/tls.h: Moved ...
15722         * sysdeps/i386/nptl/tls.h: ... here.
15724         * sysdeps/sh/Makefile [$(subdir) = csu]
15725         (gen-as-const-headers): Add tcb-offsets.sym.
15726         * nptl/sysdeps/sh/Makefile: File removed.
15727         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15728         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15729         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15730         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15731         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15732         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15733         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15734         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15735         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15736         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15737         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15738         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15739         * nptl/sysdeps/sh/tls.h: Moved ...
15740         * sysdeps/sh/nptl/tls.h: ... here.
15741         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15742         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15743         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15744         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15745         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15746         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15747         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15748         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15749         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15750         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15751         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15752         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15754         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15755         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15756         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15757         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15758         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15759         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15760         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15761         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15762         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15763         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15764         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15765         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15766         Moved ...
15767         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15769         Moved ...
15770         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15771         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15772         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15773         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15774         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15775         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15776         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15777         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15778         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15779         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15780         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15781         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15782         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15783         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15784         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15785         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15786         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15787         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15788         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15790 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15792         * posix/spawn_faction_addopen.c: Include string.h.
15794 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15796         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15797         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15798         * nptl/sysdeps/x86_64/Makefile: Moved ...
15799         * sysdeps/x86_64/nptl/Makefile: ... here.
15800         * nptl/sysdeps/x86_64/configure: Moved ...
15801         * sysdeps/x86_64/nptl/configure: ... here.
15802         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15803         * sysdeps/x86_64/nptl/configure.ac: ... here.
15804         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15805         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15806         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15807         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15808         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15809         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15810         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15811         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15812         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15813         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15814         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15815         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15816         * nptl/sysdeps/x86_64/tls.h: Moved ...
15817         * sysdeps/x86_64/nptl/tls.h: ... here.
15818         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15819         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15820         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15821         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15823         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15825 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15829 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15831         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15832         type.
15833         [POSIX] (off_t): Likewise.
15834         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15835         [POSIX] (S_ISBLK): Require macro.
15836         [POSIX] (S_ISCHR): Likewise.
15837         [POSIX] (S_ISDIR): Likewise.
15838         [POSIX] (S_ISFIFO): Likewise.
15839         [POSIX] (S_ISREG): Likewise.
15840         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15841         optional-macro.
15842         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15843         type.
15844         [POSIX] (time_t): Likewise.
15845         [POSIX] (timer_t): Likewise.
15847 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15849         [BZ #17048]
15850         * posix/spawn_int.h (struct __spawn_action): Make the path string
15851         non-const to support deallocation.
15852         * posix/spawn_faction_addopen.c
15853         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15854         * posix/spawn_faction_destroy.c
15855         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15856         path in all spawn_do_open actions.
15857         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15858         posix_spawn_file_actions_addopen.
15860 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15862         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15863         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15864         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15865         conditional code always true.
15866         (__libc_vfork): New alias.
15868 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15870         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15871         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15873         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15875         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15876         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15878         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15879         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15881         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15882         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15884 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15886         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15887         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15888         multiarch strcmp for PPC64.
15889         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15890         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15892         multiarch optimizations.
15893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15894         (__libc_ifunc_impl_list): Likewise.
15896 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15898         * benchtests/scripts/validate_benchout.py: New script.
15899         * benchtests/Makefile (bench-func): Call it.
15900         * benchtests/scripts/benchout.schema.json: New file.
15902 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15904         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15905         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15906         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15907         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15908         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15909         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15910         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15911         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15912         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15913         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15914         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15915         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15916         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15917         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15918         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15919         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15921         Moved ...
15922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15923         ... here.
15924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15925         Moved ...
15926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15928         Moved ...
15929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15930         ... here.
15931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15932         Moved ...
15933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15934         ... here.
15935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15936         Moved ...
15937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15939         Moved ...
15940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15941         ... here.
15942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15943         Moved ...
15944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15945         ... here.
15946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15947         Moved ...
15948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15950         Moved ...
15951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15952         ... here.
15953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15954         Moved ...
15955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15956         ... here.
15957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15958         Moved ...
15959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15960         ... here.
15961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15962         Moved ...
15963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15965         Moved ...
15966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15967         ... here.
15968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15969         Moved ...
15970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15971         ... here.
15972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15973         Moved ...
15974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15975         ... here.
15976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15977         Moved ...
15978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15980         Moved ...
15981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15982         ... here.
15983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15984         Moved ...
15985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15986         ... here.
15987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15988         Moved ...
15989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15991         Moved ...
15992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15993         ... here.
15994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15995         Moved ...
15996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15998         Moved ...
15999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16001         Moved ...
16002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16003         ... here.
16004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16005         Moved ...
16006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16007         ... here.
16008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16009         Moved ...
16010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16011         ... here.
16012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16013         Moved ...
16014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16016         Moved ...
16017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16018         ... here.
16019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16020         Moved ...
16021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16022         ... here.
16023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16024         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16026         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16027         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16028         Moved ...
16029         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16030         ... here.
16031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16032         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16034         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16035         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16036         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16037         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16038         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16039         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16040         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16042         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16044         Moved ...
16045         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16046         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16047         Moved ...
16048         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16050         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16052         Moved ...
16053         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16055         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16057         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16058         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16059         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16061 2014-06-10  Wilco  <wdijkstr@arm.com>
16063         * math/test-fenv-return.c: New file.
16064         * math/Makefile: Add new test test-fenv-return.
16066 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16068         [BZ #17042]
16069         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16070         when x - 1 is zero.
16071         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16072         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16073         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16074         0.0L for an argument of 1.0L.
16075         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16076         Likewise.
16077         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16078         value when x - 1 is zero.
16079         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16080         * sysdeps/i386/fpu/libm-test-ulps: Update.
16081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16085         [BZ #15119]
16086         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16088 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16090         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16091         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16093 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16095         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16096         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16098         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16099         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16101         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16102         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16104         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16105         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16107         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16108         if not already defined.
16109         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16110         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16111         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16112         (TLS_INIT_TP): Use it.
16113         (TLS_DEFINE_INIT_TP): New macro.
16114         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16116 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16118         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16119         constant.
16120         [POSIX] (IXANY): Likewise.
16121         [POSIX] (OLCUC): Likewise.
16122         [POSIX || POSIX2008] (CBAUD): Do not allow.
16123         [POSIX || POSIX2008] (DEFECHO): Likewise.
16124         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16125         [POSIX || POSIX2008] (ECHOKE): Likewise.
16126         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16127         [POSIX || POSIX2008] (EXTA): Likewise.
16128         [POSIX || POSIX2008] (EXTB): Likewise.
16129         [POSIX || POSIX2008] (FLUSHO): Likewise.
16130         [POSIX || POSIX2008] (LOBLK): Likewise.
16131         [POSIX || POSIX2008] (PENDIN): Likewise.
16132         [POSIX || POSIX2008] (SWTCH): Likewise.
16133         [POSIX || POSIX2008] (VDISCARD): Likewise.
16134         [POSIX || POSIX2008] (VDSUSP): Likewise.
16135         [POSIX || POSIX2008] (VLNEXT): Likewise.
16136         [POSIX || POSIX2008] (VREPRINT): Likewise.
16137         [POSIX || POSIX2008] (VSTATUS): Likewise.
16138         [POSIX || POSIX2008] (VWERASE): Likewise.
16139         (B*): Change to B[0123456789]*.
16140         * conform/data/time.h-data [POSIX || UNIX98]
16141         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16142         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16143         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16144         [POSIX] (tm_*): Do not allow.
16146 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16148         * Makefile (install): Don't set LANGUAGE.
16149         * Makefile.in (install): Likewise.
16150         * assert/Makefile (test-assert-ENV): Remove variable.
16151         (test-assert-perr-ENV): Likewise.
16152         * elf/Makefile (neededtest4-ENV): Likewise.
16153         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16154         [$(cross-compiling) = no]: Don't set LANGUAGE.
16155         * io/ftwtest-sh (LANG): Remove variable.
16156         * libio/Makefile (tst-widetext-ENV): Likewise.
16157         * manual/install.texi (Running make install): Don't refer to
16158         environment settings for make install.
16159         * INSTALL: Regenerated.
16160         * nptl/tst-tls6.sh: Don't set LANG.
16161         * posix/globtest.sh (LANG): Remove variable.
16162         * string/Makefile (tester-ENV): Likewise.
16163         (inl-tester-ENV): Likewise.
16164         (noinl-tester-ENV): Likewise.
16165         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16166         [$(cross-compiling) = no]: Don't set LANGUAGE.
16167         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16168         without explicit environment settings.
16170 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16172         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16173         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16174         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16175         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16177 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16179         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16180         other files in the crypt directory.
16181         * crypt/crypt.c: Remove duplicate includes.
16182         * crypt/crypt-entry.c: Likewise.
16183         * crypt/crypt_util.c: Likewise.
16185 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16187         * Makeconfig (run-program-env): New variable.
16188         (run-program-prefix-before-env): Likewise.
16189         (run-program-prefix-after-env): Likewise.
16190         (run-program-prefix): Define in terms of new variables.
16191         (built-program-cmd-before-env): New variable.
16192         (built-program-cmd-after-env): Likewise.
16193         (built-program-cmd): Define in terms of new variables.
16194         (test-program-prefix-before-env): New variable.
16195         (test-program-prefix-after-env): Likewise.
16196         (test-program-prefix): Define in terms of new variables.
16197         (test-program-cmd-before-env): New variable.
16198         (test-program-cmd-after-env): Likewise.
16199         (test-program-cmd): Define in terms of new variables.
16200         * Rules (make-test-out): Use $(run-program-env).
16201         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16202         (help): Do not mention environment variables.  Mention
16203         --timeoutfactor option.
16204         (timeoutfactor): New variable.
16205         (blacklist_exports): Remove function.
16206         (exports): Remove variable.
16207         (command): Do not include ${exports}.
16208         * manual/install.texi (Configuring and compiling): Do not mention
16209         test wrappers preserving environment variables.  Mention that last
16210         assignment to a variable must take precedence.
16211         * INSTALL: Regenerated.
16212         * benchtests/Makefile (run-bench): Use $(run-program-env).
16213         * catgets/Makefile ($(objpfx)test1.cat): Use
16214         $(built-program-cmd-before-env), $(run-program-env) and
16215         $(built-program-cmd-after-env).
16216         ($(objpfx)test2.cat): Do not specify environment variables
16217         explicitly.
16218         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16219         $(run-program-env) and $(built-program-cmd-after-env).
16220         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16221         $(run-program-env) and $(test-program-cmd-after-env).
16222         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16223         explicitly.
16224         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16225         run_program_env and test_program_cmd_after_env arguments.
16226         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16227         * elf/tst-pathopt.sh: Use run_program_env argument.
16228         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16229         $(test-wrapper-env) and $(run-program-env).
16230         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16231         run_program_env arguments.
16232         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16233         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16234         $(test-program-prefix-before-env), $(run-program-env) and
16235         $(test-program-prefix-after-env).
16236         ($(objpfx)tst-gettext2.out): Likewise.
16237         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16238         run_program_env and test_program_prefix_after_env arguments.
16239         * intl/tst-gettext2.sh: Likewise.
16240         * intl/tst-gettext4.sh: Do not set environment variables
16241         explicitly.
16242         * intl/tst-gettext6.sh: Likewise.
16243         * intl/tst-translit.sh: Likewise.
16244         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16245         $(test-program-prefix-before-env), $(run-program-env) and
16246         $(test-program-prefix-after-env).
16247         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16248         run_program_env and test_program_prefix_after_env arguments.
16249         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16250         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16251         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16252         explicitly with each use of ${test_wrapper_env}.
16253         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16254         $(test-program-prefix-before-env), $(run-program-env) and
16255         $(test-program-prefix-after-env).
16256         * posix/tst-getconf.sh: Do not set environment variables
16257         explicitly.
16258         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16259         run_program_env and test_program_prefix_after_env arguments.
16260         * stdio-common/tst-printf.sh: Do not set environment variables
16261         explicitly.
16262         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16263         $(test-program-prefix-before-env), $(run-program-env) and
16264         $(test-program-prefix-after-env).
16265         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16266         run_program_env and test_program_prefix_after_env arguments.
16267         Split $test calls into $test_pre and $test.
16268         * timezone/Makefile (build-testdata): Use
16269         $(built-program-cmd-before-env), $(run-program-env) and
16270         $(built-program-cmd-after-env).
16272 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16274         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16275         strlen for non SHARED builds.
16277 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16279         * nptl/allocatestack.c (check_list): Inlined function...
16280         (__reclaim_stacks): ... here.
16282 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16284         [BZ #15698]
16285         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16286         memory overrun.
16288 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16290         * Rules (make-test-out): Include
16291         LOCPATH=$(common-objpfx)localedata in default environment.
16292         * debug/Makefile (tst-chk1-ENV): Remove variable.
16293         (tst-chk2-ENV): Likewise.
16294         (tst-chk3-ENV): Likewise.
16295         (tst-chk4-ENV): Likewise.
16296         (tst-chk5-ENV): Likewise.
16297         (tst-chk6-ENV): Likewise.
16298         (tst-lfschk1-ENV): Likewise.
16299         (tst-lfschk2-ENV): Likewise.
16300         (tst-lfschk3-ENV): Likewise.
16301         (tst-lfschk4-ENV): Likewise.
16302         (tst-lfschk5-ENV): Likewise.
16303         (tst-lfschk6-ENV): Likewise.
16304         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16305         (tst-iconv7-ENV): Likewise.
16306         * intl/Makefile (LOCPATH-ENV): Likewise.
16307         (tst-codeset-ENV): Likewise.
16308         (tst-gettext3-ENV): Likewise.
16309         (tst-gettext5-ENV): Likewise.
16310         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16311         (tst-fopenloc-ENV): Likewise.
16312         (tst-fgetws-ENV): Remove variable.
16313         (tst-ungetwc1-ENV): Likewise.
16314         (tst-ungetwc2-ENV): Likewise.
16315         (bug-ungetwc2-ENV): Likewise.
16316         (tst-swscanf-ENV): Likewise.
16317         (bug-ftell-ENV): Likewise.
16318         (tst-fgetwc-ENV): Likewise.
16319         (tst-fseek-ENV): Likewise.
16320         (tst-ftell-partial-wide-ENV): Likewise.
16321         (tst-ftell-active-handler-ENV): Likewise.
16322         (tst-ftell-append-ENV): Likewise.
16323         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16324         (tst-regexloc-ENV): Likewise.
16325         (bug-regex1-ENV): Likewise.
16326         (tst-regex-ENV): Likewise.
16327         (tst-regex2-ENV): Likewise.
16328         (bug-regex5-ENV): Likewise.
16329         (bug-regex6-ENV): Likewise.
16330         (bug-regex17-ENV): Likewise.
16331         (bug-regex18-ENV): Likewise.
16332         (bug-regex19-ENV): Likewise.
16333         (bug-regex20-ENV): Likewise.
16334         (bug-regex22-ENV): Likewise.
16335         (bug-regex23-ENV): Likewise.
16336         (bug-regex25-ENV): Likewise.
16337         (bug-regex26-ENV): Likewise.
16338         (bug-regex30-ENV): Likewise.
16339         (bug-regex32-ENV): Likewise.
16340         (bug-regex33-ENV): Likewise.
16341         (bug-regex34-ENV): Likewise.
16342         (bug-regex35-ENV): Likewise.
16343         (tst-rxspencer-ENV): Likewise.
16344         (tst-rxspencer-no-utf8-ENV): Likewise.
16345         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16346         (tst-sscanf-ENV): Likewise.
16347         (tst-swprintf-ENV): Likewise.
16348         (tst-swscanf-ENV): Likewise.
16349         (test-vfprintf-ENV): Likewise.
16350         (scanf13-ENV): Likewise.
16351         (bug14-ENV): Likewise.
16352         (tst-grouping-ENV): Likewise.
16353         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16354         (tst-strtod3-ENV): Likewise.
16355         (tst-strtod4-ENV): Likewise.
16356         (tst-strtod5-ENV): Likewise.
16357         (testmb2-ENV): Likewise./
16358         * string/Makefile (tst-strxfrm-ENV): Likewise.
16359         (tst-strxfrm2-ENV): Likewise.
16360         (bug-strcoll1-ENV): Likewise.
16361         (test-strcasecmp-ENV): Likewise.
16362         (test-strncasecmp-ENV): Likewise.
16363         * time/Makefile (tst-strptime-ENV): Likewise.
16364         (tst-ftime_l-ENV): Likewise.
16365         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16366         (tst-mbrtowc-ENV): Likewise.
16367         (tst-wcrtomb-ENV): Likewise.
16368         (tst-mbrtowc2-ENV): Likewise.
16369         (tst-c16c32-1-ENV): Likewise.
16370         (tst-mbsnrtowcs-ENV): Likewise.
16372 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16374         * manual/resource.texi (How to get information about the memory
16375         subsystem?): Fix typo.
16376         Reported by Peon de la Parra Ivan <peon@keba.com>
16378 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16380         [BZ #16882]
16381         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16382         (pthread_spin_lock): Branch out of spin loop to proper location.
16383         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16384         (pthread_spin_lock): Likewise.
16386         * nptl/tst-spin4.c: New test.
16387         * nptl/Makefile (tests): Add tst-spin4.
16389 2014-06-03  Andreas Schwab  <schwab@suse.de>
16391         [BZ #15946]
16392         * resolv/res_send.c (send_dg): Reload file descriptor after
16393         calling reopen.
16395 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16397         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16399 2014-06-03  Richard Henderson  <rth@redhat.com>
16401         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16402         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16403         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16404         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16405         in the SAVE_PID block.
16406         (__libc_vfork): New alias.
16407         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16409         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16410         child in registers, not on the stack.  Remove RESET_PID conditionals.
16411         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16413 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16415         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16417 2014-06-03  Wilco  <wdijkstr@arm.com>
16419         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16420         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16421         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16422         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16423         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16424         Likewise.
16426 2014-06-03  Wilco  <wdijkstr@arm.com>
16428         * sysdeps/aarch64/fpu/math_private.h
16429         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16430         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16431         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16432         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16433         Fix declarations.
16435 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16437         * crypt/crypt-private.h: Include ufc-crypt.h.
16438         (__b64_from_24bit): Declare extern.
16439         * crypt/crypt_util.c(__b64_from_24bit): New function.
16440         (b64t): New static const variable.
16441         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16442         (b64t): Remove variable.
16443         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16444         * crypt/sha256-crypt.c: Include crypt-private.h.
16445         (b64t): Remove variable.
16446         (__sha256_crypt_r): Remove b64_from_24bit and replace
16447         with __b64_from_24bit.
16448         * crypt/sha512-crypt.c: Likewise.
16450 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16452         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16453         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16454         Label the code __libc_vfork rather than __vfork.
16455         [!NOT_IN_libc] (vfork): Define as weak alias.
16456         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16457         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16458         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16460 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16462         * malloc/malloc.c (malloc_info): Fix format specifier for
16463         n_mmaps.
16465 2014-06-02  Wilco  <wdijkstr@arm.com>
16467         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16468         FPCR write.
16470 2014-06-02  Wilco  <wdijkstr@arm.com>
16472         [BZ #17009]
16473         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16474         Rewrite to reduce FPCR/FPSR accesses.
16476 2014-06-01  David S. Miller  <davem@davemloft.net>
16478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16480 2014-05-31  David S. Miller  <davem@davemloft.net>
16482         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16483         to occur in round to nearest mode when |x| >= 2.0
16485 2014-05-30  Richard Henderson  <rth@twiddle.net>
16487         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16488         (PSEUDO_RET_NOERRNO): Remove.
16489         (ret): Don't redefine.
16490         (ret_NOERRNO): Define in terms of ret.
16491         (ret_ERRVAL): Likewise.
16493         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16494         use of PSEUDO_RET; perform the error check directly.
16496 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16498         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16499         with __int128_t.
16501 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16503         * malloc/malloc (malloc_info): Fix formatting.
16505 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16506             Roland McGrath  <roland@hack.frob.com>
16508         * malloc/malloc (malloc_info): Also print mmapped statistics.
16510 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16512         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16513         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16515 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16517         * malloc/malloc.c (malloc_info): Inline mi_arena.
16519 2014-05-29  Richard Henderson  <rth@twiddle.net>
16521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16522         Remove comma before expanding ASM_ARGS_##nr.
16523         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16524         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16525         of ASM_ARGS_##nr.
16526         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16527         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16528         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16529         (ASM_ARGS_1): Add leading comma.
16531         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16532         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16533         to __errno_location.
16534         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16535         Remove the expected plt for __errno_location.
16537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16538         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16539         call to __read_tp.
16541         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16542         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16543         it and break it down.
16544         (DOCARGS_0, DOCARGS_1): Do nothing.
16545         (DOCARGS_2): Update to store into the new stack frame.
16546         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16547         (UNDOCARGS_1): Update to restore from the new stack frame.
16548         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16549         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16551         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16552         (SINGLE_THREAD_P): New parameter for result regno.
16553         (PSEUDO): Update to match; use cbz instead of beq.
16555         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16556         Use ENTRY to define the _nocancel entry point.  Share the syscall
16557         and syscall error check paths with the cancel path.
16558         (PSEUDO_END): New.
16560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16561         whitespace; tabs before and after asm mnemonics.
16563 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16565         [BZ #15132]
16566         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16567         Call fstat64 or stat64 internally, depending on arguments passed.
16568         Replace stat buffer argument with file descriptor argument.
16569         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16570         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16571         Pass fd to __internal_statvfs instead of calling fstat64.
16572         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16573         Pass fd to __internal_statvfs64 instead of calling fstat64.
16574         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16575         Pass -1 to __internal_statvfs instead of calling stat64.
16576         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16577         Pass -1 to __internal_statvfs64 instead of calling stat64.
16579 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16581         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16582         that was previously under [RESET_PID].
16583         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16585         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16586         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16588 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16590         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16592         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16593         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16595 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16597         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16599 2014-05-27  Andreas Schwab  <schwab@suse.de>
16601         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16602         TLS_INIT_TP macro.
16603         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16604         * elf/rtld.c (init_tls, dl_main): Likewise.
16605         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16606         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16607         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16608         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16609         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16610         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16611         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16612         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16613         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16614         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16615         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16616         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16617         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16618         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16619         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16620         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16621         * sysdeps/generic/tls.h: Update description.
16623 2014-05-27  Will Newton  <will.newton@linaro.org>
16625         [BZ #16990]
16626         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16627         and restore r2 rather than just restoring.
16629 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16631         [BZ #16724]
16632         * libio/tst-ftell-append.c: New test case.
16633         * libio/Makefile (tests): Add test case.
16634         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16635         append mode.
16636         * libio/wfileops.c (do_ftell_wide): Likewise.
16638 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16642         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16643         ...
16644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16646         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16647         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16649         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16650         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16651         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16653         Moved ...
16654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16656         Moved ...
16657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16658         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16659         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16660         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16661         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16662         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16663         ...
16664         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16665         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16666         Moved ...
16667         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16668         here.
16669         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16670         ...
16671         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16672         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16673         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16675         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16676         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16677         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16678         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16681         merge into ...
16682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16684         ...
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16687         ...
16688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16690         Moved ...
16691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16692         here.
16693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16694         Moved ...
16695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16697         Moved ...
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16701         conditional [RESET_PID].
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16704         removed.
16705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16706         removed.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16709         <tcb-offsets.h>.
16710         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16711         (__libc_vfork): New strong alias.
16712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16713         removed.
16714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16715         Removed.
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16718         <tcb-offsets.h>.
16719         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16720         (__libc_vfork): New strong alias.
16721         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16722         removed.
16723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16724         removed.
16726 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16728         * malloc/malloc.c (mi_arena): New function.
16729         (malloc_info): Remove nested function mi_arena. Call non-nosted
16730         function mi_arena.
16732 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16734         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16735         by insrwi.
16736         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16737         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16738         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16739         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16740         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16741         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16742         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16744 2014-05-26  Andreas Schwab  <schwab@suse.de>
16746         [BZ #16984]
16747         * locale/programs/repertoire.c (repertoire_read): Add slash
16748         between I18NPATH element and file name.
16749         * locale/programs/locfile.c (locfile_read): Likewise.
16751 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16753         * nptl/pthread_mutexattr_settype.c
16754         (__pthread_mutexattr_settype):
16755         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16757 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16759         * nptl/tst-mutex5 (do_test):
16760         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16762 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16764         * benchtests/README: Document 'init' directive.
16765         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16766         BENCH_INIT.
16767         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16768         (parse_file): Recognize 'init' directive.
16770 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16772         [BZ #16796]
16773         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16774         alignment of struct pthread.
16776 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16778         [BZ #16878]
16779         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16780         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16781         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16782         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16784 2014-05-25  Richard Henderson  <rth@twiddle.net>
16786         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16787         (SINGLE_THREAD_P_PIC): Remove.
16788         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16789         (SINGLE_THREAD_P_PIC): Remove.
16791         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16792         branch to syscall error ...
16793         (PSEUDO): ... here.
16794         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16795         from __local_syscall_error to .Lsyscall_error.
16796         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16797         (SYSCALL_ERROR): Update label name.
16799         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16800         Do not use DOARGS/UNDOARGS.
16801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16802         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16803         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16804         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16805         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16808         block comment.
16810         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16811         define if !NOT_IN_libc.
16812         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16813         define with non-default symbol versions.
16815 2014-05-23  Richard Henderson  <rth@twiddle.net>
16817         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16818         (vfork, __vfork): Define via compat_symbol.
16820         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16821         [!HAVE_IFUNC] (vfork_compat): Remove.
16822         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16824 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16826         [BZ #16978]
16827         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16828         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16829         variable.
16831 2014-05-23  Richard Henderson  <rth@twiddle.net>
16833         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16834         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16835         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16836         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16838         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16839         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16840         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16841         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16842         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16843         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16844         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16845         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16846         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16847         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16848         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16849         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16850         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16851         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16852         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16853         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16855         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16856         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16857         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16858         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16859         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16861         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16862         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16863         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16864         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16865         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16866         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16867         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16868         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16869         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16870         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16871         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16872         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16873         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16874         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16875         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16876         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16877         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16878         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16879         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16880         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16881         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16882         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16883         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16885         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16886         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16887         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16888         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16889         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16890         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16891         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16892         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16893         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16895         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16896         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16897         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16898         before exiting on error.
16899         (__libc_vfork): New strong alias.
16900         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16901         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16903         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16904         that was previously under [RESET_PID].
16905         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16907         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16909 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16911         [BZ #16977]
16912         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16913         value when x - 1 is zero.
16914         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16915         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16916         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16917         0.0L for an argument of 1.0L.
16918         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16919         Likewise.
16920         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16921         value when x - 1 is zero.
16922         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16923         * sysdeps/i386/fpu/libm-test-ulps: Update.
16924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16926 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16928         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16929         alphasort and versionsort.
16931 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16933         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16934         macro.
16935         [copysignf]: Likewise.
16937 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16939         * crypt/md5-crypt.c: Fix formatting.
16941 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16943         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16944         (b64_from_24bit): New function.
16946 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16949         libc_hidden_builtin_def to ifunc.
16950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16951         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16953 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16955         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16956         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16958 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16960         * nscd/Depend (linuxthreads): Remove.
16961         (nptl): Add.
16962         * resolv/Depend (linuxthreads): Remove.
16963         * rt/Depend (linuxthreads): Remove.
16965         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16966         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16967         $(common-objpfx)elf/.
16968         (link-libc-before-gnulib): Likewise.
16969         (elfobjdir): Remove variable.
16970         * Makefile (install): Use $(elf-objpfx) instead of
16971         $(common-objpfx)elf/.
16972         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16973         $(elfobjdir)/.
16974         (link-libc-deps): Likewise.
16975         ($(common-objpfx)libc.so): Likewise.
16976         ($(common-objpfx)linkobj/libc.so): Likewise.
16977         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16978         instead of $(common-objpfx)elf/.
16979         (symbolic-link-list): Likewise.
16980         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16981         [$(cross-compiling) = no]: Likewise.
16982         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16983         $(elfobjdir)/.
16984         (static-gnulib-arch): Likewise.
16985         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16986         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16987         $(common-objpfx)elf/.
16989 2014-05-21  Richard Henderson  <rth@redhat.com>
16991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16992         (SINGLE_THREAD_P): Use the correct width load.  Fold
16993         into the ldr offset.
16995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16996         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16998 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17000         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17001         (libgcc_s_resume): Use __attribute_used__.
17002         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17003         Likewise.
17005 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17007         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17008         optimization when used with float constants.
17010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17012 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17014         [BZ #16915]
17015         * locale/nl_langinfo_l.c: Make direct reference to every
17016         _nl_current_CATEGORY symbol.
17017         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17018         (tests-static): Add tst-langinfo-static.
17019         (tests-special): Add tst-langinfo-static.out.
17020         ($(objpfx)tst-langinfo.out): Redirect output.
17021         ($(objpfx)tst-langinfo-static.out): New.
17022         * localedata/tst-langinfo.sh: Send output to stdout.
17023         * localedata/tst-langinfo-static.c: New file.
17025         [BZ #16965]
17026         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17027         when the shift amount is modulo the limb size.
17029 2014-05-20  Richard Henderson  <rth@redhat.com>
17031         [BZ #16967]
17032         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17033         Change type of sa_flags from unsigned int to int.
17035         [BZ #16966]
17036         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17038         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17040 2014-05-20  Will Newton  <will.newton@linaro.org>
17042         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17043         Test the return value of the system call in the nocancel case.
17045 2014-05-20  Will Newton  <will.newton@linaro.org>
17046             Yvan Roux  <yvan.roux@linaro.org>
17048         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17049         #include of asm/ptrace.h.
17050         (PTRACE_GET_THREAD_AREA): Remove #undef.
17051         (PTRACE_GETHBPREGS): Likewise.
17052         (PTRACE_SETHBPREGS): Likewise.
17053         (struct user_regs_struct): New structure.
17054         (struct user_fpsimd_struct): New structure.
17055         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17056         #include of asm/ptrace.h and second #include of sys/user.h.
17057         (PTRACE_GET_THREAD_AREA): Remove #undef.
17058         (PTRACE_GETHBPREGS): Likewise.
17059         (PTRACE_SETHBPREGS): Likewise.
17060         (ELF_NGREG): Use new struct user_regs_struct.
17061         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17063 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17065         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17066         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17068 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17070         [BZ #16958]
17071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17072         membar to avoid block loads/stores to overlap previous stores.
17074 2014-05-17  Richard Henderson  <rth@redhat.com>
17076         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17077         Create the __##syscall_name##_nocancel entry point.
17078         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17079         Remove; let the sysdep-cancel.h code create it.
17081 2014-05-17  David S. Miller  <davem@davemloft.net>
17083         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17084         Protect with __USE_GNU.
17085         (TIOCSET_TEMPT): Likewise.
17086         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17087         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17088         these are already provided in bits/ioctl-types.h
17090 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17092         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17093         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17095         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17096         Use wait4 regardless of [__NR_waitpid].
17098 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17100         PR libgcc/60166
17101         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17102         (_FP_NANSIGN_Q): Set the quiet bit.
17104 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17106         * benchtests/Makefile
17107         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17108         not $(common-objpfx)math/libm.so.
17109         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17110         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17111         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17112         $(common-objpfx)dlfcn/libdl.so.
17113         ($(objpfx)tst-audit8): Depend on $(libm), not
17114         $(common-objpfx)math/libm.so.
17115         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17116         not $(common-objpfx)dlfcn/libdl.so.
17117         * math/Makefile
17118         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17119         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17120         [$(build-shared) = yes].
17121         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17122         $(common-objpfx)nptl/libpthread.so.
17123         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17124         $(common-objpfx)math/libm.so$(libm.so-version) or
17125         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17126         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17127         $(common-objpfx)dlfcn/libdl.so.
17128         * setjmp/Makefile (link-libm): Remove variable.
17129         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17130         * stdio-common/Makefile (link-libm): Remove variable.
17131         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17132         * stdlib/Makefile (link-libm): Remove variable.
17133         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17134         ($(objpfx)tst-strtod-round): Likewise.
17135         ($(objpfx)tst-tininess): Likewise.
17136         ($(objpfx)tst-strtod-underflow): Likewise.
17137         ($(objpfx)tst-strtod6): Likewise.
17138         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17139         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17140         $(common-objpfx)dlfcn/libdl.so.
17142 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17144         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17145         BSD terminal modes definitions.
17147 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17149         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17150         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17152         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17153         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17154         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17155         Don't do #include_next.
17156         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17157         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17158         Don't do #include_next.
17159         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17160         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17161         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17162         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17164 2014-05-16  Allan McRae  <allan@archlinux.org>
17166         * po/sv.po: Update Swedish translation from translation project.
17168         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17169         in sed expression.
17171 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17173         [BZ #16917]
17174         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17175         errno if the TIOCGPTN ioctl fails with an error different than
17176         EINVAL.
17177         * login/tst-ptsname.c: New file.
17178         * login/Makefile (tests): Add tst-ptsname.
17180         [BZ #16943]
17181         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17182         and prlimit64.
17184 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17186         [BZ #16849]
17187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17188         herrno to return EAI_AGAIN.
17190 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17192         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17193         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17194         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17195         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17196         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17197         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17198         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17199         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17200         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17201         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17202         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17203         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17204         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17205         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17206         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17207         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17208         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17209         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17210         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17211         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17212         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17213         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17214         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17215         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17216         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17217         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17218         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17219         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17220         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17221         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17223         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17225         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17227         Moved ...
17228         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17230         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17232         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17234         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17236         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17238         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17240         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17242         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17244         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17246         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17248         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17250         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17252         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17254         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17256         Moved ...
17257         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17259         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17261         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17263         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17265         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17267         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17269         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17271         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17273         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17275         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17277         Moved ...
17278         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17280         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17282         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17283         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17284         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17285         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17286         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17287         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17288         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17289         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17290         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17291         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17292         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17293         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17294         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17295         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17296         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17297         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17298         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17299         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17300         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17301         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17302         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17303         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17304         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17305         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17306         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17307         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17308         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17309         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17310         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17311         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17312         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17314         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17315         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17317         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17318         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17319         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17320         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17321         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17322         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17323         Moved ...
17324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17325         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17326         Moved ...
17327         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17328         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17329         Moved ...
17330         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17331         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17332         Moved ...
17333         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17334         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17335         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17337         Moved ...
17338         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17339         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17340         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17341         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17342         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17343         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17344         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17346         Moved ...
17347         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17349         Moved ...
17350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17351         ... here.
17352         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17353         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17354         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17355         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17356         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17357         Moved ...
17358         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17359         ... here.
17360         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17361         Moved ...
17362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17363         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17364         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17365         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17366         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17367         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17368         Moved ...
17369         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17370         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17371         Moved ...
17372         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17373         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17374         Moved ...
17375         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17376         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17377         Moved ...
17378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17379         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17380         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17382         Moved ...
17383         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17384         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17385         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17386         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17387         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17388         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17389         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17391         Moved ...
17392         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17394         Moved ...
17395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17396         ... here.
17397         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17398         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17399         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17400         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17401         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17402         Moved ...
17403         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17404         ... here.
17405         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17406         Moved ...
17407         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17408         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17409         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17410         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17411         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17412         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17413         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17414         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17415         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17416         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17417         Moved ...
17418         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17420         Moved ...
17421         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17422         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17423         Moved ...
17424         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17425         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17426         Moved ...
17427         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17428         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17429         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17430         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17431         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17433         Moved ...
17434         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17435         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17436         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17437         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17439         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17440         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17441         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17442         Moved ...
17443         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17444         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17445         Moved ...
17446         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17447         ... here.
17448         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17449         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17450         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17451         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17452         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17453         Moved ...
17454         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17455         ... here.
17456         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17457         Moved ...
17458         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17459         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17460         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17461         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17462         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17463         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17464         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17465         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17466         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17467         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17468         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17470         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17471         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17473         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17474         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17476         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17477         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17478         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17479         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17480         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17481         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17482         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17483         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17484         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17485         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17486         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17487         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17488         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17489         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17490         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17491         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17492         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17494         Moved ...
17495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17497         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17498         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17499         Moved ...
17500         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17502         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17504         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17505         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17506         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17508         Moved ...
17509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17511         Moved ...
17512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17514         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17516         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17517         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17518         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17519         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17520         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17521         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17522         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17523         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17524         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17525         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17526         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17527         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17528         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17530         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17531         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17532         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17533         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17534         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17536         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17537         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17538         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17539         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17540         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17541         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17542         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17543         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17544         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17545         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17547         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17548         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17550         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17551         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17552         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17553         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17554         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17555         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17556         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17557         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17558         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17559         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17560         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17561         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17562         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17563         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17565         Update #include.
17566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17567         Likewise.
17568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17569         Likewise.
17570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17571         Likewise.
17572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17573         Likewise.
17574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17575         Likewise.
17576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17577         Likewise.
17578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17579         Likewise.
17580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17581         Likewise.
17582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17583         Likewise.
17584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17585         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17589         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17591         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17592         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17593         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17594         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17595         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17596         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17597         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17598         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17600         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17601         that was previously under [RESET_PID].
17602         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17603         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17604         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17606         * sysdeps/i386/nptl/Implies: New file.
17607         * sysdeps/x86_64/nptl/Implies: New file.
17608         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17609         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17610         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17611         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17613         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17614         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17615         (__libc_vfork): New strong alias.
17616         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17617         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17619         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17620         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17621         (__libc_vfork): New strong alias.
17622         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17623         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17625         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17626         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17627         (__libc_vfork): New strong alias.
17628         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17629         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17630         * nptl/pt-vfork.c: New file.
17631         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17632         (libpthread: GLIBC_2.20): New version set (empty).
17634 2014-05-14  Will Newton  <will.newton@linaro.org>
17636         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17637         rather than #if.
17639 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17641         [BZ #16564]
17642         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17643         arguments with exponent 65 or above.
17644         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17645         arguments 0x1p113L or above.
17646         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17647         to arguments 0x1p107L or above.
17648         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17649         positive arguments with exponent 65 or above.
17650         * math/auto-libm-test-in: Add more tests of log1p.
17651         * math/auto-libm-test-out: Regenerated.
17653         [BZ #16928]
17654         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17655         non-finite arguments is +0.
17656         * math/s_cacosf.c (__cacosf): Likewise.
17657         * math/s_cacosl.c (__cacosl): Likewise.
17658         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17659         * sysdeps/i386/fpu/libm-test-ulps: Update.
17660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17662         [BZ #16927]
17663         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17664         value.
17665         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17666         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17667         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17668         for explicit high bit of mantissa when testing for argument equal
17669         to 1.
17670         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17671         * sysdeps/i386/fpu/libm-test-ulps: Update.
17672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17674         [BZ #16516]
17675         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17676         (__erf): Scale by 16 instead of 8 in potentially underflowing
17677         case.  Ensure exception if result actually underflows.
17678         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17679         (__erff): Scale by 16 instead of 8 in potentially underflowing
17680         case.  Ensure exception if result actually underflows.
17681         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17682         (efx8): Remove variable.
17683         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17684         case.  Ensure exception if result actually underflows.
17685         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17686         (efx8): Remove variable.
17687         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17688         case.  Ensure exception if result actually underflows.
17689         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17690         (efx8): Remove variable.
17691         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17692         case.  Ensure exception if result actually underflows.
17693         * math/auto-libm-test-in: Add more tests of erf.
17694         * math/auto-libm-test-out: Regenerated.
17696 2014-05-14  Andreas Schwab  <schwab@suse.de>
17698         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17699         Remove code conditionalized on USE___THREAD.
17701         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17702         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17703         not definedness.
17705 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17708         Define unconditionally.
17709         (__ASSUME_O_CLOEXEC): Likewise.
17710         (__ASSUME_SOCK_CLOEXEC): Likewise.
17711         (__ASSUME_IN_NONBLOCK): Likewise.
17712         (__ASSUME_PIPE2): Likewise.
17713         (__ASSUME_EVENTFD2): Likewise.
17714         (__ASSUME_SIGNALFD4): Likewise.
17715         (__ASSUME_DUP3): Likewise.
17716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17717         (__ASSUME_DUP3): Do not define.
17718         (__ASSUME_EVENTFD2): Likewise.
17719         (__ASSUME_IN_NONBLOCK): Likewise.
17720         (__ASSUME_O_CLOEXEC): Likewise.
17721         (__ASSUME_PIPE2): Likewise.
17722         (__ASSUME_SIGNALFD4): Likewise.
17723         (__ASSUME_SOCK_CLOEXEC): Likewise.
17724         (__ASSUME_UTIMES): Undefine.
17725         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17726         (__ASSUME_UTIMES): Do not define.
17727         (__ASSUME_O_CLOEXEC): Likewise.
17728         (__ASSUME_SOCK_CLOEXEC): Likewise.
17729         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17730         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17731         0x020621].
17732         (__ASSUME_PIPE2): Likewise.
17733         (__ASSUME_EVENTFD2): Likewise.
17734         (__ASSUME_SIGNALFD4): Likewise.
17735         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17736         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17737         Do not define.
17738         (__ASSUME_EVENTFD2): Likewise.
17739         (__ASSUME_SIGNALFD4): Likewise.
17740         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17741         (__ASSUME_32BITUIDS): Likewise.
17742         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17743         (__ASSUME_IPC64): Likewise.
17744         (__ASSUME_ST_INO_64_BIT): Likewise.
17745         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17746         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17747         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17748         (__ASSUME_UTIMES): Do not define.
17749         (__ASSUME_PSELECT): Likewise.
17750         (__ASSUME_PPOLL): Likewise.
17751         (__ASSUME_O_CLOEXEC): Likewise.
17752         (__ASSUME_SOCK_CLOEXEC): Likewise.
17753         (__ASSUME_IN_NONBLOCK): Likewise.
17754         (__ASSUME_PIPE2): Likewise.
17755         (__ASSUME_EVENTFD2): Likewise.
17756         (__ASSUME_SIGNALFD4): Likewise.
17757         (__ASSUME_DUP3): Likewise.
17758         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17759         (__ASSUME_UTIMES): Likewise.
17760         (__ASSUME_O_CLOEXEC): Likewise.
17761         (__ASSUME_SOCK_CLOEXEC): Likewise.
17762         (__ASSUME_IN_NONBLOCK): Likewise.
17763         (__ASSUME_PIPE2): Likewise.
17764         (__ASSUME_EVENTFD2): Likewise.
17765         (__ASSUME_SIGNALFD4): Likewise.
17766         (__ASSUME_DUP3): Likewise.
17767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17768         (__ASSUME_UTIMES): Likewise.
17769         (__ASSUME_O_CLOEXEC): Likewise.
17770         (__ASSUME_SOCK_CLOEXEC): Likewise.
17771         (__ASSUME_IN_NONBLOCK): Likewise.
17772         (__ASSUME_PIPE2): Likewise.
17773         (__ASSUME_EVENTFD2): Likewise.
17774         (__ASSUME_SIGNALFD4): Likewise.
17775         (__ASSUME_DUP3): Likewise.
17776         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17777         Likewise.
17778         (__ASSUME_UTIMES): Likewise.
17779         (__ASSUME_EVENTFD2): Likewise.
17780         (__ASSUME_SIGNALFD4): Likewise.
17781         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17782         (__ASSUME_O_CLOEXEC): Likewise.
17783         (__ASSUME_SOCK_CLOEXEC): Likewise.
17784         (__ASSUME_IN_NONBLOCK): Likewise.
17785         (__ASSUME_PIPE2): Likewise.
17786         (__ASSUME_EVENTFD2): Likewise.
17787         (__ASSUME_SIGNALFD4): Likewise.
17788         (__ASSUME_DUP3): Likewise.
17789         (__ASSUME_UTIMES): Undefine.
17791         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17792         feclearexcept.  Remove symbol versioning code.
17793         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17794         symbol versioning code.
17795         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17796         symbol versioning code.
17797         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17798         feupdateenv.  Remove symbol versioning code.
17799         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17800         fegetexceptflag.  Remove symbol versioning code.
17801         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17802         fesetexceptflag.  Remove symbol versioning code.
17803         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17804         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17805         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17806         (__posix_fadvise64_l32): Remove prototype.
17807         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17808         code.
17810 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17812         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17813         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17814         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17815         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17817 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17819         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17820         current working directory
17822 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17824         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17825         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17826         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17827         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17828         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17829         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17830         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17831         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17832         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17833         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17834         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17835         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17836         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17837         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17838         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17839         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17840         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17841         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17842         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17843         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17844         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17845         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17846         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17847         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17848         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17849         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17850         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17851         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17852         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17853         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17854         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17855         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17856         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17857         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17858         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17859         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17860         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17861         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17862         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17863         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17864         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17865         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17867         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17868         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17870         * sysdeps/unix/sysv/linux/arm/Makefile
17871         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17872         Add rt-aeabi_unwind_cpp_pr1.
17873         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17874         Add nptl-aeabi_unwind_cpp_pr1.
17875         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17876         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17877         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17878         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17879         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17880         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17882         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17883         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17884         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17885         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17887         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17888         Deconditionalize the code that was previously under [RESET_PID].
17889         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17891         * sysdeps/generic/exit-thread.h: New file.
17892         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17893         * include/unistd.h (__exit_thread): Remove declaration.
17894         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17895         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17896         * csu/libc-start.c: Include <exit-thread.h>.
17897         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17898         * nptl/pthread_create.c: Include <exit-thread.h>.
17899         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17900         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17901         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17902         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17903         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17904         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17905         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17906         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17907         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17908         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17909         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17910         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17911         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17912         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17913         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17914         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17915         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17917 2014-05-13  Andreas Schwab  <schwab@suse.de>
17919         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17921 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17923         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17924         (__ASSUME_UTIMES): Do not condition on kernel version.
17925         (__ASSUME_PSELECT): Define unconditionally.
17926         (__ASSUME_PPOLL): Likewise.
17927         (__ASSUME_ATFCTS): Likewise.
17928         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17929         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17930         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17931         (__ASSUME_UTIMENSAT): Define unconditionally.
17932         (__ASSUME_PRIVATE_FUTEX): Likewise.
17933         (__ASSUME_FALLOCATE): Likewise.
17934         (__ASSUME_O_CLOEXEC): Likewise.
17935         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17936         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17937         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17938         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17939         (__ASSUME_IN_NONBLOCK): Likewise.
17940         (__ASSUME_PIPE2): Likewise.
17941         (__ASSUME_EVENTFD2): Likewise.
17942         (__ASSUME_SIGNALFD4): Likewise.
17943         (__ASSUME_DUP3): Likewise.
17944         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17945         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17946         (__ASSUME_AT_RANDOM): Likewise.
17947         (__ASSUME_PREADV): Likewise.
17948         (__ASSUME_PWRITEV): Likewise.
17949         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17950         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17951         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17952         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17953         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17955         (__ASSUME_O_CLOEXEC): Define unconditionally.
17956         (__ASSUME_PSELECT): Do not undefine conditionally.
17957         (__ASSUME_PPOLL): Likewise.
17958         (__ASSUME_ATFCTS): Likewise.
17959         (__ASSUME_SET_ROBUST_LIST): Likewise.
17960         (__ASSUME_UTIMENSAT): Likewise.
17961         (__ASSUME_FDATASYNC): Define unconditionally.
17962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17963         (__ASSUME_SIGFRAME_V2): Likewise.
17964         )__ASSUME_EVENTFD2): Likewise.
17965         (__ASSUME_SIGNALFD4): Likewise.
17966         (__ASSUME_PSELECT): Do not undefine conditionally.
17967         (__ASSUME_PPOLL): Likewise.
17968         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17969         (__ASSUME_PSELECT): Define unconditionally.
17970         (__ASSUME_PPOLL): Likewise.
17971         (__ASSUME_O_CLOEXEC): Likewise.
17972         (__ASSUME_SOCK_CLOEXEC): Likewise.
17973         (__ASSUME_IN_NONBLOCK): Likewise.
17974         (__ASSUME_PIPE2): Likewise.
17975         (__ASSUME_EVENTFD2): Likewise.
17976         (__ASSUME_SIGNALFD4): Likewise.
17977         (__ASSUME_DUP3): Likewise.
17978         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17979         (__ASSUME_O_CLOEXEC): Likewise.
17980         (__ASSUME_SOCK_CLOEXEC): Likewise.
17981         (__ASSUME_IN_NONBLOCK): Likewise.
17982         (__ASSUME_PIPE2): Likewise.
17983         (__ASSUME_EVENTFD2): Likewise.
17984         (__ASSUME_SIGNALFD4): Likewise.
17985         (__ASSUME_DUP3): Likewise.
17986         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17987         (__ASSUME_EVENTFD2): Likewise.
17988         (__ASSUME_SIGNALFD4): Likewise.
17989         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17991 2014-05-12  Andreas Schwab  <schwab@suse.de>
17993         [BZ #16932]
17994         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17995         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17996         than maximum RPC packet size.
17997         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17998         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17999         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18000         (_nss_nis_getservbyport_r): Likewise.
18002 2014-05-12  Will Newton  <will.newton@linaro.org>
18004         * malloc/Makefile (tests): Add tst-mallopt.
18005         * malloc/tst-mallopt.c: New file.
18007 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18009         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18010         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18012 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18014         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18015         (tst-tlsmod6.so): Likewise.
18017 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18019         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18021 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18023         [BZ #16064]
18024         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18025         and <dl-procinfo.h>.
18026         (__fegetenv): Save SSE state in envp->__eip if supported.
18027         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18028         envp->__eip if supported.
18029         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18030         and <dl-procinfo.h>.
18031         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18032         __data_offset and __data_selector in environment to 0.  Set SSE
18033         state if supported.
18034         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18035         test-fenv-sse.
18036         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18037         -mfpmath=sse.
18038         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18040 2014-05-09  Will Newton  <will.newton@linaro.org>
18042         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18043         and libc_relro_required for ARM.
18044         * sysdeps/arm/preconfigure: Regenerate.
18046 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18047             Stefan Liebler  <stli@linux.vnet.ibm.com>
18049         * config.make.in (enable-lock-elision): New Makefile variable.
18050         * configure.ac: Likewise.
18051         * configure: Regenerate.
18052         * sysdeps/s390/configure.ac:
18053         Add check for gcc transactions support.
18054         * sysdeps/s390/configure: Regenerate.
18055         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18056         Build elision files if enabled.
18057         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18058         Add lock elision support for s390.
18059         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18060         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18061         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18062         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18063         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18064         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18065         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18066         Likewise.
18067         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18068         Likewise.
18069         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18070         Likewise.
18071         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18072         Likewise.
18073         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18074         (__lll_timedlock_elision, __lll_lock_elision)
18075         (__lll_unlock_elision, __lll_trylock_elision)
18076         (lll_timedlock_elision, lll_lock_elision)
18077         (lll_unlock_elision, lll_trylock_elision): Add.
18078         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18079         (pthread_mutex_t): Add lock elision support for s390.
18081 2014-05-14  Wilco  <wdijkstr@arm.com>
18083         * sysdeps/arm/fclrexcpt.c: Cleanup.
18084         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18085         * sysdeps/arm/feenablxcpt.c: Cleanup.
18086         * sysdeps/arm/fegetenv.c: Cleanup.
18087         * sysdeps/arm/fegetexcept.c: Cleanup.
18088         * sysdeps/arm/fegetround.c: Cleanup.
18089         * sysdeps/arm/feholdexcpt.c: Cleanup.
18090         * sysdeps/arm/fesetenv.c: Cleanup.
18091         * sysdeps/arm/fesetround.c: Cleanup.
18092         * sysdeps/arm/feupdateenv.c: Cleanup.
18093         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18094         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18095         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18096         * sysdeps/arm/ftestexcept.c: Cleanup.
18097         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18098         * sysdeps/arm/setfpucw.c: Cleanup.
18100 2014-05-09  Will Newton  <will.newton@linaro.org>
18102         * sysdeps/arm/armv7/strcmp.S: New file.
18103         * NEWS: Mention addition of ARMv7 optimized strcmp.
18105 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18107         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18108         look for %.ac rather than %.in.
18110         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18111         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18112         * sysdeps/mach/hurd/configure: Regenerated.
18113         * sysdeps/unix/sysv/linux/configure: Regenerated.
18115         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18117 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18119         [BZ# 16922]
18120         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18121         (LONG_SUB): Ditto.
18122         (PTR_SUB): Ditto.
18124 2014-05-07  Andreas Schwab  <schwab@suse.de>
18126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18127         when skipping over non-matching result from nscd.
18129 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18131         [BZ #16876]
18132         * nptl/sockperf.c (client): Check socket return value.
18134         [BZ #16877]
18135         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18136         nscd security class.
18138 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18140         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18141         * sysdeps/arm/unwind.h: ... here.
18143 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18145         [BZ# 16916]
18146         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18147         Define.
18149 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18151         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18152         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18153         multiarch strncpy for PPC64.
18154         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18155         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18157         multiarch optimizations.
18158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18159         (__libc_ifunc_impl_list): Likewise.
18160         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18161         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18162         multiarch stpncpy for PPC64.
18163         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18164         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18166 2014-05-06  Andreas Schwab  <schwab@suse.de>
18168         [BZ #16912]
18169         * gmon/mcount.c (_MCOUNT_DECL): Use
18170         atomic_compare_and_exchange_bool_acq instead of
18171         catomic_compare_and_exchange_bool_acq.
18173 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18175         * elf/Makefile (others, install-bin): Remove pldd.
18176         (pldd-modules): Variable removed.
18177         ($(objpfx)pldd): Target removed.
18178         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18179         (others, install-bin): Append pldd here.
18180         ($(objpfx)pldd): New target.
18182         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18183         to 0, so the first #if test emitted later doesn't see it undefined.
18184         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18185         * sysdeps/gnu/errlist.c: Regenerated.
18187 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18189         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18190         [libc_hidden_builtin_def]: Define to empty value.
18191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18192         [libc_hidden_builtin_def]: Likewise.
18193         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18194         [libc_hidden_builtin_def]: Likewise.
18195         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18196         [libc_hidden_builtin_def]: Likewise.
18197         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18198         __redirect_memcpy and define ifunc as default hidden symbol.
18199         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18200         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18202 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18204         * locale/iso-4217.def: Reintroduce XDR currency.
18206 2014-05-04  Allan McRae  <allan@archlinux.org>
18208         * po/eo.po: Update Esperanto translation from translation project.
18210 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18212         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18213         and FEATURE_INDEX_MAX to 1.
18214         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18216 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18218         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18219         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18220         * iconvdata/big5.c (ONE_DIRECTION): Define.
18221         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18222         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18223         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18224         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18225         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18226         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18227         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18228         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18229         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18230         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18231         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18232         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18233         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18234         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18235         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18236         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18237         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18238         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18239         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18240         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18241         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18242         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18243         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18244         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18245         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18246         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18247         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18248         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18249         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18250         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18251         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18252         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18253         * iconvdata/johab.c (ONE_DIRECTION): Define.
18254         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18255         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18256         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18257         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18258         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18259         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18260         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18261         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18262         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18263         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18265 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18267         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18268         (_IO_JUMPS_OFFSET): Define to 0.
18270         * nptl/sysdeps/pthread/bits/libc-lock.h
18271         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18272         (__libc_lock_define_initialized_recursive): Always define using
18273         initializer.  Modern compilers treat uninitialized (implicit zero) and
18274         explicit zero initializers the same (i.e. put the datum in bss).
18276 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18278         * nscd/nscd-client.h: Include <string.h>.
18280 2014-05-01  David S. Miller  <davem@davemloft.net>
18282         [BZ #16885]
18283         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18284         multiple zero bytes exist at the end of a string.
18285         Reported by Aurelien Jarno <aurelien@aurel32.net>
18287         * string/test-strcmp.c (check): Add explicit test for situations where
18288         there are multiple zero bytes after the first.
18290 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18292         [BZ #16890]
18293         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18294         when compiling wprintf.
18295         * stdio-common/tstdiomisc.c (t3): New function.
18296         (main): Call it.
18298 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18300         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18301         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18302         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18303         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18305 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18307         * stdlib/longlong.h: Updated from GCC.
18309 2014-05-01  Will Newton  <will.newton@linaro.org>
18310             Bernard Ogden  <bernie.ogden@linaro.org>
18312         * NEWS: Update fixed bug list.
18314         [BZ #15119]
18315         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18317 2014-04-30  David S. Miller  <davem@davemloft.net>
18319         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18320         (libc_feholdexcept_setround_sparc_ctx): New function.
18321         (libc_fesetenv_sparc_ctx): Likewise.
18322         (libc_feupdateenv_sparc_ctx): Likewise.
18323         (libc_feholdsetround_sparc_ctx): Likewise.
18324         (libc_feholdexcept_setround_ctx): Define.
18325         (libc_feholdexcept_setroundf_ctx): Likewise.
18326         (libc_feholdexcept_setroundl_ctx): Likewise.
18327         (libc_fesetenv_ctx): Likewise.
18328         (libc_fesetenvf_ctx): Likewise.
18329         (libc_fesetenvl_ctx): Likewise.
18330         (libc_feupdateenv_ctx): Likewise.
18331         (libc_feupdateenvf_ctx): Likewise.
18332         (libc_feupdateenvl_ctx): Likewise.
18333         (libc_feresetround_ctx): Likewise.
18334         (libc_feresetroundf_ctx): Likewise.
18335         (libc_feresetroundl_ctx): Likewise.
18336         (libc_feholdsetround_ctx): Likewise.
18337         (libc_feholdsetroundf_ctx): Likewise.
18338         (libc_feholdsetroundl_ctx): Likewise.
18340         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18341         with __USE_GNU instead of XOPEN cpp guards.
18343         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18344         0.
18346         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18347         with XOPEN cpp guards.
18349 2014-04-30  Julian Brown  <julian@codesourcery.com>
18351         [BZ #16888]
18352         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18353         handling.
18355 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18357         [BZ #9894]
18358         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18359         Change to 2.6.32.
18360         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18361         * sysdeps/unix/sysv/linux/configure: Regenerated.
18362         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18363         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18364         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18365         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18366         * README: Update reference to required Linux kernel version.
18367         * manual/install.texi (Linux): Update reference to required Linux
18368         kernel headers version.
18369         * INSTALL: Regenerated.
18371         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18372         header inclusion.
18373         [POSIX] (limits.h): Likewise.
18374         [POSIX] (math.h): Likewise.
18375         [POSIX] (sys/wait.h): Likewise.
18376         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18377         function.
18378         [POSIX] (stddef.h): Do not allow header inclusion.
18380 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18382         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18384 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18386         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18387         Return immediately after lll_futex_wake.
18389 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18391         [BZ #16791]
18392         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18393         structure.
18394         (datahead_init_pos): Call datahead_init_common early.
18395         (datahead_init_neg): Likewise.
18397         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18398         datahead_init_neg): New functions.
18399         * nscd/aicache.c (addhstaiX): Use them.
18400         * nscd/grpcache.c (cache_addgr): Likewise.
18401         * nscd/hstcache.c (cache_addhst): Likewise.
18402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18403         * nscd/netgroupcache.c (do_notfound): Likewise.
18404         (addgetnetgrentX): Likewise.
18405         (addinnetgrX): Likewise.
18406         * nscd/pwdcache.c (cache_addpw): Likewise.
18407         * nscd/servicescache.c (cache_addserv): Likewise.
18409 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18410             Atsushi Onoe  <atsushi@onoe.org>
18412         [BZ #14308]
18413         [BZ #12994]
18414         [BZ #13651]
18415         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18416         one response is valid.
18417         * resolv/res_send.c (send_dg): Check for validity of other
18418         response if the current response is a referral.
18420 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18422         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18424 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18426         [BZ #16823]
18427         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18428         Always divide by positive zero when computing -Inf result.
18429         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18430         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18432 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18434         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18435         FPSCR if value do not change.
18436         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18437         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18438         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18439         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18440         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18441         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18442         function.
18444 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18446         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18447         * sysdeps/unix/sysv/linux/hppa: Move directory from
18448         ports/systeps/unix/sysv/linux/hppa.
18449         * README: Update listing for hppa-*-linux-gnu.
18451 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18453         [BZ #16754]
18454         * manual/stdio.texi (Hook functions): Fix types of stream hook
18455         functions.
18456         [BZ #16854]
18457         * socket/sys/socket.h: Fix typo in comment.
18459 2014-04-28  Wilco  <wdijkstr@arm.com>
18461         * sysdeps/arm/fenv_private.h: New file.
18462         * sysdeps/arm/math_private.h: New file.
18463         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18465 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18467         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18468         with __int128_t.
18469         (La_x86_64_retval): Likewise.
18471 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18473         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18474         fpsr if value didn't change.
18475         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18476         to fpcr if value didn't change.
18477         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18478         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18479         fpsr or fpcr if value didn't change.
18480         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18481         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18482         fpcr if value didn't change.
18483         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18484         to fpsr if value didn't change.
18486 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18488         * nptl/tst-sem3.c: Use test-skeleton.c
18489         (main): Rename to do_test.  Use return instead of
18490         exit.
18491         * nptl/tst-sem4.c: Use test-skeleton.c
18492         (main): Rename to do_test.
18494 2014-04-22  David S. Miller  <davem@davemloft.net>
18496         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18497         (struct sigaction): New struct member __glibc_reserved0, change
18498         type of sa_flags to int.
18500 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18502         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18503         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18505 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18507         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18508         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18510 2014-04-22  Will Newton  <will.newton@linaro.org>
18511             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18513         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18514         (__longjmp): Add longjmp and longjmp_target SystemTap
18515         probes.
18516         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18517         (__sigsetjmp): Add setjmp SystemTap probe.
18519 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18521         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18522         match manual order.
18524 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18526         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18528         * sysdeps/powerpc/fpu/fenv_private.h
18529         (libc_feholdexcept_setroundl_ctx): Define to
18530         libc_feholdexcept_setround_ppc_ctx.
18531         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18532         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18533         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18534         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18536 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18538         * sysdeps/aarch64/math-tests.h: New file.
18540 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18542         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18543         New.
18544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18545         Check and set bit_AVX2_Usable.
18546         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18547         macro.
18548         (bit_AVX2): Likewise.
18549         (index_AVX2_Usable): Likewise.
18550         (CPUID_AVX2): Likewise.
18551         (HAS_AVX2): Likewise.
18553 2014-04-17  Will Newton  <will.newton@linaro.org>
18555         * manual/setjmp.texi (System V contexts): Add note that
18556         calling setcontext on a context created by a call to a
18557         signal handler is undefined.  Update text to note that
18558         setcontext from a signal handler is possible but not
18559         recommended.
18561         [BZ #16629]
18562         * stdlib/tst-setcontext.c: Include signal.h.
18563         (main): Check that the signal stack before and
18564         after swapcontext is the same.
18566         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18567         Re-implement to restore registers in user code and avoid
18568         rt_sigreturn system call.
18570 2014-04-17  Wilco  <wdijkstr@arm.com>
18572         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18573         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18574         * math/test-fenv.c: Skip exception trap tests on targets which only
18575         support non-stop mode.
18577 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18578             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18580         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18581         (libc_feholdsetround_aarch64_ctx)
18582         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18583         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18584         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18585         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18586         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18587         (libc_feresetround_noexl_ctx): Define.
18589 2014-04-16  Richard Henderson  <rth@redhat.com>
18591         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18593         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18594         unwind tables.
18596         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18597         const from the non-libc, non-ldso copy.
18599         * sysdeps/alpha/libm-test-ulps: Regenerate.
18601 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18602             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18604         * sysdeps/aarch64/fpu/math_private.h: New file.
18606 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18608         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18610 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18612         [BZ #16275]
18613         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18614         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18616         Intel MPX bound registers before _dl_profile_fixup.
18617         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18618         registers after _dl_profile_fixup.  Save and restore bound
18619         registers bnd0/bnd1 when calling _dl_call_pltexit.
18620         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18621         (LR_BND_OFFSET): Likewise.
18622         (LRV_BND0_OFFSET): Likewise.
18623         (LRV_BND1_OFFSET): Likewise.
18625 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18627         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18628         to...
18629         * sysdeps/mach/hurd/i386/tls.h: ... here.
18630         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18631         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18632         fields.
18634 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18636         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18638 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18640         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18642 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18644         [BZ #14770]
18645         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18646         * sysdeps/s390/configure: Regenerate.
18648         [BZ #16824]
18649         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18650         Set round-to-nearest internally to reduce error accumulation.
18652 2014-04-16  Alan Modra  <amodra@gmail.com>
18654         [BZ #16740]
18655         [BZ #16619]
18656         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18657         * math/libm-test.inc (frexp_test_data): Add tests.
18658         * NEWS: Update fixed bug list.
18660 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18662         * benchtests/Makefile: Depend on libraries in build directory.
18663         (bench-math): Separate out math tests.
18664         (bench-pthread): Separate out pthread tests.
18665         (bench): Include math and pthread tests.
18667 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18669         [BZ #16831]
18670         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18671         _dl_debug_initialize.
18673         * configure.ac: Remove SELinux header check.
18674         * configure: Regenerate.
18675         * nscd/selinux.c (perms): Array of const char* to permission names.
18676         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18677         default policy. Call string_to_security_class and string_to_av_perm to
18678         translate strings. Enforce default policy and call avs_has_perm with
18679         results of translated strings.
18681 2014-04-13  David S. Miller  <davem@davemloft.net>
18683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18685 2014-04-12  Allan McRae  <allan@archlinux.org>
18687         [BZ #16838]
18688         * manual/string.texi (Collation Functions): Fix qsort argument
18689         order in example.
18690         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18692 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18694         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18695         Make the test a no-op if there are no exceptions defined.
18697 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18699         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18700         enable-hardcoded-path-in-tests
18702 2014-04-11  Will Newton  <will.newton@linaro.org>
18704         * benchtests/Makefile (extra-objs): Add json-lib.o.
18705         (bench-func): Tidy up JSON output.
18706         * benchtests/bench-skeleton.c: Include json-lib.h.
18707         (main): Use JSON library functions to do output of
18708         benchmark results.
18709         * benchtests/bench-timing-type.c (main): Output the
18710         timing type simply, leaving formatting to the user.
18711         * benchtests/json-lib.c: New file.
18712         * benchtests/json-lib.h: Likewise.
18714 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18716         [BZ #15215]
18717         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18718         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18719         memory barriers.  Add comments.
18720         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18721         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18722         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18723         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18724         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18725         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18727 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18729         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18730         * sysdeps/s390/s390-64/configure.ac: ... this ...
18731         * sysdeps/s390/configure.ac: ... to here.
18732         * sysdeps/s390/s390-32/configure: Delete file.
18733         * sysdeps/s390/s390-64/configure: Delete file.
18734         * sysdeps/s390/configure: Regenerate.
18736 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18738         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18740 2014-04-11  Will Newton  <will.newton@linaro.org>
18742         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18743         to zero if it is not defined elsewhere.  (mtrim): Test
18744         the value of MALLOC_DEBUG with #if rather than #ifdef.
18746 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18748         * benchtests/pthread_once-inputs: New file.
18749         * benchtests/pthread_once-source.c: New file.
18750         * benchtests/README: Update documentation.
18752 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18753             H.J. Lu  <hongjiu.lu@intel.com>
18755         [BZ #16275]
18756         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18757         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18758         * sysdeps/x86_64/configure: Regenerated.
18759         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18760         macro.
18761         (REGISTER_SAVE_RAX): Likewise.
18762         (REGISTER_SAVE_RCX): Likewise.
18763         (REGISTER_SAVE_RDX): Likewise.
18764         (REGISTER_SAVE_RSI): Likewise.
18765         (REGISTER_SAVE_RDI): Likewise.
18766         (REGISTER_SAVE_R8): Likewise.
18767         (REGISTER_SAVE_R9): Likewise.
18768         (REGISTER_SAVE_BND0): Likewise.
18769         (REGISTER_SAVE_BND1): Likewise.
18770         (REGISTER_SAVE_BND2): Likewise.
18771         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18772         bound registers when calling _dl_fixup.
18774 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18776         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18777         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18778         of its definition.
18779         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18780         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18781         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18782         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18783         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18784         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18785         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18787 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18789         [BZ #15514]
18790         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18791         pathconf(_PC_NAME_MAX).
18793 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18795         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18796         Remove macro usage.
18797         (__PTHREAD_SPINS): Move definition to ...
18798         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18799         (__PTHREAD_SPINS): ... here.
18800         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18801         (__PTHREAD_SPIN): Likewise.
18802         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18803         (__PTHREAD_SPIN): Likewise.
18804         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18805         (__PTHREAD_SPIN): Likewise.
18806         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18807         (__PTHREAD_SPIN): Likewise.
18808         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18809         (__PTHREAD_SPIN): Likewise.
18810         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18811         (__PTHREAD_SPIN): Likewise.
18812         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18813         (__PTHREAD_SPIN): Likewise.
18814         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18815         (__PTHREAD_SPIN): Likewise.
18816         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18817         (__PTHREAD_SPIN): Likewise.
18818         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18819         (__PTHREAD_SPIN): Likewise.
18820         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18821         (__PTHREAD_SPIN): Likewise.
18822         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18823         (__PTHREAD_SPIN): Likewise.
18825         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18826         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18827         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18828         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18829         imply folder.
18830         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18831         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18832         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18833         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18834         correct imply path.
18835         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18836         strlen symbol for non multi-arch builds.
18837         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18838         missing hidden_def and weak_alias.
18840 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18842         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18844 2014-04-07  Will Newton  <will.newton@linaro.org>
18846         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18847         and contents.  [!_LIBC] Remove #ifndef and contents.
18848         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18849         * string/memccpy.c (__memccpy): Use ANSI prototype.
18850         * string/memfrob.c (memfrob): Likewise.
18851         * string/strcoll.c (STRCOLL): Likewise.
18852         * string/strlen.c (strlen): Likewise.
18853         * string/strtok.c (STRTOK): Likewise.
18854         * string/strcat.c: Remove unused #include of memcopy.h.
18855         (strcat): Use ANSI prototype.
18856         * string/strchr.c: Remove unused #include of memcopy.h.
18857         (strchr): Use ANSI prototype.
18858         * string/strcmp.c: Remove unused #include of memcopy.h.
18859         (strcmp): Use ANSI prototype.
18860         * string/strcpy.c: Remove unused #include of memcopy.h.
18861         (strcpy): Use ANSI prototype.
18863 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18865         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18866         * config.make.in (config-extra-cppflags): Set it from
18867         libc_extra_cppflags.
18868         * configure.ac (libc_extra_cflags): Make it accumulate over
18869         configure fragments.
18870         (libc_extra_cppflags): New flag.
18871         * configure. Regenerate.
18872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18873         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18874         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18877         [BZ #16815]
18878         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18879         result for FE_DOWNWARD rounding mode.
18880         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18881         Likewise.
18882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18884 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18886         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18887         in function argument name.
18889 2014-04-03  David Svoboda  <svoboda@cert.org>
18891         [BZ #5666]
18892         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18893         explicitly.
18895 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18897         * elf/dl-unmap-segments.h: New file.
18898         * sysdeps/generic/ldsodefs.h
18899         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18900         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18901         * elf/dl-fptr.c: Likewise.
18902         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18903         * sysdeps/aarch64/tlsdesc.c: Likewise.
18904         * sysdeps/arm/tlsdesc.c: Likewise.
18905         * sysdeps/i386/tlsdesc.c: Likewise.
18906         * sysdeps/tile/dl-runtime.c: Likewise.
18907         * sysdeps/x86_64/tlsdesc.c: Likewise.
18908         * elf/dl-load.h: New file.
18909         * elf/dl-load.c: Include it.
18910         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18911         Macros moved to dl-load.h.
18912         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18913         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18914         Use _dl_unmap_segments in place of __munmap.
18915         Break out segment-mapping loop into ...
18916         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18918 2014-04-03  Will Newton  <will.newton@linaro.org>
18920         * elf/dl-lookup.c (do_lookup_x): Remove comment
18921         referring to nested function and move variable
18922         declarations down to before first use.
18924 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18926         [BZ #16799]
18927         [BZ #16800]
18928         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18929         with 0 numerator.
18930         * math/s_catanf.c (__catanf): Likewise.
18931         * math/s_catanh.c (__catanh): Likewise.
18932         * math/s_catanhf.c (__catanhf): Likewise.
18933         * math/s_catanhl.c (__catanhl): Likewise.
18934         * math/s_catanl.c (__catanl): Likewise.
18935         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18936         by positive zero when computing -Inf result.
18937         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18938         (catanh_test): Likewise.
18939         * sysdeps/i386/fpu/libm-test-ulps: Update.
18940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18942         [BZ #16789]
18943         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18944         instead of using underflowing value in computing result.
18945         * math/s_clog10.c (__clog10): Likewise.
18946         * math/s_clog10f.c (__clog10f): Likewise.
18947         * math/s_clog10l.c (__clog10l): Likewise.
18948         * math/s_clogf.c (__clogf): Likewise.
18949         * math/s_clogl.c (__clogl): Likewise.
18950         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18951         (clog10_test): Likewise.
18952         * sysdeps/i386/fpu/libm-test-ulps: Update.
18953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18955 2014-04-02  Alan Modra  <amodra@gmail.com>
18957         [BZ #16739]
18958         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18959         output when value is near a power of two.  Use int64_t for lx and
18960         remove casts.  Use decimal rather than hex exponent constants.
18961         Don't use long double multiplication when double will suffice.
18962         * math/libm-test.inc (nextafter_test_data): Add tests.
18963         * NEWS: Add 16739 and 16786 to bug list.
18965         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18967         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18969 2014-04-01  Will Newton  <will.newton@linaro.org>
18971         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18972         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18974 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18976         [BZ #13347]
18977         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18978         * nptl/tst-setuid2.c: New file.
18979         * nptl/Makefile (xtests): Add tst-setuid2.
18981 2014-04-01  Alan Modra  <amodra@gmail.com>
18983         [BZ #16786]
18984         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18986 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #6803]
18989         [BZ #6804]
18990         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18991         set errno as appropriate.
18992         * math/w_scalbf.c (__scalbf): Likewise.
18993         * math/w_scalbl.c (__scalbl): Likewise.
18994         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18995         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18996         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18997         Add more NaN tests.
18999         [BZ #16349]
19000         * math/w_atan2.c: Include <errno.h>.
19001         (__atan2): Set errno for result underflowing to zero.
19002         * math/w_atan2f.c: Include <errno.h>.
19003         (__atan2f): Set errno for result underflowing to zero.
19004         * math/w_atan2l.c: Include <errno.h>.
19005         (__atan2l): Set errno for result underflowing to zero.
19006         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19007         tests.
19008         * math/auto-libm-test-out: Regenerated.
19010 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19012         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19013         Encode instruction correctly in little endian.
19014         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19015         Likewise.
19016         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19017         Likewise.
19018         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19019         Likewise.
19020         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19021         Likewise.
19023 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19025         [BZ #9894]
19026         * sysdeps/unix/sysv/linux/kernel-features.h
19027         [__sparc__ && !__arch64__ && !__sparc_v9__]
19028         (__ASSUME_SET_ROBUST_LIST): Do not define.
19029         [__sparc__ && !__arch64__ && !__sparc_v9__]
19030         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19031         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19032         Likewise.
19033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19034         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19035         (__ASSUME_REQUEUE_PI): Likewise.
19036         (__ASSUME_SET_ROBUST_LIST): Likewise.
19037         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19038         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19039         Undefine.
19040         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19041         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19042         Likewise.
19043         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19044         Likewise.
19045         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19046         Likewise.
19047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19048         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19049         Undefine.
19050         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19051         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19052         Likewise.
19054         [BZ #16648]
19055         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19056         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19057         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19059 2014-03-31  Will Newton  <will.newton@linaro.org>
19061         * benchtests/Makefile (bench): Add ffs and ffsll to list
19062         of tests.
19063         * benchtests/ffs-inputs: New file.
19064         * benchtests/ffsll-inputs: Likewise.
19066 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19068         [BZ #16770]
19069         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19070         too large before casting to int.
19071         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19072         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19073         * math/libm-test.inc (scalb_test_data): Add more tests.
19075 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19077         * benchtests/Makefile (DETAILED_OPT): New make option.
19078         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19079         set.
19080         * benchtests/bench-skeleton.c: Include stdbool.h.
19081         (main): Store and print timings per input.
19082         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19083         member to each argument value.
19084         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19085         (_print_arg_data): Initialize per-input timing to 0.
19087         * benchtests/Makefile (timing-type): New binary.
19088         (bench-clean): Also remove bench-timing-type.
19089         (bench): New target for timing-type.
19090         (bench-func): Print output in JSON format.
19091         * benchtests/bench-skeleton.c (main): Print output in JSON
19092         format.
19093         * benchtests/bench-timing-type.c: New file.
19094         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19095         (TIMING_PRINT_STATS): Remove.
19096         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19097         name separately.
19099         * benchtests/bench-modf.c: Remove.
19100         * benchtests/modf-inputs: New inputs file.
19102 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19104         [BZ #16362]
19105         * math/s_clog10.c (M_PI_LOG10E): New macro.
19106         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19107         imaginary parts are 0.
19108         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19109         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19110         imaginary parts are 0.
19111         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19112         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19113         imaginary parts are 0.
19114         * math/libm-test.inc (clog10_test_data): Update expected results
19115         for when real and imaginary parts are 0.
19117 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19119         * elf/dl-load.c: Finish conversion of __builtin_expect into
19120         __glibc_{un}likely.
19122 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19124         [BZ #16348]
19125         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19126         1+x for argument with exponent below -67.
19127         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19128         Likewise.
19129         * math/auto-libm-test-in: Add more tests of exp.
19130         * math/auto-libm-test-out: Regenerated.
19132 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19134         [BZ #16759]
19135         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19136         (nscd_getnetgrent): Use it.
19138         [BZ #16760]
19139         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19140         of stpcpy.
19142 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19144         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19145         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19146         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19147         (lll_robust_unlock): Remove out of line section. Use cfi
19148         intrinsics.
19149         (LLL_STUB_UNWIND_INFO*): Remove.
19150         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19151         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19152         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19153         (lll_robust_unlock): Remove out of line section. Use cfi
19154         intrinsics.
19155         (LLL_STUB_UNWIND_INFO*): Remove.
19157 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159         [BZ #16758]
19160         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19161         blank values.
19163 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19165         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19167 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19169         [BZ #16198]
19170         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19171         fnstenv.
19172         * math/test-fenv-preserve.c: New file.
19173         * math/Makefile (tests): Add test-fenv-preserve.
19175 2014-03-26  Will Newton <will.newton@linaro.org>
19177         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19179 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19181         * scripts/versionlist.awk: Partition the version sets and emit all
19182         GLIBC_* (sorted) before all others (sorted).
19184 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19186         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19187         GLIBC_2.2.5 version.
19189 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19191         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19192         calls.
19194         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19195         previous change.
19197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19199 2014-03-25  Andreas Schwab  <schwab@suse.de>
19201         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19202         label to be used after in6ailist is initialized.
19204 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19206         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19207         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19209 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19211         [BZ #16357]
19212         [BZ #16599]
19213         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19214         min_plus_half.
19215         (fp_formats): Update initializers.
19216         (init_fp_formats): Initialize new field.
19217         (output_for_one_input_case): Allow underflow for results up to
19218         min_plus_half.
19219         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19220         * math/auto-libm-test-in: Don't mark some underflows from asin and
19221         atanh as spurious.
19222         * math/auto-libm-test-out: Regenerated.
19223         * sysdeps/i386/fpu/libm-test-ulps: Update.
19224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19226 2014-03-25  Andreas Schwab  <schwab@suse.de>
19228         * libio/Makefile (tst-ftell-partial-wide-ENV)
19229         (tst-ftell-active-handler-ENV): Define.
19231 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19233         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19235 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19237         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19239 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19241         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19242         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19245 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19247         [BZ #16634]
19248         * elf/dl-load.c (open_verify): Add mode parameter.
19249         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19250         (open_path): Change from boolean 'secure' to complete flag 'mode'
19251         (_dl_map_object): Adjust.
19252         * elf/Makefile (tests): Add tst-dlopen-aout.
19253         * elf/tst-dlopen-aout.c: New test.
19255 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19257         [BZ #16714]
19258         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19259         (struct stat): Rename member pad0 to __glibc_reserved0.
19261         [BZ #16712]
19262         * sysdeps/s390/s390-32/bits/wordsize.h
19263         (__WORDSIZE32_SIZE_ULONG): New define.
19264         * sysdeps/s390/s390-64/bits/wordsize.h
19265         (__WORDSIZE32_SIZE_ULONG): Likewise.
19266         * sysdeps/generic/stdint.h (SIZE_MAX):
19267         Define as UL if __WORDSIZE32_SIZE_ULONG.
19269         [BZ #16713]
19270         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19271         (__glibc_reserved0): New variable.
19272         (sa_flags): Change type to int.
19274         * posix/Makefile (before-compile): Use += before-compile instead
19275         of a :=.
19277         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19278         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19280 2014-03-20  Andreas Schwab  <schwab@suse.de>
19282         [BZ #16743]
19283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19284         non-matching result from nscd.
19286 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288         * scripts/bench.py: Moved to ...
19289         * benchtests/scripts/bench.py: ... here.
19290         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19292 2014-03-24  Andreas Schwab  <schwab@suse.de>
19294         [BZ #16002]
19295         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19296         alloca_account and account alloca use for struct in6ailist.
19298 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19300         [BZ #16284]
19301         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19302         rounding mode to recompute results that overflow to infinity or
19303         underflow to zero.
19304         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19305         bug 16284.
19306         * math/auto-libm-test-out: Regenerated.
19307         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19308         (ccosh_test): Likewise.
19309         (csin_test_data): Use plus_oflow.
19310         (csin_test): Use ALL_RM_TEST.
19311         (csinh_test_data): Use plus_oflow.
19312         (csinh_test): Use ALL_RM_TEST.
19313         * sysdeps/i386/fpu/libm-test-ulps: Update.
19314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19316 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19318         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19319         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19320         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19322         [BZ #16731]
19323         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19324         when x - 1 is zero.
19325         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19326         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19327         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19328         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19329         argument is 1.
19330         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19331         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19332         zero.
19333         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19334         * sysdeps/i386/fpu/libm-test-ulps: Update.
19335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19337 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19339         * scripts/bench.pl: Remove file.
19340         * scripts/bench.py: New benchmark script.
19341         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19342         * benchtests/README: Mention python dependency.
19343         * scripts/pylintrc: New file.
19344         * scripts/pylint: New file.
19346         * bits/mathdef.h: Use #ifdef instead of #if.
19347         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19348         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19349         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19350         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19351         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19352         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19354 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19355             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19357         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19359         and strpbrk-ppc64 objects.
19360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19361         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19362         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19363         multiarch strpbrk for POWER7.
19364         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19365         multiarch strpbrk for PPC64.
19366         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19367         ifunc selector.
19368         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19369         strpbrk for POWER7.
19371 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19373         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19374         (atan_test): Likewise.
19375         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19376         (atanh_test): Use ALL_RM_TEST.
19377         (atan2_test_data): Likewise.
19378         (cabs_test): Likewise.
19379         (cacosh_test): Likewise.
19380         (carg_test): Likewise.
19381         (casin_test): Likewise.
19382         (casinh_test): Likewise.
19383         (cbrt_test): Likewise.
19384         (csqrt_test): Likewise.
19385         (erf_test): Likewise.
19386         (erfc_test): Likewise.
19387         (pow10_test): Likewise.
19388         (exp2_test): Likewise.
19389         (hypot_test): Likewise.
19390         (j0_test): Likewise.
19391         (j1_test): Likewise.
19392         (lgamma_test): Likewise.
19393         (gamma_test): Likewise.
19394         (sincos_test): Likewise.
19395         (tanh_test): Likewise.
19396         (y0_test): Likewise.
19397         (y1_test): Likewise.
19398         * sysdeps/i386/fpu/libm-test-ulps: Update.
19399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19401 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19403         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19405         and strcspn-ppc64 objects.
19406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19407         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19408         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19409         multiarch strcspn for POWER7.
19410         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19411         multiarch strcspn for PPC64.
19412         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19413         ifunc selector.
19414         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19415         strcspn for POWER7.
19417 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19419         * math/gen-libm-test.pl (generate_testfile): Expect only function
19420         name as argument to AUTO_TESTS_* and pass results for all rounding
19421         modes to parse_args.
19422         (parse_auto_input): Separate inputs of automatic tests from
19423         outputs before storing in %auto_tests.
19424         * math/libm-test.inc (acos_test_data): Update call to
19425         AUTO_TESTS_f_f.
19426         (acos_test): Use ALL_RM_TEST.
19427         (acos_tonearest_test_data): Remove.
19428         (acos_test_tonearest): Likewise.
19429         (acos_towardzero_test_data): Likewise.
19430         (acos_test_towardzero): Likewise.
19431         (acos_downward_test_data): Likewise.
19432         (acos_test_downward): Likewise.
19433         (acos_upward_test_data): Likewise.
19434         (acos_test_upward): Likewise.
19435         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19436         (asin_test_data): Likewise.
19437         (asin_test): Use ALL_RM_TEST.
19438         (asin_tonearest_test_data): Remove.
19439         (asin_test_tonearest): Likewise.
19440         (asin_towardzero_test_data): Likewise.
19441         (asin_test_towardzero): Likewise.
19442         (asin_downward_test_data): Likewise.
19443         (asin_test_downward): Likewise.
19444         (asin_upward_test_data): Likewise.
19445         (asin_test_upward): Likewise.
19446         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19447         (atan_test_data): Likewise.
19448         (atanh_test_data): Likewise.
19449         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19450         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19451         (carg_test_data): Likewise.
19452         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19453         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19454         (ccosh_test_data): Likewise.
19455         (cexp_test_data): Likewise.
19456         (clog_test_data): Likewise.
19457         (clog10_test_data): Likewise.
19458         (cos_test_data): Update call to AUTO_TESTS_f_f.
19459         (cos_test): Use ALL_RM_TEST.
19460         (cos_tonearest_test_data): Remove.
19461         (cos_test_tonearest): Likewise.
19462         (cos_towardzero_test_data): Likewise.
19463         (cos_test_towardzero): Likewise.
19464         (cos_downward_test_data): Likewise.
19465         (cos_test_downward): Likewise.
19466         (cos_upward_test_data): Likewise.
19467         (cos_test_upward): Likewise.
19468         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19469         (cosh_test): Use ALL_RM_TEST.
19470         (cosh_tonearest_test_data): Remove.
19471         (cosh_test_tonearest): Likewise.
19472         (cosh_towardzero_test_data): Likewise.
19473         (cosh_test_towardzero): Likewise.
19474         (cosh_downward_test_data): Likewise.
19475         (cosh_test_downward): Likewise.
19476         (cosh_upward_test_data): Likewise.
19477         (cosh_test_upward): Likewise.
19478         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19479         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19480         (ctan_test_data): Likewise.
19481         (ctan_test): Use ALL_RM_TEST.
19482         (ctan_tonearest_test_data): Remove.
19483         (ctan_test_tonearest): Likewise.
19484         (ctan_towardzero_test_data): Likewise.
19485         (ctan_test_towardzero): Likewise.
19486         (ctan_downward_test_data): Likewise.
19487         (ctan_test_downward): Likewise.
19488         (ctan_upward_test_data): Likewise.
19489         (ctan_test_upward): Likewise.
19490         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19491         (ctanh_test): Use ALL_RM_TEST.
19492         (ctanh_tonearest_test_data): Remove.
19493         (ctanh_test_tonearest): Likewise.
19494         (ctanh_towardzero_test_data): Likewise.
19495         (ctanh_test_towardzero): Likewise.
19496         (ctanh_downward_test_data): Likewise.
19497         (ctanh_test_downward): Likewise.
19498         (ctanh_upward_test_data): Likewise.
19499         (ctanh_test_upward): Likewise.
19500         (erf_test_data): Update call to AUTO_TESTS_f_f.
19501         (erfc_test_data): Likewise.
19502         (exp_test_data): Likewise.
19503         (exp_test): Use ALL_RM_TEST.
19504         (exp_tonearest_test_data): Remove.
19505         (exp_test_tonearest): Likewise.
19506         (exp_towardzero_test_data): Likewise.
19507         (exp_test_towardzero): Likewise.
19508         (exp_downward_test_data): Likewise.
19509         (exp_test_downward): Likewise.
19510         (exp_upward_test_data): Likewise.
19511         (exp_test_upward): Likewise.
19512         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19513         (exp10_test): Use ALL_RM_TEST.
19514         (exp10_tonearest_test_data): Remove.
19515         (exp10_test_tonearest): Likewise.
19516         (exp10_towardzero_test_data): Likewise.
19517         (exp10_test_towardzero): Likewise.
19518         (exp10_downward_test_data): Likewise.
19519         (exp10_test_downward): Likewise.
19520         (exp10_upward_test_data): Likewise.
19521         (exp10_test_upward): Likewise.
19522         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19523         (expm1_test_data): Likewise.
19524         (expm1_test): Use ALL_RM_TEST.
19525         (expm1_tonearest_test_data): Remove.
19526         (expm1_test_tonearest): Likewise.
19527         (expm1_towardzero_test_data): Likewise.
19528         (expm1_test_towardzero): Likewise.
19529         (expm1_downward_test_data): Likewise.
19530         (expm1_test_downward): Likewise.
19531         (expm1_upward_test_data): Likewise.
19532         (expm1_test_upward): Likewise.
19533         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19534         (fma_test): Use ALL_RM_TEST.
19535         (fma_towardzero_test_data): Remove.
19536         (fma_test_towardzero): Likewise.
19537         (fma_downward_test_data): Likewise.
19538         (fma_test_downward): Likewise.
19539         (fma_upward_test_data): Likewise.
19540         (fma_test_upward): Likewise.
19541         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19542         (j0_test_data): Update call to AUTO_TESTS_f_f.
19543         (j1_test_data): Likewise.
19544         (jn_test_data): Update call to AUTO_TESTS_if_f.
19545         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19546         (log_test_data): Update call to AUTO_TESTS_f_f.
19547         (log10_test_data): Likewise.
19548         (log1p_test_data): Likewise.
19549         (log2_test_data): Likewise.
19550         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19551         (pow_tonearest_test_data): Likewise.
19552         (sin_test_data): Update call to AUTO_TESTS_f_f.
19553         (sin_test): Use ALL_RM_TEST.
19554         (sin_tonearest_test_data): Remove.
19555         (sin_test_tonearest): Likewise.
19556         (sin_towardzero_test_data): Likewise.
19557         (sin_test_towardzero): Likewise.
19558         (sin_downward_test_data): Likewise.
19559         (sin_test_downward): Likewise.
19560         (sin_upward_test_data): Likewise.
19561         (sin_test_upward): Likewise.
19562         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19563         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19564         (sinh_test): Use ALL_RM_TEST.
19565         (sinh_tonearest_test_data): Remove.
19566         (sinh_test_tonearest): Likewise.
19567         (sinh_towardzero_test_data): Likewise.
19568         (sinh_test_towardzero): Likewise.
19569         (sinh_downward_test_data): Likewise.
19570         (sinh_test_downward): Likewise.
19571         (sinh_upward_test_data): Likewise.
19572         (sinh_test_upward): Likewise.
19573         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19574         (sqrt_test): Use ALL_RM_TEST.
19575         (sqrt_tonearest_test_data): Remove.
19576         (sqrt_test_tonearest): Likewise.
19577         (sqrt_towardzero_test_data): Likewise.
19578         (sqrt_test_towardzero): Likewise.
19579         (sqrt_downward_test_data): Likewise.
19580         (sqrt_test_downward): Likewise.
19581         (sqrt_upward_test_data): Likewise.
19582         (sqrt_test_upward): Likewise.
19583         (tan_test_data): Update call to AUTO_TESTS_f_f.
19584         (tan_test): Use ALL_RM_TEST.
19585         (tan_tonearest_test_data): Remove.
19586         (tan_test_tonearest): Likewise.
19587         (tan_towardzero_test_data): Likewise.
19588         (tan_test_towardzero): Likewise.
19589         (tan_downward_test_data): Likewise.
19590         (tan_test_downward): Likewise.
19591         (tan_upward_test_data): Likewise.
19592         (tan_test_upward): Likewise.
19593         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19594         (tgamma_test_data): Likewise.
19595         (y0_test_data): Likewise.
19596         (y1_test_data): Likewise.
19597         (yn_test_data): Update call to AUTO_TESTS_if_f.
19598         (main): Do not call removed functions.
19600 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19602         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19603         (ldexp_test_data): Remove.
19604         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19605         scalbn_test_data.
19606         (scalb_test): Use ALL_RM_TEST.
19608 2014-03-19  Andreas Schwab  <schwab@suse.de>
19610         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19612 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19614         [BZ #16649]
19615         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19616         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19619         (__ASSUME_PREADV): Undefine.
19620         (__ASSUME_PWRITEV): Likewise.
19622 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19624         * bits/mman-linux.h: Add comment about non-Linux use.
19625         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19626         bits/mman-linux.h resting place.
19628         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19629         * bits/mman-linux.h: ... here.
19631 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19633         * conform/conformtest.pl: Add standard definition when calling C
19634         preprocessor on data files.
19635         (checknamespace): Remove unused variable.
19637 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19639         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19640         minus_oflow, plus_uflow and minus_uflow in expected results.
19641         * math/libm-test.inc (scalbn_test_data): Add more tests of
19642         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19643         minus_uflow.
19644         (scalbn_test): Use ALL_RM_TEST.
19645         (scalbln_test_data): Add more tests of negative arguments.  Use
19646         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19647         (scalbln_test): Use ALL_RM_TEST.
19649 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19651         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19653 2014-03-18  Will Newton  <will.newton@linaro.org>
19655         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19656         inaccurate comment.
19658 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19660         * Makerules [!subdir] (check-abi): Exit with error status if a
19661         test failed.
19663 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19665         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19666         for rint.  Include results for all rounding modes.
19667         (nearbyint_test): Use ALL_RM_TEST.
19668         (rint_test_data): Include all tests used for nearbyint.
19670 2014-03-17  Will Newton  <will.newton@linaro.org>
19672         * nptl/sysdeps/pthread/pthread.h: Revert previous
19673         change.
19675         * sysdeps/generic/ldsodefs.h: Revert previous
19676         change.
19678         * libio/genops.c: Revert previous change.
19679         * libio/libioP.h: Likewise.
19680         * stdio-common/vfprintf.c: Likewise.
19682         * sysdeps/generic/math_private.h: Revert previous
19683         change.
19685         * sysdeps/generic/math_private.h: Check whether
19686         HAVE_RM_CTX is defined with #ifdef rather
19687         than #if.
19689         * argp/argp-fmtstream.h: Check whether
19690         __STRICT_ANSI__ is defined with #ifdef rather
19691         than #if.
19692         * argp/argp.h: Likewise.
19694         * libio/genops.c: Check whether
19695         _IO_JUMPS_OFFSET is defined with #ifdef rather
19696         than #if.
19697         * libio/libioP.h: Likewise.
19698         * stdio-common/vfprintf.c: Likewise.
19700         * sysdeps/generic/ldsodefs.h: Check whether
19701         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19702         than #if.
19704         * nptl/sysdeps/pthread/pthread.h: Check
19705         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19706         its value.
19708 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19710         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19711         setting O_APPEND.
19712         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19713         test case.
19715         [BZ #16680]
19716         * libio/fileops.c (_IO_file_open): Seek to end of file but
19717         don't cache the offset.
19718         (get_file_offset): Remove function.
19719         (do_ftell): Use cached offset when available.
19720         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19721         don't cache the offset.
19722         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19723         case.
19724         (do_one_test): Call it.
19725         (do_ftell_test): Fix up expected old offset for a+ mode.
19726         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19727         available.
19729         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19730         up test status with function return status.
19731         (do_write_test): Likewise.
19732         (do_append_test): Likewise.
19734         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19735         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19736         Remove.
19738 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19740         * math/gen-libm-test.pl (parse_args): Handle results specified for
19741         each rounding mode separately.
19742         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19743         tests and results from lrint_tonearest_test_data,
19744         lrint_towardzero_test_data, lrint_downward_test_data and
19745         lrint_upward_test_data.
19746         (lrint_test): Use ALL_RM_TEST.
19747         (lrint_tonearest_test_data): Remove.
19748         (lrint_test_tonearest): Likewise.
19749         (lrint_towardzero_test_data): Likewise.
19750         (lrint_test_towardzero): Likewise.
19751         (lrint_downward_test_data): Likewise.
19752         (lrint_test_downward): Likewise.
19753         (lrint_upward_test_data): Likewise.
19754         (lrint_test_upward): Likewise.
19755         (llrint_test_data): Merge in per-rounding-mode tests and results
19756         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19757         llrint_downward_test_data and llrint_upward_test_data.
19758         (llrint_test): Use ALL_RM_TEST.
19759         (llrint_tonearest_test_data): Remove.
19760         (llrint_test_tonearest): Likewise.
19761         (llrint_towardzero_test_data): Likewise.
19762         (llrint_test_towardzero): Likewise.
19763         (llrint_downward_test_data): Likewise.
19764         (llrint_test_downward): Likewise.
19765         (llrint_upward_test_data): Likewise.
19766         (llrint_test_upward): Likewise.
19767         (rint_test_data): Merge in per-rounding-mode tests and results
19768         from rint_tonearest_test_data, rint_towardzero_test_data,
19769         rint_downward_test_data and rint_upward_test_data.  Add
19770         per-rounding-mode results for tests not in those arrays.
19771         (rint_test): Use ALL_RM_TEST.
19772         (rint_tonearest_test_data): Remove.
19773         (rint_test_tonearest): Likewise.
19774         (rint_towardzero_test_data): Likewise.
19775         (rint_test_towardzero): Likewise.
19776         (rint_downward_test_data): Likewise.
19777         (rint_test_downward): Likewise.
19778         (rint_upward_test_data): Likewise.
19779         (rint_test_upward): Likewise.
19780         (main): Don't call removed functions.
19782 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19784         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19785         "Compiled on ..." crapola.  It is anti-useful.
19787 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19789         * scripts/evaluate-test.sh: Handle fourth argument to determine
19790         whether test run should stop on failure.
19791         * Makeconfig (stop-on-test-failure): New variable.
19792         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19793         $(stop-on-test-failure).
19794         * Makefile (tests): Give a summary of results from testing and
19795         exit with failure status if they include an ERROR or FAIL.
19796         (xtests): Likewise.
19797         * manual/install.texi (Configuring and compiling): Mention
19798         stop-on-test-failure=y.
19799         * INSTALL: Regenerated.
19801 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19803         * scripts/versionlist.awk: New file.
19804         * Makerules [$(build-shared) = yes]
19805         (postclean-generated): Add Versions.def, not Versions.def.v and
19806         Versions.def.v.i.
19807         ($(common-objpfx)Versions.def.v.i): Target removed.
19808         ($(common-objpfx)Versions.def): New target.
19809         ($(common-objpfx)Versions.all): Depend on that rather that
19810         $(common-objpfx)Versions.def.v.
19811         * Versions.def: File removed.
19813         * Makeconfig (+gccwarn): Add -Wundef.
19814         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19815         a dl-sysdep.h breaking its contract.
19816         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19817         * include/stackinfo.h: New file.
19818         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19819         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19820         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19821         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19822         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19823         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19824         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19825         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19826         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19827         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19828         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19829         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19830         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19831         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19832         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19834 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19836         [BZ #16707]
19837         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19838         implementation.
19839         * math/libm-test.inc (round_test_data): Add more tests.
19841         [BZ #16706]
19842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19843         implementation.
19844         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19846         [BZ #16701]
19847         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19848         implementation.
19849         * math/libm-test.inc (ceil_test_data): Add more tests.
19851         * math/libm-test.inc (trunc_test_data): Add more tests related to
19852         BZ#16414.
19854 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19856         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19857         with #if rather than #ifdef.
19858         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19860 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19862         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19863         first.  Disable AVX-512 GCC support if assembler doesn't support
19864         it.
19865         * sysdeps/x86_64/configure: Regenerated.
19867 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19869         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19870         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19871         (__old_pthread_attr_setstack): Likewise.
19872         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19873         [!_STACK_GROWS_DOWN]: Likewise.
19875 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19877         * config.make.in (have-bash2): Delete.
19878         * configure.ac (libc_cv_have_bash2): Delete.
19879         * configure: Regenerate.
19880         * elf/Makefile (common-ldd-rewrite): Rename to ...
19881         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19882         (sh-ldd-rewrite): Delete.
19883         (bash-ldd-rewrite): Delete.
19884         (have-bash2): Delete checks.
19885         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19886         ldd-rewrite.
19888         * config.make.in (have-ksh): Delete.
19889         (KSH): Delete.
19890         * configure.ac (libc_cv_have_ksh): Delete.
19891         * configure: Regenerate.
19893         * elf/Makefile: Delete $(have-ksh) check.
19894         ($(objpfx)sotruss): Change KSH to BASH.
19895         * elf/sotruss.ksh: Rename to ...
19896         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19897         function style to match POSIX.  Drop ksh vim mode setting.
19899         * manual/time.texi (Specifying the Time Zone with TZ): Change
19900         Tuesday to Thursday.
19902         * debug/tst-longjmp_chk2.c: Update header comment.
19903         (stackoverflow_handler): Add comment.  Call assert on pass value.
19905 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19907         [BZ #16194]
19908         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19909         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19910         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19911         (La_x86_64_vector): Add zmm.
19912         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19913         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19914         ($(objpfx)tst-audit10): New target.
19915         ($(objpfx)tst-audit10.out): Likewise.
19916         (tst-audit10-ENV): New.
19917         (AVX512-CFLAGS): Likewise.
19918         (CFLAGS-tst-audit10.c): Likewise.
19919         (CFLAGS-tst-auditmod10a.c): Likewise.
19920         (CFLAGS-tst-auditmod10b.c): Likewise.
19921         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19922         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19923         * sysdeps/x86_64/configure: Regenerated.
19924         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19925         AVX-512 zmm register support.
19926         (_dl_x86_64_save_sse): Likewise.
19927         (_dl_x86_64_restore_sse): Likewise.
19928         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19929         size vector registers.
19930         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19931         (ZMM_SIZE): Likewise.
19932         * sysdeps/x86_64/tst-audit10.c: New file.
19933         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19934         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19936 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19938         * configure.ac (HAVE_EHDR_START): New check.
19939         * configure: Regenerated.
19940         * config.h.in (HAVE_EHDR_START): New #undef.
19941         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19942         assuming the lowest-addressed segment maps the start of the file.
19944 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19946         * INSTALL: Regenerated.
19948 2014-03-13  Will Newton  <will.newton@linaro.org>
19950         * manual/setjmp.texi (System V contexts): Improve
19951         clarity and grammar of documentation.
19953 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19955         [BZ #16381]
19956         * elf/Makefile (tests): Add tst-pie2.
19957         (tests-pie): Add tst-pie2.
19958         * elf/tst-pie2.c: New file.
19959         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19960         for ET_EXEC.
19961         * elf/rtld.c (map_doit): Load executable as lt_executable.
19962         (dl_main): Likewise.
19964 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19966         [BZ #16642]
19967         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19968         (__ASSUME_PSELECT): Undefine.
19970 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19972         [BZ #16689]
19973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19974         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19975         static build.
19976         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19977         selector for static builds.
19979 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19981         [BZ #16695]
19982         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19983         key in the buffer.
19985 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19987         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19988         IFUNC selector for static builds.
19990 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19992         * sysdeps/mips/math_private.h [__mips_hard_float]
19993         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19994         libc_feresetround_mips_ctx.
19995         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19996         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19997         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19999         [BZ #16677]
20000         * math/s_nextafter.c (__nextafter): Do not return value from
20001         overflowing computation.
20002         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20003         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20004         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20005         Likewise.
20006         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20007         Likewise.
20008         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20009         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20011 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20013         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20014         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20015         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20016         the new mov targetting sp.
20018 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20020         [BZ #16683]
20021         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20022         Define it for static builds as well.
20023         (NO_BZERO_IMPL): Likewise.
20025 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20027         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20028         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20029         multiarch strspn for PPC64.
20030         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20031         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20033         (__libc_ifunc_impl_list): Likewise.
20034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20035         multiarch optimizations
20036         * string/strspn.c (strspn): Using macro to redefine symbol name.
20038 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20039             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20041         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20042         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20043         multiarch strncat for PPC64.
20044         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20045         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20047         (__libc_ifunc_impl_list): Likewise.
20048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20049         multiarch optimizations
20051 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20053         [BZ #16639]
20054         * nscd/nscd.service: Make service type forking.
20056 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20058         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20059         sign in non default rounding modes.
20060         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20062 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20064         * math/libm-test.inc (ALL_RM_TEST): New macro.
20065         (ceil_test): Use ALL_RM_TEST.
20066         (cimag_test): Likewise.
20067         (conj_test): Likewise.
20068         (copysign_test): Likewise.
20069         (cproj_test): Likewise.
20070         (creal_test): Likewise.
20071         (fabs_test): Likewise.
20072         (floor_test): Likewise.
20073         (fmax_test): Likewise.
20074         (fmin_test): Likewise.
20075         (fmod_test): Likewise.
20076         (fpclassify_test): Likewise.
20077         (frexp_test): Likewise.
20078         (ilogb_test): Likewise.
20079         (isfinite_test): Likewise.
20080         (finite_test): Likewise.
20081         (isgreater_test): Likewise.
20082         (isgreaterequal_test): Likewise.
20083         (isinf_test): Likewise.
20084         (isless_test): Likewise.
20085         (islessequal_test): Likewise.
20086         (islessgreater_test): Likewise.
20087         (isnan_test): Likewise.
20088         (isnormal_test): Likewise.
20089         (issignaling_test): Likewise.
20090         (isunordered_test): Likewise.
20091         (logb_test): Likewise.
20092         (logb_downward_test_data): Remove.
20093         (logb_test_downward): Likewise.
20094         (lround_test): Use ALL_RM_TEST.
20095         (llround_test): Likewise.
20096         (modf_test): Likewise.
20097         (nexttoward_test): Likewise.
20098         (remainder_test): Likewise.
20099         (drem_test): Likewise.
20100         (remainder_tonearest_test_data): Likewise.
20101         (remainder_test_tonearest): Likewise.
20102         (drem_test_tonearest): Likewise.
20103         (remainder_towardzero_test_data): Likewise.
20104         (remainder_test_towardzero): Likewise.
20105         (drem_test_towardzero): Likewise.
20106         (remainder_downward_test_data): Likewise.
20107         (remainder_test_downward): Likewise.
20108         (drem_test_downward): Likewise.
20109         (remainder_upward_test_data): Likewise.
20110         (remainder_test_upward): Likewise.
20111         (drem_test_upward): Likewise.
20112         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20113         (round_test): Use ALL_RM_TEST.
20114         (signbit_test): Likewise.
20115         (trunc_test): Likewise.
20116         (significand_test): Likewise.
20117         (main): Don't call removed functions.
20119 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20121         [BZ #16674]
20122         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20123         || __USE_XOPEN2K8].
20124         (ILL_ILLOPN): Likewise.
20125         (ILL_ILLADR): Likewise.
20126         (ILL_ILLTRP): Likewise.
20127         (ILL_PRVOPC): Likewise.
20128         (ILL_PRVREG): Likewise.
20129         (ILL_COPROC): Likewise.
20130         (ILL_BADSTK): Likewise.
20131         (FPE_INTDIV): Likewise.
20132         (FPE_INTOVF): Likewise.
20133         (FPE_FLTDIV): Likewise.
20134         (FPE_FLTOVF): Likewise.
20135         (FPE_FLTUND): Likewise.
20136         (FPE_FLTRES): Likewise.
20137         (FPE_FLTINV): Likewise.
20138         (FPE_FLTSUB): Likewise.
20139         (SEGV_MAPERR): Likewise.
20140         (SEGV_ACCERR): Likewise.
20141         (BUS_ADRALN): Likewise.
20142         (BUS_ADRERR): Likewise.
20143         (BUS_OBJERR): Likewise.
20144         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20145         (TRAP_TRACE): Likewise.
20146         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20147         __USE_XOPEN2K8].
20148         (CLD_KILLED): Likewise.
20149         (CLD_DUMPED): Likewise.
20150         (CLD_TRAPPED): Likewise.
20151         (CLD_STOPPED): Likewise.
20152         (CLD_CONTINUED): Likewise.
20153         (POLL_IN): Likewise.
20154         (POLL_OUT): Likewise.
20155         (POLL_MSG): Likewise.
20156         (POLL_ERR): Likewise.
20157         (POLL_PRI): Likewise.
20158         (POLL_HUP): Likewise.
20159         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20160         Likewise.
20161         (ILL_ILLOPN): Likewise.
20162         (ILL_ILLADR): Likewise.
20163         (ILL_ILLTRP): Likewise.
20164         (ILL_PRVOPC): Likewise.
20165         (ILL_PRVREG): Likewise.
20166         (ILL_COPROC): Likewise.
20167         (ILL_BADSTK): Likewise.
20168         (FPE_INTDIV): Likewise.
20169         (FPE_INTOVF): Likewise.
20170         (FPE_FLTDIV): Likewise.
20171         (FPE_FLTOVF): Likewise.
20172         (FPE_FLTUND): Likewise.
20173         (FPE_FLTRES): Likewise.
20174         (FPE_FLTINV): Likewise.
20175         (FPE_FLTSUB): Likewise.
20176         (SEGV_MAPERR): Likewise.
20177         (SEGV_ACCERR): Likewise.
20178         (BUS_ADRALN): Likewise.
20179         (BUS_ADRERR): Likewise.
20180         (BUS_OBJERR): Likewise.
20181         (BUS_MCEERR_AR): Likewise.
20182         (BUS_MCEERR_AO): Likewise.
20183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20184         (TRAP_TRACE): Likewise.
20185         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20186         __USE_XOPEN2K8].
20187         (CLD_KILLED): Likewise.
20188         (CLD_DUMPED): Likewise.
20189         (CLD_TRAPPED): Likewise.
20190         (CLD_STOPPED): Likewise.
20191         (CLD_CONTINUED): Likewise.
20192         (POLL_IN): Likewise.
20193         (POLL_OUT): Likewise.
20194         (POLL_MSG): Likewise.
20195         (POLL_ERR): Likewise.
20196         (POLL_PRI): Likewise.
20197         (POLL_HUP): Likewise.
20198         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20199         (ILL_ILLOPN): Likewise.
20200         (ILL_ILLADR): Likewise.
20201         (ILL_ILLTRP): Likewise.
20202         (ILL_PRVOPC): Likewise.
20203         (ILL_PRVREG): Likewise.
20204         (ILL_COPROC): Likewise.
20205         (ILL_BADSTK): Likewise.
20206         (FPE_INTDIV): Likewise.
20207         (FPE_INTOVF): Likewise.
20208         (FPE_FLTDIV): Likewise.
20209         (FPE_FLTOVF): Likewise.
20210         (FPE_FLTUND): Likewise.
20211         (FPE_FLTRES): Likewise.
20212         (FPE_FLTINV): Likewise.
20213         (FPE_FLTSUB): Likewise.
20214         (SEGV_MAPERR): Likewise.
20215         (SEGV_ACCERR): Likewise.
20216         (BUS_ADRALN): Likewise.
20217         (BUS_ADRERR): Likewise.
20218         (BUS_OBJERR): Likewise.
20219         (BUS_MCEERR_AR): Likewise.
20220         (BUS_MCEERR_AO): Likewise.
20221         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20222         (TRAP_TRACE): Likewise.
20223         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20224         __USE_XOPEN2K8].
20225         (CLD_KILLED): Likewise.
20226         (CLD_DUMPED): Likewise.
20227         (CLD_TRAPPED): Likewise.
20228         (CLD_STOPPED): Likewise.
20229         (CLD_CONTINUED): Likewise.
20230         (POLL_IN): Likewise.
20231         (POLL_OUT): Likewise.
20232         (POLL_MSG): Likewise.
20233         (POLL_ERR): Likewise.
20234         (POLL_PRI): Likewise.
20235         (POLL_HUP): Likewise.
20236         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20237         Likewise.
20238         (ILL_ILLOPN): Likewise.
20239         (ILL_ILLADR): Likewise.
20240         (ILL_ILLTRP): Likewise.
20241         (ILL_PRVOPC): Likewise.
20242         (ILL_PRVREG): Likewise.
20243         (ILL_COPROC): Likewise.
20244         (ILL_BADSTK): Likewise.
20245         (ILL_BADIADDR): Likewise.
20246         (ILL_BREAK): Likewise.
20247         (FPE_INTDIV): Likewise.
20248         (FPE_INTOVF): Likewise.
20249         (FPE_FLTDIV): Likewise.
20250         (FPE_FLTOVF): Likewise.
20251         (FPE_FLTUND): Likewise.
20252         (FPE_FLTRES): Likewise.
20253         (FPE_FLTINV): Likewise.
20254         (FPE_FLTSUB): Likewise.
20255         (FPE_DECOVF): Likewise.
20256         (FPE_DECDIV): Likewise.
20257         (FPE_DECERR): Likewise.
20258         (FPE_INVASC): Likewise.
20259         (FPE_INVDEC): Likewise.
20260         (SEGV_MAPERR): Likewise.
20261         (SEGV_ACCERR): Likewise.
20262         (SEGV_PSTKOVF): Likewise.
20263         (BUS_ADRALN): Likewise.
20264         (BUS_ADRERR): Likewise.
20265         (BUS_OBJERR): Likewise.
20266         (BUS_MCEERR_AR): Likewise.
20267         (BUS_MCEERR_AO): Likewise.
20268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20269         (TRAP_TRACE): Likewise.
20270         (TRAP_BRANCH): Likewise.
20271         (TRAP_HWBKPT): Likewise.
20272         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20273         __USE_XOPEN2K8].
20274         (CLD_KILLED): Likewise.
20275         (CLD_DUMPED): Likewise.
20276         (CLD_TRAPPED): Likewise.
20277         (CLD_STOPPED): Likewise.
20278         (CLD_CONTINUED): Likewise.
20279         (POLL_IN): Likewise.
20280         (POLL_OUT): Likewise.
20281         (POLL_MSG): Likewise.
20282         (POLL_ERR): Likewise.
20283         (POLL_PRI): Likewise.
20284         (POLL_HUP): Likewise.
20285         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20286         (ILL_ILLOPN): Likewise.
20287         (ILL_ILLADR): Likewise.
20288         (ILL_ILLTRP): Likewise.
20289         (ILL_PRVOPC): Likewise.
20290         (ILL_PRVREG): Likewise.
20291         (ILL_COPROC): Likewise.
20292         (ILL_BADSTK): Likewise.
20293         (FPE_INTDIV): Likewise.
20294         (FPE_INTOVF): Likewise.
20295         (FPE_FLTDIV): Likewise.
20296         (FPE_FLTOVF): Likewise.
20297         (FPE_FLTUND): Likewise.
20298         (FPE_FLTRES): Likewise.
20299         (FPE_FLTINV): Likewise.
20300         (FPE_FLTSUB): Likewise.
20301         (SEGV_MAPERR): Likewise.
20302         (SEGV_ACCERR): Likewise.
20303         (BUS_ADRALN): Likewise.
20304         (BUS_ADRERR): Likewise.
20305         (BUS_OBJERR): Likewise.
20306         (BUS_MCEERR_AR): Likewise.
20307         (BUS_MCEERR_AO): Likewise.
20308         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20309         (TRAP_TRACE): Likewise.
20310         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20311         __USE_XOPEN2K8].
20312         (CLD_KILLED): Likewise.
20313         (CLD_DUMPED): Likewise.
20314         (CLD_TRAPPED): Likewise.
20315         (CLD_STOPPED): Likewise.
20316         (CLD_CONTINUED): Likewise.
20317         (POLL_IN): Likewise.
20318         (POLL_OUT): Likewise.
20319         (POLL_MSG): Likewise.
20320         (POLL_ERR): Likewise.
20321         (POLL_PRI): Likewise.
20322         (POLL_HUP): Likewise.
20323         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20324         (ILL_ILLOPN): Likewise.
20325         (ILL_ILLADR): Likewise.
20326         (ILL_ILLTRP): Likewise.
20327         (ILL_PRVOPC): Likewise.
20328         (ILL_PRVREG): Likewise.
20329         (ILL_COPROC): Likewise.
20330         (ILL_BADSTK): Likewise.
20331         (FPE_INTDIV): Likewise.
20332         (FPE_INTOVF): Likewise.
20333         (FPE_FLTDIV): Likewise.
20334         (FPE_FLTOVF): Likewise.
20335         (FPE_FLTUND): Likewise.
20336         (FPE_FLTRES): Likewise.
20337         (FPE_FLTINV): Likewise.
20338         (FPE_FLTSUB): Likewise.
20339         (SEGV_MAPERR): Likewise.
20340         (SEGV_ACCERR): Likewise.
20341         (BUS_ADRALN): Likewise.
20342         (BUS_ADRERR): Likewise.
20343         (BUS_OBJERR): Likewise.
20344         (BUS_MCEERR_AR): Likewise.
20345         (BUS_MCEERR_AO): Likewise.
20346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20347         (TRAP_TRACE): Likewise.
20348         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20349         __USE_XOPEN2K8].
20350         (CLD_KILLED): Likewise.
20351         (CLD_DUMPED): Likewise.
20352         (CLD_TRAPPED): Likewise.
20353         (CLD_STOPPED): Likewise.
20354         (CLD_CONTINUED): Likewise.
20355         (POLL_IN): Likewise.
20356         (POLL_OUT): Likewise.
20357         (POLL_MSG): Likewise.
20358         (POLL_ERR): Likewise.
20359         (POLL_PRI): Likewise.
20360         (POLL_HUP): Likewise.
20361         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20362         (ILL_ILLOPN): Likewise.
20363         (ILL_ILLADR): Likewise.
20364         (ILL_ILLTRP): Likewise.
20365         (ILL_PRVOPC): Likewise.
20366         (ILL_PRVREG): Likewise.
20367         (ILL_COPROC): Likewise.
20368         (ILL_BADSTK): Likewise.
20369         (FPE_INTDIV): Likewise.
20370         (FPE_INTOVF): Likewise.
20371         (FPE_FLTDIV): Likewise.
20372         (FPE_FLTOVF): Likewise.
20373         (FPE_FLTUND): Likewise.
20374         (FPE_FLTRES): Likewise.
20375         (FPE_FLTINV): Likewise.
20376         (FPE_FLTSUB): Likewise.
20377         (SEGV_MAPERR): Likewise.
20378         (SEGV_ACCERR): Likewise.
20379         (BUS_ADRALN): Likewise.
20380         (BUS_ADRERR): Likewise.
20381         (BUS_OBJERR): Likewise.
20382         (BUS_MCEERR_AR): Likewise.
20383         (BUS_MCEERR_AO): Likewise.
20384         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20385         (TRAP_TRACE): Likewise.
20386         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20387         __USE_XOPEN2K8].
20388         (CLD_KILLED): Likewise.
20389         (CLD_DUMPED): Likewise.
20390         (CLD_TRAPPED): Likewise.
20391         (CLD_STOPPED): Likewise.
20392         (CLD_CONTINUED): Likewise.
20393         (POLL_IN): Likewise.
20394         (POLL_OUT): Likewise.
20395         (POLL_MSG): Likewise.
20396         (POLL_ERR): Likewise.
20397         (POLL_PRI): Likewise.
20398         (POLL_HUP): Likewise.
20399         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20400         (ILL_ILLOPN): Likewise.
20401         (ILL_ILLADR): Likewise.
20402         (ILL_ILLTRP): Likewise.
20403         (ILL_PRVOPC): Likewise.
20404         (ILL_PRVREG): Likewise.
20405         (ILL_COPROC): Likewise.
20406         (ILL_BADSTK): Likewise.
20407         (ILL_DBLFLT): Likewise.
20408         (ILL_HARDWALL): Likewise.
20409         (FPE_INTDIV): Likewise.
20410         (FPE_INTOVF): Likewise.
20411         (FPE_FLTDIV): Likewise.
20412         (FPE_FLTOVF): Likewise.
20413         (FPE_FLTUND): Likewise.
20414         (FPE_FLTRES): Likewise.
20415         (FPE_FLTINV): Likewise.
20416         (FPE_FLTSUB): Likewise.
20417         (SEGV_MAPERR): Likewise.
20418         (SEGV_ACCERR): Likewise.
20419         (BUS_ADRALN): Likewise.
20420         (BUS_ADRERR): Likewise.
20421         (BUS_OBJERR): Likewise.
20422         (BUS_MCEERR_AR): Likewise.
20423         (BUS_MCEERR_AO): Likewise.
20424         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20425         (TRAP_TRACE): Likewise.
20426         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20427         __USE_XOPEN2K8].
20428         (CLD_KILLED): Likewise.
20429         (CLD_DUMPED): Likewise.
20430         (CLD_TRAPPED): Likewise.
20431         (CLD_STOPPED): Likewise.
20432         (CLD_CONTINUED): Likewise.
20433         (POLL_IN): Likewise.
20434         (POLL_OUT): Likewise.
20435         (POLL_MSG): Likewise.
20436         (POLL_ERR): Likewise.
20437         (POLL_PRI): Likewise.
20438         (POLL_HUP): Likewise.
20439         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20440         (ILL_ILLOPN): Likewise.
20441         (ILL_ILLADR): Likewise.
20442         (ILL_ILLTRP): Likewise.
20443         (ILL_PRVOPC): Likewise.
20444         (ILL_PRVREG): Likewise.
20445         (ILL_COPROC): Likewise.
20446         (ILL_BADSTK): Likewise.
20447         (FPE_INTDIV): Likewise.
20448         (FPE_INTOVF): Likewise.
20449         (FPE_FLTDIV): Likewise.
20450         (FPE_FLTOVF): Likewise.
20451         (FPE_FLTUND): Likewise.
20452         (FPE_FLTRES): Likewise.
20453         (FPE_FLTINV): Likewise.
20454         (FPE_FLTSUB): Likewise.
20455         (SEGV_MAPERR): Likewise.
20456         (SEGV_ACCERR): Likewise.
20457         (BUS_ADRALN): Likewise.
20458         (BUS_ADRERR): Likewise.
20459         (BUS_OBJERR): Likewise.
20460         (BUS_MCEERR_AR): Likewise.
20461         (BUS_MCEERR_AO): Likewise.
20462         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20463         (TRAP_TRACE): Likewise.
20464         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20465         __USE_XOPEN2K8].
20466         (CLD_KILLED): Likewise.
20467         (CLD_DUMPED): Likewise.
20468         (CLD_TRAPPED): Likewise.
20469         (CLD_STOPPED): Likewise.
20470         (CLD_CONTINUED): Likewise.
20471         (POLL_IN): Likewise.
20472         (POLL_OUT): Likewise.
20473         (POLL_MSG): Likewise.
20474         (POLL_ERR): Likewise.
20475         (POLL_PRI): Likewise.
20476         (POLL_HUP): Likewise.
20477         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20478         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20480         [BZ #16670]
20481         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20482         before #include of <time.h>.
20483         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20484         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20485         (test-xfail-UNIX98/sched.h/conform): Likewise.
20487 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20489         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20490         error absence of trapping exception support.
20491         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20493 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20495         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20496         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20497         * timezone/Makefile (testdata): Move definition above include of
20498         Rules.
20499         (test-zones): New variable.
20500         (tests-special): Add zone files.
20501         (build-testdata): Use $(evaluate-test).
20503         * elf/Makefile (tests-special): Rename tests to end with .out.
20504         ($(objpfx)noload-mem): Likewise.
20505         ($(objpfx)tst-leaks1-mem): Likewise.
20506         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20507         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20508         $(objpfx)test-iconvconfig.out.
20509         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20510         set -e inside subshell and redirect output to file.
20511         * iconvdata/Makefile (generated): Rename tests to end with .out.
20512         Correct type.
20513         (tests-special): Rename tests to end with .out.
20514         ($(objpfx)mtrace-tst-loading): Likewise.
20515         * intl/Makefile (generated): Likewise.
20516         (tests-special): Likewise.
20517         ($(objpfx)mtrace-tst-gettext): Likewise.
20518         * misc/Makefile (generated): Likewise.
20519         (tests-special): Likewise.
20520         ($(objpfx)tst-error1-mem): Likewise.
20521         * nptl/Makefile (tests-special): Likewise.
20522         ($(objpfx)tst-stack3-mem): Likewise.
20523         (generated): Likewise.
20524         * posix/Makefile (generated): Likewise.
20525         (tests-special): Likewise.
20526         (xtests-special): Likewise.
20527         ($(objpfx)tst-fnmatch-mem): Likewise.
20528         ($(objpfx)bug-regex2-mem): Likewise.
20529         ($(objpfx)bug-regex14-mem): Likewise.
20530         ($(objpfx)bug-regex21-mem): Likewise.
20531         ($(objpfx)bug-regex31-mem): Likewise.
20532         ($(objpfx)tst-vfork3-mem): Likewise.
20533         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20534         ($(objpfx)tst-pcre-mem): Likewise.
20535         ($(objpfx)tst-boost-mem): Likewise.
20536         ($(objpfx)bug-ga2-mem): Likewise.
20537         ($(objpfx)bug-glob2-mem): Likewise.
20538         * resolv/Makefile (generate): Likewise.
20539         (tests-special): Likewise.
20540         (xtests-special): Likewise.
20541         (generated): Likewise.
20542         ($(objpfx)mtrace-tst-leaks): Likewise.
20543         ($(objpfx)mtrace-tst-leaks2): Likewise.
20545         * scripts/merge-test-results.sh: New file.
20546         * Makefile (tests-special-notdir): New variable.
20547         (tests): Run merge-test-results.sh.
20548         (xtests): Likewise.
20549         * Rules (tests-special-notdir): New variable.
20550         (xtests-special-notdir): Likewise.
20551         (tests): Run merge-test-results.sh
20552         (xtests): Likewise.
20554         * Makeconfig (test-xfail-name): New variable.
20555         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20556         compute variable name for expected failures.
20557         * conform/Makefile (conformtest-headers-data): New variable.
20558         (conformtest-standards): Likewise.
20559         (conformtest-headers-ISO): Likewise.
20560         (conformtest-headers-ISO99): Likewise.
20561         (conformtest-headers-ISO11): Likewise.
20562         (conformtest-headers-POSIX): Likewise.
20563         (conformtest-headers-XPG3): Likewise.
20564         (conformtest-headers-XPG4): Likewise.
20565         (conformtest-headers-UNIX98): Likewise.
20566         (conformtest-headers-XOPEN2K): Likewise.
20567         (conformtest-headers-POSIX2008): Likewise.
20568         (conformtest-headers-XOPEN2K8): Likewise.
20569         (conformtest-header-list-base): Likewise.
20570         (conformtest-header-list-tests): Likewise.
20571         (conformtest-header-base): Likewise.
20572         (conformtest-header-tests): Likewise.
20573         (tests-special): Add $(conformtest-header-list-tests).  If
20574         [$(fast-check) && !$(cross-compiling)], add
20575         $(conformtest-header-tests) instead of
20576         $(objpfx)run-conformtest.out.
20577         (generated): Add $(conformtest-header-list-base).  If
20578         [$(fast-check) && !$(cross-compiling)], add
20579         $(conformtest-header-base).  Remove previous setting.
20580         ($(conformtest-header-list-tests)): New target.
20581         (test-xfail-run-conformtest): Remove variable.
20582         ($(objpfx)run-conformtest.out): Remove target.
20583         (test-xfail-ISO11/complex.h/conform): New variable.
20584         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20585         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20586         (test-xfail-XPG3/varargs.h/conform): Likewise.
20587         (test-xfail-XPG4/varargs.h/conform): Likewise.
20588         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20589         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20590         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20591         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20592         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20593         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20594         (test-xfail-XPG3/ftw.h/conform): Likewise.
20595         (test-xfail-XPG3/grp.h/conform): Likewise.
20596         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20597         (test-xfail-XPG3/limits.h/conform): Likewise.
20598         (test-xfail-XPG3/pwd.h/conform): Likewise.
20599         (test-xfail-XPG3/search.h/conform): Likewise.
20600         (test-xfail-XPG3/signal.h/conform): Likewise.
20601         (test-xfail-XPG3/stdio.h/conform): Likewise.
20602         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20603         (test-xfail-XPG3/string.h/conform): Likewise.
20604         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20605         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20606         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20607         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20608         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20609         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20610         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20611         (test-xfail-XPG3/termios.h/conform): Likewise.
20612         (test-xfail-XPG3/time.h/conform): Likewise.
20613         (test-xfail-XPG3/unistd.h/conform): Likewise.
20614         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20615         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20616         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20617         (test-xfail-XPG4/netdb.h/conform): Likewise.
20618         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20619         (test-xfail-XPG4/signal.h/conform): Likewise.
20620         (test-xfail-XPG4/stdio.h/conform): Likewise.
20621         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20622         (test-xfail-XPG4/stropts.h/conform): Likewise.
20623         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20624         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20625         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20626         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20627         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20628         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20629         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20630         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20631         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20632         (test-xfail-XPG4/termios.h/conform): Likewise.
20633         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20634         (test-xfail-XPG4/unistd.h/conform): Likewise.
20635         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20636         (test-xfail-POSIX/sched.h/conform): Likewise.
20637         (test-xfail-POSIX/signal.h/conform): Likewise.
20638         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20639         (test-xfail-POSIX/tar.h/conform): Likewise.
20640         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20641         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20642         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20643         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20644         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20645         (test-xfail-UNIX98/sched.h/conform): Likewise.
20646         (test-xfail-UNIX98/signal.h/conform): Likewise.
20647         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20648         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20649         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20650         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20651         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20652         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20653         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20654         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20655         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20656         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20657         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20658         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20659         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20660         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20661         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20662         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20663         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20664         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20665         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20666         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20667         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20668         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20669         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20670         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20671         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20672         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20673         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20674         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20675         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20676         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20677         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20678         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20679         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20680         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20681         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20682         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20683         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20684         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20685         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20686         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20687         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20688         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20689         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20690         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20691         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20692         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20693         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20694         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20695         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20696         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20697         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20698         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20699         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20700         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20701         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20702         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20703         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20704         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20705         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20706         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20707         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20708         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20709         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20710         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20711         (conformtest-cc-flags): Likewise.
20712         ($(conformtest-header-tests): New target.
20713         * conform/check-header-lists.sh: New file.
20714         * conform/run-conformtest.sh: Remove.
20716         * conform/conformtest.pl: Allow ' and \ in values given for
20717         constants.
20718         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20719         inclusion.
20720         [POSIX] (sys/types.h): Likewise.
20721         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20722         inclusion.
20723         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20724         inclusion.
20725         * conform/data/signal.h-data (SIGIO): Remove expectation.
20726         [XPG3] (SIGBUS): Do not expect.
20727         [POSIX || XPG3] (SIGPOLL): Likewise.
20728         [POSIX || XPG3] (SIGPROF): Likewise.
20729         [POSIX || XPG3] (SIGSYS): Likewise.
20730         [XPG3] (SIGTRAP): Likewise.
20731         [POSIX || XPG3] (SIGURG): Likewise.
20732         [POSIX || XPG3] (SIGVTALRM): Likewise.
20733         [POSIX || XPG3] (SIGXCPU): Likewise.
20734         [POSIX || XPG3] (SIGXFSZ): Likewise.
20735         [POSIX] (SA_SIGINFO): Expect.
20736         [XPG3] (siginfo_t): Do not expect type or contents.
20737         [POSIX] (si_pid): Do not expect element.
20738         [POSIX] (si_uid): Likewise.
20739         [POSIX] (si_addr): Likewise.
20740         [POSIX] (si_status): Likewise.
20741         [POSIX] (si_band): Likewise.
20742         [XPG4] (si_value): Likewise.
20743         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20744         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20745         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20746         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20747         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20748         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20749         [POSIX || XPG3] (ILL_COPROC): Likewise.
20750         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20751         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20752         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20753         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20754         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20755         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20756         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20757         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20758         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20759         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20760         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20761         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20762         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20763         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20764         [POSIX || XPG3] (CLD_EXITED): Likewise.
20765         [POSIX || XPG3] (CLD_KILLED): Likewise.
20766         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20767         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20768         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20769         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20770         [POSIX || XPG3] (POLL_IN): Likewise.
20771         [POSIX || XPG3] (POLL_OUT): Likewise.
20772         [POSIX || XPG3] (POLL_MSG): Likewise.
20773         [POSIX || XPG3] (POLL_ERR): Likewise.
20774         [POSIX || XPG3] (POLL_PRI): Likewise.
20775         [POSIX || XPG3] (POLL_HUP): Likewise.
20776         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20777         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20778         (SIG*): Do not allow.
20779         [XPG3] (si_*): Likewise.
20780         [XPG3] (SI_*): Likewise.
20781         [XPG3 || XPG4] (sigev_*): Likewise.
20782         [XPG3 || XPG4] (SIGEV_*): Likewise.
20783         [XPG3 || XPG4] (sival_*): Likewise.
20784         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20785         [POSIX || XPG3] (BUS_*): Likewise.
20786         [POSIX || XPG3] (CLD_*): Likewise.
20787         [POSIX || XPG3] (FPE_*): Likewise.
20788         [POSIX || XPG3] (ILL_*): Likewise.
20789         [POSIX || XPG3] (POLL_*): Likewise.
20790         [POSIX || XPG3] (SEGV_*): Likewise.
20791         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20792         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20793         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20794         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20795         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20796         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20797         Specify type and value.
20798         (TVERSLEN): Likewise.
20799         (REGTYPE): Likewise.
20800         (AREGTYPE): Likewise.
20801         (LNKTYPE): Likewise.
20802         (SYMTYPE): Likewise.
20803         (CHRTYPE): Likewise.
20804         (BLKTYPE): Likewise.
20805         (DIRTYPE): Likewise.
20806         (FIFOTYPE): Likewise.
20807         (CONTTYPE): Likewise.
20808         (TSUID): Likewise.
20809         (TSGID): Likewise.
20810         (TSVTX): Likewise.
20811         (TUREAD): Likewise.
20812         (TUWRITE): Likewise.
20813         (TUEXEC): Likewise.
20814         (TGREAD): Likewise.
20815         (TGWRITE): Likewise.
20816         (TGEXEC): Likewise.
20817         (TOREAD): Likewise.
20818         (TOWRITE): Likewise.
20819         (TOEXEC): Likewise.
20820         [POSIX] (TSVTX): Expect constant.
20822 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20824         * Makefile (tests): Change dependencies to ....
20825         (tests-special): ... additions to this variable.
20826         (tests): Depend on $(tests-special).
20827         * Makerules (check-abi-list): New variable.
20828         (check-abi): Depend on $(check-abi-list).
20829         [$(subdir) = elf] (tests-special): Add
20830         $(objpfx)check-abi-libc.out.
20831         [$(build-shared) = yes && subdir] (tests-special): Add
20832         $(check-abi-list).
20833         [$(build-shared) = yes && subdir] (tests): Do not depend on
20834         check-abi.
20835         * Rules (tests): Depend on $(tests-special).
20836         (xtests): Depend on $(xtests-special).
20837         * catgets/Makefile (tests): Change dependencies to ....
20838         (tests-special): ... additions to this variable.
20839         * conform/Makefile (tests): Change dependencies to ....
20840         (tests-special): ... additions to this variable.
20841         * elf/Makefile (tests): Change dependencies to ....
20842         (tests-special): ... additions to this variable.
20843         * grp/Makefile (tests): Change dependencies to ....
20844         (tests-special): ... additions to this variable.
20845         * iconv/Makefile (xtests): Change dependencies to ....
20846         (xtests-special): ... additions to this variable.
20847         * iconvdata/Makefile (tests): Change dependencies to ....
20848         (tests-special): ... additions to this variable.
20849         * intl/Makefile (tests): Change dependencies to ....
20850         (tests-special): ... additions to this variable.  Also add
20851         $(objpfx)tst-gettext.out.
20852         * io/Makefile (tests): Change dependencies to ....
20853         (tests-special): ... additions to this variable.
20854         * libio/Makefile (tests): Change dependencies to ....
20855         (tests-special): ... additions to this variable.
20856         * malloc/Makefile (tests): Change dependencies to ....
20857         (tests-special): ... additions to this variable.
20858         * misc/Makefile (tests): Change dependencies to ....
20859         (tests-special): ... additions to this variable.
20860         * nptl/Makefile (tests): Change dependencies to ....
20861         (tests-special): ... additions to this variable.
20862         * nptl_db/Makefile (tests): Change dependencies to ....
20863         (tests-special): ... additions to this variable.
20864         * posix/Makefile (tests): Change dependencies to ....
20865         (tests-special): ... additions to this variable.
20866         (xtests): Change dependencies to ....
20867         (xtests-special): ... additions to this variable.
20868         * resolv/Makefile (tests): Change dependencies to ....
20869         (tests-special): ... additions to this variable.
20870         (xtests): Change dependencies to ....
20871         (xtests-special): ... additions to this variable.
20872         * stdio-common/Makefile (tests): Change dependencies to ....
20873         (tests-special): ... additions to this variable.
20874         (do-tst-unbputc): Remove target.
20875         (do-tst-printf): Likewise.
20876         * stdlib/Makefile (tests): Change dependencies to ....
20877         (tests-special): ... additions to this variable.
20878         * string/Makefile (tests): Change dependencies to ....
20879         (tests-special): ... additions to this variable.
20880         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20881         (tests-special): ... additions to this variable.
20883         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20884         whole file.
20885         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20886         whole file.
20887         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20888         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20890         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20891         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20892         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20893         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20894         * conform/data/libgen.h-data [XPG3]: Likewise.
20895         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20896         * conform/data/ndbm.h-data [XPG3]: Likewise.
20897         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20898         * conform/data/netdb.h-data [XPG3]: Likewise.
20899         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20900         * conform/data/poll.h-data [XPG3]: Likewise.
20901         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20902         * conform/data/strings.h-data [XPG3]: Likewise.
20903         * conform/data/stropts.h-data [XPG3]: Likewise.
20904         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20905         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20906         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20907         Likewise.
20908         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20909         * conform/data/sys/time.h-data [XPG3]: Likewise.
20910         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20911         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20912         * conform/data/sys/un.h-data [XPG3]: Likewise.
20913         * conform/data/syslog.h-data [XPG3]: Likewise.
20914         * conform/data/ucontext.h-data [XPG3]: Likewise.
20915         * conform/data/utmpx.h-data [XPG3]: Likewise.
20916         * conform/data/varargs.h-data [UNIX98]: Enable file.
20918         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20920         * math/libm-test.inc (struct test_f_f_data): Move expected results
20921         into structure for each rounding mode.
20922         (struct test_ff_f_data): Likewise.
20923         (struct test_ff_f_data_nexttoward): Likewise.
20924         (struct test_fi_f_data): Likewise.
20925         (struct test_fl_f_data): Likewise.
20926         (struct test_if_f_data): Likewise.
20927         (struct test_fff_f_data): Likewise.
20928         (struct test_c_f_data): Likewise.
20929         (struct test_f_f1_data): Likewise.
20930         (struct test_fF_f1_data): Likewise.
20931         (struct test_ffI_f1_data): Likewise.
20932         (struct test_c_c_data): Likewise.
20933         (struct test_cc_c_data): Likewise.
20934         (struct test_f_i_data): Likewise.
20935         (struct test_ff_i_data): Likewise.
20936         (struct test_f_l_data): Likewise.
20937         (struct test_f_L_data): Likewise.
20938         (struct test_fFF_11_data): Likewise.
20939         (RM_): New macro.
20940         (RM_FE_DOWNWARD): Likewise.
20941         (RM_FE_TONEAREST): Likewise.
20942         (RM_FE_TOWARDZERO): Likewise.
20943         (RM_FE_UPWARD): Likewise.
20944         (RUN_TEST_LOOP_f_f): Update references to expected results.
20945         (RUN_TEST_LOOP_2_f): Likewise.
20946         (RUN_TEST_LOOP_fff_f): Likewise.
20947         (RUN_TEST_LOOP_c_f): Likewise.
20948         (RUN_TEST_LOOP_f_f1): Likewise.
20949         (RUN_TEST_LOOP_fF_f1): Likewise.
20950         (RUN_TEST_LOOP_fI_f1): Likewise.
20951         (RUN_TEST_LOOP_ffI_f1): Likewise.
20952         (RUN_TEST_LOOP_c_c): Likewise.
20953         (RUN_TEST_LOOP_cc_c): Likewise.
20954         (RUN_TEST_LOOP_f_i): Likewise.
20955         (RUN_TEST_LOOP_f_i_tg): Likewise.
20956         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20957         (RUN_TEST_LOOP_f_b): Likewise.
20958         (RUN_TEST_LOOP_f_b_tg): Likewise.
20959         (RUN_TEST_LOOP_f_l): Likewise.
20960         (RUN_TEST_LOOP_f_L): Likewise.
20961         (RUN_TEST_LOOP_fFF_11): Likewise.
20962         * math/gen-libm-test.pl (parse_args): Output four copies of
20963         expected results for each test.
20965         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20966         (__ASSUME_UTIMES): Remove.
20967         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20968         (__ASSUME_UTIMES): Likewise.
20970         * math/gen-auto-libm-tests.c: Update comment on output format.
20971         (output_for_one_input_case): Generate before-rounding and
20972         after-rounding information as conditions on output flags not
20973         floating-point format.
20974         * math/auto-libm-test-out: Regenerated.
20975         * math/gen-libm-test.pl (cond_value): New function.
20976         (or_cond_value): Use cond_value.
20977         (generate_testfile): Handle conditional exceptions.
20979 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20981         * math/libm-test.inc (max_valid_error): New variable.
20982         (init_max_error): Take new argument specifying whether function
20983         results are exactly determined.  Set max_valid_error and bound
20984         other variables for errors based on this argument.
20985         (set_max_error): Do not record results above max_valid_error.
20986         (check_float_internal): Only accept errors of up to 0.5ulps if
20987         also at most max_valid_error.
20988         (START): Take new argument EXACT and pass it to init_max_error.
20989         (acos_test): Update call to START.
20990         (acos_test_tonearest): Likewise.
20991         (acos_test_towardzero): Likewise.
20992         (acos_test_downward): Likewise.
20993         (acos_test_upward): Likewise.
20994         (acosh_test): Likewise.
20995         (asin_test): Likewise.
20996         (asin_test_tonearest): Likewise.
20997         (asin_test_towardzero): Likewise.
20998         (asin_test_downward): Likewise.
20999         (asin_test_upward): Likewise.
21000         (asinh_test): Likewise.
21001         (atan_test): Likewise.
21002         (atanh_test): Likewise.
21003         (atan2_test): Likewise.
21004         (cabs_test): Likewise.
21005         (cacos_test): Likewise.
21006         (cacosh_test): Likewise.
21007         (carg_test): Likewise.
21008         (casin_test): Likewise.
21009         (casinh_test): Likewise.
21010         (catan_test): Likewise.
21011         (catanh_test): Likewise.
21012         (cbrt_test): Likewise.
21013         (ccos_test): Likewise.
21014         (ccosh_test): Likewise.
21015         (ceil_test): Likewise.
21016         (cexp_test): Likewise.
21017         (cimag_test): Likewise.
21018         (clog_test): Likewise.
21019         (clog10_test): Likewise.
21020         (conj_test): Likewise.
21021         (copysign_test): Likewise.
21022         (cos_test): Likewise.
21023         (cos_test_tonearest): Likewise.
21024         (cos_test_towardzero): Likewise.
21025         (cos_test_downward): Likewise.
21026         (cos_test_upward): Likewise.
21027         (cosh_test): Likewise.
21028         (cosh_test_tonearest): Likewise.
21029         (cosh_test_towardzero): Likewise.
21030         (cosh_test_downward): Likewise.
21031         (cosh_test_upward): Likewise.
21032         (cpow_test): Likewise.
21033         (cproj_test): Likewise.
21034         (creal_test): Likewise.
21035         (csin_test): Likewise.
21036         (csinh_test): Likewise.
21037         (csqrt_test): Likewise.
21038         (ctan_test): Likewise.
21039         (ctan_test_tonearest): Likewise.
21040         (ctan_test_towardzero): Likewise.
21041         (ctan_test_downward): Likewise.
21042         (ctan_test_upward): Likewise.
21043         (ctanh_test): Likewise.
21044         (ctanh_test_tonearest): Likewise.
21045         (ctanh_test_towardzero): Likewise.
21046         (ctanh_test_downward): Likewise.
21047         (ctanh_test_upward): Likewise.
21048         (erf_test): Likewise.
21049         (erfc_test): Likewise.
21050         (exp_test): Likewise.
21051         (exp_test_tonearest): Likewise.
21052         (exp_test_towardzero): Likewise.
21053         (exp_test_downward): Likewise.
21054         (exp_test_upward): Likewise.
21055         (exp10_test): Likewise.
21056         (exp10_test_tonearest): Likewise.
21057         (exp10_test_towardzero): Likewise.
21058         (exp10_test_downward): Likewise.
21059         (exp10_test_upward): Likewise.
21060         (pow10_test): Likewise.
21061         (exp2_test): Likewise.
21062         (expm1_test): Likewise.
21063         (expm1_test_tonearest): Likewise.
21064         (expm1_test_towardzero): Likewise.
21065         (expm1_test_downward): Likewise.
21066         (expm1_test_upward): Likewise.
21067         (fabs_test): Likewise.
21068         (fdim_test): Likewise.
21069         (floor_test): Likewise.
21070         (fma_test): Likewise.
21071         (fma_test_towardzero): Likewise.
21072         (fma_test_downward): Likewise.
21073         (fma_test_upward): Likewise.
21074         (fmax_test): Likewise.
21075         (fmin_test): Likewise.
21076         (fmod_test): Likewise.
21077         (fpclassify_test): Likewise.
21078         (frexp_test): Likewise.
21079         (hypot_test): Likewise.
21080         (ilogb_test): Likewise.
21081         (isfinite_test): Likewise.
21082         (finite_test): Likewise.
21083         (isgreater_test): Likewise.
21084         (isgreaterequal_test): Likewise.
21085         (isinf_test): Likewise.
21086         (isless_test): Likewise.
21087         (islessequal_test): Likewise.
21088         (islessgreater_test): Likewise.
21089         (isnan_test): Likewise.
21090         (isnormal_test): Likewise.
21091         (issignaling_test): Likewise.
21092         (isunordered_test): Likewise.
21093         (j0_test): Likewise.
21094         (j1_test): Likewise.
21095         (jn_test): Likewise.
21096         (ldexp_test): Likewise.
21097         (lgamma_test): Likewise.
21098         (gamma_test): Likewise.
21099         (lrint_test): Likewise.
21100         (lrint_test_tonearest): Likewise.
21101         (lrint_test_towardzero): Likewise.
21102         (lrint_test_downward): Likewise.
21103         (lrint_test_upward): Likewise.
21104         (llrint_test): Likewise.
21105         (llrint_test_tonearest): Likewise.
21106         (llrint_test_towardzero): Likewise.
21107         (llrint_test_downward): Likewise.
21108         (llrint_test_upward): Likewise.
21109         (log_test): Likewise.
21110         (log10_test): Likewise.
21111         (log1p_test): Likewise.
21112         (log2_test): Likewise.
21113         (logb_test): Likewise.
21114         (logb_test_downward): Likewise.
21115         (lround_test): Likewise.
21116         (llround_test): Likewise.
21117         (modf_test): Likewise.
21118         (nearbyint_test): Likewise.
21119         (nextafter_test): Likewise.
21120         (nexttoward_test): Likewise.
21121         (pow_test): Likewise.
21122         (pow_test_tonearest): Likewise.
21123         (pow_test_towardzero): Likewise.
21124         (pow_test_downward): Likewise.
21125         (pow_test_upward): Likewise.
21126         (remainder_test): Likewise.
21127         (drem_test): Likewise.
21128         (remainder_test_tonearest): Likewise.
21129         (drem_test_tonearest): Likewise.
21130         (remainder_test_towardzero): Likewise.
21131         (drem_test_towardzero): Likewise.
21132         (remainder_test_downward): Likewise.
21133         (drem_test_downward): Likewise.
21134         (remainder_test_upward): Likewise.
21135         (drem_test_upward): Likewise.
21136         (remquo_test): Likewise.
21137         (rint_test): Likewise.
21138         (rint_test_tonearest): Likewise.
21139         (rint_test_towardzero): Likewise.
21140         (rint_test_downward): Likewise.
21141         (rint_test_upward): Likewise.
21142         (round_test): Likewise.
21143         (scalb_test): Likewise.
21144         (scalbn_test): Likewise.
21145         (scalbln_test): Likewise.
21146         (signbit_test): Likewise.
21147         (sin_test): Likewise.
21148         (sin_test_tonearest): Likewise.
21149         (sin_test_towardzero): Likewise.
21150         (sin_test_downward): Likewise.
21151         (sin_test_upward): Likewise.
21152         (sincos_test): Likewise.
21153         (sinh_test): Likewise.
21154         (sinh_test_tonearest): Likewise.
21155         (sinh_test_towardzero): Likewise.
21156         (sinh_test_downward): Likewise.
21157         (sinh_test_upward): Likewise.
21158         (sqrt_test): Likewise.
21159         (sqrt_test_tonearest): Likewise.
21160         (sqrt_test_towardzero): Likewise.
21161         (sqrt_test_downward): Likewise.
21162         (sqrt_test_upward): Likewise.
21163         (tan_test): Likewise.
21164         (tan_test_tonearest): Likewise.
21165         (tan_test_towardzero): Likewise.
21166         (tan_test_downward): Likewise.
21167         (tan_test_upward): Likewise.
21168         (tanh_test): Likewise.
21169         (tgamma_test): Likewise.
21170         (trunc_test): Likewise.
21171         (y0_test): Likewise.
21172         (y1_test): Likewise.
21173         (yn_test): Likewise.
21174         (significand_test): Likewise.
21176         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21177         individual tests in comment.
21178         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21179         (prev_max_error): New variable.
21180         (prev_real_max_error): Likewise.
21181         (prev_imag_max_error): Likewise.
21182         (compare_ulp_data): Don't refer to test names in comment.
21183         (find_test_ulps): Remove function.
21184         (find_function_ulps): Likewise.
21185         (find_complex_function_ulps): Likewise.
21186         (init_max_error): Take function name as argument.  Look up ulps
21187         for that function.
21188         (print_ulps): Remove function.
21189         (print_max_error): Use prev_max_error instead of calling
21190         find_function_ulps.
21191         (print_complex_max_error): Use prev_real_max_error and
21192         prev_imag_max_error instead of calling find_complex_function_ulps.
21193         (check_float_internal): Take max_ulp parameter instead of calling
21194         find_test_ulps.  Don't call print_ulps.
21195         (check_float): Update call to check_float_internal.
21196         (check_complex): Update calls to check_float_internal.
21197         (START): Pass argument to init_max_error.
21198         * math/gen-libm-test.pl (%results): Don't include "kind"
21199         information.
21200         (parse_ulps): Don't handle ulps of individual tests.
21201         (print_ulps_file): Likewise.
21202         (output_ulps): Likewise.
21203         * math/README.libm-test: Update.
21204         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21205         individual tests.
21206         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21207         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21208         * sysdeps/arm/libm-test-ulps: Likewise.
21209         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21210         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21211         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21212         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21213         * sysdeps/microblaze/libm-test-ulps: Likewise.
21214         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21215         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21216         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21217         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21218         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21219         * sysdeps/sh/libm-test-ulps: Likewise.
21220         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21221         * sysdeps/tile/libm-test-ulps: Likewise.
21222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21224 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21226         * math/libm-test.inc (print_complex_max_error): Check separately
21227         whether real and imaginary errors are within allowed range and
21228         pass 0 to print_complex_function_ulps instead of value within
21229         allowed range.
21231 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21233         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21234         formatting.
21235         (get_handles_fopen): Likewise.
21236         (do_write_test): Likewise.
21238         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21240         * libio/fileops.c (do_ftell): Use cached offset when
21241         available.
21242         * libio/iofwide.c (do_ftell_wide): Likewise.
21243         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21244         _IO_file_attach.
21245         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21247         [BZ #16532]
21248         * libio/libioP.h (get_file_offset): New function.
21249         * libio/fileops.c (get_file_offset): Likewise.
21250         (do_ftell): Likewise.
21251         (_IO_new_file_seekoff): Split out ftell logic.
21252         * libio/wfileops.c (do_ftell_wide): Likewise.
21253         (_IO_wfile_seekoff): Split out ftell logic.
21254         * libio/tst-ftell-active-handler.c: New test case.
21255         * libio/Makefile (tests): Add it.
21257 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21259         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21260         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21262 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21264         [BZ #16639]
21265         * nscd/connections.c (nscd_init): Call do_exit.
21266         (start_threads): Call do_exit and notify_parent.
21267         (begin_drop_privileges): Call do_exit.
21268         (finish_drop_privileges): Likewise.
21269         * nscd/selinux.c (preserve_capabilities): Likewise.
21270         (install_real_capabilities): Likewise.
21271         (nscd_selinux_enabled): Likewise.
21272         (avc_create_thread): Likewise.
21273         (avc_alloc_lock): Likewise.
21274         (nscd_avc_init): Likewise.
21275         * nscd/nscd.c (parent_fd): New static variable.
21276         (main): Create a pipe between parent and child processes.
21277         Skip closing parent_fd.
21278         (monitor_child): New function.
21279         (do_exit): Likewise.
21280         (notify_parent): Likewise.
21281         * nscd/nscd.h (notify_parent): Likewise.
21282         (do_exit): Likewise.
21284 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21286         * malloc/malloc.c (__libc_calloc): Revert last change.
21288 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21292 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21294         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21296         implementation.
21297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21298         (__libc_ifunc_impl_list): Likewise.
21299         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21300         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21301         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21302         * string/strrchr.c: Define STRRCHR.
21304 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21306         * benchtest/bench-strtok.c (simple_strtok): Delete.
21307         (strtok_string): Use as benchmark.
21308         * string/strtok (STRTOK): New macro.
21310 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21312         * manual/threads.texi: Add header and standard comments to all
21313         functions.
21315         * elf/dl-lookup.c (check_match): New function.
21316         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21317         (do_lookup_x): Remove nested function check_match. Use non-nested
21318         function check_match.
21320 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21322         * csu/Makefile (generated, before-compile): Use += rather than =.
21323         * catgets/Makefile (generated, generated-dirs): Likewise.
21324         * debug/Makefile (generated): Likewise.
21325         * dlfcn/Makefile (generated): Likewise.
21326         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21327         * iconvdata/Makefile (before-compile, generated): Likewise.
21328         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21329         * libio/Makefile (generated): Likewise.
21330         * malloc/Makefile (generated): Likewise.
21331         * manual/Makefile (generated, generated-dirs): Likewise.
21332         * misc/Makefile (generated): Likewise.
21333         * posix/Makefile (generated): Likewise.
21334         * resolv/Makefile (generated): Likewise.
21335         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21336         * timezone/Makefile (generated, generated-dirs): Likewise.
21338         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21340 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21343         power8 implementation.
21344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21345         file: POWER8 llround ifunc implementation.
21346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21347         (__lllround): Add POWER8 implementation.
21348         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21349         POWER8 llround implementation.
21351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21352         power8 implementation.
21353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21354         file: POWER8 llrint ifunc implementation.
21355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21356         Add POWER8 implementation.
21357         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21358         POWER8 llrint implementation.
21360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21361         power8 implementation.
21362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21363         file: POWER8 finite ifunc implementation.
21364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21365         Add POWER8 implementation.
21366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21367         Likewise.
21368         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21369         POWER8 finite implementation.
21370         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21373         power8 implementation.
21374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21375         file: POWER8 isinf ifunc implementation.
21376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21377         POWER8 implementation.
21378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21379         Likewise.
21380         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21381         isinf implementation.
21382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21384         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21385         (INIT_ARCH): Add hwcap2 initialization.
21386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21387         power8 implementation.
21388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21389         file: POWER8 isnan ifunc implementation.
21390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21391         POWER8 implementation.
21392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21393         Likewise.
21394         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21395         isnan implementation.
21396         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21398 2014-02-27  Joey Ye  <joey.ye@arm.com>
21400         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21401         (_FP_NANFRAC_Q): Set to zero.
21403 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21405         [BZ #16623]
21406         * math/auto-libm-test-in: New test inputs.
21407         * math/auto-libm-test-out: Regenerate.
21408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21409         and DA.
21410         (__cos): Likewise.
21411         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21413 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21415         * scripts/evaluate-test.sh: Take new argument indicating whether
21416         failure is expected.
21417         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21418         indicating whether failure is expected.
21419         * conform/Makefile (test-xfail-run-conformtest): New variable.
21420         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21421         level.
21422         * posix/Makefile (test-xfail-annexc): New variable.
21423         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21425 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21427         * argp/Makefile: Include Makeconfig immediately after defining
21428         subdir.
21429         * assert/Makefile: Likewise.
21430         * benchtests/Makefile: Likewise.
21431         * catgets/Makefile: Likewise.
21432         * conform/Makefile: Likewise.
21433         * crypt/Makefile: Likewise.
21434         * csu/Makefile: Likewise.
21435         (all): Remove target.
21436         * ctype/Makefile: Include Makeconfig immediately after defining
21437         subdir.
21438         * debug/Makefile: Likewise.
21439         * dirent/Makefile: Likewise.
21440         * dlfcn/Makefile: Likewise.
21441         * gmon/Makefile: Likewise.
21442         * gnulib/Makefile: Likewise.
21443         * grp/Makefile: Likewise.
21444         * gshadow/Makefile: Likewise.
21445         * hesiod/Makefile: Likewise.
21446         * hurd/Makefile: Likewise.
21447         (all): Remove target.
21448         * iconvdata/Makefile: Include Makeconfig immediately after
21449         defining subdir.
21450         * inet/Makefile: Likewise.
21451         * intl/Makefile: Likewise.
21452         * io/Makefile: Likewise.
21453         * libio/Makefile: Likewise.
21454         (all): Remove target.
21455         * locale/Makefile: Include Makeconfig immediately after defining
21456         subdir.
21457         * login/Makefile: Likewise.
21458         * mach/Makefile: Likewise.
21459         (all): Remove target.
21460         * malloc/Makefile: Include Makeconfig immediately after defining
21461         subdir.
21462         (all): Remove target.
21463         * manual/Makefile: Include Makeconfig immediately after defining
21464         subdir.
21465         * math/Makefile: Likewise.
21466         * misc/Makefile: Likewise.
21467         * nis/Makefile: Likewise.
21468         * nss/Makefile: Likewise.
21469         * po/Makefile: Likewise.
21470         (all): Remove target.
21471         * posix/Makefile: Include Makeconfig immediately after defining
21472         subdir.
21473         * pwd/Makefile: Likewise.
21474         * resolv/Makefile: Likewise.
21475         * resource/Makefile: Likewise.
21476         * rt/Makefile: Likewise.
21477         * setjmp/Makefile: Likewise.
21478         * shadow/Makefile: Likewise.
21479         * signal/Makefile: Likewise.
21480         * socket/Makefile: Likewise.
21481         * soft-fp/Makefile: Likewise.
21482         * stdio-common/Makefile: Likewise.
21483         * stdlib/Makefile: Likewise.
21484         * streams/Makefile: Likewise.
21485         * string/Makefile: Likewise.
21486         * sunrpc/Makefile: Likewise.
21487         (all): Remove target.
21488         * sysvipc/Makefile: Include Makeconfig immediately after defining
21489         subdir.
21490         * termios/Makefile: Likewise.
21491         * time/Makefile: Likewise.
21492         * timezone/Makefile: Likewise.
21493         (all): Remove target.
21494         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21495         subdir.
21496         * wctype/Makefile: Likewise.
21498 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21500         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21501         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21502         (libc_feholdexcept_setround_mips): Ditto.
21503         (libc_feholdsetround): New.
21504         (libc_feholdsetroundf): New.
21505         (libc_feholdsetroundl): New.
21506         (libc_feupdateenv_test_mips): New.
21507         (libc_feupdateenv_test): New.
21508         (libc_feupdateenv_testf): New.
21509         (libc_feupdateenv_testl): New.
21510         (libc_feresetround): New.
21511         (libc_feresetroundf): New.
21512         (libc_feresetroundl): New.
21513         (libc_fetestexcept_mips): New.
21514         (libc_fetestexcept): New.
21515         (libc_fetestexceptf): New.
21516         (libc_fetestexceptl): New.
21517         (HAVE_RM_CTX): New.
21518         (libc_feholdexcept_setround_mips_ctx): New.
21519         (libc_feholdexcept_setround_ctx): New.
21520         (libc_feholdexcept_setroundf_ctx): New.
21521         (libc_feholdexcept_setroundl_ctx): New.
21522         (libc_fesetenv_mips_ctx): New.
21523         (libc_fesetenv_ctx): New.
21524         (libc_fesetenv_ctxf): New.
21525         (libc_fesetenv_ctxl): New.
21526         (libc_feupdateenv_mips_ctx): New.
21527         (libc_feupdateenv_ctx): New.
21528         (libc_feupdateenvf_ctx): New.
21529         (libc_feupdateenvl_ctx): New.
21530         (libc_feholdsetround_mips_ctx): New.
21531         (libc_feholdsetround_ctx): New.
21532         (libc_feholdsetroundf_ctx): New.
21533         (libc_feholdsetroundl_ctx): New.
21534         (libc_feresetround_mips_ctx): New.
21535         (libc_feresetround_ctx): New.
21536         (libc_feresetroundf_ctx): New.
21537         (libc_feresetroundl_ctx): New.
21539 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21541         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21543         * manual/ipc.texi: New file.
21544         * manual/Makefile (chapters): Add ipc.
21545         * manual/job.texi: Add "Inter-Process Communication" to next.
21546         * manual/process.texi: Add "Inter-Process Communication" to prev.
21548 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21552 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21554         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21556         * manual/arith.texi: Fix spaces after sentences.
21557         * manual/charset.texi: Likewise.
21558         * manual/errno.texi: Likewise.
21559         * manual/install.texi: Likewise.
21560         * manual/llio.texi: Likewise.
21561         * manual/locale.texi: Likewise.
21562         * manual/maint.texi: Likewise.
21563         * manual/math.texi: Likewise.
21564         * manual/memory.texi: Likewise.
21565         * manual/message.texi: Likewise.
21566         * manual/probes.texi: Likewise.
21567         * manual/resource.texi: Likewise.
21568         * manual/signal.texi: Likewise.
21569         * manual/socket.texi: Likewise.
21570         * manual/stdio.texi: Likewise.
21571         * manual/string.texi: Likewise.
21572         * manual/time.texi: Likewise.
21573         * manual/users.texi: Likewise.
21575 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21577         [BZ #16632]
21578         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21579         _DEFAULT_SOURCE is defined.
21581 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21582             Carlos O'Donell  <carlos@redhat.com>
21584         [BZ #16613]
21585         * elf/dl-tls.c (_dl_count_modids): New function.
21586         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21587         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21588         audit library and increment generation counter.
21589         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21590         * elf/tst-audit9.c: New file.
21591         * elf/tst-auditmod9a.c: New file.
21592         * elf/tst-auditmod9b.c: New file.
21593         * elf/Makefile: Add rules to build and run tst-audit9.
21595 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21597         [BZ #15347]
21598         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21600 2014-02-25  Will Newton  <will.newton@linaro.org>
21602         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21603         (__longjmp): Restore sp and lr before restoring callee
21604         saved registers.  Add longjmp and longjmp_target
21605         SystemTap probe point.
21606         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21607         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21608         Define to zero to match jmpbuf layout.
21609         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21610         (__sigsetjmp): Save sp and lr before saving callee
21611         saved registers.  Add setjmp SystemTap probe point.
21613 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21615         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21617 2014-02-24  Andreas Schwab  <schwab@suse.de>
21619         [BZ #15804]
21620         * elf/pldd.c (wait_for_ptrace_stop): New function.
21621         (main): Call it after attaching.
21623 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21625         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21626         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21627         Versions files is now verboten.
21628         * hurd/Versions (libc: GLIBC_2.0):
21629         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21630         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21631         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21632         * mach/Versions: Likewise.
21634         * csu/Versions: Remove unused %include.
21635         * resolv/Versions: Likewise.
21637 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21639         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21640         ($(objpfx)check-local-headers.out): Likewise.
21641         ($(objpfx)begin-end-check.out): Likewise.
21642         * Makerules (check-abi-%.out): Likewise.
21643         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21644         ($(objpfx)test2.cat): Likewise.
21645         ($(objpfx)de/libc.cat): Likewise.
21646         ($(objpfx)test-gencat.out): Likewise.
21647         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21648         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21649         ($(objpfx)noload-mem): Likewise.
21650         ($(objpfx)tst-pathopt.out): Likewise.
21651         ($(objpfx)tst-rtld-load-self.out): Likewise.
21652         ($(objpfx)tst-array1-cmp.out): Likewise.
21653         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21654         ($(objpfx)tst-array2-cmp.out): Likewise.
21655         ($(objpfx)tst-array3-cmp.out): Likewise.
21656         ($(objpfx)tst-array4-cmp.out): Likewise.
21657         ($(objpfx)tst-array5-cmp.out): Likewise.
21658         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21659         ($(objpfx)check-textrel.out): Likewise.
21660         ($(objpfx)check-execstack.out): Likewise.
21661         ($(objpfx)check-localplt.out): Likewise.
21662         ($(objpfx)order2-cmp.out): Likewise.
21663         ($(objpfx)tst-leaks1-mem): Likewise.
21664         ($(objpfx)tst-leaks1-static-mem): Likewise.
21665         ($(objpfx)tst-initorder-cmp.out): Likewise.
21666         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21667         ($(objpfx)tst-unused-dep.out): Likewise.
21668         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21669         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21670         * iconv/Makefile (test-iconvconfig): Likewise.
21671         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21672         ($(objpfx)iconv-test.out): Likewise.
21673         ($(objpfx)tst-tables.out): Likewise.
21674         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21675         ($(objpfx)tst-gettext.out): Likewise.
21676         ($(objpfx)tst-translit.out): Likewise.
21677         ($(objpfx)tst-gettext2.out): Likewise.
21678         ($(objpfx)tst-gettext4.out): Likewise.
21679         ($(objpfx)tst-gettext6.out): Likewise.
21680         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21681         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21682         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21683         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21684         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21685         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21686         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21687         ($(objpfx)wordexp-tst.out): Likewise.
21688         ($(objpfx)annexc.out): Likewise.
21689         ($(objpfx)tst-fnmatch-mem): Likewise.
21690         ($(objpfx)bug-regex2-mem): Likewise.
21691         ($(objpfx)bug-regex14-mem): Likewise.
21692         ($(objpfx)bug-regex21-mem): Likewise.
21693         ($(objpfx)bug-regex31-mem): Likewise.
21694         ($(objpfx)tst-vfork3-mem): Likewise.
21695         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21696         ($(objpfx)tst-pcre-mem): Likewise.
21697         ($(objpfx)tst-boost-mem): Likewise.
21698         ($(objpfx)tst-getconf.out): Likewise.
21699         ($(objpfx)bug-ga2-mem): Likewise.
21700         ($(objpfx)bug-glob2-mem): Likewise.
21701         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21702         ($(objpfx)mtrace-tst-leaks2): Likewise.
21703         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21704         ($(objpfx)tst-printf.out): Likewise.
21705         ($(objpfx)tst-setvbuf1.out): Likewise.
21706         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21707         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21708         ($(objpfx)tst-fmtmsg.out): Likewise.
21709         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21710         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21712         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21713         * bits/sigaction.h [__USE_MISC]: Likewise.
21714         * bits/waitstatus.h: Update #endif comments.
21715         * ctype/ctype.h: Likewise.
21716         * dirent/dirent.h: Likewise.
21717         [__USE_MISC]: Remove redundant conditionals.
21718         * grp/grp.h: Update #endif comments.
21719         [__USE_GNU]: Remove redundant conditionals.
21720         [__USE_MISC]: Likewise.
21721         * inet/netinet/in.h [__USE_GNU]: Likewise.
21722         * io/sys/stat.h [__USE_MISC]: Likewise.
21723         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21724         * libio/bits/stdio.h: Update #endif comments.
21725         [__USE_MISC]: Remove redundant conditionals.
21726         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21727         * libio/stdio.h: Update #endif comments.
21728         [__USE_MISC]: Remove redundant conditionals.
21729         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21730         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21731         * math/math.h: Update #else and #endif comments.
21732         [__USE_MISC]: Remove redundant conditionals.
21733         * misc/sys/uio.h: Update #endif comments.
21734         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21735         * posix/glob.h [__USE_MISC]: Likewise.
21736         * posix/sys/types.h: Update #endif comments.
21737         [__USE_MISC]: Remove redundant conditionals.
21738         * posix/sys/wait.h: Update #endif comments.
21739         [__USE_MISC]: Remove redundant conditionals.
21740         * posix/unistd.h: Update #endif comments.
21741         [__USE_MISC]: Remove redundant conditionals.
21742         * pwd/pwd.h [__USE_GNU]: Likewise.
21743         [__USE_MISC]: Likewise.
21744         * resolv/netdb.h [__USE_GNU]: Likewise.
21745         * signal/signal.h: Update #endif comments.
21746         [__USE_MISC]: Remove redundant conditionals.
21747         * stdlib/stdlib.h: Update #else and #endif comments.
21748         [__USE_MISC]: Remove redundant conditionals.
21749         [__USE_GNU]: Likewise.
21750         * string/bits/string2.h [__USE_MISC]: Likewise.
21751         * string/string.h: Update #endif comments.
21752         [__USE_MISC]: Remove redundant conditionals.
21753         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21754         Likewise.
21755         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21756         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21757         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21758         Likewise.
21759         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21760         Likewise.
21761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21762         comments.
21763         [__USE_MISC]: Remove redundant conditionals.
21764         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21765         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21766         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21767         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21768         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21769         Likewise.
21770         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21771         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21772         Likewise.
21773         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21774         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21775         Likewise.
21776         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21777         Likewise.
21778         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21779         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21780         Likewise.
21781         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21782         Likewise.
21783         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21784         * sysdeps/x86/bits/string.h: Update #endif comments.
21785         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21786         conditionals.
21787         * time/sys/time.h: Update #endif comments.
21788         * time/time.h: Likewise.
21789         [__USE_MISC]: Remove redundant conditionals.
21791 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21793         [BZ #16600]
21794         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21796 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21798         * Versions.def (librt): Add GLIBC_2.17.
21800 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21802         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21803         synonym for _SYS_AUXV_H to allow direct inclusion.
21804         * sysdeps/sparc/bits/hwcap.h: Likewise.
21805         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21806         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21807         * sysdeps/sparc/sysdep.h: Likewise.
21809 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21811         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21813 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21815         * benchtests/bench-strrchr.c: Print length instead of position.
21817 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21819         [BZ #16611]
21820         * sysdeps/unix/sysv/linux/kernel-features.h
21821         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21822         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21823         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21824         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21825         Likewise.
21826         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21827         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21828         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21829         (__ASSUME_SENDMMSG): Define instead of using previous
21830         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21831         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21832         (__ASSUME_SENDMMSG_SYSCALL): Define.
21833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21834         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21835         Likewise.
21836         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21837         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21838         Likewise.
21839         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21840         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21841         Likewise.
21842         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21843         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21844         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21845         [__ASSUME_SENDMMSG]: Change conditionals to
21846         [__ASSUME_SENDMMSG_SOCKETCALL].
21847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21848         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21849         Define.
21850         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21851         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21852         Likewise.
21853         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21854         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21855         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21856         [!__ASSUME_SENDMMSG]: Change conditional to
21857         [!__ASSUME_SENDMMSG_SOCKETCALL].
21858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21859         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21860         Define.
21862         [BZ #16610]
21863         * sysdeps/unix/sysv/linux/kernel-features.h
21864         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21865         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21866         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21867         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21868         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21869         [__i386__ || __sparc__]
21870         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21871         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21872         (__ASSUME_RECVMMSG): Define instead of using previous
21873         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21874         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21875         (__ASSUME_RECVMMSG_SYSCALL): Define.
21876         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21878         Likewise.
21879         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21880         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21881         Likewise.
21882         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21883         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21884         Likewise.
21885         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21886         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21887         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21888         [__ASSUME_RECVMMSG]: Change condition to
21889         [__ASSUME_RECVMMSG_SOCKETCALL].
21890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21891         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21892         Define.
21893         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21895         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21896         Likewise.
21897         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21898         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21899         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21900         [!__ASSUME_RECVMMSG]: Change condition to
21901         [!__ASSUME_RECVMMSG_SOCKETCALL].
21902         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21903         (__ASSUME_RECVMMSG_SYSCALL): Define.
21905         [BZ #16609]
21906         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21907         __powerpc__ || __s390__ || __sh__ || __sparc__]
21908         (__ASSUME_SOCKETCALL): Define.
21909         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21910         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21911         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21912         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21913         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21914         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21915         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21916         (__ASSUME_ACCEPT4): Define instead of using previous
21917         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21918         __powerpc__ || __sparc__ || __s390__)] condition.
21919         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21920         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21921         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21922         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21923         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21924         [!__ASSUME_ACCEPT4]: Change condition to
21925         [!__ASSUME_ACCEPT4_SOCKETCALL].
21926         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21927         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21928         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21930         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21931         __ASSUME_ACCEPT4_SYSCALL.
21932         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21933         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21934         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21935         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21936         __ASSUME_ACCEPT4_SYSCALL.
21937         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21938         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21939         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21940         [__ASSUME_ACCEPT4]: Change condition to
21941         [__ASSUME_ACCEPT4_SOCKETCALL].
21942         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21943         (__ASSUME_SOCKETCALL): Define.
21944         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21946         (__ASSUME_SOCKETCALL): Define.
21947         (__ASSUME_ACCEPT4): Remove.
21948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21949         Define.
21950         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21951         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21952         Likewise.
21953         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21954         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21956         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21957         macro.
21958         (HWCAP_ARM_LPAE): Likewise.
21959         (HWCAP_ARM_EVTSTRM): Likewise.
21960         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21961         Add vpfd32, lpae and evtstrm.
21962         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21963         Increase to 22.
21965 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21967         * math/auto-libm-test-in: Add tests of clog10.
21968         * math/auto-libm-test-out: Regenerated.
21969         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21970         * sysdeps/i386/fpu/libm-test-ulps: Update.
21971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21973 2014-02-18  Andreas Schwab  <schwab@suse.de>
21975         [BZ #16574]
21976         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21977         Store non-zero if the second buffer was newly allocated.
21978         (send_dg): Likewise.
21979         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21980         to send_vc and send_dg.
21981         (res_nsend): Pass NULL for ansp2_malloced.
21982         * resolv/res_query.c (__libc_res_nquery): Add parameter
21983         answerp2_malloced and pass it down to __libc_res_nsend.
21984         (res_nquery): Pass additional NULL to __libc_res_nquery.
21985         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21986         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21987         second answer buffer if answerp2_malloced was set.
21988         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21989         (__libc_res_nquerydomain): Add parameter
21990         answerp2_malloced and pass it down to __libc_res_nquery.
21991         (res_nquerydomain): Pass additional NULL to
21992         __libc_res_nquerydomain.
21993         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21994         additional NULL to __libc_res_nsend and __libc_res_nquery.
21995         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21996         additional NULL to __libc_res_nsearch.
21997         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21998         parameter of __libc_res_nsearch to check for separately allocated
21999         second buffer.
22000         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22001         __libc_res_nquery.
22002         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22003         additional NULL to __libc_res_nquery.
22004         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22005         __libc_res_nsearch.
22006         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22007         * include/resolv.h: Update prototypes of __libc_res_nquery,
22008         __libc_res_nsearch, __libc_res_nsend.
22010 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22012         * math/auto-libm-test-in: Add tests of fma.
22013         * math/auto-libm-test-out: Regenerated.
22014         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22015         (fma_towardzero_test_data): Likewise.
22016         (fma_downward_test_data): Likewise.
22017         (fma_upward_test_data): Likewise.
22018         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22019         mpc_mode.
22020         (rounding_modes): Add values for new field.
22021         (func_calc_method): Add value mpfr_fff_f.
22022         (func_calc_desc): Add mpfr_fff_f union field.
22023         (test_function): Add field exact_args.
22024         (FUNC): Add macro argument EXACT_ARGS.
22025         (FUNC_mpfr_f_f): Update call to FUNC.
22026         (FUNC_mpfr_f_f): Likewise.
22027         (FUNC_mpfr_ff_f): Likewise.
22028         (FUNC_mpfr_if_f): Likewise.
22029         (FUNC_mpc_c_f): Likewise.
22030         (FUNC_mpc_c_c): Likewise.
22031         (test_functions): Add fma.  Update calls to FUNC.
22032         (handle_input_arg): Add argument exact_args.
22033         (add_test): Update call to handle_input_arg.
22034         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22035         (output_for_one_input_case): Update call to calc_generic_results.
22036         Recalculate exact zero results in each rounding mode.
22038         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22039         non-negative before setting low bit.
22040         * math/auto-libm-test-in: Mark one asin test possibly having
22041         spurious underflow.
22042         * math/auto-libm-test-out: Regenerated.
22043         * sysdeps/i386/fpu/libm-test-ulps: Update.
22044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22046 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22048         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22049         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22050         ports/sysdeps/unix/sysv/linux/microblaze.
22051         * README: Add missing listing for microblaze*-*-linux-gnu.
22053 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22055         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22056         duplicate code
22058 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22060         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22061         * sysdeps/unix/sysv/linux/ia64: Move directory from
22062         ports/sysdeps/unix/sysv/linux/ia64.
22063         * README: Update listing for ia64-*-linux-gnu.
22065 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22066             Joseph Myers  <joseph@codesourcery.com>
22068         * Makeconfig (test-name): New variable.
22069         (evaluate-test): Likewise.
22070         * Makerules (do-test-clean): Remove .test-result files.
22071         (common-mostlyclean): Likewise.
22072         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22073         * scripts/evaluate-test.sh: New file.
22075 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22077         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22078         separate $(objpfx)tst-fopenloc-cmp.out and
22079         $(objpfx)tst-fopenloc-mem.out targets.
22080         (tests): Update dependencies.
22081         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22082         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22083         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22084         (tst-rxspencer-no-utf8-ARGS): New variable.
22085         (tst-rxspencer-no-utf8-ENV): Likewise.
22086         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22087         instead of $(objpfx)tst-rxspencer-mem.
22088         ($(objpfx)tst-rxspencer-mem): Change target to
22089         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22090         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22091         * posix/tst-rxspencer-no-utf8.c: New file.
22093         * elf/Makefile ($(objpfx)order.out): Remove rule.
22094         [$(run-built-tests) = yes] (tests): Depend on
22095         $(objpfx)order-cmp.out.
22096         ($(objpfx)order-cmp.out): New rule.
22097         [$(run-built-tests) = yes] (tests): Depend on
22098         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22099         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22100         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22101         $(objpfx)tst-array5-static-cmp.out.
22102         ($(objpfx)tst-array1.out): Remove rule.
22103         ($(objpfx)tst-array1-cmp.out): New rule.
22104         ($(objpfx)tst-array1-static.out): Remove rule.
22105         ($(objpfx)tst-array1-static-cmp.out): New rule.
22106         ($(objpfx)tst-array2.out): Remove rule.
22107         ($(objpfx)tst-array2-cmp.out): New rule.
22108         ($(objpfx)tst-array3.out): Remove rule.
22109         ($(objpfx)tst-array3-cmp.out): New rule.
22110         ($(objpfx)tst-array4.out): Remove rule.
22111         ($(objpfx)tst-array4-cmp.out): New rule.
22112         ($(objpfx)tst-array5.out): Remove rule.
22113         ($(objpfx)tst-array5-cmp.out): New rule.
22114         ($(objpfx)tst-array5-static.out): Remove rule.
22115         ($(objpfx)tst-array5-static-cmp.out): New rule.
22116         [$(run-built-tests) = yes] (tests): Depend on
22117         $(objpfx)order2-cmp.out.
22118         ($(objpfx)order2.out): Remove rule.
22119         ($(objpfx)order2-cmp.out): New rule.
22120         ($(objpfx)tst-initorder.out): Remove rule.
22121         [$(run-built-tests) = yes] (tests): Depend on
22122         $(objpfx)tst-initorder-cmp.out.
22123         ($(objpfx)tst-initorder-cmp.out): New rule.
22124         ($(objpfx)tst-initorder2.out): Remove rule.
22125         [$(run-built-tests) = yes] (tests): Depend on
22126         $(objpfx)tst-initorder2-cmp.out.
22127         ($(objpfx)tst-initorder2-cmp.out): New rule.
22128         [$(run-built-tests) = yes] (tests): Depend on
22129         $(objpfx)tst-unused-dep-cmp.out.
22130         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22131         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22132         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22133         on $(objpfx)tst-setvbuf1-cmp.out.
22134         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22135         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22136         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22137         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22138         ($(objpfx)tst-svc.out): Remove rule.
22139         ($(objpfx)tst-svc-cmp.out): New rule.
22141 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22143         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22144         * ctype/ctype.h [__USE_MISC]: Likewise.
22145         * dirent/dirent.h [__USE_MISC]: Likewise.
22146         * grp/grp.h [__USE_MISC]: Likewise.
22147         * io/fcntl.h [__USE_MISC]: Likewise.
22148         * io/sys/stat.h [__USE_MISC]: Likewise.
22149         * libio/stdio.h [__USE_MISC]: Likewise.
22150         * posix/unistd.h [__USE_MISC]: Likewise.
22151         * pwd/pwd.h [__USE_MISC]: Likewise.
22152         * stdlib.h [__USE_MISC]: Likewise.
22153         * string/bits/string2.h [__USE_MISC]: Likewise.
22154         * string/string.h [__USE_MISC]: Likewise.
22155         * time/time.h [__USE_MISC]: Likewise.
22157 2014-02-13  Andreas Schwab  <schwab@suse.de>
22159         [BZ #16574]
22160         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22161         second answer buffer if it was separately allocated.
22163 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22165         * sysdeps/mips/math-tests.h: Include <features.h>.
22166         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22167         (ROUNDING_TESTS_long_double): Do not define.
22168         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22169         (EXCEPTION_TESTS_long_double): Likewise.
22170         * sysdeps/mips/mips64/libm-test-ulps: Update.
22172         * include/features.h (__USE_BSD): Remove macro definitions.
22173         (__USE_SVID): Likewise.
22174         (_BSD_SOURCE): Likewise.
22175         (_SVID_SOURCE): Likewise.
22176         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22177         from definition of _DEFAULT_SOURCE.
22178         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22179         [_DEFAULT_SOURCE].
22180         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22181         * bits/mman.h [__USE_BSD]: Likewise.
22182         * bits/termios.h [__USE_BSD]: Likewise.
22183         * bits/waitstatus.h [__USE_BSD]: Likewise.
22184         * ctype/ctype.h [__USE_SVID]: Likewise.
22185         * dirent/dirent.h [__USE_BSD]: Likewise.
22186         * grp/grp.h [__USE_SVID]: Likewise.
22187         [__USE_BSD]: Likewise.
22188         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22189         * io/fcntl.h [__USE_BSD]: Likewise.
22190         * io/ftw.h [__USE_BSD]: Likewise.
22191         * io/sys/stat.h [__USE_BSD]: Likewise.
22192         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22193         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22194         * libio/stdio.h [__USE_SVID]: Likewise.
22195         [__USE_BSD]: Likewise.
22196         * math/math.h [__USE_SVID]: Likewise.
22197         [__USE_BSD]: Likewise.
22198         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22199         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22200         * misc/search.h [__USE_SVID]: Likewise.
22201         * misc/sys/mman.h [__USE_BSD]: Likewise.
22202         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22203         * misc/sys/uio.h [__USE_BSD]: Likewise.
22204         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22205         * posix/glob.h [__USE_BSD]: Likewise.
22206         * posix/regex.h [__USE_BSD]: Likewise.
22207         * posix/sys/types.h [__USE_BSD]: Likewise.
22208         [__USE_SVID]: Likewise.
22209         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22210         * posix/sys/wait.h [__USE_BSD]: Likewise.
22211         [__USE_SVID]: Likewise.
22212         * posix/unistd.h [__USE_BSD]: Likewise.
22213         [__USE_SVID]: Likewise.
22214         * pwd/pwd.h [__USE_SVID]: Likewise.
22215         * resolv/netdb.h [__USE_BSD]: Likewise.
22216         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22217         * signal/signal.h [__USE_BSD]: Likewise.
22218         [__USE_SVID]: Likewise.
22219         * socket/sys/socket.h [__USE_BSD]: Likewise.
22220         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22221         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22222         [__USE_SVID]: Likewise.
22223         * string/bits/string2.h [__USE_BSD]: Likewise.
22224         [__USE_SVID]: Likewise.
22225         * string/bits/string3.h [__USE_BSD]: Likewise.
22226         * string/endian.h [__USE_BSD]: Likewise.
22227         * string/string.h [__USE_SVID]: Likewise.
22228         [__USE_BSD]: Likewise.
22229         * string/strings.h [__USE_BSD]: Likewise.
22230         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22231         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22232         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22233         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22234         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22235         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22236         Likewise.
22237         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22238         Likewise.
22239         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22240         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22241         Likewise.
22242         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22243         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22244         Likewise.
22245         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22246         Likewise.
22247         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22248         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22249         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22250         Likewise.
22251         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22252         Likewise.
22253         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22254         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22255         * termios/termios.h [__USE_BSD]: Likewise.
22256         * time/sys/time.h [__USE_BSD]: Likewise.
22257         * time/time.h [__USE_BSD]: Likewise.
22258         [__USE_SVID]: Likewise.
22260         * Makefile (subdir_targets): Remove subdir_lint.out.
22262         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22263         (do-tst-printf): Likewise.
22264         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22265         $(objpfx)tst-printf.out.
22267         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22269         * Makerules (check-abi-%): Change target to
22270         $(objpfx)check-abi-%.out.
22271         (check-abi target): Update dependencies.
22272         (check-abi-pattern variable): Redirect output of diff to $@.
22273         (check-abi variable): Likewise.
22274         * elf/Makefile (check-abi): Update dependencies.
22276         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22277         unused.
22278         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22279         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22280         subnormal range.
22281         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22282         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22283         value has largest subnormal exponent.
22284         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22285         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22286         * sysdeps/aarch64/soft-fp/sfp-machine.h
22287         (_FP_TININESS_AFTER_ROUNDING): New macro.
22288         * sysdeps/alpha/soft-fp/sfp-machine.h
22289         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22290         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22291         Likewise.
22292         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22293         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22294         * sysdeps/mips/soft-fp/sfp-machine.h
22295         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22296         * sysdeps/powerpc/soft-fp/sfp-machine.h
22297         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22298         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22299         Likewise.
22300         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22301         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22302         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22303         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22304         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22305         Likewise.
22307 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22309         [BZ #16545]
22310         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22311         model 1.
22313 2014-02-12  Richard Henderson  <rth@redhat.com>
22315         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22316         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22317         * sysdeps/unix/sysv/linux/alpha: Move directory from
22318         ports/sysdeps/unix/sysv/linux/alpha.
22319         * README: Update listing for alpha-*-linux-gnu.
22321 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22323         * include/features.h: Update comment documenting feature test
22324         macros.
22325         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22326         _DEFAULT_SOURCE.
22327         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22328         (_SVID_SOURCE): Likewise.
22329         (_DEFAULT_SOURCE): Update description of default features.
22330         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22331         with _GNU_SOURCE.
22332         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22333         (S_ISVTX): Likewise.
22334         * manual/math.texi (Mathematical Constants): Likewise.
22335         * manual/signal.texi (Interrupted Primitives): Likewise.
22336         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22337         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22338         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22339         Don't refer to _SVID_SOURCE in warning text.
22341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22343         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22344         already defined.
22345         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22346         * sysdeps/mips/dl-lookup.c: Remove.
22347         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22349 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22351         [BZ #16447]
22352         * math/auto-libm-test-in: Add testcase for expl.
22353         * math/auto-libm-test-out: Regenerate.
22354         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22355         calculation of unsafe.
22356         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22358 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22360         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22361         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22362         ports/sysdeps/unix/sysv/linux/aarch64.
22363         * README: Update listing for aarch64*-*-linux-gnu.
22365 2014-02-11  Will Newton  <will.newton@linaro.org>
22367         * manual/probes.texi (Mathematical Function Probes): Use
22368         "triggered" instead of "hit".
22370         * manual/probes.texi (Internal Probes): Add documentation
22371         of setjmp, longjmp and longjmp_target probes.
22373         * include/stap-probe.h: Add comment about probe argument
22374         format.
22376         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22377         definition.  (tr_where, tr_freehook, tr_mallochook,
22378         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22380 2014-02-11  David S. Miller  <davem@davemloft.net>
22382         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22383         processing int_tests.
22385 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22387         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22388         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22389         * sysdeps/unix/sysv/linux/mips: Move directory from
22390         ports/sysdeps/unix/sysv/linux/mips.
22391         * README: Update listing for mips-*-linux-gnu and
22392         mips64-*-linux-gnu.
22394 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22396         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22397         * sysdeps/unix/sysv/linux/m68k: Move directory from
22398         ports/sysdeps/unix/sysv/linux/m68k.
22399         * README: Update listing for m68k-*-linux-gnu.
22401 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22403         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22404         * sysdeps/unix/sysv/linux/generic: Move directory from
22405         ports/sysdeps/unix/sysv/linux/generic.
22406         * sysdeps/unix/sysv/linux/tile: Move directory from
22407         ports/sysdeps/unix/sysv/linux/tile.
22408         * README: Update listing for tile*-*-linux-gnu.
22410 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22412         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22413         __builtin_expect.
22414         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22415         * catgets/open_catalog.c (__open_catalog): Likewise.
22416         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22417         * debug/confstr_chk.c: Likewise.
22418         * debug/fread_chk.c (__fread_chk): Likewise.
22419         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22420         * debug/getgroups_chk.c: Likewise.
22421         * debug/mbsnrtowcs_chk.c: Likewise.
22422         * debug/mbsrtowcs_chk.c: Likewise.
22423         * debug/mbstowcs_chk.c: Likewise.
22424         * debug/memcpy_chk.c: Likewise.
22425         * debug/memmove_chk.c: Likewise.
22426         * debug/mempcpy_chk.c: Likewise.
22427         * debug/memset_chk.c: Likewise.
22428         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22429         * debug/strcat_chk.c (__strcat_chk): Likewise.
22430         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22431         * debug/strncat_chk.c (__strncat_chk): Likewise.
22432         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22433         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22434         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22435         * debug/wcpncpy_chk.c: Likewise.
22436         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22437         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22438         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22439         * debug/wcsncpy_chk.c: Likewise.
22440         * debug/wcsnrtombs_chk.c: Likewise.
22441         * debug/wcsrtombs_chk.c: Likewise.
22442         * debug/wcstombs_chk.c: Likewise.
22443         * debug/wmemcpy_chk.c: Likewise.
22444         * debug/wmemmove_chk.c: Likewise.
22445         * debug/wmempcpy_chk.c: Likewise.
22446         * debug/wmemset_chk.c: Likewise.
22447         * dirent/scandirat.c (SCANDIRAT): Likewise.
22448         * dlfcn/dladdr1.c (dladdr1): Likewise.
22449         * dlfcn/dladdr.c (dladdr): Likewise.
22450         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22451         * dlfcn/dlerror.c (__dlerror): Likewise.
22452         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22453         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22454         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22455         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22456         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22457         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22458         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22459         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22460         Likewise.
22461         * elf/dl-conflict.c: Likewise.
22462         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22463         * elf/dl-dst.h: Likewise.
22464         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22465         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22466         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22467         * elf/dl-init.c (call_init, _dl_init): Likewise.
22468         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22469         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22470         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22471         Likewise.
22472         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22473         Likewise.
22474         * elf/dl-minimal.c (__libc_memalign): Likewise.
22475         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22476         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22477         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22478         * elf/dl-sym.c (do_sym): Likewise.
22479         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22480         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22481         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22482         * elf/dl-writev.h (_dl_writev): Likewise.
22483         * elf/ldconfig.c (search_dir): Likewise.
22484         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22485         (dl_main): Likewise.
22486         * elf/setup-vdso.h (setup_vdso): Likewise.
22487         * grp/compat-initgroups.c (compat_call): Likewise.
22488         * grp/fgetgrent.c (fgetgrent): Likewise.
22489         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22490         * grp/putgrent.c (putgrent): Likewise.
22491         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22492         Likewise.
22493         * hurd/hurdinit.c: Likewise.
22494         * iconvdata/8bit-gap.c (struct): Likewise.
22495         * iconvdata/ansi_x3.110.c : Likewise.
22496         * iconvdata/big5.c : Likewise.
22497         * iconvdata/big5hkscs.c : Likewise.
22498         * iconvdata/cp1255.c: Likewise.
22499         * iconvdata/cp1258.c : Likewise.
22500         * iconvdata/cp932.c : Likewise.
22501         * iconvdata/euc-cn.c: Likewise.
22502         * iconvdata/euc-jisx0213.c : Likewise.
22503         * iconvdata/euc-jp.c: Likewise.
22504         * iconvdata/euc-jp-ms.c : Likewise.
22505         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22506         * iconvdata/gb18030.c : Likewise.
22507         * iconvdata/gbbig5.c (const): Likewise.
22508         * iconvdata/gbgbk.c: Likewise.
22509         * iconvdata/gbk.c : Likewise.
22510         * iconvdata/ibm1364.c : Likewise.
22511         * iconvdata/ibm930.c : Likewise.
22512         * iconvdata/ibm932.c: Likewise.
22513         * iconvdata/ibm933.c : Likewise.
22514         * iconvdata/ibm935.c : Likewise.
22515         * iconvdata/ibm937.c : Likewise.
22516         * iconvdata/ibm939.c : Likewise.
22517         * iconvdata/ibm943.c: Likewise.
22518         * iconvdata/iso_11548-1.c: Likewise.
22519         * iconvdata/iso-2022-cn.c : Likewise.
22520         * iconvdata/iso-2022-cn-ext.c : Likewise.
22521         * iconvdata/iso-2022-jp-3.c: Likewise.
22522         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22523         * iconvdata/iso-2022-kr.c : Likewise.
22524         * iconvdata/iso646.c (gconv_end): Likewise.
22525         * iconvdata/iso_6937-2.c : Likewise.
22526         * iconvdata/iso_6937.c : Likewise.
22527         * iconvdata/iso8859-1.c: Likewise.
22528         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22529         * iconvdata/shift_jisx0213.c : Likewise.
22530         * iconvdata/sjis.c : Likewise.
22531         * iconvdata/t.61.c : Likewise.
22532         * iconvdata/tcvn5712-1.c : Likewise.
22533         * iconvdata/tscii.c: Likewise.
22534         * iconvdata/uhc.c : Likewise.
22535         * iconvdata/unicode.c (gconv_end): Likewise.
22536         * iconvdata/utf-16.c (gconv_end): Likewise.
22537         * iconvdata/utf-32.c (gconv_end): Likewise.
22538         * iconvdata/utf-7.c (base64): Likewise.
22539         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22540         * iconv/gconv_close.c (__gconv_close): Likewise.
22541         * iconv/gconv_open.c (__gconv_open): Likewise.
22542         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22543         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22544         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22545         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22546         (ucs4le_internal_loop_single): Likewise.
22547         * iconv/iconv.c (iconv): Likewise.
22548         * iconv/iconv_close.c: Likewise.
22549         * iconv/loop.c (SINGLE): Likewise.
22550         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22551         * include/atomic.h: Likewise.
22552         * inet/inet6_option.c (option_alloc): Likewise.
22553         * intl/bindtextdom.c (set_binding_values): Likewise.
22554         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22555         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22556         * intl/localealias.c (read_alias_file): Likewise.
22557         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22558         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22559         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22560         * libio/fmemopen.c (fmemopen): Likewise.
22561         * libio/iofgets.c (_IO_fgets): Likewise.
22562         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22563         * libio/iofgetws.c (fgetws): Likewise.
22564         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22565         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22566         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22567         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22568         * locale/findlocale.c (_nl_find_locale): Likewise.
22569         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22570         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22571         Likewise.
22572         * locale/setlocale.c (setlocale): Likewise.
22573         * login/programs/pt_chown.c (main): Likewise.
22574         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22575         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22576         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22577         (mmap, mmap64, mremap, munmap): Likewise.
22578         * math/e_exp2l.c: Likewise.
22579         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22580         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22581         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22582         * math/s_catan.c (__catan): Likewise.
22583         * math/s_catanf.c (__catanf): Likewise.
22584         * math/s_catanh.c (__catanh): Likewise.
22585         * math/s_catanhf.c (__catanhf): Likewise.
22586         * math/s_catanhl.c (__catanhl): Likewise.
22587         * math/s_catanl.c (__catanl): Likewise.
22588         * math/s_ccosh.c (__ccosh): Likewise.
22589         * math/s_ccoshf.c (__ccoshf): Likewise.
22590         * math/s_ccoshl.c (__ccoshl): Likewise.
22591         * math/s_cexp.c (__cexp): Likewise.
22592         * math/s_cexpf.c (__cexpf): Likewise.
22593         * math/s_cexpl.c (__cexpl): Likewise.
22594         * math/s_clog10.c (__clog10): Likewise.
22595         * math/s_clog10f.c (__clog10f): Likewise.
22596         * math/s_clog10l.c (__clog10l): Likewise.
22597         * math/s_clog.c (__clog): Likewise.
22598         * math/s_clogf.c (__clogf): Likewise.
22599         * math/s_clogl.c (__clogl): Likewise.
22600         * math/s_csin.c (__csin): Likewise.
22601         * math/s_csinf.c (__csinf): Likewise.
22602         * math/s_csinh.c (__csinh): Likewise.
22603         * math/s_csinhf.c (__csinhf): Likewise.
22604         * math/s_csinhl.c (__csinhl): Likewise.
22605         * math/s_csinl.c (__csinl): Likewise.
22606         * math/s_csqrt.c (__csqrt): Likewise.
22607         * math/s_csqrtf.c (__csqrtf): Likewise.
22608         * math/s_csqrtl.c (__csqrtl): Likewise.
22609         * math/s_ctan.c (__ctan): Likewise.
22610         * math/s_ctanf.c (__ctanf): Likewise.
22611         * math/s_ctanh.c (__ctanh): Likewise.
22612         * math/s_ctanhf.c (__ctanhf): Likewise.
22613         * math/s_ctanhl.c (__ctanhl): Likewise.
22614         * math/s_ctanl.c (__ctanl): Likewise.
22615         * math/w_pow.c: Likewise.
22616         * math/w_powf.c: Likewise.
22617         * math/w_powl.c: Likewise.
22618         * math/w_scalb.c (sysv_scalb): Likewise.
22619         * math/w_scalbf.c (sysv_scalbf): Likewise.
22620         * math/w_scalbl.c (sysv_scalbl): Likewise.
22621         * misc/error.c (error_tail): Likewise.
22622         * misc/pselect.c (__pselect): Likewise.
22623         * nis/nis_callback.c (__nis_create_callback): Likewise.
22624         * nis/nis_call.c (__nisfind_server): Likewise.
22625         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22626         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22627         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22628         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22629         * nis/nis_lookup.c (nis_lookup): Likewise.
22630         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22631         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22632         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22633         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22634         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22635         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22636         * nis/nss_compat/compat-initgroups.c (add_group)
22637         (internal_getgrent_r): Likewise.
22638         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22639         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22640         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22641         (internal_getspnam_r): Likewise.
22642         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22643         (_nss_nis_getaliasbyname_r): Likewise.
22644         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22645         (_nss_nis_getntohost_r): Likewise.
22646         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22647         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22648         (_nss_nis_getgrgid_r): Likewise.
22649         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22650         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22651         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22652         (_nss_nis_gethostbyname4_r): Likewise.
22653         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22654         (initgroups_netid): Likewise.
22655         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22656         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22657         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22658         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22659         (_nss_nis_getprotobynumber_r): Likewise.
22660         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22661         (_nss_nis_getsecretkey): Likewise.
22662         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22663         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22664         (_nss_nis_getpwuid_r): Likewise.
22665         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22666         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22667         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22668         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22669         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22670         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22671         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22672         Likewise.
22673         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22674         (_nss_nisplus_getntohost_r): Likewise.
22675         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22676         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22677         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22678         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22679         Likewise.
22680         * nis/nss_nisplus/nisplus-initgroups.c
22681         (_nss_nisplus_initgroups_dyn): Likewise.
22682         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22683         (_nss_nisplus_getnetbyaddr_r): Likewise.
22684         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22685         (_nss_nisplus_getprotobynumber_r): Likewise.
22686         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22687         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22688         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22689         Likewise.
22690         * nis/nss_nisplus/nisplus-service.c
22691         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22692         (_nss_nisplus_getservbyport_r): Likewise.
22693         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22694         (_nss_nisplus_getspnam_r): Likewise.
22695         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22696         Likewise.
22697         * nscd/aicache.c (addhstaiX): Likewise.
22698         * nscd/cache.c (cache_search, prune_cache): Likewise.
22699         * nscd/connections.c (register_traced_file, send_ro_fd)
22700         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22701         (main_loop_epoll): Likewise.
22702         * nscd/grpcache.c (addgrbyX): Likewise.
22703         * nscd/hstcache.c (addhstbyX): Likewise.
22704         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22705         * nscd/mem.c (gc, mempool_alloc): Likewise.
22706         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22707         (addinnetgrX): Likewise.
22708         * nscd/nscd-client.h (__nscd_acquire_maplock)
22709         (__nscd_drop_map_ref): Likewise.
22710         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22711         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22712         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22713         Likewise.
22714         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22715         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22716         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22717         (__nscd_get_map_ref): Likewise.
22718         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22719         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22720         Likewise.
22721         * nscd/pwdcache.c (addpwbyX): Likewise.
22722         * nscd/selinux.c (preserve_capabilities): Likewise.
22723         * nscd/servicescache.c (addservbyX): Likewise.
22724         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22725         * posix/fnmatch.c (fnmatch): Likewise.
22726         * posix/getopt.c (_getopt_internal_r): Likewise.
22727         * posix/glob.c (glob, glob_in_dir): Likewise.
22728         * posix/wordexp.c (exec_comm_child): Likewise.
22729         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22730         (getanswer_r, gaih_getanswer_slice): Likewise.
22731         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22732         * resolv/res_init.c: Likewise.
22733         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22734         * resolv/res_query.c (__libc_res_nquery): Likewise.
22735         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22736         Likewise.
22737         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22738         * stdio-common/perror.c (perror): Likewise.
22739         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22740         * stdio-common/tmpnam.c (tmpnam): Likewise.
22741         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22742         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22743         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22744         Likewise.
22745         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22746         * stdlib/putenv.c (putenv): Likewise.
22747         * stdlib/setenv.c (__add_to_environ): Likewise.
22748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22749         * stdlib/strtol_l.c (INTERNAL): Likewise.
22750         * string/memmem.c (memmem): Likewise.
22751         * string/strerror.c (strerror): Likewise.
22752         * string/strnlen.c (__strnlen): Likewise.
22753         * string/test-memmem.c (simple_memmem): Likewise.
22754         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22755         * sunrpc/pm_getport.c (__get_socket): Likewise.
22756         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22757         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22758         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22759         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22760         Likewise.
22761         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22762         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22763         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22764         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22765         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22766         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22767         Likewise.
22768         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22769         Likewise.
22770         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22771         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22772         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22773         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22774         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22776         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22777         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22778         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22779         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22780         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22781         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22782         Likewise.
22783         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22784         Likewise.
22785         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22786         Likewise.
22787         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22788         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22789         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22790         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22791         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22792         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22793         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22795         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22796         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22797         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22799         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22800         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22802         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22803         Likewise.
22804         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22805         Likewise.
22806         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22807         Likewise.
22808         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22809         Likewise.
22810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22812         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22813         Likewise.
22814         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22815         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22816         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22817         * sysdeps/posix/sleep.c: Likewise.
22818         * sysdeps/posix/tempname.c: Likewise.
22819         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22820         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22821         Likewise.
22822         * sysdeps/powerpc/powerpc32/dl-machine.h
22823         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22824         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22825         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22826         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22827         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22828         Likewise.
22829         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22830         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22831         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22832         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22833         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22834         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22835         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22836         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22837         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22838         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22839         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22840         (elf_machine_lazy_rel): Likewise.
22841         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22843         (elf_machine_lazy_rel): Likewise.
22844         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22845         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22846         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22847         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22848         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22849         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22850         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22852         Likewise.
22853         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22854         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22855         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22856         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22857         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22858         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22859         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22860         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22861         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22862         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22863         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22864         Likewise.
22865         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22866         (__posix_fallocate64_l64): Likewise.
22867         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22868         (posix_fallocate): Likewise.
22869         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22870         Likewise.
22871         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22872         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22873         (getifaddrs_internal): Likewise.
22874         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22875         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22876         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22877         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22878         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22879         (__posix_fallocate64_l64): Likewise.
22880         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22881         Likewise.
22882         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22883         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22884         (__get_clockfreq): Likewise.
22885         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22886         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22887         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22890         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22891         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22892         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22893         Likewise.
22894         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22895         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22896         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22897         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22898         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22899         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22900         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22901         Likewise.
22902         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22903         (posix_fallocate): Likewise.
22904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22905         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22906         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22907         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22908         (elf_machine_rela, elf_machine_rela_relative)
22909         (elf_machine_lazy_rel): Likewise.
22910         * time/asctime.c (asctime_internal): Likewise.
22911         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22912         * time/tzset.c (__tzset_parse_tz): Likewise.
22913         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22914         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22915         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22916         * wcsmbs/wcsmbsload.h: Likewise.
22918         [BZ #15894]
22919         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22921         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22922         (arena_get2): Remove THREAD_STATS conditionals.
22923         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22924         (__malloc_stats, int): Likewise.
22926 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22928         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22929         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22931         * manual/setjmp.texi: Fix typos/grammar errors.
22933         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22934         Only return early when n is <= 0.  Delete unused return statement.
22936         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22937         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22938         * debug/tst-longjmp_chk3.c: New file.
22940         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22941         (test_main): Replace code with set_fortify_handler call.
22942         * debug/test-strcpy_chk.c: Likewise.
22943         * debug/tst-chk1.c: Likewise.
22944         * debug/tst-longjmp_chk.c: Likewise.
22945         * test-skeleton.c: Include fcntl.h & paths.h
22946         (set_fortify_handler): Define.
22948         * debug/tst-longjmp_chk.c: Add header comment and include
22949         ../test-skeleton.c.
22950         (do_test): Mark static.
22951         (TEST_FUNCTION): Define.
22953         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22954         (IP_PMTUDISC_INTERFACE): Likewise.
22955         (IP_MULTICAST_IF): Likewise.
22956         (IP_MULTICAST_TTL): Likewise.
22957         (IP_MULTICAST_LOOP): Likewise.
22958         (IP_ADD_MEMBERSHIP): Likewise.
22959         (IP_DROP_MEMBERSHIP): Likewise.
22960         (IP_UNBLOCK_SOURCE): Likewise.
22961         (IP_BLOCK_SOURCE): Likewise.
22962         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22963         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22964         (IP_MSFILTER): Likewise.
22965         (MCAST_JOIN_GROUP): Likewise.
22966         (MCAST_BLOCK_SOURCE): Likewise.
22967         (MCAST_UNBLOCK_SOURCE): Likewise.
22968         (MCAST_LEAVE_GROUP): Likewise.
22969         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22970         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22971         (MCAST_MSFILTER): Likewise.
22972         (IP_MULTICAST_ALL): Likewise.
22973         (IP_UNICAST_IF): Likewise.
22975         * timezone/Makefile: Delete $(have-ksh) check.
22976         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22977         * timezone/tzselect.ksh: Add +x mode bits.
22979         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22980         (ANON_INODE_FS_MAGIC): Likewise.
22981         (BDEVFS_MAGIC): Likewise.
22982         (BINFMTFS_MAGIC): Likewise.
22983         (BTRFS_TEST_MAGIC): Likewise.
22984         (CRAMFS_MAGIC_WEND): Likewise.
22985         (DEBUGFS_MAGIC): Likewise.
22986         (ECRYPTFS_SUPER_MAGIC): Likewise.
22987         (EXT3_SUPER_MAGIC): Likewise.
22988         (EXT4_SUPER_MAGIC): Likewise.
22989         (FUTEXFS_SUPER_MAGIC): Likewise.
22990         (HOSTFS_SUPER_MAGIC): Likewise.
22991         (HUGETLBFS_MAGIC): Likewise.
22992         (MINIX3_SUPER_MAGIC): Likewise.
22993         (MTD_INODE_FS_MAGIC): Likewise.
22994         (NILFS_SUPER_MAGIC): Likewise.
22995         (OPENPROM_SUPER_MAGIC): Likewise.
22996         (PIPEFS_MAGIC): Likewise.
22997         (PSTOREFS_MAGIC): Likewise.
22998         (QNX6_SUPER_MAGIC): Likewise.
22999         (RAMFS_MAGIC): Likewise.
23000         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23001         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23002         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23003         (SECURITYFS_MAGIC): Likewise.
23004         (SELINUX_MAGIC): Likewise.
23005         (SMACK_MAGIC): Likewise.
23006         (SOCKFS_MAGIC): Likewise.
23007         (SQUASHFS_MAGIC): Likewise.
23008         (STACK_END_MAGIC): Likewise.
23009         (TMPFS_MAGIC): Likewise.
23010         (USBDEVICE_SUPER_MAGIC): Likewise.
23011         (V9FS_MAGIC): Likewise.
23012         (XENFS_SUPER_MAGIC): Likewise.
23013         (CRAMFS_MAGIC): Fix typo in comment.
23014         (EXT2_SUPER_MAGIC): Update comment.
23015         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23017 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23019         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23020         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23021         * sysdeps/unix/sysv/linux/arm: Move directory from
23022         ports/sysdeps/unix/sysv/linux/arm.
23023         * README: Update listing for arm-*-linux-gnueabi.
23025         * README: Remove mention of am33.
23027 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23029         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23030         than the comma operator, to avoid "rhs of comma has no effect"
23031         compiler warnings.
23032         (__sigfillset, __sigandset, __sigorset): Likewise.
23033         * include/signal.h (__sigemptyset): Likewise.
23034         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23036 2014-02-07  Allan McRae  <allan@archlinux.org>
23038         * version.h (RELEASE): Set to "development".
23039         (VERSION): Set to "2.19.90"
23040         * NEWS: Add 2.20 section.
23042 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23044         [BZ #16529]
23045         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23047 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23049         * manual/contrib.texi: Update entry for Carlos O'Donell,
23050         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23052 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23054         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23056         * sysdeps/unix/sysv/linux/kernel-features.h
23057         [__LINUX_KERNEL_VERSION >= 0x020621]
23058         (__ASSUME_PROC_PID_TASK_COMM): Define.
23060 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23062         [BZ #16398]
23063         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23064         conversion when destination buffer does not have enough space.
23065         * libio/tst-ftell-partial-wide.c: New test case.
23066         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23068         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23069         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23070         Leonard and Allan McRae.
23072 2014-02-04  David S. Miller  <davem@davemloft.net>
23074         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23075         32-bit.
23077 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23080         New file
23081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23082         New file
23083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23084         New file.
23085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23086         New file.
23087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23088         New file.
23089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23090         New file.
23091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23092         New file.
23093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23094         New file.
23095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23096         New file.
23097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23098         New file.
23099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23100         New file.
23101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23102         New file.
23103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23104         New file.
23106 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23108         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23109         * shlib-versions: Likewise.
23111 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23112             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23114         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23115         (abilist-pattern): New variable, set to %-le.abilist.
23117         * Makerules (abilist-pattern): New variable.
23118         (vpath): Use $(abilist-pattern) in place of %.abilist.
23119         (check-abi-% pattern rule): Likewise.
23120         (check-abi, update-abi): Likewise.
23122 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23126 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23128         * manual/startup.texi: Add next, previous, and top entries for
23129         the `Program Arguments' and `Environment Variables' nodes.
23131 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23133         * manual/macros.texi: Add comments before MTASC-safety macros.
23135         * manual/users.texi: Document MTASC-safety properties.
23137         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23138         (pthread_getspecific, pthread_setspecific): Format with
23139         @deftypefun, and add @safety note.
23140         * manual/signal.texi: Move comments that analyze the above
23141         functions to their home place.
23143 2014-02-03  Allan McRae  <allan@archlinux.org>
23145         * po/sl.po: Update Slovenian translation from translation project.
23147 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23149         * manual/time.texi (timegm): Add missing blank after @c.
23150         Reported by Joseph Myers <joseph@codesourcery.com>.
23152 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23154         * manual/check-safety.sh: New.
23155         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23157         * manual/terminal.texi: Document MTASC-safety properties.
23159         * manual/filesys.texi: Document MTASC-safety properties.
23161         * manual/errno.texi: Document MTASC-safety properties.
23163         * manual/intro.texi: Document safety identifiers and
23164         conditionals.
23166         * manual/string.texi (wcstok): Fix prototype.
23167         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23169         * manual/time.texi: Document MTASC-safety properties.
23171         * manual/string.texi: Document MTASC-safety properties.
23173         * manual/threads.texi: Document MTASC-safety properties.
23175         * manual/stdio.texi: Document MTASC-safety properties.
23177         * manual/syslog.texi: Document MTASC-safety properties.
23179         * manual/sysinfo.texi: Document MTASC-safety properties.
23181         * manual/startup.texi: Document MTASC-safety properties.
23183         * manual/socket.texi: Document MTASC-safety properties.
23185         * manual/signal.texi: Document MTASC-safety properties.
23187 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23189         * manual/setjmp.texi: Document MTASC-safety properties.
23191         * manual/search.texi: Document MTASC-safety properties.
23193         * manual/resource.texi: Document MTASC-safety properties.
23195         * manual/process.texi: Document MTASC-safety properties.
23197         * manual/platform.texi: Document MTASC-safety properties.
23199         * manual/pipe.texi: Document MTASC-safety properties.
23201         * manual/pattern.texi: Document MTASC-safety properties.
23203         * manual/message.texi: Document MTASC-safety properties.
23205         [BZ #12751]
23206         * manual/memory.texi: Document MTASC-safety properties.
23208         * manual/math.texi: Document MTASC-safety properties.
23210         * manual/locale.texi: Document MTASC-safety properties.
23212         * manual/llio.texi: Document MTASC-safety properties.
23214         * manual/libdl.texi: New.
23216         * manual/lang.texi: Document MTASC-safety properties.
23218         * manual/job.texi: Document MTASC-safety properties.
23220         * manual/getopt.texi: Document MTASC-safety properties.
23222         * manual/ctype.texi: Document MTASC-safety properties.
23224 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23226         [BZ #16046]
23227         * csu/libc-tls.c (static_map): Remove variable.
23228         (__libc_setup_tls): Use main executable's link map for TLS data.
23229         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23230         casing for LM_ID_BASE and GL(dl_nns).
23231         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23232         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23233         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23234         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23235         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23236         member.
23237         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23238         l_phnum members.
23240 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23242         * manual/debug.texi: Document MTASC-safety properties.
23244 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23246         [BZ #16510]
23247         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23248         of __x86_64__ when disabling x87 inline functions.
23250 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23252         * manual/charset.texi: Document MTASC-safety properties.
23254         * manual/crypt.texi: Document MTASC-safety properties.
23256         * manual/conf.texi: Document MTASC-safety properties.
23258         * manual/arith.texi: Document MTASC-safety properties.
23260         * manual/argp.texi: Document MTASC-safety properties.
23262         * manual/macros.texi: Introduce macros to document multi
23263         thread, asynchronous signal and asynchronous cancellation
23264         safety properties.
23265         * manual/intro.texi: Introduce the properties themselves.
23267 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23269         * sysdeps/sh/sh4/Makefile: New file.
23271 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23273         * math/gen-libm-test.pl ($srcdir): New variable.
23274         ($auto_input): Use it.
23276 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23278         [BZ #16506]
23279         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23280         access beyond array bounds when parsing netgroups file.
23282         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23283         the old buffer before realloc.
23285 2014-01-27  Allan McRae  <allan@archlinux.org>
23287         * po/fr.po: Update French translation from translation project.
23289 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23291         * sysdeps/sh/libm-test-ulps: Regenerate.
23293 2014-01-24  David S. Miller  <davem@davemloft.net>
23295         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23297 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23299         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23300         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23302 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23304         [BZ #16474]
23305         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23306         string pointers after reallocation.
23308 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23310         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23311         __SH4A__ instead of __SH_FPU_ANY__.
23313 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23315         * sysdeps/sh/fpu_control.h: New file.
23316         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23317         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23318         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23319         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23320         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23321         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23322         * sysdeps/sh/sys/ucontext.h: Remove.
23323         * sysdeps/sh/sys: Remove directory.
23325 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23327         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23328         s390/sys/ucontext.h.
23329         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23330         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23332 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23334         [BZ #15605]
23335         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23337 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23339         [BZ#16431]
23340         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23341         Adjust the vDSO correctly for internal calls.
23342         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23344 2014-01-20  Allan McRae  <allan@archlinux.org>
23346         * po/ca.po: Update Catalan translation from translation project.
23348 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23350         * sysdeps/s390/sotruss-lib.c: New file.
23352 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23354         [BZ#16430]
23355         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23356         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23357         local calls issues by not having a PLT stub required for IFUNC calls.
23358         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23360 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23362         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23363         * math/test-fpucw-static.c: Likewise.
23365 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23367         [BZ #16453]
23368         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23370 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23372         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23373         implementation for powerpc.
23375 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23377         [BZ #14782]
23378         * sysdeps/posix/system.c (__libc_system): Do not enable
23379         asynchronous cancellation.
23381 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23383         [BZ #16427]
23384         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23385         handling only for numbers special also in the IEEE case.
23387 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23389         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23391 2014-01-11  Allan McRae  <allan@archlinux.org>
23393         * po/bg.po: Update Bulgarian translation from translation project.
23395         * po/de.po: Update German translation from translation project.
23397 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23399         * sysdeps/generic/gcc-compat.h: New file.
23401 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23403         * benchtests/asin-inputs: Correct slow inputs.
23404         * benchtests/acos-inputs: Likewise.
23406 2014-01-10  Allan McRae  <allan@archlinux.org>
23408         * po:sv.po: Update Swedish translation from translation project.
23410         * po/vi.po: Update Vietnamese translation from translation project.
23412         * po/eo.po: Update Esperanto translation from translation project.
23414         * po/cs.po: Update Czech translation from translation project.
23416         * po/nl.po: Update Dutch translation from translation project.
23418         * po/pl.po: Update Polish translation from translation project.
23420         * po/ru.po: Update Russian translation from translation project.
23422         * po/uk.po: Update Ukrainian translation from translation project.
23424 2014-01-08  Brooks Moses  <bmoses@google.com>
23426         * elf/dl-load.c: Fix comment typo.
23428 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23430         * po/header.pot: Rename to...
23431         * po/pot.header: ... this.
23432         * po/Makefile: Use pot.header.
23434 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23435             Maxim Kuvyrkov  <maxim@kugelworks.com>
23437         [BZ #16394]
23438         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23439         SRC and DEST against LEN.
23441 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23443         [BZ #16414]
23444         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23445         implementation.
23446         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23448 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23452 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23454         [BZ #16408]
23455         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23456         for large positive arguments.
23458 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23460         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23462         * math/auto-libm-test-in: Mark various tests with
23463         xfail-rounding:ldbl-128ibm.
23464         * math/auto-libm-test-out: Regenerated.
23466         [BZ #16407]
23467         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23468         Increase overflow threshold.
23470 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23472         [BZ #14286]
23473         * stdio-common/vfprintf.c: Check for integer overflow.
23475 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23477         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23478         the first argument and return value of __tls_get_addr_internal.
23480 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23482         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23483         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23485 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23487         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23488         * sysdeps/s390/rtld-global-offsets.sym: New file.
23489         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23490         GLIBC_2.19 symbol.
23491         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23493         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23494         ... this.
23495         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23497         ... this.
23498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23499         Regenerate.
23500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23501         Regenerate.
23502         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23503         halfs of GPRs for high_gprs contexts.
23504         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23505         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23506         field.
23507         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23508         uc_flags field.
23509         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23510         64 bit versions:
23511         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23512         for high GPRs (uc_high_gprs) and for future extensions
23513         (__reserved).
23514         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23515         for future extensions (__reserved).
23516         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23517         64 bit versions:
23518         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23519         SC_HIGHGPRS offset definition.
23520         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23521         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23523         * Versions.def: Add GLIBC_2.19 for libpthread.
23524         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23525         siglongjmp for libpthread with GLIBC_2.19 symver.
23526         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23527         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23528         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23529         * sysdeps/s390/__longjmp.c: New file.
23530         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23531         * sysdeps/s390/longjmp.c: New file.
23532         * sysdeps/s390/setjmp.S: New file.
23533         * sysdeps/s390/sigjmp.S: New file.
23534         * sysdeps/s390/v1-longjmp.c: New file.
23535         * sysdeps/s390/v1-setjmp.h: New file.
23536         * sysdeps/s390/v1-sigjmp.c: New file.
23537         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23538         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23539         GLIBC_2.19 version.
23540         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23541         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23542         versioned symbols for ____longjmp_chk.
23543         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23544         Likewise.
23545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23546         Regenerate.
23547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23548         Regenerate.
23549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23550         Regenerate.
23551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23552         Regenerate.
23553         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23554         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23555         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23556         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23557         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23558         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23559         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23560         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23561         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23562         * sysdeps/s390/rtld-__longjmp.c: New file.
23563         * sysdeps/s390/rtld-setjmp.S: New file.
23565 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23567         [BZ #16400]
23568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23569         Return -__logl (x) for small positive arguments without evaluating
23570         a polynomial.
23572 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23574         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23575         Rename to ...
23576         (__ptrace_peeksiginfo_args): ... this.
23577         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23578         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23581 2014-01-06  Allan McRae  <allan@archlinux.org>
23583         * inet/netinet/in.h: Fix typo in comment.
23585 2014-01-05  Andreas Jaeger  <aj@suse.de>
23587         * sysdeps/i386/fpu/libm-test-ulps: Update.
23589 2014-01-05  Allan McRae  <allan@archlinux.org>
23591         * po/libc.pot: Regenerated.
23593         * malloc/memusagestat.c: Fix gettext call formatting.
23595 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23597         * nscd/nscd.c: Improve usage() output.
23599 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23601         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23602         * sysdeps/unix/sysv/linux/configure: Regenerated.
23603         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23604         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23606 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23608         [BZ #16390]
23609         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23610         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23612 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23614         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23615         extra tokens at end of #undef directive.
23616         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23617         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23618         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23620 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23622         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23624         * math/auto-libm-test-in: Mark various tests with
23625         xfail-rounding:ldbl-128ibm.
23626         * math/auto-libm-test-out: Regenerated.
23628 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23630         [BZ #16386]
23631         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23632         numbers with subnormal high part when calculating exponent.
23634         [BZ #16385]
23635         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23636         fabs.
23638         [BZ #16384]
23639         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23640         M_LN2l.
23641         (__ieee754_acoshl): Use __log1pl not __log1p.
23643 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23645         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23646         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23647         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23648         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23649         (reused_arena, arena_get2): Convert to GNU style.
23650         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23651         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23652         (memalign_check, __malloc_set_state): Likewise.
23653         * malloc/mallocbug.c (main): Likewise.
23654         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23655         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23656         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23657         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23658         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23659         (__posix_memalign, malloc_info): Likewise.
23660         * malloc/malloc.h: Likewise.
23661         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23662         (mallochook, memalignhook, reallochook, mabort): Likewise.
23663         * malloc/mcheck.h: Likewise.
23664         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23665         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23666         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23667         * malloc/morecore.c (__default_morecore): Likewise.
23668         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23669         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23670         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23671         (print_and_abort): Likewise.
23672         * malloc/obstack.h: Likewise.
23673         * malloc/set-freeres.c (__libc_freeres): Likewise.
23674         * malloc/tst-mallocstate.c (main): Likewise.
23675         * malloc/tst-mtrace.c (main): Likewise.
23676         * malloc/tst-realloc.c (do_test): Likewise.
23678 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23680         [BZ #16366]
23681         * nscd/netgroupcache.c (do_notfound): New function.
23682         (addgetnetgrentX): Use it.
23684         [BZ # 16365]
23685         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23686         NSS_STATUS_NOTFOUND.
23688 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23690         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23693 2014-01-01  Allan McRae  <allan@archlinux.org>
23695         * scripts/update-copyrights: Update configure input file suffix.
23697         * NEWS: Update copyright year.
23698         * catgets/gencat.c: Likewise.
23699         * csu/version.c: Likewise.
23700         * debug/catchsegv.sh: Likewise.
23701         * debug/pcprofiledump.c: Likewise.
23702         * debug/xtrace.sh: Likewise.
23703         * elf/ldconfig.c: Likewise.
23704         * elf/ldd.bash.in: Likewise.
23705         * elf/pldd.c: Likewise.
23706         * elf/sotruss.ksh: Likewise.
23707         * elf/sprof.c: Likewise.
23708         * iconv/iconv_prog.c: Likewise.
23709         * iconv/iconvconfig.c: Likewise.
23710         * locale/programs/locale.c: Likewise.
23711         * locale/programs/localedef.c: Likewise.
23712         * login/programs/pt_chown.c: Likewise.
23713         * malloc/memusage.sh: Likewise.
23714         * malloc/memusagestat.c: Likewise.
23715         * malloc/mtrace.pl: Likewise.
23716         * manual/libc.texinfo: Likewise.
23717         * nscd/nscd.c: Likewise.
23718         * nss/getent.c: Likewise.
23719         * nss/makedb.c: Likewise.
23720         * posix/getconf.c: Likewise.
23721         * scripts/test-installation.pl: Likewise.
23723         * All files with FSF copyright notices: Update copyright dates
23724         using scripts/update-copyrights.
23725         * intl/plural.c: Regenerated.
23726         * locale/programs/charmap-kw.h: Likewise.
23727         * locale/programs/locfile-kw.h: Likewise.
23729 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23731         * sysdeps/unix/sysv/linux/configure: Regenerated.
23732         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23733         the linux/fanotify.h header.
23734         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23735         HAVE_LINUX_FANOTIFY_H is defined.
23737 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23739         * benchtests/cos-inputs: New inputs.
23740         * benchtests/sin-inputs: Likewise.
23742         * benchtests/atan-inputs: New inputs. Fix name of multiple
23743         precision fallback inputs.
23745         * benchtests/atanh-inputs: New inputs.
23746         * benchtests/tanh-inputs: Likewise.
23748         * benchtests/acosh-inputs: New inputs.
23749         * benchtests/asinh-inputs: Likewise.
23751         * benchtests/cosh-inputs: New inputs.
23752         * benchtests/sinh-inputs: Likewise.
23754         * benchtests/acos-inputs: Add more inputs.
23755         * benchtests/asin-inputs: Likewise.
23757 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23759         [BZ #16375]
23760         * manual/arith.texi: Fix spelling.
23761         * manual/charset.texi: Likewise.
23762         * manual/errno.texi: Likewise.
23763         * manual/filesys.texi: Likewise.
23764         * manual/lang.texi: Likewise.
23765         * manual/llio.texi: Likewise.
23766         * manual/locale.texi: Likewise.
23767         * manual/message.texi: Likewise.
23768         * manual/resource.texi: Likewise.
23769         * manual/search.texi: Likewise.
23770         * manual/setjmp.texi: Likewise.
23771         * manual/stdio.texi: Likewise.
23772         * manual/string.texi: Likewise.
23773         * manual/sysinfo.texi: Likewise.
23774         * manual/time.texi: Likewise.
23776 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23778         * po/sl.po: New file.
23780 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23782         * .gitignore: Add core/.gdbinit/.gdb_history.
23784 2013-12-27  Allan McRae  <allan@archlinux.org>
23786         [BZ #16369]
23787         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23788         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23790 2013-12-24  Brooks Moses  <bmoses@google.com>
23792         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23793         all compilers that claim C++98 compliance, not just GCC.
23794         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23795         Likewise.
23797 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23799         * NEWS: Restore accidentally deleted bug-fix entries.
23801 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23802             Ondřej Bílka  <neleai@seznam.cz>
23804         [BZ #15073]
23805         * malloc/malloc.c (_int_free): Perform sanity check only if we
23806         have_lock.
23808 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23810         [BZ #12986]
23811         * manual/stdio.texi (String Input Conversions): Clarify that character
23812         classes are not supported.
23814 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23818 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23820         [BZ #16337]
23821         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23822         Calculate results for small negative arguments directly rather
23823         than using reflection formula with special underflow handling.
23825         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23826         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23827         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23828         (fchflags): Likewise.
23829         (revoke): Likewise.
23830         (setlogin): Likewise.
23831         (sigaltstack): Likewise.
23832         (wait4): Likewise.
23833         (sigblock): Remove.
23834         (sigsetmask): Likewise.
23835         (wait3): Likewise.
23836         (waitpid): Likewise.
23837         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23838         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23839         file.
23840         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23841         * sysdeps/unix/bsd/Makefile: ... here.
23842         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23843         * sysdeps/unix/bsd/Versions: ... here.
23844         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23845         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23846         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23847         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23848         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23849         * sysdeps/unix/bsd/sigblock.c: ... here.
23850         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23851         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23852         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23853         * sysdeps/unix/bsd/sigvec.c: ... here.
23854         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23855         * sysdeps/unix/bsd/tcdrain.c: ... here.
23856         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23857         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23858         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23859         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23860         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23861         * sysdeps/unix/bsd/wait.c: ... here.
23862         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23863         * sysdeps/unix/bsd/wait3.c: ... here.
23864         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23865         * sysdeps/unix/bsd/waitpid.c: ... here.
23867 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23869         [BZ #16356]
23870         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23871         round-to-nearest for [!USE_AS_EXPM1L].
23872         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23873         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23874         more tests of exp and exp10.  Expect some exp10 tests to miss
23875         exceptions or fail in directed rounding modes.
23876         * math/auto-libm-test-out: Regenerated.
23877         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23878         (exp10_test_tonearest): New function.
23879         (exp10_towardzero_test_data): New array.
23880         (exp10_test_towardzero): New function.
23881         (exp10_downward_test_data): New array.
23882         (exp10_test_downward): New function.
23883         (exp10_upward_test_data): New array.
23884         (exp10_test_upward): New function.
23885         (main): Call the new functions.
23886         * sysdeps/i386/fpu/libm-test-ulps: Update.
23887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23889 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23891         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23892         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23893         * math/auto-libm-test-out: Regenerated.
23894         * math/libm-test.inc (acosh_test_data): Add more tests.
23895         (atanh_test_data): Likewise.
23896         (ceil_test_data): Likewise.
23897         (copysign_test_data): Likewise.
23898         * sysdeps/i386/fpu/libm-test-ulps: Update.
23899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23901         * timezone/checktab.awk: Update from tzcode 2013i.
23902         * timezone/private.h: Likewise.
23903         * timezone/scheck.c: Likewise.
23904         * timezone/tzfile.h: Likewise.
23905         * timezone/tzselect.ksh: Likewise.
23906         * timezone/zdump.c: Likewise.
23907         * timezone/zic.c: Likewise.
23909         * math/auto-libm-test-in: Add tests of cpow.
23910         * math/auto-libm-test-out: Regenerated.
23911         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23912         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23913         mpc_cc_c.
23914         (func_calc_desc): Add mpc_cc_c union field.
23915         (test_functions): Add cpow.
23916         (special_fill_2pi): New function.
23917         (special_real_inputs): Add 2pi.
23918         (calc_generic_results): Handle mpc_cc_c.
23919         * sysdeps/i386/fpu/libm-test-ulps: Update.
23920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23922         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23923         csqrt, ctan and ctanh.
23924         * math/auto-libm-test-out: Regenerated.
23925         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23926         (TEST_COND_x86): Likewise.
23927         (ccos_test_data): Use AUTO_TESTS_c_c.
23928         (ccosh_test_data): Likewise.
23929         (cexp_test_data): Likewise.
23930         (clog_test_data): Likewise.
23931         (csqrt_test_data): Likewise.
23932         (ctan_test_data): Likewise.
23933         (ctan_tonearest_test_data): Likewise.
23934         (ctan_towardzero_test_data): Likewise.
23935         (ctan_downward_test_data): Likewise.
23936         (ctan_upward_test_data): Likewise.
23937         (ctanh_test_data): Likewise.
23938         (ctanh_tonearest_test_data): Likewise.
23939         (ctanh_towardzero_test_data): Likewise.
23940         (ctanh_downward_test_data): Likewise.
23941         (ctanh_upward_test_data): Likewise.
23942         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23943         mpc_c_c.
23944         (func_calc_desc): Add mpc_c_c union field.
23945         (FUNC_mpc_c_c): New macro.
23946         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23947         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23948         ctanh.
23949         (special_fill_min_subnorm_p120): New function.
23950         (special_real_inputs): Add min_subnorm_p120.
23951         (calc_generic_results): Handle mpc_c_c.
23952         * sysdeps/i386/fpu/libm-test-ulps: Update.
23953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23955 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23957         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23958         (do_sin_slow): New functions.
23959         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23960         (cslow2, csloww1, csloww2): Use the new functions.
23962         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23963         Use M to change sign of result instead of X.  Assume X is
23964         positive.
23965         (csloww1): Likewise.
23966         (__sin): Adjust.
23967         (__cos): Adjust.
23969         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23970         arguments A and DA.
23971         (__sin): Adjust.
23972         (__cos): Likewise.
23974         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23975         (__cos): Likewise.
23976         (sloww1): Don't adjust sign of DX.
23977         (csloww1): Likewise.
23978         (sloww2): Use X directly and don't adjust sign of DX.
23979         (csloww2): Likewise.
23981 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23983         * math/auto-libm-test-in: Add tests of cabs and carg.
23984         * math/auto-libm-test-out: Regenerated.
23985         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23986         (carg_test_data): Likewise.
23987         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23988         mpc_c_f.
23989         (func_calc_desc): Add mpc_c_f union field.
23990         (test_functions): Add cabs and carg.
23991         (calc_generic_results): Handle mpc_c_f.
23993         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23994         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23995         as a macro and a compat symbol.
23996         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23997         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23998         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23999         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24000         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24001         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24002         not use .hidden.
24003         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24004         Likewise.
24005         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24006         Likewise.
24007         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24008         Likewise.
24009         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24010         Likewise.
24011         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24012         Likewise.
24013         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24014         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24015         from GLIBC_2.3.2.
24017 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24021 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24023         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24024         trailing whitespace removed.
24025         * scripts/config.guess: Update to version 2013-11-29.
24026         * scripts/config.sub: Update to version 2013-10-01.
24028         * math/auto-libm-test-in: Add tests of sincos.
24029         * math/auto-libm-test-out: Regenerated.
24030         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24031         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24032         mpfr_f_11.
24033         (func_calc_desc): Add mpfr_f_11 union field.
24034         (test_functions): Add sincos.
24035         (calc_generic_results): Handle mpfr_f_11.
24036         * sysdeps/i386/fpu/libm-test-ulps: Update.
24037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24039 2013-12-19  Andreas Schwab  <schwab@suse.de>
24041         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24042         CALL_MCOUNT.
24043         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24044         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24045         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24047 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24049         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24050         * sysdeps/i386/fpu/libm-test-ulps: Update.
24051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24053         [BZ #16293]
24054         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24055         round-to-nearest mode when using frndint.
24056         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24057         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24059         Likewise.
24060         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24061         sinh test to fail.
24062         * math/auto-libm-test-out: Regenerated.
24063         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24064         (TEST_COND_x86): Likewise.
24065         (expm1_tonearest_test_data): New array.
24066         (expm1_test_tonearest): New function.
24067         (expm1_towardzero_test_data): New array.
24068         (expm1_test_towardzero): New function.
24069         (expm1_downward_test_data): New array.
24070         (expm1_test_downward): New function.
24071         (expm1_upward_test_data): New array.
24072         (expm1_test_upward): New function.
24073         (main): Run the new test functions.
24074         * sysdeps/i386/fpu/libm-test-ulps: Update.
24075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24077         * include/features.h: Update comment documenting feature test
24078         macros.  Mention _DEFAULT_SOURCE in comment.
24079         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24080         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24081         _BSD_SOURCE and _SVID_SOURCE.
24082         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24083         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24084         !_SVID_SOURCE]: Likewise.
24085         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24086         (__USE_POSIX_IMPLICITLY): Define.
24087         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24088         (_POSIX_SOURCE): Undefine and redefine.
24089         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24090         (_POSIX_C_SOURCE): Likewise.
24091         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24092         (Feature Test Macros): Update documentation of default features.
24094 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24096         * benchtests/Makefile: Add bench-strtok.
24097         * benchtests/bench-strtok.c: New file: strtok benchtest.
24099 2013-12-19  Allan McRae  <allan@archlinux.org>
24101         * manual/install.texi: Suppress menu for plain text output.
24102         * INSTALL: Regenerated.
24104 2013-12-18  Brooks Moses  <bmoses@google.com>
24106         [BZ #15846]
24107         * misc/getauxval.c: Include errno.h.
24108         (__getauxval): Set errno to ENOENT if the requested type is not
24109         found.
24110         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24111         don't declare with __attribute_const__.
24112         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24113         * manual/startup.texi: Document that getauxval sets errno.
24115 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24117         * math/auto-libm-test-in: Add tests of jn and yn.
24118         * math/auto-libm-test-out: Regenerated.
24119         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24120         (yn_test_data): Likewise.
24121         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24122         mpfr_if_f.
24123         (func_calc_desc): Add mpfr_if_f union field.
24124         (FUNC_mpfr_if_f): New macro.
24125         (test_functions): Add jn and yn.
24126         (calc_generic_results): Assert type of second input for
24127         mpfr_ff_f.  Handle mpfr_if_f.
24128         (output_for_one_input_case): Disable all checking for arguments
24129         fitting floating-point types in case of an integer argument.
24130         * sysdeps/i386/fpu/libm-test-ulps: Update.
24131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24134         Don't expect fegetround reference in libm.so.
24136 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24138         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24139         $(config-cflags-nofma).
24141 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24143         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24144         * math/auto-libm-test-out: Regenerated.
24146         [BZ #16338]
24147         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24148         to determine exponent and adjust argument to have exponent of -1.
24149         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24150         log2.
24151         * math/auto-libm-test-out: Regenerated.
24152         * sysdeps/i386/fpu/libm-test-ulps: Update.
24153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24155 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24157         * manual/probes.texi: Remove cases when per-thread arenas are
24158         disabled.
24160 2013-12-18  Andreas Schwab  <schwab@suse.de>
24162         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24163         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24164         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24165         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24166         * sysdeps/i386/i686/multiarch/Makefile: Update.
24167         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24169 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24171         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24172         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24174 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24176         [BZ #15968]
24177         Support TZ transition times < 00:00:00.
24178         This is needed for version-3 tz-format files; it supports time
24179         stamps past 2037 for America/Godthab (the only entry in the tz
24180         database for which this change is relevant).
24181         * manual/time.texi (TZ Variable): Document transition times
24182         from -167:59:59 through -00:00:01.
24183         * time/tzset.c (tz_rule): Time of day is now signed.
24184         (__tzset_parse_tz): Parse negative time of day.
24186         Document TZ transition times >= 25:00:00.
24187         * manual/time.texi (TZ Variable): Document transition times from
24188         25:00:00 through 167:59:59.  These are already supported, and this
24189         support will help with version-3 tz-format files.
24191         * manual/time.texi (TZ Variable): Modernize North America example
24192         to reflect current (i.e., 2007-and-later) daylight saving rules.
24194         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24196 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24198         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24199         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24201         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24202         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24203         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24204         * sysdeps/unix/bsd/clock.c: Likewise.
24205         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24206         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24207         * sysdeps/unix/bsd/init-posix.c: Likewise.
24208         * sysdeps/unix/bsd/poll.c: Likewise.
24209         * sysdeps/unix/bsd/ptsname.c: Likewise.
24210         * sysdeps/unix/bsd/seekdir.c: Likewise.
24211         * sysdeps/unix/bsd/setegid.c: Likewise.
24212         * sysdeps/unix/bsd/seteuid.c: Likewise.
24213         * sysdeps/unix/bsd/setgid.c: Likewise.
24214         * sysdeps/unix/bsd/setrgid.c: Likewise.
24215         * sysdeps/unix/bsd/setruid.c: Likewise.
24216         * sysdeps/unix/bsd/setsid.c: Likewise.
24217         * sysdeps/unix/bsd/setuid.c: Likewise.
24218         * sysdeps/unix/bsd/sigaction.c: Likewise.
24219         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24220         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24221         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24222         * sysdeps/unix/bsd/telldir.c: Likewise.
24223         * sysdeps/unix/bsd/times.c: Likewise.
24224         * sysdeps/unix/bsd/usleep.c: Likewise.
24226         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24227         ($(objpfx)libbsd-compat.a): Remove rule.
24229         * include/features.h (__FAVOR_BSD): Do not define.
24230         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24231         features conflicting with POSIX.
24232         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24233         (_BSD_SOURCE): Remove description of not being a subset of other
24234         feature test macros.
24235         * manual/job.texi (getpgrp): Do not document BSD version.
24236         (getpgid): Do not document by reference to BSD getpgrp.
24237         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24238         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24239         * signal/signal.h [__FAVOR_BSD]: Likewise.
24240         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24241         instead of making contents conditional on [__FAVOR_BSD].
24242         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24244 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24248 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24250         [BZ #16314]
24251         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24252         values below 2**-450, not 2**-500.
24253         * math/auto-libm-test-in: Don't allow spurious underflow from
24254         hypot.
24255         * math/auto-libm-test-out: Regenerated.
24257         [BZ #16316]
24258         [BZ #16330]
24259         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24260         values of ha and hb and sort them after adjusting subnormal
24261         arguments.
24262         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24263         Likewise.
24264         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24265         values of ea and eb and sort them after adjusting subnormal
24266         arguments.
24267         * math/auto-libm-test-in: Do not expect some hypot tests of
24268         subnormals to fail.  Add more hypot tests.
24269         * math/auto-libm-test-out: Regenerated.
24271 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24273         [BZ #13304]
24274         * sysdeps/sh/s_fma.c: New file.
24275         * sysdeps/sh/s_fmaf.c: New file.
24276         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24277         version.
24278         * sysdeps/sh/Implies: Add sh/soft-fp.
24280 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24282         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24283         level of indirection to members `objname', `errstring', `malloced'.
24284         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24285         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24286         it as the __longjmp argument (just pass 1 instead).
24287         (_dl_catch_error): Initialize C with argument pointers and address of
24288         volatile local ERRCODE rather than copying values out of C at return.
24290 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24292         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24293         * math/auto-libm-test-out: Regenerated.
24294         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24295         (hypot_test_data): Likewise.
24296         (pow_test_data): Likewise.
24297         (pow_tonearest_test_data): Likewise.
24298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24299         mpfr_ff_f.
24300         (func_calc_desc): Add mpfr_ff_f union field.
24301         (FUNC_mpfr_ff_f): New macro.
24302         (test_functions): Add atan2, hypot and pow.
24303         (special_fill_min): New function.
24304         (special_fill_minus_min): Likewise.
24305         (special_fill_min_subnorm): Likewise.
24306         (special_fill_minus_min_subnorm): Likewise.
24307         (special_real_inputs): Add min, -min, min_subnorm and
24308         -min_subnorm.
24309         (calc_generic_results): Handle mpfr_ff_f.
24310         * sysdeps/i386/fpu/libm-test-ulps: Update.
24311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24313 2013-12-16  Will Newton  <will.newton@linaro.org>
24315         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24316         (Aligned Memory Blocks): Add documentation for aligned_alloc
24317         and suggest it as an alternative to posix_memalign.
24318         (Hooks for Malloc): Document __memalign_hook is also called
24319         for aligned_alloc.  (Summary of Malloc): Add summary for
24320         aligned alloc.  Document __memalign_hook is also called
24321         for aligned_alloc.
24323 2013-12-16  Will Newton  <will.newton@linaro.org>
24325         * manual/memory.texi (Malloc Examples): Clarify default
24326         alignment documentation.  Suggest posix_memalign rather
24327         than memalign or valloc.
24328         (Aligned Memory Blocks): Remove suggestion to use memalign
24329         or valloc.  Remove obsolete comment about BSD.
24330         Document memalign errno values and mark the function obsolete.
24331         Document posix_memalign returned error codes.  Mark valloc
24332         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24333         called for posix_memalign and valloc.
24334         (Summary of Malloc): Add posix_memalign to function summary.
24335         __memalign_hook is also called for posix_memalign and valloc.
24337 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24339         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24340         TAYLOR_SIN.
24341         (__sin): Adjust.
24342         (__cos): Likewise.
24343         (sloww): Use mynumber union.  Expand ternary operator into
24344         if-else statements.
24345         (cslow): use mynumber union.
24347 2013-12-16  Allan McRae  <allan@archlinux.org>
24349         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24350         * configure: Regenerated.
24352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24354         [BZ #14120]
24355         * configure.ac: Added --enable-maintainer-mode. Check for
24356         autoconf when enabled.
24357         * configure: Regenerated.
24359         * nscd/nscd.service: New file.
24360         * nscd/nscd.tmpfiles: New file.
24362 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24364         [BZ #12100]
24365         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24366         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24367         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24368         (strstr): Add __strstr_sse2_unaligned ifunc.
24369         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24370         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24371         (strcasestr): Remove __strcasestr_sse42 ifunc.
24372         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24376 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24378         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24379         * sysdeps/sh/bits/fenv.h: ... here.
24380         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24382 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24384         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24387         hypotf multiarch implementations.
24388         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24391         multiarch hypot for PPC64.
24392         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24393         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24394         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24395         multiarch hypotf for PPC64.
24397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24398         modff multiarch implementations.
24399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24402         multiarch modf for PPC64.
24403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24406         multiarch modff for PPC64.
24408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24409         and logl multiarch implementations.
24410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24413         multiarch logb for PPC64.
24414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24417         multiarch logb for PPC64.
24418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24421         multiarch logb for PPC64.
24423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24424         isinff multiarch implementation.
24425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24426         file.
24427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24429         multiarch isinf for PPC64.
24430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24431         file.
24432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24433         multiarch isinff for PPC64.
24435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24436         finitef multiarch implementation.
24437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24438         file.
24439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24441         multiarch finite for PPC64.
24442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24443         file.
24444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24445         multiarch finitef for PPC64.
24447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24448         lrint multiarch implementation.
24449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24450         file.
24451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24453         multiarch llrint for PPC64.
24454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24455         multiarch lrint for PPC64.
24457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24458         copysignf multiarch implementation.
24459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24460         file.
24461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24462         file.
24463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24464         multiarch copysign for PPC64.
24465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24466         multiarch copysignf for PPC64.
24468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24469         multiarch implementation.
24470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24471         file.
24472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24473         file.
24474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24475         file.
24476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24477         file.
24478         multiarch llround for PPC64.
24479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24480         multiarch trunc for PPC64.
24481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24482         multiarch truncf for PPC64.
24484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24485         multiarch implementation.
24486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24487         file.
24488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24489         file.
24490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24491         file.
24492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24493         file.
24494         multiarch llround for PPC64.
24495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24496         multiarch round for PPC64.
24497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24498         multiarch roundf for PPC64.
24500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24501         multiarch implementation.
24502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24503         file.
24504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24505         file.
24506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24507         file.
24508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24509         file.
24510         multiarch llround for PPC64.
24511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24512         multiarch floor for PPC64.
24513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24514         multiarch floorf for PPC64.
24516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24517         multiarch implementation.
24518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24519         file.
24520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24521         file.
24522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24523         file.
24524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24525         file.
24526         multiarch llround for PPC64.
24527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24528         multiarch ceil for PPC64.
24529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24530         multiarch ceilf for PPC64.
24532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24533         multiarch implementation.
24534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24535         file.
24536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24537         file.
24538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24539         file.
24540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24541         multiarch llround for PPC64.
24542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24543         multiarch lround for PPC64.
24545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24546         multiarch implementation.
24547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24550         file.
24551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24554         multiarch isnan for PPC64.
24555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24556         multiarch isnanf for PPC64.
24558         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24559         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24560         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24561         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24562         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24565         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24566         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24567         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24571         multiarch implementations.
24572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24573         (__libc_ifunc_impl_list): Likewise.
24574         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24576         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24577         multiarch stpcpy for PPC64.
24579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24580         multiarch implementations.
24581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24582         (__libc_ifunc_impl_list): Likewise.
24583         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24584         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24585         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24586         multiarch strcpy for PPC64.
24588         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24589         redefine function name.
24590         (_wordcopy_fwd_dest_aligned): Likewise.
24591         (_wordcopy_bwd_aligned): Likewise.
24592         (_wordcopy_bwd_dest_aligned): Likewise.
24593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24594         multiarch implementations.
24595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24596         (__libc_ifunc_impl_list): Likewise.
24597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24598         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24599         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24601         multiarch wcscpy for PPC64.
24603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24604         multiarch implementations.
24605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24606         (__libc_ifunc_impl_list): Likewise.
24607         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24608         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24609         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24610         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24611         multiarch wcscpy for PPC64.
24613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24614         multiarch implementations.
24615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24616         (__libc_ifunc_impl_list): Likewise.
24617         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24618         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24619         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24620         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24621         multiarch wcsrchr for PPC64.
24623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24624         multiarch implementations.
24625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24626         (__libc_ifunc_impl_list): Likewise.
24627         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24628         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24629         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24630         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24631         multiarch wcschr for PPC64.
24633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24634         multiarch implementations.
24635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24636         (__libc_ifunc_impl_list): Likewise.
24637         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24638         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24639         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24640         multiarch strchrnul for PPC64.
24642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24643         implementations.
24644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24645         (__libc_ifunc_impl_list): Likewise.
24646         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24647         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24648         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24649         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24650         strchr for PPC64.
24652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24653         implementations.
24654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24655         (__libc_ifunc_impl_list): Likewise.
24656         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24657         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24658         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24659         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24660         strncmp for PPC64.
24662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24663         multiarch implementations.
24664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24665         (__libc_ifunc_impl_list): Likewise.
24666         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24667         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24668         strncasecmp for PPC64.
24669         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24670         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24671         multiarch strncasecmp_l for PPC64.
24673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24674         multiarch implementations.
24675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24676         (__libc_ifunc_impl_list): Likewise.
24677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24678         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24679         multiarch strcasecmp for PPC64.
24680         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24681         file.
24682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24683         multiarch strcasecmp_l for PPC64.
24685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24686         implementations.
24687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24688         (__libc_ifunc_impl_list): Likewise.
24689         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24690         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24691         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24692         strnlen for PPC64.
24694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24695         implementations.
24696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24697         (__libc_ifunc_impl_list): Likewise.
24698         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24699         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24700         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24701         strlen for PPC64.
24703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24704         implementations.
24705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24706         (__libc_ifunc_impl_list): Likewise.
24707         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24708         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24709         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24710         rawmemrchr for PPC64.
24712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24713         implementation.
24714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24715         (__libc_ifunc_impl_list): Likewise.
24716         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24717         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24718         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24719         memrchr for PPC64.
24721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24722         implementation.
24723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24724         (__libc_ifunc_impl_list): Likewise.
24725         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24726         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24727         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24728         memchr for PPC64.
24730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24731         implementation.
24732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24733         (__libc_ifunc_impl_list): Likewise.
24734         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24735         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24736         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24737         mempcpy for PPC64.
24739         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24740         avoid cretion of __bzero symbol.
24741         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24742         Likewise.
24743         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24744         Likewise.
24745         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24746         Likewise.
24747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24748         multiarch implementations.
24749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24750         (__libc_ifunc_impl_list): Likewise.
24751         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24752         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24753         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24754         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24755         bzero for PPC32.
24756         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24757         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24758         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24759         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24760         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24761         memset for PPC64.
24762         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24764         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24766         implementations.
24767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24768         (__libc_ifunc_impl_list): Likewise.
24769         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24770         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24771         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24772         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24773         memcmp for PPC64.
24775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24776         multiarch for POWER/PPC64.
24777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24778         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24779         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24780         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24781         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24782         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24783         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24784         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24785         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24786         memcpy for PPC64.
24788         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24789         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24790         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24791         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24792         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24793         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24794         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24795         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24796         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24797         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24798         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24799         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24800         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24801         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24802         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24811 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24813         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24815 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24817         * benchtests/Makefile (bench): Add exp2 and log2.
24818         (LDLIBS-bench-exp2): Add -lm.
24819         (LDLIBS-bench-log2): Likewise.
24820         * benchtests/exp2-inputs: New inputs file.
24821         * benchtests/log2-inputs: New inputs file.
24822         * benchtests/log-inputs: Add new inputs.
24823         * benchtests/tan-inputs: Likewise.
24825 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24827         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24828         definition...
24829         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24830         (csloww2): ... from here.
24832         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24833         instead of structures.
24834         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24835         (POLYNOMIAL): Likewise.
24836         (TAYLOR_SLOW): Likewise.
24837         (__sin): Likewise.
24838         (__cos): Likewise.
24839         (slow1): Likewise.
24840         (slow2): Likewise.
24841         (sloww): Likewise.
24842         (sloww1); Likewise.
24843         (sloww2): Likewise.
24844         (bsloww1): Likewise.
24845         (bsloww2): Likewise.
24846         (cslow2): Likewise.
24847         (csloww): Likewise.
24848         (csloww1): Likewise.
24849         (csloww2): Likewise.
24851 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24853         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24854         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24855         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24856         * malloc/hooks.c (realloc_check): Likewise.
24858         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24859         * malloc/arena.c: Remove PER_THREAD conditional.
24860         [!PER_THREAD]: Remove code.
24861         (ptmalloc_unlock_all2): Likewise.
24862         (ptmalloc_init): Likewise.
24863         (_int_new_arena): Likewise.
24864         (arena_get2): Likewise.
24865         * malloc/hooks.c (__malloc_get_state): Likewise.
24866         (__malloc_set_state): Likewise.
24867         * malloc/malloc.c: Likewise.
24868         (struct malloc_state): Likewise.
24869         (struct malloc_par): Likewise.
24870         (__libc_realloc): Likewise.
24871         (__libc_mallopt): Likewise.
24873 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24875         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24877 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24879         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24880         macro to a function.  Check for zero perturb_byte.
24881         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24883         * malloc/malloc.c: (force_reg): Remove.
24884         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24885         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24886         force_reg by atomic_forced_read.
24887         * malloc/arena.c (ptmalloc_init): Likewise.
24888         * malloc/hooks.c (top_check): Likewise.
24890 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24894 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24898 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24900         * math/auto-libm-test-in: Add tests of lgamma.
24901         * math/auto-libm-test-out: Regenerated.
24902         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24903         (M_LOG_2_SQRT_PIl): Likewise.
24904         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24905         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24906         mpfr_f_f1.
24907         (func_calc_desc): Add mpfr_f_f1 union field.
24908         (ARGS1): New macro.
24909         (ARGS2): Likewise.
24910         (ARGS3): Likewise.
24911         (ARGS4): Likewise.
24912         (RET1): Likewise.
24913         (RET2): Likewise.
24914         (CALC): Likewise.
24915         (FUNC): Likewise.
24916         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24917         (test_functions): Add lgamma.
24918         (calc_generic_results): Handle mpfr_f_f1.
24919         * sysdeps/i386/fpu/libm-test-ulps: Update.
24920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24924         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24925         __mpn_add_n for PowerPC64/POWER7.
24926         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24927         __mpn_sub_n for PowerPC64/POWER7.
24929         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24930         __mpn_addmul_1 for PowerPC64.
24931         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24932         __mpn_submul_1 for PowerPC64.
24933         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24934         for PowerPC64.
24935         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24936         for PowerPC64.
24938 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24940         [BZ #15089]
24941         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24943 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24945         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24947         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24948         add multiarch folders.
24949         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24950         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24951         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24952         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24953         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24954         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24955         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24956         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24957         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24958         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24959         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24968         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24970         New file.
24971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24972         New file.
24973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24974         multiarch __ieee754_hypot for PowerPC32.
24975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24976         New file.
24977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24978         New file.
24979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24980         multiarch __ieee754_hypotf for PowerPC32.
24982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24983         long_double_symbol only if __logbl is defined.
24984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24985         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24986         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24987         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24988         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24989         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24990         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24991         path for implementation.
24992         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24995         logb, and logbl multiarch implementations for PowerPC32.
24996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24997         file.
24998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24999         file.
25000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25001         multiarch logb for PowerPC32.
25002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25003         file.
25004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25005         file.
25006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25007         multiarch logbf for PowerPC32.
25008         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25010         file.
25011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25012         multiarch logbl implementation for PowerPC32.
25014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25015         and modff multiarch implementations.
25016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25017         New file.
25018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25019         New file.
25020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25021         multiarch modf for PowerPC32.
25022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25023         New file.
25024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25025         New file.
25026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25027         multiarch modff for PowerPC32.
25029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25030         and lrintf multiarch implementations.
25031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25032         New file.
25033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25034         New file.
25035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25036         multiarch lrint for PowerPC32.
25037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25038         file: multiarch lrintf for PowerPC32.
25040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25041         and lroundf multiarch implementations.
25042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25043         New file.
25044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25045         New file.
25046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25047         New file.
25048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25049         multiarch lround for PowerPC32.
25050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25051         file: multiarch lroundf for PowerPC32.
25053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25054         copysign and copysignf multiarch implementations.
25055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25056         New file.
25057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25058         New file.
25059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25060         file: multiarch copysign for PowerPC32.
25061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25062         file: multiarch copysignf for PowerPC32.
25064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25065         and truncf multiarch implementations.
25066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25067         New file.
25068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25069         file.
25070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25071         multiarch trunc for PowerPC32.
25072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25073         New file.
25074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25075         New file.
25076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25077         multiarch truncf for PowerPC32.
25079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25080         and roundf multiarch implementations.
25081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25082         New file.
25083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25084         file.
25085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25086         multiarch round for PowerPC32.
25087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25088         New file.
25089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25090         New file.
25091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25092         multiarch roundf for PowerPC32.
25094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25095         and floorf multiarch implementations.
25096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25097         New file.
25098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25099         file.
25100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25101         multiarch floor for PowerPC32.
25102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25103         New file.
25104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25105         New file.
25106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25107         multiarch floorf for PowerPC32.
25109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25110         and ceilf multiarch implementations.
25111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25112         New file.
25113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25114         file.
25115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25116         multiarch ceil for PowerPC32.
25117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25118         New file.
25119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25120         file.
25121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25122         multiarch ceilf for PowerPC32.
25124         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25125         is defined.
25126         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25127         FINITEF is defined.
25128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25129         and finitef multiarch implementations.
25130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25131         New file.
25132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25133         file.
25134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25135         multiarch finite for PowerPC32.
25136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25137         New file.
25138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25139         file: multiarch finitef for PowerPC32.
25141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25142         and isinff multiarch implementations.
25143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25144         file.
25145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25146         file.
25147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25148         multiarch isinf for PowerPC32.
25149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25150         New file.
25151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25152         multiarch isinff for PowerPC32.
25154         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25155         alias when __isnan is defined.
25156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25157         and isnanf multiarch implementations.
25158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25159         file.
25160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25161         file.
25162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25163         file.
25164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25165         file.
25166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25167         multiarch isnan for PowerPC32.
25168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25169         New file.
25170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25171         New file.
25172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25173         multiarch isnanf for PowerPC32.
25175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25176         and sqrtf multiarch implementations.
25177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25178         file.
25179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25180         file.
25181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25182         multiarch sqrt for PowerPC32.
25183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25184         file.
25185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25186         file.
25187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25188         multiarch sqrtf for PowerPC32.
25190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25191         and llroundf multiarch implementations.
25192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25193         New file.
25194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25195         New file.
25196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25197         New file.
25198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25199         file: multiarch llround for PowerPC32.
25200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25201         file: multiarch llroundf for PowerPC32.
25203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25204         multiarch PowerPC32 fpu implementations.
25205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25206         New file.
25207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25208         New file.
25209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25210         multiarch llrint for PowerPC32.
25211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25212         New file.
25213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25214         New file.
25215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25216         file.
25218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25220         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25221         file.
25222         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25223         file.
25224         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25225         file.
25226         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25227         multiarch wordcopy for PPC32.
25228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25229         wordcopy objects.
25230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25231         (__libc_ifunc_impl_list): Likewise.
25232         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25233         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25234         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25235         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25236         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25237         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25239         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25241         file.
25242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25243         file.
25244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25245         file.
25246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25247         multiarch wcscpy for PPC32.
25248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25249         multiarch objects.
25250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25251         (__libc_ifunc_impl_list): Likewise.
25252         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25253         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25254         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25255         sysdeps/powerpc/power6/wcscpy.c.
25257         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25259         file.
25260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25261         file.
25262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25263         file.
25264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25265         multiarch wcsrchr for PPC32.
25266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25267         multiarch objects.
25268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25269         (__libc_ifunc_impl_list): Likewise.
25270         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25271         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25272         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25273         sysdeps/powerpc/power6/wcsrchr.c.
25275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25276         file.
25277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25278         file.
25279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25281         multiarch wcschr for PPc32.
25282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25283         multiarch objects.
25284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25285         (__libc_ifunc_impl_list): Likewise.
25286         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25287         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25288         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25289         sysdeps/powerpc/power6/wcschr.c.
25291         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25292         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25293         file.
25294         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25295         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25296         file: multiarch strchr for PPC32.
25297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25298         multiarch objects.
25299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25300         (__libc_ifunc_impl_list): Likewise.
25302         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25303         name.
25304         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25305         file.
25306         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25307         file.
25308         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25309         multiarch strchrnul for PPC32.
25310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25311         multiarch objects.
25312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25313         (__libc_ifunc_impl_list): Likewise.
25315         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25316         file.
25317         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25318         multiarch strncasecmp for PPC32.
25319         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25320         file.
25321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25322         multiarch strncasecmp_l for PPC32.
25323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25324         strncasecmp multiarch objects.
25325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25326         (__libc_ifunc_impl_list): Likewise.
25328         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25329         file.
25330         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25331         multiarch strncasecmp for PPC32.
25332         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25333         New file.
25334         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25335         multiarch strcasecmp_l for PPC32.
25336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25337         multiarch objects.
25338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25339         (__libc_ifunc_impl_list): Likewise.
25341         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25342         file.
25343         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25344         file.
25345         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25346         multiarch strncmp for PPC32.
25347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25348         multiarch objects.
25349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25350         (__libc_ifunc_impl_list): Likewise.
25352         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25353         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25354         file.
25355         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25356         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25358         multiarch objects.
25359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25360         (__libc_ifunc_impl_list): Likewise.
25362         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25363         file.
25364         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25365         file.
25366         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25368         multiarch objects.
25369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25370         (__libc_ifunc_impl_list): Likewise.
25372         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25373         file.
25374         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25375         file.
25376         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25377         multiarch rawmemchr for PPC32.
25378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25379         multiarch objects.
25380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25381         (__libc_ifunc_impl_list): Likewise.
25383         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25384         file.
25385         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25386         file.
25387         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25388         file: memrchr multiarch for PPC32.
25389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25390         multiarch objects.
25391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25392         (__libc_ifunc_impl_list): Likewise.
25394         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25395         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25396         file.
25397         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25399         multiarch memchr for PPC32.
25400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25401         multiarch objects.
25402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25403         (__libc_ifunc_impl_list): Likewise.
25405         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25406         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25407         file.
25408         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25409         file.
25410         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25411         file: multiarch mempcpy for PPC32.
25412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25413         multiarch objects.
25414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25415         (__libc_ifunc_impl_list): Likewise.
25417         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25418         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25419         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25420         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25421         multiarch bzero for PPC32.
25422         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25423         file.
25424         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25425         file.
25426         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25427         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25428         file: multiarch memset for PPC32.
25429         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25431         memset multiarch objects.
25432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25433         (__libc_ifunc_impl_list): Likewise.
25435         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25436         file.
25437         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25438         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25439         memcmp for PPC32.
25440         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25442         multiarch objects.
25443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25444         (__libc_ifunc_impl_list): Likewise.
25446         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25449         file.
25450         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25451         file.
25452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25453         file.
25454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25455         multiarch memcpy for PPC32.
25456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25457         multiarch objects.
25458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25459         (__libc_ifunc_impl_list): Likewise.
25461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25462         support multiarch for POWER/PPC32.
25463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25464         Likewise.
25465         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25467         Implies file to make multiarch folder appers before the fpu and
25468         default folder for power4 configuration.
25470 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25472         * scripts/bench.pl: Append volatile keyword to type.
25474 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25476         * sysdeps/sh/sotruss-lib.c: New file.
25477         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25479 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25483 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25485         [BZ #6810]
25486         * math/w_tgamma.c: Include <errno.h>.
25487         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25488         * math/w_tgammaf.c: Include <errno.h>.
25489         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25490         * math/w_tgammal.c: Include <errno.h>.
25491         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25492         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25493         underflow.  Add more tgamma tests.
25494         * math/auto-libm-test-out: Regenerated.
25495         * sysdeps/i386/fpu/libm-test-ulps: Update.
25496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25498         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25499         sin, sinh, tan, tanh, tgamma, y0 and y1.
25500         * math/auto-libm-test-out: Regenerated.
25501         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25502         (TEST_COND_x86): Likewise.
25503         (M_E2l): Remove macro.
25504         (M_E3l): Likewise.
25505         (M_2_SQRT_PIl): Likewise.
25506         (M_SQRT_PIl): Likewise.
25507         (M_1_DIV_El): Likewise.
25508         (log_test_data): Use AUTO_TESTS_f_f.
25509         (log10_test_data): Likewise.
25510         (log1p_test_data): Likewise.
25511         (log2_test_data): Likewise.
25512         (sin_test_data): Likewise.
25513         (sin_tonearest_test_data): Likewise.
25514         (sin_towardzero_test_data): Likewise.
25515         (sin_downward_test_data): Likewise.
25516         (sin_upward_test_data): Likewise.
25517         (sinh_test_data): Likewise.
25518         (sinh_tonearest_test_data): Likewise.
25519         (sinh_towardzero_test_data): Likewise.
25520         (sinh_downward_test_data): Likewise.
25521         (sinh_upward_test_data): Likewise.
25522         (tan_test_data): Likewise.
25523         (tan_tonearest_test_data): Likewise.
25524         (tan_towardzero_test_data): Likewise.
25525         (tan_downward_test_data): Likewise.
25526         (tan_upward_test_data): Likewise.
25527         (tanh_test_data): Likewise.
25528         (tgamma_test_data): Likewise.
25529         (y0_test_data): Likewise.
25530         (y1_test_data): Likewise.
25531         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25532         (special_real_inputs): Add pi/4.
25533         * sysdeps/i386/fpu/libm-test-ulps: Update.
25534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25536 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25538         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25539         "longjmp_target" static probes.
25540         (__longjmp): Rename to __longjmp_symbol.
25541         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25542         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25543         on which longjmp to generate.
25544         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25545         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25546         probe.
25547         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25548         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25549         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25550         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25551         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25552         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25554         __longjmp_symbol based on which __longjmp to generate.
25555         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25556         probe.
25557         (setjmp): Rename to setjmp_symbol.
25558         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25559         (_setjmp): Rename to _setjmp_symbol.
25560         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25561         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25562         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25563         which setjmp to generate.
25564         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25565         "longjmp_target" static probes.
25567 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25569         * benchtests/README: Add note about output arguments.
25570         * benchtests/bench-sincos.c: Remove file.
25571         * benchtests/sincos-inputs: New file.
25572         * scripts/bench.pl: Identify output arguments and define
25573         static variables for them.
25575         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25577         [BZ #15941]
25578         * Makefile (INSTALL): Add install-plain.texi as the primary
25579         dependency.
25580         * manual/install-plain.texi: New file.
25581         * manual/install.texi: Include node directive only for
25582         non-plaintext output.
25584 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25586         * stdlib/longlong.h: Update from GCC.
25588         [BZ #6807]
25589         [BZ #15901]
25590         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25591         * math/w_j0f.c (y0f): Likewise.
25592         * math/w_j0l.c (__y0l): Likewise.
25593         * math/w_j1.c (y1): Likewise.
25594         * math/w_j1f.c (y1f): Likewise.
25595         * math/w_j1l.c (__y1l): Likewise
25596         * math/w_jn.c (yn): Likewise.
25597         * math/w_jnf.c (ynf): Likewise.
25598         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25599         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25600         value for Bessel function domain errors outside _SVID_ mode.
25601         Adjust sign of return value for yn (negative integer, 0).
25602         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25603         by zero in return for negative x and set sign appropriately for
25604         negative n.
25605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25606         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25607         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25608         expectations in error cases.
25609         (y1_test_data): Likewise.
25610         (yn_test_data): Likewise.
25611         * sysdeps/i386/fpu/libm-test-ulps: Update.
25612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25614 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25616         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25617         "64" to "64-v1".  Add "64-v2".
25618         (abi-64-options): Rename to ...
25619         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25620         (abi-64-condition): Rename to ...
25621         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25622         (abi-64-ld-soname): Rename to ...
25623         (abi-64-v1-ld-soname): ... this.
25624         (abi-64-v2-options): Define.
25625         (abi-64-v2-condition): Likewise.
25626         (abi-64-v2-ld-soname): Likewise.
25627         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25628         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25633 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25634             Alan Modra  <amodra@gmail.com>
25636         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25637         New versions for use with the ELFv2 ABI.
25638         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25639         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25640         declaration.
25641         (struct La_ppc64v2_retval): Likewise.
25642         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25643         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25644         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25645         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25646         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25647         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25648         Do not save or restore CR.
25649         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25650         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25651         return values for ELFv2 ABI.  Fix location of FPR return registers.
25652         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25653         updated values for _CALL_ELF == 2.
25654         (La_regs, La_retval, int_retval): Likewise.
25656 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25658         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25659         (FRAME_MIN_SIZE_PARM): Likewise.
25660         (FRAME_BACKCHAIN): Likewise.
25661         (FRAME_CR_SAVE): Likewise.
25662         (FRAME_LR_SAVE): Likewise.
25663         (FRAME_TOC_SAVE): Likewise.
25664         (FRAME_PARM_SAVE): Likewise.
25665         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25666         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25667         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25668         (call_mcount_parm_offset): New macro.
25669         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25670         (PROF): Use symbolic stack frame offsets.
25671         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25672         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25673         Redefine in terms of FRAME_MIN_SIZE.
25674         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25675         (_dl_profile_resolve): Likewise.  Update comment.
25676         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25677         symbols stack frame offsets.
25678         (__sigsetjmp): Likewise.
25679         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25680         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25681         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25682         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25685         (FRAME_BACKCHAIN): Remove.
25686         (FRAME_CR_SAVE): Likewise.
25687         (FRAME_LR_SAVE): Likewise.
25688         (FRAME_COMPILER_DW): Likewise.
25689         (FRAME_LINKER_DW): Likewise.
25690         (FRAME_TOC_SAVE): Likewise.
25691         (FRAME_PARM_SAVE): Likewise.
25692         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25693         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25694         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25696         (CHECK_SP): Use symbolic stack frame offsets.
25697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25698         zone" instead of caller's parameter save area for temp storage.
25699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25700         Likewise.  Also, use symbolic stack frame offsets.
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25702         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25703         our own stack frame instead of the caller's.
25704         (__socket): Use symbolic stack frame offsets.
25706 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25707             Alan Modra  <amodra@gmail.com>
25709         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25710         Define.
25711         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25712         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25713         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25714         New function.
25715         (elf_machine_fixup_plt): Call it.
25716         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25717         reloc arguments.
25718         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25719         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25720         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25721         r2 before calling target.
25723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25724             Alan Modra  <amodra@gmail.com>
25726         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25727         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25728         versions of macros to support ELFv2 ABI.
25729         (LOCALENTRY): New macro.
25730         (ENTRY, EALIGN): Use it.
25731         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25732         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25733         fall through into ENTRY entry point.
25734         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25735         Only define if _CALL_ELF != 2.
25737         (elf_machine_matches_host): Verify ABI version matches.
25738         (RTLD_START): Use LOCALENTRY.
25739         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25740         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25741         (PLT_ENTRY_WORDS): New macro.
25742         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25743         (elf_machine_runtime_setup): Support ELFv2 ABI.
25744         (elf_machine_fixup_plt): Likewise.
25745         (elf_machine_plt_conflict): Likewise.
25746         (resolve_ifunc): Likewise.
25747         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25748         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25749         Likewise.
25750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25751         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25753         (makecontext): Support ELFv2 ABI.
25754         * elf/elf.h (EF_PPC64_ABI): Define.
25756 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25758         * sysdeps/powerpc/powerpc64/sysdep.h
25759         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25760         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25761         (ENTRY) [ASSEMBLER]: ... but instead here ...
25762         (EALIGN) [ASSEMBLER]: ... and here.
25763         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25764         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25765         (ENTRY_2) [!ASSEMBLER]: Use it.
25766         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25767         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25768         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25769         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25770         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25772         Use PPC64_LOAD_FUNCPTR.
25774         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25776 2013-12-04  Alan Modra  <amodra@gmail.com>
25778         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25779         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25780         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25781         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25783         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25784         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25785         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25786         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25787         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25788         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25790 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25793         (__makecontext): Fix incorrect CFI when backtracing out of
25794         context created via makecontext.
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25796         (__setcontext): Fix incorrect CFI during switch to new context.
25797         (__novec_setcontext): Likewise.
25799 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25801         [BZ #4772]
25802         * time/strptime_l.c (__strptime_internal): Allow modifiers
25803         in strptime.
25804         * time/tst-strptime.c (day_tests): Add testcase.
25806 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25808         * scripts/bench.pl: Skip over blank lines.
25810 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25812         [BZ #926]
25813         * manual/time.texi (Calendar Time): Clarify what timezone functions
25814         use.
25816 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25820 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25822         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25823         implementation.
25824         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25825         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25826         * debug/memset_chk.c (__memset_chk): Likewise.
25827         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25828         * debug/strncpy_chk.c: Likewise.
25830 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25832         [BZ #15268]
25833         [BZ #15425]
25834         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25835         (__ieee754_exp): For possibly underflowing results, check size of
25836         result and force underflow exception if required.
25837         * math/auto-libm-test-in: Add more tests of exp.
25838         * math/auto-libm-test-out: Regenerated.
25839         * sysdeps/i386/fpu/libm-test-ulps: Update.
25840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25842         [BZ #16283]
25843         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25844         * math/w_exp2f.c (__exp2f): Likewise.
25845         * math/w_exp2l.c (__exp2l): Likewise.
25846         * math/auto-libm-test-in: Do not allow missing errno on exp2
25847         underflow.
25848         * math/auto-libm-test-out: Regenerated.
25850 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25852         [BZ #16274]
25853         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25854         handle filename validation.
25855         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25856         (do_open): Delete.
25858 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25860         [BZ #6786]
25861         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25862         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25863         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25864         <float.h>.
25865         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25866         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25867         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25868         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25869         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25870         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25871         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25872         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25873         Add more erfc tests.
25874         * math/auto-libm-test-out: Regenerated.
25875         * sysdeps/i386/fpu/libm-test-ulps: Update.
25876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25878         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25879         exp2, expm1, j0 and j1.
25880         * math/auto-libm-test-out: Regenerated.
25881         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25882         (erfc_test_data): Likewise.
25883         (exp_test_data): Likewise.
25884         (exp_tonearest_test_data): Likewise.
25885         (exp_towardzero_test_data): Likewise.
25886         (exp_downward_test_data): Likewise.
25887         (exp_upward_test_data): Likewise.
25888         (exp10_test_data): Likewise.
25889         (exp2_test_data): Likewise.
25890         (expm1_test_data): Likewise.
25891         (j0_test_data): Likewise.
25892         (j1_test_data): Likewise.
25893         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25894         (input_flag_type): Add flag_xfail_rounding.
25895         (input_flags): Add xfail-rounding.
25896         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25897         (output_for_one_input_case): Handle flag_xfail_rounding.
25898         * sysdeps/i386/fpu/libm-test-ulps: Update.
25899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25901 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25903         [BZ #16289]
25904         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25905         division by 0.
25907 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25909         [BZ #16195]
25910         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25911         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25912         (STAP_PROBE0): New macro.
25913         (STAP_PROBE1): Likewise.
25914         (STAP_PROBE2): Likewise.
25915         (STAP_PROBE3): Likewise.
25916         (STAP_PROBE4): Likewise.
25918 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25920         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25922 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25924         * benchtests/Makefile (bench): Add sqrt.
25925         (LDLIBS-bench-sqrt): New.
25926         * benchtests/sqrt-input: New.
25928 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25930         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25931         (GAIH_EAI): Likewise.
25932         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25933         (gaih_inet): Likewise.
25934         (getaddrinfo): Don't use GAIH_EAI.
25936         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25937         (struct gaih): Remove definition.
25939 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25941         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25942         Use HERRNOP directly.
25944 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25948 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25950         * math/gen-auto-libm-tests.c (test_functions): Add more
25951         single-argument functions.
25952         (special_fill_pi_2): New function.
25953         (special_fill_minus_pi_2): Likewise.
25954         (special_fill_pi_6): Likewise.
25955         (special_fill_minus_pi_6): Likewise.
25956         (special_fill_pi_3): Likewise.
25957         (special_fill_2pi_3): Likewise.
25958         (special_fill_e): Likewise.
25959         (special_fill_1_e): Likewise.
25960         (special_fill_e_minus_1): Likewise.
25961         (special_real_inputs): Add more special inputs.
25962         (output_for_one_input_case): Do not require ERANGE on underflow to
25963         zero if round-to-nearest result does not underflow to zero, unless
25964         exact results required.
25965         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25966         atan, atanh, cbrt, cos and cosh.
25967         * math/auto-libm-test-out: Regenerated.
25968         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25969         (acos_tonearest_test_data): Likewise.
25970         (acos_towardzero_test_data): Likewise.
25971         (acos_downward_test_data): Likewise.
25972         (acos_upward_test_data): Likewise.
25973         (acosh_test_data): Likewise.
25974         (asin_test_data): Likewise.
25975         (asin_tonearest_test_data): Likewise.
25976         (asin_towardzero_test_data): Likewise.
25977         (asin_upward_test_data): Likewise.
25978         (asinh_test_data): Likewise.
25979         (atan_test_data): Likewise.
25980         (atanh_test_data): Likewise.
25981         (cbrt_test_data): Likewise.
25982         (cos_test_data): Likewise.
25983         (cos_tonearest_test_data): Likewise.
25984         (cos_towardzero_test_data): Likewise.
25985         (cos_downward_test_data): Likewise.
25986         (cos_upward_test_data): Likewise.
25987         (cosh_test_data): Likewise.
25988         (cosh_tonearest_test_data): Likewise.
25989         (cosh_towardzero_test_data): Likewise.
25990         (cosh_downward_test_data): Likewise.
25991         (cosh_upward_test_data): Likewise.
25992         * sysdeps/i386/fpu/libm-test-ulps: Update.
25993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25995 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25997         [BZ #6787]
25998         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25999         * math/w_exp10f.c (__exp10f): Likewise.
26000         * math/w_exp10l.c (__exp10l): Likewise.
26001         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26002         errno settings in existing tests.
26004         [BZ #14032]
26005         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26006         precision control set to double precision.
26007         * sysdeps/i386/fpu/w_sqrt.c: New file.
26008         * math/auto-libm-test-in: Add more tests.
26009         * math/auto-libm-test-out: Update.
26011         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26012         (sqrt_test_tonearest): New function.
26013         (sqrt_towardzero_test_data): New variable.
26014         (sqrt_test_towardzero): New function.
26015         (sqrt_downward_test_data): New variable.
26016         (sqrt_test_downward): New function.
26017         (sqrt_upward_test_data): New variable.
26018         (sqrt_test_upward): New function.
26019         (main): Call the new functions.
26021         * math/gen-auto-libm-tests.c: New file.
26022         * math/auto-libm-test-in: Likewise.
26023         * math/auto-libm-test-out: New generated file.
26024         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26025         variables.
26026         (%beautify): Add generated representations of zero.
26027         (top level): Set $auto_input and call parse_auto_input.
26028         (beautify): Remove trailing "f" from hex float constants.
26029         (parse_args): Handle XFAIL_TEST.
26030         (convert_condition): New function.
26031         (or_value): Likewise.
26032         (or_cond_value): Likewise.
26033         (generate_testfile): Handle AUTO_TESTS_* lines.
26034         (parse_auto_input): New function.
26035         * math/libm-test.inc (XFAIL_TEST): New macro.
26036         (ERRNO_UNCHANGED): Update value.
26037         (ERRNO_EDOM): Likewise.
26038         (ERRNO_ERANGE): Likewise.
26039         (IGNORE_RESULT): Likewise.
26040         (TEST_COND_flt_32): New macro.
26041         (TEST_COND_dbl_64): Likewise.
26042         (TEST_COND_ldbl_96_intel): Likewise.
26043         (TEST_COND_ldbl_96_m68k): Likewise.
26044         (TEST_COND_ldbl_128): Likewise.
26045         (TEST_COND_ldbl_128ibm): Likewise.
26046         (TEST_COND_long32): Likewise.
26047         (TEST_COND_long64): Likewise.
26048         (TEST_COND_before_rounding): Likewise.
26049         (TEST_COND_after_rounding): Likewise.
26050         (enable_test): Handle XFAIL_TEST flag.
26051         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26052         with finite results.
26053         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26054         auto-libm-test-out.
26056 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26057             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26059         [BZ #16214]
26060         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26061         __tls_get_addr_internal instead of __tls_get_offset in order to
26062         avoid GOT pointer dependency.  Make rtld export
26063         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26064         __tls_get_addr since we are a __tls_get_offset platform.
26065         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26066         GOT pointer being set up before.
26067         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26069 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26071         * manual/math.texi (Errors in Math Functions): Document accuracy
26072         goals.
26074         [BZ #15004]
26075         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26076         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26077         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26078         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26082         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26083         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26084         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26085         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26086         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26087         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26088         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26089         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26090         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26092         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26093         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26094         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26095         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26096         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26097         Likewise.
26098         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26099         Likewise.
26100         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26101         Likewise.
26102         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26103         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26104         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26105         atomic-feupdateenv and flt-rounds.
26106         * sysdeps/powerpc/nofpu/Versions (libc): Add
26107         __atomic_feholdexcept, __atomic_feclearexcept,
26108         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26109         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26110         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26111         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26112         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26113         here.
26114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26115         Update.
26117         * manual/arith.texi (FP Exceptions): Document that exceptions may
26118         not be raised when matherr is used.
26119         (Math Error Reporting): Document overflow in directed rounding
26120         modes.  Document that errno may not be set when finite values are
26121         returned on overflow.  Document intent to set errno on underflow
26122         only for underflow to zero.
26124         [BZ #16271]
26125         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26126         round-to-nearest then adjust result for other rounding modes.
26127         * include/fenv.h (fegetround): Use libm_hidden_proto.
26128         * math/fegetround.c (fegetround): Use libm_hidden_def.
26129         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26130         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26131         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26132         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26133         Likewise.
26134         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26135         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26136         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26137         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26139 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26141         [BZ #16077]
26142         * nss/Versions (libnss_files): Add
26143         _nss_files_gethostbyname3_r.
26144         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26145         New function.
26146         (HOST_DB_LOOKUP): Remove macro.
26147         (_nss_files_gethostbyname_r): Implement function without the
26148         HOST_DB_LOOKUP macro.
26149         (_nss_files_gethostbyname2_r): Likewise.
26151 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26153         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26155 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26157         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26158         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26159         warning.
26161 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26163         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26164         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26165         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26166         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26167         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26168         __fe_nomask_env_priv and attribute_hidden.
26169         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26170         (libc_feupdateenv_test_ppc): Likewise.
26171         (libc_feresetround_ppc): Likewise.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26173         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26174         compat_symbol macro.
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26176         (__fe_nomask_env): Likewise.
26177         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26179 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26181         * string/Makefile: Remove ifunc tests.
26182         * string/test-string.h: Define TEST_IFUNC.
26183         * string/test-bcopy-ifunc.c: Remove.
26184         * string/test-bzero-ifunc.c: Likewise.
26185         * string/test-memccpy-ifunc.c: Likewise.
26186         * string/test-memchr-ifunc.c: Likewise.
26187         * string/test-memcmp-ifunc.c: Likewise.
26188         * string/test-memcpy-ifunc.c: Likewise.
26189         * string/test-memmem-ifunc.c: Likewise.
26190         * string/test-memmove-ifunc.c: Likewise.
26191         * string/test-mempcpy-ifunc.c: Likewise.
26192         * string/test-memrchr-ifunc.c: Likewise.
26193         * string/test-memset-ifunc.c: Likewise.
26194         * string/test-rawmemchr-ifunc.c: Likewise.
26195         * string/test-stpcpy-ifunc.c: Likewise.
26196         * string/test-stpncpy-ifunc.c: Likewise.
26197         * string/test-strcasecmp-ifunc.c: Likewise.
26198         * string/test-strcasestr-ifunc.c: Likewise.
26199         * string/test-strcat-ifunc.c: Likewise.
26200         * string/test-strchr-ifunc.c: Likewise.
26201         * string/test-strchrnul-ifunc.c: Likewise.
26202         * string/test-strcmp-ifunc.c: Likewise.
26203         * string/test-strcpy-ifunc.c: Likewise.
26204         * string/test-strcspn-ifunc.c: Likewise.
26205         * string/test-strlen-ifunc.c: Likewise.
26206         * string/test-strncasecmp-ifunc.c: Likewise.
26207         * string/test-strncat-ifunc.c: Likewise.
26208         * string/test-strncmp-ifunc.c: Likewise.
26209         * string/test-strncpy-ifunc.c: Likewise.
26210         * string/test-strnlen-ifunc.c: Likewise.
26211         * string/test-strpbrk-ifunc.c: Likewise.
26212         * string/test-strrchr-ifunc.c: Likewise.
26213         * string/test-strspn-ifunc.c: Likewise.
26214         * string/test-strstr-ifunc.c: Likewise.
26216 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26218         * benchtests/Makefile: Remove ifunc tests.
26219         * benchtests/bench-string.h: Define TEST_IFUNC.
26220         * benchtests/bench-bcopy-ifunc.c: Remove.
26221         * benchtests/bench-bzero-ifunc.c: Likewise.
26222         * benchtests/bench-memccpy-ifunc.c: Likewise.
26223         * benchtests/bench-memchr-ifunc.c: Likewise.
26224         * benchtests/bench-memcmp-ifunc.c: Likewise.
26225         * benchtests/bench-memcpy-ifunc.c: Likewise.
26226         * benchtests/bench-memmem-ifunc.c: Likewise.
26227         * benchtests/bench-memmove-ifunc.c: Likewise.
26228         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26229         * benchtests/bench-memrchr-ifunc.c: Likewise.
26230         * benchtests/bench-memset-ifunc.c: Likewise.
26231         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26232         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26233         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26234         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26235         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26236         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26237         * benchtests/bench-strcat-ifunc.c: Likewise.
26238         * benchtests/bench-strchr-ifunc.c: Likewise.
26239         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26240         * benchtests/bench-strcmp-ifunc.c: Likewise.
26241         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26242         * benchtests/bench-strcpy-ifunc.c: Likewise.
26243         * benchtests/bench-strcspn-ifunc.c: Likewise.
26244         * benchtests/bench-strlen-ifunc.c: Likewise.
26245         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26246         * benchtests/bench-strncat-ifunc.c: Likewise.
26247         * benchtests/bench-strncmp-ifunc.c: Likewise.
26248         * benchtests/bench-strncpy-ifunc.c: Likewise.
26249         * benchtests/bench-strnlen-ifunc.c: Likewise.
26250         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26251         * benchtests/bench-strrchr-ifunc.c: Likewise.
26252         * benchtests/bench-strsep-ifunc.c: Likewise.
26253         * benchtests/bench-strspn-ifunc.c: Likewise.
26254         * benchtests/bench-strstr-ifunc.c: Likewise.
26256 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26258         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26260 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26262         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26263         * rt/aio.h: Likewise.
26264         * sysdeps/gnu/bits/utmp.h: Likewise.
26265         * sysdeps/gnu/bits/utmpx.h: Likewise.
26266         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26267         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26268         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26269         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26270         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26271         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26272         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26273         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26274         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26275         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26276         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26277         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26278         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26280         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26281         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26282         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26283         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26284         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26285         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26286         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26287         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26288         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26289         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26290         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26292         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26293         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26294         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26295         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26296         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26297         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26298         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26299         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26300         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26301         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26302         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26303         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26304         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26305         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26306         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26307         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26309 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26311         [BZ #16245]
26312         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26313         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26315 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26317         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26318         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26319         Likewise.
26321 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26324         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26325         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26326         (__fesetround): Remove define.
26327         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26328         rounding and exceptions handling.
26329         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26330         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26331         (__fe_nomask_env): Likewise.
26332         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26333         __fegetround instead of fegetround.
26334         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26335         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26337 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26339         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26340         it's there.
26342         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26344 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26346         [BZ #11157]
26347         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26348         (encrypt_r): Likewise.
26349         * malloc/obstack.h (obstack_free): Likewise.
26350         * posix/unistd.h (encrypt): Likewise.
26352 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26354         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26355         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26356         DL_CALL_DT_FINI() that call the functions directly.
26357         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26358         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26359         * elf/dl-fini.c: Likewise.
26361 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26363         * malloc/hooks.c (memalign_check): Add alignment rounding.
26364         * malloc/malloc.c (_mid_memalign): New function.
26365         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26366         Implement by calling _mid_memalign.
26367         * manual/probes.texi (Memory Allocation Probes): Remove
26368         memory_valloc_retry and memory_pvalloc_retry.
26370 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26372         * locale/programs/locarchive.c (open_archive): Add const
26373         qualifier to ARCHIVEFNAME and copy default fname to
26374         DEFAULT_FNAME.
26376         [BZ #15601]
26377         * libio/tst-widetext.input: Rename Oriya to Odia.
26378         * locale/iso-639.def: Likewise.
26380         * manual/probes.texi (Mathematical Function Probes): Add
26381         documentation for sin, cos, asin and acos probes.
26382         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26383         (__sin32): Add slowasin probe.
26384         (__cos32): Add slowacos probe.
26385         (__mpsin): Add slowsin probe.
26386         (__mpcos): Add slowcos probe.
26388 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26390         [BZ #15483]
26391         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26392         thread-local __sim_exceptions_thread and global
26393         __sim_exceptions_global.
26394         (__sim_disabled_exceptions): Change to thread-local
26395         __sim_disabled_exceptions_thread and global
26396         __sim_disabled_exceptions_global.
26397         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26398         and global __sim_round_mode_global.
26399         (__simulate_exceptions): Use thread-local floating-point state and
26400         set global state from it as needed.
26401         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26402         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26403         __sim_round_mode_thread.
26404         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26405         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26406         and global __sim_exceptions_global.
26407         (__sim_disabled_exceptions): Change to thread-local
26408         __sim_disabled_exceptions_thread and global
26409         __sim_disabled_exceptions_global.
26410         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26411         and global __sim_round_mode_global.
26412         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26413         (SIM_SET_GLOBAL): Likewise.
26414         * sysdeps/powerpc/soft-fp/sfp-machine.h
26415         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26416         __sim_round_mode_thread.
26417         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26418         __sim_disabled_exceptions_thread.
26419         (__sim_exceptions): Change to __sim_exceptions_thread.
26420         (__sim_disabled_exceptions): Change to
26421         __sim_disabled_exceptions_thread.
26422         (__sim_round_mode): Change to __sim_round_mode_thread.
26423         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26424         thread-local floating-point state and set global state from it as
26425         needed.
26426         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26427         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26428         (__sim_disabled_exceptions): Remove extern declaration.
26429         (feenableexcept): Use thread-local floating-point state and set
26430         global state from it as needed.
26431         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26432         extern declaration.
26433         (__sim_disabled_exceptions): Likewise.
26434         (__sim_round_mode): Likewise.
26435         (__fegetenv): Use thread-local floating-point state.
26436         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26437         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26438         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26439         floating-point state and set global state from it as needed.
26440         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26441         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26442         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26443         Likewise.
26444         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26445         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26446         Likewise.
26447         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26448         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26449         Use __sim_round_mode_thread.
26450         * math/test-fenv-tls.c: New file.
26451         * math/Makefile (tests): Add test-fenv-tls.
26452         ($(objpfx)test-fenv-tls): Depend on
26453         $(common-objpfx)nptl/libpthread.so.
26455 2013-11-19  Andreas Schwab  <schwab@suse.de>
26457         * locale/programs/locale.c (show_info): Decode wordarray elements.
26458         * locale/categories.def (LC_MONETARY): Add element for
26459         _NL_MONETARY_CRNCYSTR.
26460         * locale/C-monetary.c (conversion_rate): New variable.
26461         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26462         element.
26464 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26466         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26467         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26469 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26471         * elf/Makefile (tst-auxv): New test.
26472         * elf/tst-auxv.c: New
26473         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26475 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26477         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26478         (hidden_proto): Caller changed.
26479         (hidden_tls_proto): New macro.
26480         (libc_hidden_tls_proto): Likewise.
26481         (rtld_hidden_tls_proto): Likewise.
26482         (libm_hidden_tls_proto): Likewise.
26483         (libresolv_hidden_tls_proto): Likewise.
26484         (librt_hidden_tls_proto): Likewise.
26485         (libdl_hidden_tls_proto): Likewise.
26486         (libnss_files_hidden_tls_proto): Likewise.
26487         (libnsl_hidden_tls_proto): Likewise.
26488         (libnss_nisplus_hidden_tls_proto): Likewise.
26489         (libutil_hidden_tls_proto): Likewise.
26491 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26493         [BZ #10253]
26494         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26495         (decompose_rpath): Defer expansion to fillin_rpath.
26496         (_dl_init_paths): Pass linkmap to fillin_rpath.
26498 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26500         * benchtests/Makefile: Add strsep.
26501         * benchtests/bench-strsep.c: New file: strsep benchtest.
26502         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26504 2013-11-18  Andreas Schwab  <schwab@suse.de>
26506         * locale/programs/locale.c (show_info) [case byte]: Check for
26507         '\377' instead of '\177'.
26508         * locale/C-monetary.c (not_available): Always use "\377".
26509         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26510         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26511         detect unavailable sign_posn locale elements.
26512         * locale/localeconv.c (__localeconv): For grouping and
26513         mon_grouping handle "\177" and "\377" like no grouping.
26514         (INT_ELEM): New macro.  Use it to set all numeric members.
26515         * locale/programs/ld-monetary.c (monetary_read)
26516         <tok_mon_grouping>: Normalize single -1 to the empty string.
26517         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26518         Likewise.
26520 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26522         [BZ #16055]
26523         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26524         when we match (nil).
26525         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26527 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26529         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26530         (NO_TEST_INLINE): Update value.
26531         (ERRNO_UNCHANGED): Likewise.
26532         (ERRNO_EDOM): Likewise.
26533         (ERRNO_ERANGE): Likewise.
26534         (IGNORE_RESULT): Likewise.
26535         (check_float_internal): Check signs of NaN results if
26536         TEST_NAN_SIGN used.
26537         (check_complex): Pass TEST_NAN_SIGN flag through to second
26538         check_float_internal call.
26539         (copysign_test_data): Add tests with quiet NaNs as second
26540         argument.  Use TEST_NAN_SIGN.
26541         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26542         TEST_NAN_SIGN.
26543         (signbit_test_data): Add tests of quiet NaN argument.
26544         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26546         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26547         $ignore_result.
26548         (parse_args): Handle function results specified as IGNORE.
26549         * math/libm-test.inc (IGNORE_RESULT): New macro.
26550         (check_float_internal): Do not check numerical result if flag
26551         IGNORE_RESULT set.
26552         (check_complex): Pass through IGNORE_RESULT to second
26553         check_float_internal call.
26554         (check_int): Do not check numerical result if flag IGNORE_RESULT
26555         set.
26556         (check_long): Likewise.
26557         (check_bool): Likewise.
26558         (check_longlong): Likewise.
26559         (lrint_test_data): Add tests of infinite and NaN arguments.
26560         (lrint_tonearest_test_data): Likewise.
26561         (lrint_towardzero_test_data): Likewise.
26562         (lrint_downward_test_data): Likewise.
26563         (lrint_upward_test_data): Likewise.
26564         (llrint_test_data): Likewise.
26565         (llrint_tonearest_test_data): Likewise.
26566         (llrint_towardzero_test_data): Likewise.
26567         (llrint_downward_test_data): Likewise.
26568         (llrint_upward_test_data): Likewise.
26569         (lround_test_data): Likewise.
26570         (llround_test_data): Likewise.
26572         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26573         (ERRNO_UNCHANGED): Update value.
26574         (ERRNO_EDOM): Likewise.
26575         (ERRNO_ERANGE): Likewise.
26576         (NO_TEST_INLINE_FLOAT): New macro.
26577         (NO_TEST_INLINE_DOUBLE): Likewise.
26578         (enable_test): New function.
26579         (RUN_TEST_f_f): Check enable_test before running test.
26580         (RUN_TEST_2_f): Likewise.
26581         (RUN_TEST_fff_f): Likewise.
26582         (RUN_TEST_c_f): Likewise.
26583         (RUN_TEST_f_f1): Likewise.
26584         (RUN_TEST_fF_f1): Likewise.
26585         (RUN_TEST_fI_f1): Likewise.
26586         (RUN_TEST_ffI_f1): Likewise.
26587         (RUN_TEST_c_c): Likewise.
26588         (RUN_TEST_cc_c): Likewise.
26589         (RUN_TEST_f_i): Likewise.
26590         (RUN_TEST_f_i_tg): Likewise.
26591         (RUN_TEST_ff_i_tg): Likewise.
26592         (RUN_TEST_f_b): Likewise.
26593         (RUN_TEST_f_b_tg): Likewise.
26594         (RUN_TEST_f_l): Likewise.
26595         (RUN_TEST_f_L): Likewise.
26596         (RUN_TEST_fFF_11): Likewise.
26597         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26598         conditionals.
26599         (cosh_test_data): Likewise.
26600         (exp_test_data): Likewise.
26601         (expm1_test_data): Likewise.
26602         (hypot_test_data): Likewise.
26603         (pow_test_data): Likewise.
26604         (sinh_test_data): Likewise.
26605         (tanh_test_data): Likewise.
26606         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26607         flags argument.
26609         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26610         tests with quiet NaN input and output.
26611         (acosh_test_data): Likewise.
26612         (asin_test_data): Likewise.
26613         (asinh_test_data): Likewise.
26614         (atan_test_data): Likewise.
26615         (atanh_test_data): Likewise.
26616         (atan2_test_data): Likewise.
26617         (cbrt_test_data): Likewise.
26618         (cos_test_data): Likewise.
26619         (cosh_test_data): Likewise.
26620         (erf_test_data): Likewise.
26621         (erfc_test_data): Likewise.
26622         (exp_test_data): Likewise.
26623         (exp10_test_data): Likewise.
26624         (exp2_test_data): Likewise.
26625         (expm1_test_data): Likewise.
26626         (hypot_test_data): Likewise.
26627         (j0_test_data): Likewise.
26628         (j1_test_data): Likewise.
26629         (jn_test_data): Likewise.
26630         (lgamma_test_data): Likewise.
26631         (log_test_data): Likewise.
26632         (log10_test_data): Likewise.
26633         (log1p_test_data): Likewise.
26634         (log2_test_data): Likewise.
26635         (pow_test_data): Likewise.
26636         (scalb_test_data): Likewise.
26637         (sin_test_data): Likewise.
26638         (sincos_test_data): Likewise.
26639         (sinh_test_data): Likewise.
26640         (tan_test_data): Likewise.
26641         (tanh_test_data): Likewise.
26642         (tgamma_test_data): Likewise.
26643         (y0_test_data): Likewise.
26644         (y1_test_data): Likewise.
26645         (yn_test_data): Likewise.
26647         [BZ #16167]
26648         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26649         argument being NaN and avoid computations with second argument in
26650         that case.
26651         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26652         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26653         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26655 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26657         * locale/iso-639.def: Add Chitwani Tharu (the).
26659 2013-11-14  Andreas Schwab  <schwab@suse.de>
26661         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26662         word instead of empty string.
26664 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26667         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26669         (__fe_nomask_env): Likewise.
26671 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26673         * benchtests/bench-timing.h: Include time.h.
26675 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26677         [BZ #15997]
26678         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26679         to 3.4.0 for x32.
26680         * sysdeps/unix/sysv/linux/configure: Regenerated.
26682 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26684         [BZ #16151]
26685         * stdlib/strtod_l.c (round_and_return): Do not consider
26686         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26687         exponent one less than half the least subnormal exponent.
26688         * stdlib/test-strtod-round-data: Add more tests.
26689         * stdlib/tst-strtod-round.c (tests): Regenerated.
26691 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26693         [BZ #14143]
26694         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26695         (__fe_mask_env): Likewise.
26696         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26697         libm_hidden_proto and add function prototype.
26698         (__fe_mask_env): Add function prototype.
26699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26700         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26702         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26704         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26706 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26708         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26709         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26711 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26713         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26714         of htab_find_slot().
26716 2013-11-11  David S. Miller  <davem@davemloft.net>
26718         [BZ #16150]
26719         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26720         symbol in the non-vis3 case in static builds.
26721         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26722         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26723         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26724         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26726 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26728         [BZ #387]
26729         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26730         it is empty.
26732 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26734         * benchtests/Makefile: Add bench-strtod.
26735         * benchtests/bench-strtod.c: New file: strtod benchtest
26737 2013-11-11  Andreas Schwab  <schwab@suse.de>
26739         [BZ #16153]
26740         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26741         terminating NUL in key length.
26743 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26745         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26746         Add artificial ODP entry for vDSO symbol for PPC64.
26747         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26748         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26750 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26752         [BZ #15374]
26753         * nss/getent.c (services_keys): Recognize services starting with digit.
26755 2013-11-06  David S. Miller  <davem@davemloft.net>
26757         [BZ #15985]
26758         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26759         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26761 2013-11-06  Will Newton  <will.newton@linaro.org>
26763         * manual/memory.texi (Malloc Examples): Remove register
26764         keyword from examples.
26766 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26768         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26770 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26772         [BZ #6981]
26773         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26774         depending on [__GCC_IEC_559 > 0].
26775         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26776         depending on [__GCC_IEC_559_COMPLEX > 0].
26778 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26780         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26781         to iso-639.def.
26783 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26785         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26787 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26789         [BZ #16112]
26790         * malloc/malloc (malloc_info): Do not handle first bin as
26791         special case.
26793 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26795         * locale/iso-639.def: Add Central Nahuatl (nhn).
26797 2013-11-01  Bruno Haible  <bruno@clisp.org>
26799         [BZ #7003]
26800         * manual/math.texi (BSD Random): Specify range upper bound as
26801         in POSIX.
26803 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26805         * locale/iso-639.def: Add Meadow Mari (mhr).
26807 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26809         [BZ #14752], [BZ #15763]
26810         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26811         Validate name.
26812         * rt/tst_shm.c: Add test for escaping directory.
26814 2013-10-31  Andreas Schwab  <schwab@suse.de>
26816         [BZ #15917]
26817         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26818         followed by 'x' as part of digit sequence.
26819         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26821 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26823         [BZ #16037]
26824         * configure.ac: allow GNU Make 4.0 and greater.
26825         * configure: Regenerated.
26827 2013-10-30  Will Newton  <will.newton@linaro.org>
26829         [BZ #16038]
26830         * malloc/hooks.c (memalign_check): Limit alignment to the
26831         maximum representable power of two.
26832         * malloc/malloc.c (__libc_memalign): Likewise.
26833         * malloc/tst-memalign.c (do_test): Add test for very
26834         large alignment values.
26835         * malloc/tst-posix_memalign.c (do_test): Likewise.
26837 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26839         [BZ #11087]
26840         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26841         (munmap_chunk): Likewise.
26842         (mremap_chunk): Likewise.
26844 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26846         [BZ #15799]
26847         * stdlib/div.c (div): Remove obsolete code.
26848         * stdlib/ldiv.c (ldiv): Likewise.
26849         * stdlib/lldiv.c (lldiv): Likewise.
26851 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26853         [BZ #16071]
26854         * nss/nss_files/files-XXX.c (get_contents_ret): New
26855         enumerator.
26856         (get_contents): New function.
26857         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26859 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26861         * configure.in: Moved to ...
26862         * configure.ac: ... here. Change reference to configure.in
26863         to configure.ac.
26864         * sysdeps/arm/preconfigure.ac: ... here.
26865         configure.in to configure.ac.
26866         * sysdeps/gnu/configure.in: Moved to ...
26867         * sysdeps/gnu/configure.ac: ... here.
26868         * sysdeps/i386/configure.in: Moved to ...
26869         * sysdeps/i386/configure.ac: ... here.
26870         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26871         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26872         * sysdeps/mach/configure.in: Moved to ...
26873         * sysdeps/mach/configure.ac: ... here.
26874         * sysdeps/mach/hurd/configure.in: Moved to ...
26875         * sysdeps/mach/hurd/configure.ac: ... here.
26876         * sysdeps/powerpc/configure.in: Moved to ...
26877         * sysdeps/powerpc/configure.ac: ... here.
26878         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26879         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26880         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26881         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26882         * sysdeps/s390/s390-32/configure.in: Moved to ...
26883         * sysdeps/s390/s390-32/configure.ac: ... here.
26884         * sysdeps/s390/s390-64/configure.in: Moved to ...
26885         * sysdeps/s390/s390-64/configure.ac: ... here.
26886         * sysdeps/sh/configure.in: Moved to ...
26887         * sysdeps/sh/configure.ac: ... here.
26888         * sysdeps/sparc/configure.in: Moved to ...
26889         * sysdeps/sparc/configure.ac: ... here.
26890         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26891         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26892         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26893         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26894         * sysdeps/x86_64/configure.in: Moved to ...
26895         * sysdeps/x86_64/configure.ac: ... here.
26896         * sysdeps/x86_64/preconfigure.in: Moved to ...
26897         * sysdeps/x86_64/preconfigure.ac: ... here.
26898         * aclocal.m4: Change reference to configure.in to configure.ac.
26899         * config.h.in: Likewise.
26900         * manual/install.texi: Likewise.
26901         * manual/maint.texi: Likewise.
26902         * Makefile: Likewise.
26903         * malloc/Makefile: Likewise.
26904         * nscd/Makefile: Likewise.
26905         * Makeconfig: Change reference to configure.in and
26906         preconfigure.in to configure.ac and preconfigure.ac
26907         respectively.
26908         * INSTALL: Regenerated.
26909         * configure: Likewise.
26910         * sysdeps/gnu/configure: Likewise.
26911         * sysdeps/i386/configure: Likewise.
26912         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26913         * sysdeps/mach/configure: Likewise.
26914         * sysdeps/mach/hurd/configure: Likewise.
26915         * sysdeps/powerpc/configure: Likewise.
26916         * sysdeps/powerpc/powerpc32/configure: Likewise.
26917         * sysdeps/powerpc/powerpc64/configure: Likewise.
26918         * sysdeps/s390/s390-32/configure: Likewise.
26919         * sysdeps/s390/s390-64/configure: Likewise.
26920         * sysdeps/sh/configure: Likewise.
26921         * sysdeps/sparc/configure: Likewise.
26922         * sysdeps/unix/sysv/linux/configure: Likewise.
26923         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26924         * sysdeps/x86_64/configure: Likewise.
26925         * sysdeps/x86_64/preconfigure: Likewise.
26927 2013-10-29  Andreas Schwab  <schwab@suse.de>
26929         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26931 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933         * benchtests/pow-inputs: Add new inputs.
26935         * benchtests/exp-inputs: Add new inputs.
26937         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26938         conditional check for return value.
26939         (__cos32): Likewise.
26941 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26943         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26944         to provide a boost for large inputs with word alignment.
26945         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26946         implementation based on optimized PPC64 strcpy.
26947         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26948         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26949         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26950         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26952 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26954         [BZ #2801]
26955         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26957 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26959         [BZ #14876]
26960         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26961         * time/tst-strptime.c (day_tests): Add testcase.
26963 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26965         [BZ #14029]
26966         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26968 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26970         [BZ #16074]
26971         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26972         MAP_FAILED on error.
26974 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26976         [BZ #16072]
26977         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26978         heap for large requests.
26980 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26982         [BZ #9954]
26983         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26984         result if the result has no associated interface.
26985         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26986         interface for all 127.X.Y.Z addresses.
26988 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26990         * locale/iso-639.def: Add Ligurian (lij)
26992 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26994         [BZ #15825]
26995         * sunrpc/rpc_main.c: Document rpcgen -5.
26997 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26999         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27001 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27003         [BZ #10278]
27004         * posix/glob.c: Match only directories when trailing slash is present.
27005         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27006         (main): Add testcase.
27008 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27010         [BZ #15670]
27011         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27013 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27015         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27016         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27017         AUTH_DES and cindex for FIPS 140-2.
27018         (DES Encryption): Add cindex FIPS 46-3.
27020         * locale/locarchive.h (struct locarhandle): Add fname.
27021         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27022         if an optional argument was specified to --list-archive,
27023         otherwise NULL.
27024         * locale/programs/locarchive.c (show_archive_content): Take new
27025         argument fname and pass it via ah.fname to open_archive.
27026         * locale/programs/localedef.h: Update decl.
27027         (open_archive): If AH->fname is non-null, open that file
27028         rather than the default file name, and don't ignore ENOENT.
27029         (create_archive): Set AH.fname to NULL.
27030         (delete_locales_from_archive): Likewise.
27031         (add_locales_to_archive): Likewise.
27032         * locale/programs/locfile.c (write_all_categories): Likewise.
27034 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27035             Aldy Hernandez  <aldyh@redhat.com>
27037         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27038         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27039         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27040         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27041         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27042         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27043         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27044         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27045         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27046         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27047         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27048         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27049         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27050         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27051         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27052         Likewise.
27053         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27054         Likewise.
27055         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27056         Likewise.
27057         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27058         Likewise.
27059         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27060         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27061         Likewise.
27062         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27063         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27064         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27065         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27066         Likewise.
27067         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27068         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27069         * sysdeps/powerpc/preconfigure: Likewise.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27071         Likewise.
27072         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27073         Replace contents of file by #include of <fenv_libc.h>.
27074         * sysdeps/powerpc/soft-fp/sfp-machine.h
27075         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27076         and <sys/prctl.h>.
27077         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27080         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27081         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27084         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27085         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27086         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27087         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27088         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27090         Allow copysignl PLT reference to be missing.
27092 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27093             Joseph Myers  <joseph@codesourcery.com
27095         [BZ #15948]
27096         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27097         single character.
27098         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27100 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27102         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27103         * elf/tst-tls1.c: Likewise.
27104         * elf/tst-tls10.h: Likewise.
27105         * elf/tst-tls14.c: Likewise.
27106         * elf/tst-tls2.c: Likewise.
27107         * elf/tst-tls3.c: Likewise.
27108         * elf/tst-tls4.c: Likewise.
27109         * elf/tst-tls5.c: Likewise.
27110         * elf/tst-tls6.c: Likewise.
27111         * elf/tst-tls7.c: Likewise.
27112         * elf/tst-tls8.c: Likewise.
27113         * elf/tst-tls9.c: Likewise.
27114         * elf/tst-tlsmod1.c: Likewise.
27115         * elf/tst-tlsmod13.c: Likewise.
27116         * elf/tst-tlsmod13a.c: Likewise.
27117         * elf/tst-tlsmod14a.c: Likewise.
27118         * elf/tst-tlsmod16a.c: Likewise.
27119         * elf/tst-tlsmod16b.c: Likewise.
27120         * elf/tst-tlsmod2.c: Likewise.
27121         * elf/tst-tlsmod3.c: Likewise.
27122         * elf/tst-tlsmod4.c: Likewise.
27123         * elf/tst-tlsmod5.c: Likewise.
27124         * elf/tst-tlsmod6.c: Likewise.
27126 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27128         [BZ #12486]
27129         * malloc/malloc.c: remove checks for statistics.
27131 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27133         [BZ #15277]
27134         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27135         * inet/tst-network.c: Add testcase.
27137 2013-10-17  Andreas Schwab  <schwab@suse.de>
27139         [BZ #15218]
27140         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27141         to determine canonical name.
27143 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27145         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27146         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27147         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27148         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27150         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27151         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27152         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27153         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27154         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27155         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27156         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27157         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27158         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27159         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27160         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27162         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27163         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27164         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27167         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27169         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27170         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27174         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27175         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27177         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27178         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27179         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27180         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27181         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27182         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27183         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27184         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27185         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27186         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27187         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27188         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27189         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27190         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27191         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27192         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27193         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27194         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27195         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27196         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27197         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27198         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27199         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27200         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27201         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27202         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27204 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27206         [BZ #16041]
27207         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27208         make result into a quiet NaN.
27210 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27212         * soft-fp/adddf3.c: Fix horizontal whitespace.
27213         * soft-fp/addsf3.c: Likewise.
27214         * soft-fp/addtf3.c: Likewise.
27215         * soft-fp/divdf3.c: Likewise.
27216         * soft-fp/divsf3.c: Likewise.
27217         * soft-fp/divtf3.c: Likewise.
27218         * soft-fp/double.h: Likewise.
27219         * soft-fp/eqdf2.c: Likewise.
27220         * soft-fp/eqsf2.c: Likewise.
27221         * soft-fp/eqtf2.c: Likewise.
27222         * soft-fp/extenddftf2.c: Likewise.
27223         * soft-fp/extended.h: Likewise.
27224         * soft-fp/extendsfdf2.c: Likewise.
27225         * soft-fp/extendsftf2.c: Likewise.
27226         * soft-fp/extendxftf2.c: Likewise.
27227         * soft-fp/fixdfdi.c: Likewise.
27228         * soft-fp/fixdfsi.c: Likewise.
27229         * soft-fp/fixdfti.c: Likewise.
27230         * soft-fp/fixsfdi.c: Likewise.
27231         * soft-fp/fixsfsi.c: Likewise.
27232         * soft-fp/fixsfti.c: Likewise.
27233         * soft-fp/fixtfdi.c: Likewise.
27234         * soft-fp/fixtfsi.c: Likewise.
27235         * soft-fp/fixtfti.c: Likewise.
27236         * soft-fp/fixunsdfdi.c: Likewise.
27237         * soft-fp/fixunsdfsi.c: Likewise.
27238         * soft-fp/fixunsdfti.c: Likewise.
27239         * soft-fp/fixunssfdi.c: Likewise.
27240         * soft-fp/fixunssfsi.c: Likewise.
27241         * soft-fp/fixunssfti.c: Likewise.
27242         * soft-fp/fixunstfdi.c: Likewise.
27243         * soft-fp/fixunstfsi.c: Likewise.
27244         * soft-fp/fixunstfti.c: Likewise.
27245         * soft-fp/floatdidf.c: Likewise.
27246         * soft-fp/floatdisf.c: Likewise.
27247         * soft-fp/floatditf.c: Likewise.
27248         * soft-fp/floatsidf.c: Likewise.
27249         * soft-fp/floatsisf.c: Likewise.
27250         * soft-fp/floatsitf.c: Likewise.
27251         * soft-fp/floattidf.c: Likewise.
27252         * soft-fp/floattisf.c: Likewise.
27253         * soft-fp/floattitf.c: Likewise.
27254         * soft-fp/floatundidf.c: Likewise.
27255         * soft-fp/floatundisf.c: Likewise.
27256         * soft-fp/floatunditf.c: Likewise.
27257         * soft-fp/floatunsidf.c: Likewise.
27258         * soft-fp/floatunsisf.c: Likewise.
27259         * soft-fp/floatunsitf.c: Likewise.
27260         * soft-fp/floatuntidf.c: Likewise.
27261         * soft-fp/floatuntisf.c: Likewise.
27262         * soft-fp/floatuntitf.c: Likewise.
27263         * soft-fp/fmadf4.c: Likewise.
27264         * soft-fp/fmasf4.c: Likewise.
27265         * soft-fp/fmatf4.c: Likewise.
27266         * soft-fp/gedf2.c: Likewise.
27267         * soft-fp/gesf2.c: Likewise.
27268         * soft-fp/getf2.c: Likewise.
27269         * soft-fp/ledf2.c: Likewise.
27270         * soft-fp/lesf2.c: Likewise.
27271         * soft-fp/letf2.c: Likewise.
27272         * soft-fp/muldf3.c: Likewise.
27273         * soft-fp/mulsf3.c: Likewise.
27274         * soft-fp/multf3.c: Likewise.
27275         * soft-fp/negdf2.c: Likewise.
27276         * soft-fp/negsf2.c: Likewise.
27277         * soft-fp/negtf2.c: Likewise.
27278         * soft-fp/op-1.h: Likewise.
27279         * soft-fp/op-2.h: Likewise.
27280         * soft-fp/op-4.h: Likewise.
27281         * soft-fp/op-8.h: Likewise.
27282         * soft-fp/op-common.h: Likewise.
27283         * soft-fp/quad.h: Likewise.
27284         * soft-fp/single.h: Likewise.
27285         * soft-fp/soft-fp.h: Likewise.
27286         * soft-fp/sqrtdf2.c: Likewise.
27287         * soft-fp/sqrtsf2.c: Likewise.
27288         * soft-fp/sqrttf2.c: Likewise.
27289         * soft-fp/subdf3.c: Likewise.
27290         * soft-fp/subsf3.c: Likewise.
27291         * soft-fp/subtf3.c: Likewise.
27292         * soft-fp/truncdfsf2.c: Likewise.
27293         * soft-fp/trunctfdf2.c: Likewise.
27294         * soft-fp/trunctfsf2.c: Likewise.
27295         * soft-fp/trunctfxf2.c: Likewise.
27296         * soft-fp/unorddf2.c: Likewise.
27297         * soft-fp/unordsf2.c: Likewise.
27298         * soft-fp/unordtf2.c: Likewise.
27300 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27302         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27303         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27305 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27307         * elf/dl-libc.c: Clear initfini list after freeing.
27309 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27311         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27312         * soft-fp/addsf3.c: Likewise.
27313         * soft-fp/addtf3.c: Likewise.
27314         * soft-fp/divdf3.c: Likewise.
27315         * soft-fp/divsf3.c: Likewise.
27316         * soft-fp/divtf3.c: Likewise.
27317         * soft-fp/double.h: Likewise.
27318         * soft-fp/eqdf2.c: Likewise.
27319         * soft-fp/eqsf2.c: Likewise.
27320         * soft-fp/eqtf2.c: Likewise.
27321         * soft-fp/extenddftf2.c: Likewise.
27322         * soft-fp/extended.h: Likewise.
27323         * soft-fp/extendsfdf2.c: Likewise.
27324         * soft-fp/extendsftf2.c: Likewise.
27325         * soft-fp/extendxftf2.c: Likewise.
27326         * soft-fp/fixdfdi.c: Likewise.
27327         * soft-fp/fixdfsi.c: Likewise.
27328         * soft-fp/fixdfti.c: Likewise.
27329         * soft-fp/fixsfdi.c: Likewise.
27330         * soft-fp/fixsfsi.c: Likewise.
27331         * soft-fp/fixsfti.c: Likewise.
27332         * soft-fp/fixtfdi.c: Likewise.
27333         * soft-fp/fixtfsi.c: Likewise.
27334         * soft-fp/fixtfti.c: Likewise.
27335         * soft-fp/fixunsdfdi.c: Likewise.
27336         * soft-fp/fixunsdfsi.c: Likewise.
27337         * soft-fp/fixunsdfti.c: Likewise.
27338         * soft-fp/fixunssfdi.c: Likewise.
27339         * soft-fp/fixunssfsi.c: Likewise.
27340         * soft-fp/fixunssfti.c: Likewise.
27341         * soft-fp/fixunstfdi.c: Likewise.
27342         * soft-fp/fixunstfsi.c: Likewise.
27343         * soft-fp/fixunstfti.c: Likewise.
27344         * soft-fp/floatdidf.c: Likewise.
27345         * soft-fp/floatdisf.c: Likewise.
27346         * soft-fp/floatditf.c: Likewise.
27347         * soft-fp/floatsidf.c: Likewise.
27348         * soft-fp/floatsisf.c: Likewise.
27349         * soft-fp/floatsitf.c: Likewise.
27350         * soft-fp/floattidf.c: Likewise.
27351         * soft-fp/floattisf.c: Likewise.
27352         * soft-fp/floattitf.c: Likewise.
27353         * soft-fp/floatundidf.c: Likewise.
27354         * soft-fp/floatundisf.c: Likewise.
27355         * soft-fp/floatunsidf.c: Likewise.
27356         * soft-fp/floatunsisf.c: Likewise.
27357         * soft-fp/floatuntidf.c: Likewise.
27358         * soft-fp/floatuntisf.c: Likewise.
27359         * soft-fp/floatuntitf.c: Likewise.
27360         * soft-fp/fmadf4.c: Likewise.
27361         * soft-fp/fmasf4.c: Likewise.
27362         * soft-fp/fmatf4.c: Likewise.
27363         * soft-fp/gedf2.c: Likewise.
27364         * soft-fp/gesf2.c: Likewise.
27365         * soft-fp/getf2.c: Likewise.
27366         * soft-fp/ledf2.c: Likewise.
27367         * soft-fp/lesf2.c: Likewise.
27368         * soft-fp/letf2.c: Likewise.
27369         * soft-fp/muldf3.c: Likewise.
27370         * soft-fp/mulsf3.c: Likewise.
27371         * soft-fp/multf3.c: Likewise.
27372         * soft-fp/negdf2.c: Likewise.
27373         * soft-fp/negsf2.c: Likewise.
27374         * soft-fp/negtf2.c: Likewise.
27375         * soft-fp/op-1.h: Likewise.
27376         * soft-fp/op-2.h: Likewise.
27377         * soft-fp/op-4.h: Likewise.
27378         * soft-fp/op-8.h: Likewise.
27379         * soft-fp/op-common.h: Likewise.
27380         * soft-fp/quad.h: Likewise.
27381         * soft-fp/single.h: Likewise.
27382         * soft-fp/soft-fp.h: Likewise.
27383         * soft-fp/sqrtdf2.c: Likewise.
27384         * soft-fp/sqrtsf2.c: Likewise.
27385         * soft-fp/sqrttf2.c: Likewise.
27386         * soft-fp/subdf3.c: Likewise.
27387         * soft-fp/subsf3.c: Likewise.
27388         * soft-fp/subtf3.c: Likewise.
27389         * soft-fp/truncdfsf2.c: Likewise.
27390         * soft-fp/trunctfdf2.c: Likewise.
27391         * soft-fp/trunctfsf2.c: Likewise.
27392         * soft-fp/trunctfxf2.c: Likewise.
27393         * soft-fp/unorddf2.c: Likewise.
27394         * soft-fp/unordsf2.c: Likewise.
27395         * soft-fp/unordtf2.c: Likewise.
27397 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27399         [BZ #15672]
27400         * misc/error.c (error_tail): Fix possible buffer overflow.
27402 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27404         [BZ #13028]
27405         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27406         address.
27408 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27410         [BZ #832]
27411         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27412         testing pipefail option.
27414 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27416         * soft-fp/double.h: Indent preprocessor directives inside #if.
27417         * soft-fp/extended.h: Likewise.
27418         * soft-fp/op-2.h: Likewise.
27419         * soft-fp/op-4.h: Likewise.
27420         * soft-fp/op-common.h: Likewise.
27421         * soft-fp/quad.h: Likewise.
27422         * soft-fp/single.h: Likewise.
27423         * soft-fp/soft-fp.h: Likewise.
27425 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27427         * iconv/iconv_prog.c: Fix typos.
27428         * stdio-common/psiginfo-data.h: Likewise.
27430 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27432         [BZ #15764]
27433         * locale/setlocale.c: Fix typo.
27435 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27437         [BZ #16036]
27438         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27439         signaling NaN arguments.
27440         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27441         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27443         [BZ #14910]
27444         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27445         unordered operands.
27446         * soft-fp/gesf2.c (__gesf2): Likewise.
27447         * soft-fp/getf2.c (__getf2): Likewise.
27448         * soft-fp/ledf2.c (__ledf2): Likewise.
27449         * soft-fp/lesf2.c (__lesf2): Likewise.
27450         * soft-fp/letf2.c (__letf2): Likewise.
27452         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27453         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27454         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27455         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27456         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27457         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27458         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27459         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27460         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27461         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27462         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27463         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27464         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27465         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27466         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27467         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27468         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27469         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27470         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27471         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27472         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27473         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27474         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27475         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27476         * soft-fp/floattidf.c (__floattidf): Likewise.
27477         * soft-fp/floattisf.c (__floattisf): Likewise.
27478         * soft-fp/floattitf.c (__floattitf): Likewise.
27479         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27480         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27481         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27482         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27483         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27484         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27485         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27486         * soft-fp/gesf2.c (__gesf2): Likewise.
27487         * soft-fp/getf2.c (__getf2): Likewise.
27488         * soft-fp/ledf2.c (__ledf2): Likewise.
27489         * soft-fp/lesf2.c (__lesf2): Likewise.
27490         * soft-fp/letf2.c (__letf2): Likewise.
27492         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27493         Undefine and redefine.
27494         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27495         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27496         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27497         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27498         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27499         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27500         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27501         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27502         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27503         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27504         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27505         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27506         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27507         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27508         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27510         [BZ #16032]
27511         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27512         without decrementing exponent if mantissa >= that for the
27513         denominator, not >.
27514         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27515         denominator, not >.  Decrement exponent in < case instead of
27516         incrementing in >= case.
27517         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27518         without decrementing exponent if mantissa >= that for the
27519         denominator, not >.
27521         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27522         computing saturated result for unsigned overflow.
27524 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27525             Jeff Law  <law@redhat.com>
27527         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27528         (atan2Mp): Add systemtap probe marker.
27529         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27530         (__ieee754_log): Add systemtap probe marker.
27531         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27532         (atanMp): Add systemtap probe marker.
27533         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27534         (tanMp): Add systemtap probe marker.
27535         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27536         (__slowexp): Add systemtap probe marker.
27537         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27538         (__slowpow): Add systemtap probe marker.
27539         * manual/probes.texi: Document probes.
27541 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27543         [BZ #15362]
27544         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27545         written.
27546         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27547         written.
27548         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27549         written to buffer but not flushed.
27550         * libio/iofwrite_u.c:  Likewise.
27551         * libio/iopadn.c:  Return bytes returned even if EOF was
27552         encountered.
27553         * libio/iowpadn.c:  Likewise.
27554         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27555         if _IO_padn does not write the whole buffer.
27556         [!COMPILE_WPRINTF] (PAD): Likewise.
27558 2013-10-10  David S. Miller  <davem@davemloft.net>
27560         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27561         directory block.
27563 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27565         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27566         instead of FSF address.
27567         * soft-fp/fixdfti.c: Likewise.
27568         * soft-fp/fixsfti.c: Likewise.
27569         * soft-fp/fixtfti.c: Likewise.
27570         * soft-fp/fixunsdfti.c: Likewise.
27571         * soft-fp/fixunssfti.c: Likewise.
27572         * soft-fp/fixunstfti.c: Likewise.
27573         * soft-fp/floattidf.c: Likewise.
27574         * soft-fp/floattisf.c: Likewise.
27575         * soft-fp/floattitf.c: Likewise.
27576         * soft-fp/floatuntidf.c: Likewise.
27577         * soft-fp/floatuntisf.c: Likewise.
27578         * soft-fp/floatuntitf.c: Likewise.
27579         * soft-fp/trunctfxf2.c: Likewise.
27581         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27582         * soft-fp/fixdfti.c: Likewise.
27583         * soft-fp/fixsfti.c: Likewise.
27584         * soft-fp/fixtfti.c: Likewise.
27585         * soft-fp/fixunsdfti.c: Likewise.
27586         * soft-fp/fixunssfti.c: Likewise.
27587         * soft-fp/fixunstfti.c: Likewise.
27588         * soft-fp/floattidf.c: Likewise.
27589         * soft-fp/floattisf.c: Likewise.
27590         * soft-fp/floattitf.c: Likewise.
27591         * soft-fp/floatuntidf.c: Likewise.
27592         * soft-fp/floatuntisf.c: Likewise.
27593         * soft-fp/floatuntitf.c: Likewise.
27594         * soft-fp/trunctfxf2.c: Likewise.
27596 2013-10-10  David S. Miller  <davem@davemloft.net>
27598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27600 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27602         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27603         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27604         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27605         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27606         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27607         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27608         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27611         for NaNs before doing comparisons on argument.
27612         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27613         Likewise.
27615 2013-10-10  Will Newton  <will.newton@linaro.org>
27617         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27618         passed to _int_memalign does not overflow.
27620 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27622         * scripts/bench.pl: Add include-sources directive.
27623         * benchtests/README: Update documentation.
27625 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27627         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27628         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27629         instead of FP_INIT_ROUNDMODE.
27630         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27631         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27633         [BZ #16034]
27634         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27635         copy class of input value.
27636         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27637         not handle exceptions.
27638         * soft-fp/negsf2.c (__negsf2): Likewise.
27639         * soft-fp/negtf2.c (__negtf2): Likewise.
27640         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27642 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27644         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27645         semicolon.  From Linux kernel.
27647 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27649         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27651 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27653         [BZ #156]
27654         * manual/socket.texi: Added statement about buffer
27655         for gethostbyname2_r.
27657 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27659         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27660         Use .p2align directive instead, throughout.
27661         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27662         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27663         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27664         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27665         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27666         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27667         * sysdeps/x86_64/strchr.S: Likewise.
27668         * sysdeps/x86_64/strrchr.S: Likewise.
27670 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27672         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27674         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27676         * sysdeps/generic/math_private.h (__mpsin1): Remove
27677         declaration.
27678         (__mpcos1): Likewise.
27679         (__mpsin): New argument __range_reduce.
27680         (__mpcos): Likewise.
27681         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27682         (slow): Use __mpsin and __mpcos.
27683         (slow1): Likewise.
27684         (slow2): Likewise.
27685         (sloww): Likewise.
27686         (sloww1): Likewise.
27687         (sloww2): Likewise.
27688         (bsloww): Likewise.
27689         (bsloww1): Likewise.
27690         (bsloww2): Likewise.
27691         (cslow2): Likewise.
27692         (csloww): Likewise.
27693         (csloww1): Likewise.
27694         (csloww2): Likewise.
27695         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27696         range_reduce.  Merge in __mpsin1.
27697         (__mpcos): Likewise.
27698         (__mpsin1): Remove.
27699         (__mpcos1): Likewise.
27701 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27703         * locale/loadlocale.c (_nl_intern_locale_data): Use
27704         LOCFILE_ALIGNED_P.
27705         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27706         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27707         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27708         obstack data is appropriately aligned.
27709         (obstack_int32_grow_fast): Likewise.
27710         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27711         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27712         (add_locale_uint32_array): Likewise.
27714 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716         * benchtests/Makefile: Remove ARGLIST and RET variables.
27717         ($(objpfx)bench-%.c): Pass only function name to the script.
27718         * benchtests/README: Update documentation.
27719         * benchtests/acos-inputs: Add new directives.
27720         * benchtests/acosh-inputs: Likewise.
27721         * benchtests/asin-inputs: Likewise.
27722         * benchtests/asinh-inputs: Likewise.
27723         * benchtests/atan-inputs: Likewise.
27724         * benchtests/atanh-inputs: Likewise.
27725         * benchtests/cos-inputs: Likewise.
27726         * benchtests/cosh-inputs: Likewise.
27727         * benchtests/exp-inputs: Likewise.
27728         * benchtests/log-inputs: Likewise.
27729         * benchtests/pow-inputs: Likewise.
27730         * benchtests/rint-inputs: Likewise.
27731         * benchtests/sin-inputs: Likewise.
27732         * benchtests/sinh-inputs: Likewise.
27733         * benchtests/tan-inputs: Likewise.
27734         * benchtests/tanh-inputs: Likewise.
27735         * scripts/bench.pl: Add support for new directives.
27737 2013-10-07  Alan Modra  <amodra@gmail.com>
27739         * README: Fix careless merge.
27741 2013-10-05  Alan Modra  <amodra@gmail.com>
27743         * NEWS: Mention powerpc64le support and bugs fixed.
27744         * README: Both big-endian and little-endian powerpc64 supported.
27746 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27748         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27749         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27750         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27751         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27753 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27755         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27756         match prototype.
27758 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27760         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27761         Move -mhard-float appending from
27762         ports/sysdeps/powerpc/powerpc32/Makefile.
27763         [$(with-fp) = yes] (ASFLAGS): Likewise.
27764         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27765         * sysdeps/powerpc/nofpu: Move directory from
27766         ports/sysdeps/powerpc/nofpu.
27767         * sysdeps/powerpc/soft-fp: Move directory from
27768         ports/sysdeps/powerpc/soft-fp.
27769         * sysdeps/powerpc/powerpc32/405: Move directory from
27770         ports/sysdeps/powerpc/powerpc32/405.
27771         * sysdeps/powerpc/powerpc32/440: Move directory from
27772         ports/sysdeps/powerpc/powerpc32/440.
27773         * sysdeps/powerpc/powerpc32/464: Move directory from
27774         ports/sysdeps/powerpc/powerpc32/464.
27775         * sysdeps/powerpc/powerpc32/476: Move directory from
27776         ports/sysdeps/powerpc/powerpc32/476.
27777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27778         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27780         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27782         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27784         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27786         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27787         * README: Update for powerpc-*-linux-gnu software floating point
27788         support in libc.
27790         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27791         case to powerpc/powerpc32*.
27792         * sysdeps/unix/sysv/linux/configure: Regenerated.
27794         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27795         (_FPU_MASK_OM): Define as 0x04.
27796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27798         0x00c10080.
27799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27800         0x0000003c.
27801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27804         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27805         getcontext_e500.
27806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27807         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27808         setcontext_e500.
27809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27810         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27811         and setcontext_e500.
27813 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27815         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27817 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27819         * manual/threads.texi (Default Thread Attributes): Fix typo.
27821 2013-10-04  Will Newton  <will.newton@linaro.org>
27823         * malloc/Makefile: Add tst-memalign.
27824         * malloc/tst-memalign.c: New file.
27826         * malloc/tst-posix_memalign.c: Add comments.
27827         (do_test): Add comments and call free on all potentially
27828         allocated pointers. Add space after cast.
27830         * malloc/tst-pvalloc.c: Add comments.
27831         (do_test): Add comments and call free on all potentially
27832         allocated pointers. Remove duplicate check for NULL pointer.
27833         Add space after cast.
27835         * malloc/tst-valloc.c: Add comments.
27836         (do_test): Add comments and call free on all potentially
27837         allocated pointers. Remove duplicate check for NULL pointer.
27838         Add space after cast.
27840 2013-10-04  Alan Modra  <amodra@gmail.com>
27842         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27843         Use stdint types in rather than __attribute__((mode())).
27844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27846 2013-10-04  Alan Modra  <amodra@gmail.com>
27848         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27849         Correct handling of unaligned relocs for little-endian.
27850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27852 2013-10-04  Alan Modra  <amodra@gmail.com>
27854         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27855         * configure: Regenerate.
27856         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27857         * shlib-versions: Likewise.
27859 2013-10-04  Alan Modra  <amodra@gmail.com>
27861         * string/tester.c (test_memrchr): Increment reported test cycle.
27863 2013-10-04  Alan Modra  <amodra@gmail.com>
27865         * string/test-memcpy.c (do_one_test): When reporting errors, print
27866         string address and don't overrun end of string.
27868 2013-10-04  Alan Modra  <amodra@gmail.com>
27870         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27871         insrdi.  Make better use of reg selection to speed exit slightly.
27872         Schedule entry path a little better.  Remove useless "are we done"
27873         checks on entry to main loop.  Handle wrapping around zero address.
27874         Correct main loop count.  Handle single left-over word from main
27875         loop inline rather than by using loop_small.  Remove extra word
27876         case in loop_small caused by wrong loop count.  Add little-endian
27877         support.
27878         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27879         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27880         cache hint.
27881         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27882         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27883         support.  Avoid rlwimi.
27884         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27886 2013-10-04  Alan Modra  <amodra@gmail.com>
27888         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27889         insrdi.  Formatting.
27890         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27891         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27892         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27893         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27894         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27895         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27897 2013-10-04  Alan Modra  <amodra@gmail.com>
27899         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27900         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27902         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27903         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27904         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27905         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27906         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27907         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27908         use of regs.  Use power7 mtocrf.  Tidy function tails.
27910 2013-10-04  Alan Modra  <amodra@gmail.com>
27912         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27913         Formatting.  Consistently use rXXX register defines or rN defines.
27914         Use early exit labels that avoid restoring unused non-volatile regs.
27915         Make cr field use more consistent with rWORDn compares.  Rename
27916         regs used as shift registers for unaligned loop, using rN defines
27917         for short lifetime/multiple use regs.
27918         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27919         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27920         addi 1,1,64 to pop stack frame.  Simplify return value code.
27921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27923 2013-10-04  Alan Modra  <amodra@gmail.com>
27925         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27926         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27927         rather than rlwimi.
27928         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27929         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27930         little-endian support.  Correct typos.
27931         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27932         rather than rlwimi.
27933         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27934         in loop and entry code to keep "and." results.
27935         (strchr): Add little-endian support.  Comment.  Move cntlzd
27936         earlier in tail.
27937         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27939 2013-10-04  Alan Modra  <amodra@gmail.com>
27941         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27942         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27943         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27944         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27946 2013-10-04  Alan Modra  <amodra@gmail.com>
27948         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27949         (rTMP): Define as r11.
27950         (strcmp): Add little-endian support.  Optimise tail.
27951         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27952         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27953         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27954         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27955         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27956         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27957         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27959 2013-10-04  Alan Modra  <amodra@gmail.com>
27961         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27962         little-endian support.  Remove unnecessary "are we done" tests.
27963         Handle "s" wrapping around zero and extremely large "size".
27964         Correct main loop count.  Handle single left-over word from main
27965         loop inline rather than by using small_loop.  Correct comments.
27966         Delete "zero" tail, use "end_max" instead.
27967         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27969 2013-10-04  Alan Modra  <amodra@gmail.com>
27971         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27972         support.  Don't branch over align.
27973         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27974         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27975         support.  Rearrange tmp reg use to suit.  Comment.
27976         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27978 2013-10-04  Alan Modra  <amodra@gmail.com>
27980         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27982 2013-10-04  Alan Modra  <amodra@gmail.com>
27984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27985         conditional form of branch and link when obtaining pc.
27986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27988 2013-10-04  Alan Modra  <amodra@gmail.com>
27990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27991         HIWORD/LOWORD.
27992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27995 2013-10-04  Alan Modra  <amodra@gmail.com>
27997         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27998         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27999         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28000         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28001         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28002         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28003         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28004         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28005         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28006         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28008 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28009             Alistair Popple <alistair@ozlabs.au.ibm.com>
28010             Alan Modra <amodra@gmail.com>
28012         [BZ #15723]
28013         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28014         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28015         _dl_hwcap access for little-endian.
28016         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28017         destroy vmx regs when saving unaligned.
28018         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28019         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28020         destroy vmx regs when saving unaligned.
28022 2013-10-04  Alan Modra  <amodra@gmail.com>
28024         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28025         Don't use a union to pack hi/low value.
28027 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28029         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28030         for little-endian.
28031         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28032         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28033         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28034         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28035         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28037 2013-10-04  Alan Modra  <amodra@gmail.com>
28039         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28040         constants to usual value for .cst8 section, and remove redundant
28041         high address load.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28043         constant for 0x1p52.  Load little-endian words of double from
28044         correct stack offsets.
28046 2013-10-04  Alan Modra  <amodra@gmail.com>
28048         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28049         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28050         words of double from correct stack offsets.
28051         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28052         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28053         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28054         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28055         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28056         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28057         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28058         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28059         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28060         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28061         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28062         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28063         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28064         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28065         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28066         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28067         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28069 2013-10-04  Alan Modra  <amodra@gmail.com>
28071         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28072         64-bit int/double union.
28073         (_FPU_SETCW): Likewise.
28074         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28075         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28077 2013-10-04  Alan Modra  <amodra@gmail.com>
28079         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28080         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28082 2013-10-04  Alan Modra  <amodra@gmail.com>
28084         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28085         use vector int constants.
28086         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28088 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28090         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28091         array with long long.
28092         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28093         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28094         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28095         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28096         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28097         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28098         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28099         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28100         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28101         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28102         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28103         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28104         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28106 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28108         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28109         (__signbit): Likewise.  Correct for little-endian.
28110         (__signbitl): Call __signbit.
28111         (lrint): Correct for little-endian.
28112         (lrintf): Call lrint.
28114 2013-10-04  Alan Modra  <amodra@gmail.com>
28116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28117         union 32-bit int array member with 64-bit int array.
28118         (t515, tm256): Double rather than long double.
28119         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28121 2013-10-04  Alan Modra  <amodra@gmail.com>
28123         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28124         Delete.
28125         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28126         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28127         version of math_ldbl.h.
28129 2013-10-04  Alan Modra  <amodra@gmail.com>
28131         [BZ #15734], [BZ #15735]
28132         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28133         all uses of ieee875 long double macros and unions.  Simplify test
28134         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28135         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28136         normalize after ldbl_extract_mantissa, and don't add hidden bit
28137         already handled.  Don't treat low word of ieee854 mantissa like
28138         low word of IBM long double and mask off bit when testing for
28139         zero.
28140         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28141         all uses of ieee875 long double macros and unions.  Simplify tests
28142         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28143         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28144         two1022, instead use their values.  Recognise that tests for large
28145         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28146         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28147         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28148         test for 0.0L and nan.  Correct negation.
28149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28150         ieee875 long double macros and unions.  Correct output for large
28151         magnitude x.  Correct absolute value calculation.
28152         (__erfcl): Likewise.
28153         * math/libm-test.inc: Add tests for errors discovered in IBM long
28154         double versions of fmodl, remainderl, erfl and erfcl.
28156 2013-10-04  Alan Modra  <amodra@gmail.com>
28158         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28159         all uses of ieee854 long double macros and unions.  Simplify tests
28160         for long doubles that are fully specified by the high double.
28161         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28162         Likewise.
28163         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28164         Remove dead code too.
28165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28166         (__ieee754_ynl): Likewise.
28167         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28168         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28170         Remove dead code too.
28171         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28172         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28173         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28174         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28175         Simplify.
28176         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28177         Simplify.
28178         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28179         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28180         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28181         Comment on variable precision.
28182         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28183         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28184         Likewise.
28185         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28186         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28187         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28188         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28189         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28191 2013-10-04  Alan Modra  <amodra@gmail.com>
28193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28195         all uses of ieee854 long double macros and unions.
28196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28200         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28201         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28202         Likewise.
28203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28204         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28206         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28207         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28208         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28209         Simplify sign and nan test too.
28210         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28211         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28212         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28213         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28214         Likewise.
28215         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28217         Likewise.
28218         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28219         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28220         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28221         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28222         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28225 2013-10-04  Alan Modra  <amodra@gmail.com>
28227         * stdio-common/printf_size.c (__printf_size): Don't use
28228         union ieee854_long_double in fpnum union.
28229         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28230         signbit macro to retrieve sign from long double.
28231         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28232         retrieve sign from long double.
28233         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28234         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28235         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28236         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28237         * math/test-misc.c (main): Don't use union ieee854_long_double.
28239 2013-10-04  Alan Modra  <amodra@gmail.com>
28241         [BZ #15680]
28242         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28243         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28244         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28245         calculation.  Remove unnecessary test for denormal exponent.
28246         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28247         Correct handling of denormals.  Avoid undefined shift behaviour.
28248         Correct normalisation of low mantissa when low double is denormal.
28249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28250         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28251         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28252         Correct normalisation of low mantissa.  Test for overflow of high
28253         mantissa and normalise.
28254         (ldbl_nearbyint): Use more readable constant for two52.
28255         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28256         (__mpn_construct_long_double): Fix test for overflow of high
28257         mantissa and correct normalisation.  Avoid undefined shift.
28259 2013-10-04  Alan Modra  <amodra@gmail.com>
28261         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28262         (union ibm_extended_long_double): Define as an array of ieee754_double.
28263         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28264         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28265         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28266         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28267         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28268         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28269         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28270         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28271         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28272         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28273         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28275 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28277         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28278         page size instead of calling getpagesize.
28280         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28281         (LOCFILE_ALIGN_MASK): Likewise.
28282         (LOCFILE_ALIGN_UP): Likewise.
28283         (LOCFILE_ALIGNED_P): Likewise.
28284         * locale/programs/ld-collate.c (collate_output): Use the new
28285         macros instead of __alignof__ (int32_t).
28286         * locale/weight.h (findidx): Likewise.
28288 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28290         [BZ #431]
28291         * manual/string.texi: Fix strncat and wcsncat.
28293 2013-10-03  Brooks Moses  <bmoses@google.com>
28295         [BZ #15915]
28296         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28297         * Makerules: ...here, and adjust associated comments.
28299 2013-10-02  Will Newton  <will.newton@linaro.org>
28301         * malloc/Makefile: Add tst-pvalloc.
28302         * malloc/tst-pvalloc.c: New file.
28304 2013-10-02  Will Newton  <will.newton@linaro.org>
28306         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28307         improve test coverage.
28309 2013-10-02  Will Newton  <will.newton@linaro.org>
28311         * malloc/Makefile: Add tst-posix_memalign.
28312         * malloc/tst-posix_memalign.c: New file.
28314 2013-10-01  Eric Blake  <eblake@redhat.com>
28316         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28317         Use __THROWNL rather than __THROW on static functions.
28319 2013-09-30  Petr Machata  <pmachata@redhat.com>
28321         * elf/elf.h (R_AARCH64_ABS16): New macro.
28322         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28323         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28324         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28325         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28326         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28327         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28328         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28329         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28330         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28331         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28332         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28333         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28334         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28335         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28336         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28337         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28338         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28339         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28340         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28341         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28342         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28343         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28344         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28345         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28346         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28347         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28348         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28349         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28350         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28351         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28352         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28353         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28354         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28355         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28356         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28357         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28358         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28359         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28360         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28361         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28362         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28363         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28364         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28365         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28366         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28367         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28368         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28369         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28370         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28371         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28372         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28373         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28374         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28375         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28376         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28377         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28378         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28379         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28380         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28381         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28382         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28383         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28384         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28385         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28386         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28387         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28388         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28389         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28390         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28391         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28392         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28393         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28394         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28395         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28396         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28397         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28398         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28399         (R_AARCH64_TLSDESC_LDR): Likewise.
28400         (R_AARCH64_TLSDESC_ADD): Likewise.
28401         (R_AARCH64_TLSDESC_CALL): Likewise.
28403 2013-09-30  Andreas Schwab  <schwab@suse.de>
28405         [BZ #15048]
28406         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28407         the nss database lookup.
28408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28411 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28413         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28415 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28417         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28418         ${Bash-specific parameter/pattern/string} parameter expansion.
28419         * sysdeps/unix/make-syscalls.sh: Likewise.
28421 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28423         * sysdeps/sh/stackguard-macros.h: New file.
28425 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28428         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28429         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28430         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28431         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28432         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28434 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28436         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28437         Fix thread ID register.
28439 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28441         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28442         [POSIX || UNIX98]: Require rather than permitting all symbols from
28443         <time.h>.
28444         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28445         element of struct sched_param.
28446         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28447         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28448         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28449         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28450         constant.
28452 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28454         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28455         argument calculation.
28457 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28459         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28460         Expect macro.
28461         [POSIX] (pthread_attr_t): Do not require type.
28462         [POSIX] (pthread_cond_t): Likewise.
28463         [POSIX] (pthread_condattr_t): Likewise.
28464         [POSIX] (pthread_key_t): Likewise.
28465         [POSIX] (pthread_mutex_t): Likewise.
28466         [POSIX] (pthread_mutexattr_t): Likewise.
28467         [POSIX] (pthread_once_t): Likewise.
28468         [POSIX] (pthread_t): Likewise.
28469         [POSIX-based standards] (pthread_atfork): Expect function.
28471 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28472             Richard Sandiford  <richard@codesourcery.com>
28474         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28475         (swap_endianness_p): New extern variable.
28476         (set_big_endian): New inline function.
28477         (maybe_swap_uint32): Likewise.
28478         (maybe_swap_uint32_array): Likewise.
28479         (maybe_swap_uint32_obstack): Likewise.
28480         * locale/programs/locfile.c: Include <stdbool.h>.
28481         (swap_endianness_p): New variable.
28482         (add_locale_uint32): Call maybe_swap_uint32.
28483         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28484         (write_locale_data): Call maybe_swap_uint32_array.
28485         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28486         maybe_swap_uint32.
28487         (obstack_int32_grow_fast): Likewise.
28488         (output_weightwc): Call maybe_swap_uint32_obstack.
28489         (collate_output): Likewise.
28490         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28491         (OPT_LITTLE_ENDIAN): Likewise.
28492         (options): Add --little-endian and --big-endian options.
28493         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28494         * locale/programs/locarchive.c: Include "locfile.h".
28495         (GET): New macro.
28496         (SET): Likewise.
28497         (INC): Likewise.
28498         (create_archive): Use the new macros to access fields of
28499         structures directly mapped from or written to locale archives.
28500         (oldlocrecentcmp): Likewise.
28501         (enlarge_archive): Likewise.
28502         (insert_name): Likewise.
28503         (add_alias): Likewise.
28504         (add_locale): Likewise.
28505         (delete_locales_from_archive): Likewise.
28506         (show_archive_content): Likewise.
28507         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28508         locale data.
28510 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28512         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28513         http://www.gnu.org/doc/freemanuals.texi.
28514         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28516 2013-09-24  Will Newton  <will.newton@linaro.org>
28518         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28519         macro.
28521 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28523         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28524         unsigned char.
28526 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28528         * manual/threads.texi (POSIX Threads): Fix a typo.
28530 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28532         [BZ #14547]
28533         * string/tst-strcoll-overflow.c: New test case.
28534         * string/Makefile (xtests): Add tst-strcoll-overflow.
28535         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28536         cache if string sizes may cause integer overflow.
28538         [BZ #14547]
28539         * string/strcoll_l.c (coll_seq): New members rule, idx,
28540         save_idx and back_us.
28541         (get_next_seq_nocache): New function.
28542         (do_compare_nocache): New function.
28543         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28544         when malloc fails.
28546 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28548         [BZ #15754]
28549         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28550         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28551         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28553         [BZ #15754]
28554         * elf/Makefile (tests): Add tst-ptrguard1.
28555         (tests-static): Add tst-ptrguard1-static.
28556         (tst-ptrguard1-ARGS): Define.
28557         (tst-ptrguard1-static-ARGS): Define.
28558         * elf/tst-ptrguard1.c: New file.
28559         * elf/tst-ptrguard1-static.c: New file.
28560         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28561         * sysdeps/i386/stackguard-macros.h: Likewise.
28562         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28563         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28564         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28565         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28566         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28567         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28569 2013-09-23  Hector Marco  <hecmargi@upv.es>
28570             Ismael Ripoll  <iripoll@disca.upv.es>
28571             Carlos O'Donell  <carlos@redhat.com>
28573         [BZ #15754]
28574         * sysdeps/generic/stackguard-macros.h: Define
28575         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28576         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28577         Define __pointer_chk_guard_local.
28578         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28579         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28581 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28583         [BZ #15859]
28584         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28586 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28588         * include/string.h (__ffs): Declare as hidden.
28589         * string/ffs.c (__ffs): Define as hidden.
28590         * sysdeps/i386/ffs.c (__ffs): Likewise.
28591         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28592         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28593         * sysdeps/s390/ffs.c (__ffs): Likewise.
28594         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28596 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28598         * NEWS: Mention malloc probes.
28600         * malloc/arena.c (new_heap): New memory_heap_new probe.
28601         (grow_heap): New memory_heap_more probe.
28602         (shrink_heap): New memory_heap_less probe.
28603         (heap_trim): New memory_heap_free probe.
28604         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28605         (systrim): New memory_sbrk_less probe.
28606         * manual/probes.texi: Document them.
28608         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28609         * manual/probes.texi: Document it.
28611         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28612         (__libc_realloc): Add memory_realloc_retry probe.
28613         (__libc_memalign): Add memory_memalign_retry probe.
28614         (__libc_valloc): Add memory_valloc_retry probe.
28615         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28616         (__libc_calloc): Add memory_calloc_retry probe.
28617         * manual/probes.texi: Document them.
28619         * malloc/arena.c (get_free_list): Add probe
28620         memory_arena_reuse_free_list.
28621         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28622         and memory_arena_reuse.
28623         (arena_get2) [!PER_THREAD]: Likewise.
28624         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28625         memory_arena_reuse_realloc.
28626         * manual/probes.texi: Document them.
28628         * malloc/malloc.c (__libc_free): Add
28629         memory_mallopt_free_dyn_thresholds probe.
28630         (__libc_mallopt): Add multiple memory_mallopt probes.
28631         * manual/probes.texi: Document them.
28633         * malloc/malloc.c: Include stap-probe.h.
28634         (__libc_mallopt): Add memory_mallopt probe.
28635         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28636         * manual/probes.texi: New.
28637         * manual/Makefile (chapters): Add probes.
28638         * manual/threads.texi: Set next node.
28640 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28642         [BZ #15963, #13985]
28643         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28644         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28645         Add `Chinese' to `nan' entry name.
28647 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28649         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28650         (POLYNOMIAL): Likewise.
28651         (TAYLOR_SINCOS): Likewise.
28652         (TAYLOR_SLOW): Likewise.
28653         (__sin): Use TAYLOR_SINCOS.
28654         (__cos): Likewise.
28655         (slow): Use TAYLOR_SLOW.
28656         (sloww): Likewise.
28657         (bsloww): Likewise.
28658         (csloww): Likewise.
28660 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28662         * stdlib/strtod_l.c: Fix buffer overrun.
28664 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28666         * benchtests/Makefile (bench): Add sincos.
28667         * benchtests/bench-sincos.c: New file.
28669         * math/libm-test.inc (cos_test_data): New test inputs.
28670         (sin_test_data): Likewise.
28672         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28673         macro.
28674         (__sin): Use it.
28675         (__cos): Likewise.
28676         (slow1): Likewise.
28677         (slow2): Likewise.
28678         (sloww1): Likewise.
28679         (sloww2): Likewise.
28680         (bsloww1): Likewise.
28681         (bsloww2): Likewise.
28682         (cslow2): Likewise.
28683         (csloww1): Likewise.
28684         (csloww2): Likewise.
28686         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28687         function.
28688         (__sin): Use it.
28689         (__cos): Likewise.
28691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28692         gotos.
28693         (__cos): Likewise.
28695 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28697         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28698         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28699         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28700         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28701         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28702         * elf/cache.c (print_entry): Handle the new cache flags.
28704 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28705             Aldy Hernandez  <aldyh@redhat.com>
28707         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28708         Change condition to [_SOFT_FLOAT].
28709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28721         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28722         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28724         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28725         declaration.
28727 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28729         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28730         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28731         (__longjmp): Use LOAD_GP to load saved GPRs.
28732         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28733         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28734         (__sigsetjmp): Use SAVE_GP to save GPRs.
28736         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28737         Do not append -msoft-float.
28738         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28740 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28742         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28744 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28746         [BZ #15966]
28747         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28748         (_FPU_GETCW): Use initial "__" on variable and field names but not
28749         on macro parameter name.
28750         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28751         parentheses around reference to macro parameter.
28753 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28755         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28756         prototype.
28757         (ctype_startup): Use uint32_t in cast and sizeof for
28758         ctype->charnames.
28760 2013-09-11  Jia Liu  <proljc@gmail.com>
28762         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28763         __daddr_t_defined.
28764         [__FreeBSD__]: Likewise.
28766 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28769         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28770         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28771         (strchr): Remove __strchr_sse42 ifunc selection.
28772         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28773         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28775 2013-09-11  Will Newton  <will.newton@linaro.org>
28777         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28778         parameter to RES. Remove hardcoded 1000 value.
28779         * benchtests/bench-skeleton.c (main): Pass RES parameter
28780         to TIMING_INIT and multiply result by 1000.
28782 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28786 2013-09-11  Andreas Schwab  <schwab@suse.de>
28788         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28789         if not defined.
28790         (O_TMPFILE) [__USE_GNU]: Define.
28791         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28792         Define.
28794 2013-09-11  Will Newton  <will.newton@linaro.org>
28796         [BZ #15857]
28797         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28798         does not overflow.
28800 2013-09-11  Will Newton  <will.newton@linaro.org>
28802         [BZ #15856]
28803         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28804         does not overflow.
28806 2013-09-11  Will Newton  <will.newton@linaro.org>
28808         [BZ #15855]
28809         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28810         does not overflow.
28812 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28814         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28815         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28816         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28817         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28818         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28820 2013-09-10  Allan McRae  <allan@archlinux.org>
28822         [BZ #15748]
28823         * manual/arith.texi (Parsing of Floats): Clarify
28824         cross-reference.
28826         [BZ #15849]
28827         * manual/install.texi (Running make install): Mention
28828         --enable-pt-chown.
28829         * INSTALL: Regenerated.
28831 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28833         * csu/init-first.c (_init): Remove the !SHARED condition around
28834         FPU control word initialization.
28835         * elf/dl-support.c (_dl_fpu_control): New variable.
28836         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28837         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28838         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28839         * math/test-fpucw-static.c: New file.
28840         * math/test-fpucw-ieee.c: New file.
28841         * math/test-fpucw-ieee-static.c: New file.
28842         * math/Makefile (tests): Add `test-fpucw-ieee' and
28843         `$(tests-static)'.
28844         (tests-static): New variable.
28845         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28846         dependency to...
28847         [($(build-shared),yes)]
28848         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28849         ... this.
28850         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28851         New dependency.
28853 2013-09-09  Allan McRae  <allan@archlinux.org>
28855         [BZ #15939]
28856         * manual/string.texi (Collation Functions): Fix typo in
28857         strcoll example.
28858         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28860         [BZ #15893]
28861         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28863         [BZ #15892]
28864         * libio/memstream.c (open_memstream): Fix memory leak.
28865         * libio/wmemstream.c (open_wmemstream): Likewise.
28867         [BZ #15895]
28868         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28870 2013-09-09  Will Newton  <will.newton@linaro.org>
28872         * malloc/Makefile: Add tst-realloc to tests.
28873         * malloc/tst-realloc.c: New file.
28875 2013-09-09  Allan McRae  <allan@archlinux.org>
28877         [BZ #15844]
28878         * COPYING: Update from GNU website to fix FSF address.
28879         * COPYING.LIB: Likewise.
28881 2013-09-06  David S. Miller  <davem@davemloft.net>
28883         * po/zh_TW.po: Update Chinese (traditional) translation from
28884         translation project.
28886 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28887             Joseph Myers  <joseph@codesourcery.com>
28889         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28890         "localeinfo.h".
28891         (obstack_chunk_alloc): New macro.
28892         (obstack_chunk_free): Likewise.
28893         (record_offset): New function.
28894         (init_locale_data): Likewise.
28895         (align_locale_data): Likewise.
28896         (add_locale_empty): Likewise.
28897         (add_locale_raw_data): Likewise.
28898         (add_locale_raw_obstack): Likewise.
28899         (add_locale_string): Likewise.
28900         (add_locale_wstring): Likewise.
28901         (add_locale_uint32): Likewise.
28902         (add_locale_uint32_array): Likewise.
28903         (add_locale_char): Likewise.
28904         (start_locale_structure): Likewise.
28905         (end_locale_structure): Likewise.
28906         (start_locale_prelude): Likewise.
28907         (end_locale_prelude): Likewise.
28908         (write_locale_data): Take locale_file structure rather than an
28909         iovec.
28910         * locale/programs/locfile.h: Include "obstack.h".
28911         (struct locale_file): Change to store locale file contents instead
28912         of header.
28913         (init_locale_data): New prototype.
28914         (align_locale_data): Likewise.
28915         (add_locale_empty): Likewise.
28916         (add_locale_raw_data): Likewise.
28917         (add_locale_raw_obstack): Likewise.
28918         (add_locale_string): Likewise.
28919         (add_locale_wstring): Likewise.
28920         (add_locale_uint32): Likewise.
28921         (add_locale_uint32_array): Likewise.
28922         (add_locale_char): Likewise.
28923         (start_locale_structure): Likewise.
28924         (end_locale_structure): Likewise.
28925         (start_locale_prelude): Likewise.
28926         (end_locale_prelude): Likewise.
28927         (write_locale_data): Update prototype.
28928         * locale/programs/3level.h (struct TABLE): Remove result field.
28929         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28930         Use new locale_file interface.
28931         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28932         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28933         * locale/programs/ld-address.c (address_output): Use new
28934         locale_file interface.
28935         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28936         NO_ADD_LOCALE.
28937         (collate_finish): Don't call collseq_table_finalize.
28938         (collate_output): Use new locale_file interface.
28939         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28940         in file.
28941         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28942         (TABLE): Move defines earlier in file.
28943         (ELEMENT): Likewise.
28944         (DEFAULT): Likewise.
28945         (wctrans_table_add): Move macro and inline function earlier in
28946         file.
28947         (struct wctype_table): Move type earlier in file.
28948         (add_locale_wctype_table): New static prototype.
28949         (struct locale_ctype_t): Use logical types instead of struct iovec
28950         pointers for members.
28951         (ctype_output): Use new locale_file interface.
28952         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28953         new locale_file interface.
28954         (allocate_arrays): Update for use of new locale_file interface.
28955         * locale/programs/ld-identification.c (identification_output): Use
28956         new locale_file interface.
28957         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28958         * locale/programs/ld-messages.c (messages_output): Likewise.
28959         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28960         * locale/programs/ld-name.c (name_output): Likewise.
28961         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28962         * locale/programs/ld-paper.c (paper_output): Likewise.
28963         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28964         * locale/programs/ld-time.c (time_output): Likewise.
28966 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28968         * benchtests/Makefile: Add memrchr benchmark.
28969         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28970         benchmark as memrchr.
28971         * benchtests/bench-memrchr-ifunc.c: New file.
28972         * benchtests/bench-memrchr.c: New file.
28974 2013-09-06   Will Newton  <will.newton@linaro.org>
28976         * benchtests/Makefile (string-bench): Add memcpy.
28978 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28979             Cong Wang  <amwang@redhat.com>
28981         [BZ #15850]
28982         * sysdeps/unix/sysv/linux/bits/in.h
28983         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28984         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28985         before __USE_KERNEL_IPV6_DEFS uses.
28986         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28987         IPPROTO_BEETPH.
28988         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28989         sockaddr_in6, or ipv6_mreq.
28991 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28993         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28994         memory access for final bytes in some large inputs.
28995         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28997 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28999         * string/test-memrchr.c: New file.
29000         * string/test-memrchr-ifunc.c: New file.
29001         * string/Makefile: Add new memrchr testcase.
29003 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29005         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29006         fanotify_init returns EPERM.
29008 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29010         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29011         errors.
29012         (top level): Treat second token from macro or constant entries for
29013         allowed headers as allowed.
29014         * include/complex.h: Condition internal declarations on
29015         [!_ISOMAC].
29016         * include/fenv.h: Condition include of <stdbool.h> and internal
29017         declarations on [!_ISOMAC].
29019 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29021         [BZ #15923]
29022         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29024 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29026         * configure.in (--enable-versioning): Remove configure option.
29027         (libc_cv_asm_symver_directive): Remove configure test.
29028         (libc_cv_ld_version_script_option): Likewise.
29029         (VERSIONING): Remove variable and AC_SUBST.
29030         (DO_VERSIONING): Remove AC_DEFINE.
29031         * configure: Regenerated.
29032         * config.h.in (DO_VERSIONING): Remove macro.
29033         * Makerules [$(versioning) = yes]: Change conditionals to
29034         [$(build-shared) = yes].
29035         * config.make.in (versioning): Remove variable.
29036         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29037         [$(build-shared) = yes].
29038         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29039         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29040         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29041         [$(build-shared) = yes].
29042         * extra-lib.mk [$(versioning) = yes]: Likewise.
29043         * hurd/Makefile [$(versioning) = yes]: Likewise.
29044         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29045         [SHARED].
29046         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29047         [SHARED].
29048         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29049         [SHARED && !NO_HIDDEN].
29050         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29051         [SHARED].
29052         [SHARED && DO_VERSIONING]: Likewise..
29053         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29054         [$(build-shared) = yes].
29055         * manual/install.texi (--disable-versioning): Remove
29056         documentation.
29057         * INSTALL: Regenerated.
29058         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29059         to [SHARED].
29060         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29061         [$(build-shared) = yes].
29062         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29063         * sysdeps/i386/i686/multiarch/strstr-c.c
29064         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29065         [SHARED && !NO_HIDDEN].
29066         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29067         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29068         * sysdeps/powerpc/powerpc32/dl-machine.c
29069         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29070         * sysdeps/powerpc/powerpc32/sysdep.h
29071         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29072         to [SHARED && PIC && !NO_HIDDEN].
29073         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29074         conditional to [SHARED].
29076 2013-09-04   Will Newton  <will.newton@linaro.org>
29078         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29079         * benchtests/bench-string.h: Include bench-timing.h instead
29080         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29081         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29082         call to HP_TIMING_DIFF_INIT.
29083         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29084         instead of hp-timing.h macros.
29085         * benchtests/bench-memchr.c: Likewise.
29086         * benchtests/bench-memcmp.c: Likewise.
29087         * benchtests/bench-memcpy.c: Likewise.
29088         * benchtests/bench-memmem.c: Likewise.
29089         * benchtests/bench-memmove.c: Likewise.
29090         * benchtests/bench-memset.c: Likewise.
29091         * benchtests/bench-rawmemchr.c: Likewise.
29092         * benchtests/bench-strcasecmp.c: Likewise.
29093         * benchtests/bench-strcasestr.c: Likewise.
29094         * benchtests/bench-strcat.c: Likewise.
29095         * benchtests/bench-strchr.c: Likewise.
29096         * benchtests/bench-strcmp.c: Likewise.
29097         * benchtests/bench-strcpy.c: Likewise.
29098         * benchtests/bench-strcpy_chk.c: Likewise.
29099         * benchtests/bench-strlen.c: Likewise.
29100         * benchtests/bench-strncasecmp.c: Likewise.
29101         * benchtests/bench-strncat.c: Likewise.
29102         * benchtests/bench-strncmp.c: Likewise.
29103         * benchtests/bench-strncpy.c: Likewise.
29104         * benchtests/bench-strnlen.c: Likewise.
29105         * benchtests/bench-strpbrk.c: Likewise.
29106         * benchtests/bench-strrchr.c: Likewise.
29107         * benchtests/bench-strspn.c: Likewise.
29108         * benchtests/bench-strstr.c: Likewise.
29110 2013-09-04  Will Newton  <will.newton@linaro.org>
29112         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29114 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29116         [BZ #15427]
29117         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29118         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29119         * math/libm-test.inc (lgamma_test_data): Add more tests.
29120         * sysdeps/i386/fpu/libm-test-ulps: Update.
29121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29123 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29125         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29127         Add ifunc.
29128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29129         Add strcmp-sse2-unaligned
29130         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29132 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29134         * Versions.def (libc): Add GLIBC_2.19.
29136 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29138         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29139         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29141 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29143         [BZ #14155]
29144         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29145         intermediate calculations in recurrence.
29146         (__ieee754_ynf): Likewise.
29147         * math/libm-test.inc (jn_test_data): Do not allow spurious
29148         underflow exception.  Add more tests.
29149         (yn_test_data): Add more tests.
29150         * sysdeps/i386/fpu/libm-test-ulps: Update.
29151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29153 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29155         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29157 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29159         * csu/init-first.c: Fix then/than typos.
29160         * locale/programs/ld-collate.c: Likewise.
29161         * locale/programs/linereader.h: Likewise.
29162         * manual/charset.texi: Likewise.
29163         * manual/filesys.texi: Likewise.
29164         * manual/stdio.texi: Likewise.
29165         * manual/string.texi: Likewise.
29166         * stdlib/fmtmsg.c: Likewise.
29167         * sysdeps/i386/stpncpy.S: Likewise.
29168         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29169         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29170         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29171         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29173 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29175         * elf/dl-open.c: Fix typos.
29176         * iconvdata/gbbig5.c: Likewise.
29177         * iconvdata/iso-2022-jp.c: Likewise.
29178         * iconv/gconv_int.h: Likewise.
29179         * iconv/loop.c: Likewise.
29180         * nis/rpcsvc/nis.h: Likewise.
29181         * resolv/ns_name.c: Likewise.
29182         * stdio-common/vfscanf.c: Likewise.
29183         * streams/stropts.h: Likewise.
29184         * sunrpc/rpc_thread.c: Likewise.
29185         * sysdeps/i386/strpbrk.S: Likewise.
29186         * sysdeps/ieee754/k_standard.c: Likewise.
29187         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29189         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29190         * sysdeps/mach/hurd/profil.c: Likewise.
29191         * sysdeps/s390/dl-procinfo.h: Likewise.
29192         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29193         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29194         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29195         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29198 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29200         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29203 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29205         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29206         aix specific files.
29207         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29208         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29209         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29210         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29211         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29212         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29213         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29214         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29216 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29217             Roland McGrath  <roland@hack.frob.com>
29219         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29220         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29222 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29224         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29225         __executable_start symbol instead of _start.
29227 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29229         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29230         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29231         Move macros to...
29232         * sysdeps/gnu/ldsodefs.h: ... this new file.
29234         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29235         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29236         instead of ELFOSABI_LINUX.
29238         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29239         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29240         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29241         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29242         Likewise.
29243         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29244         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29245         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29246         Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29248         (ibm_extended_long_double): Add ieee_nan member.
29249         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29250         (do_test): New function.
29252         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29253         TEST_TRUNC.
29254         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29255         functions, renamed from truncdfsf_test, trunctfsf_test,
29256         trunctfdf_test.
29257         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29258         functions.
29259         (do_test): Run all these.
29261 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29263         * argp/argp-help.c: Fix typos.
29264         * argp/argp-parse.c: Likewise.
29265         * debug/backtracesyms.c: Likewise.
29266         * elf/elf.h: Likewise.
29267         * malloc/malloc.c: Likewise.
29268         * nis/nis_print.c: Likewise.
29269         * resolv/res_comp.c: Likewise.
29270         * stdlib/stdlib.h: Likewise.
29271         * sunrpc/clnt_tcp.c: Likewise.
29272         * sunrpc/clnt_udp.c: Likewise.
29273         * sunrpc/clnt_unix.c: Likewise.
29274         * sysdeps/unix/bsd/ptsname.c: Likewise.
29275         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29276         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29278         Likewise.
29279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29280         Likewise.
29281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29282         Likewise.
29283         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29285 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29287         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29290 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29292         [BZ #15897]
29293         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29294         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29295         ($(objpfx)bug-dl-leaf): New rule.
29296         ($(objpfx)bug-dl-leaf.so): Likewise.
29297         ($(objpfx)bug-dl-leaf.out): Likewise.
29298         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29299         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29300         * dlfcn/bug-dl-leaf.c: New test.
29301         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29302         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29303         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29304         (dlclose): Likewise.
29305         (dlmopen): Likewise.
29307 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29309         * include/netdb.h [!_ISOMAC]:
29310         Don't include <tls.h>.
29311         (h_errno, __libc_h_errno): Move declaration and macros out of
29312         [_LIBC_REENTRANT].
29314         * include/resolv.h [_RESOLV_H_]:
29315         Don't include <tls.h>.
29316         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29317         * resolv/res_libc.c: Don't include <tls.h>.
29318         (_res): Use __attribute__ ((nocommon)) in place of
29319         __attribute__ ((section (".bss"))).
29321         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29322         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29324         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29326         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29327         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29329         * resolv/res_mkquery.c: Include <sys/time.h>.
29331         * inet/ifreq.c: Moved to ...
29332         * sysdeps/unix/ifreq.c: ... here.
29333         * inet/ifreq.c: New file, true stub version.
29335         * socket/sa_len.c: New file.
29336         * socket/Makefile (aux): Add it.
29337         * sysdeps/unix/sysv/linux/Makefile
29338         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29339         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29340         and #include <socket/sa_len.c>.
29341         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29342         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29344         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29345         * bits/socket.h: ... here.
29347         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29348         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29349         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29351 2013-08-27  Andreas Schwab  <schwab@suse.de>
29353         [BZ #15736]
29354         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29355         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29356         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29357         * string/test-strcasecmp.c (test_main): Run tests in several
29358         locales.
29359         * string/test-strncasecmp.c (test_main): Likewise.
29361         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29362         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29363         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29365         (__strncasecmp_ssse3) [PIC]: Likewise.
29367 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29369         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29371         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29372         instead of explicitly declaring xdecrypt.
29373         * nis/nss_nis/nis-publickey.c: Likewise.
29375 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29377         [BZ #15890]
29378         * nscd/aicache.c: Include res_hconf.h.
29379         (addhstaiX): Initialize res_hconf.
29381 2013-08-26  Andreas Schwab  <schwab@suse.de>
29383         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29384         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29386 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29388         * nscd/aicache.c (addhstaiX): Fix indentation.
29390 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29392         * configure.ac: Quote $build_pt_chown test.
29393         * configure: Regenerated.
29395 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29397         [BZ #15532]
29398         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29399         * math/s_cexpf.c (__cexpf): Likewise.
29400         * math/s_cexpl.c (__cexpl): Likewise.
29401         * math/libm-test.inc (cexp_test_data): Correct expected return
29402         value for NaN + i0.  Add another test.
29404 2013-08-22  David S. Miller  <davem@davemloft.net>
29406         * po/ca.po: Update Catalan translation from translation project.
29407         * po/uk.po: Add Ukrainian translations from translation project.
29409 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29411         [BZ #15797]
29412         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29413         is infinite, not alongside NaN test.
29414         * math/s_fdimf.c (__fdimf): Likewise.
29415         * math/s_fdiml.c (__fdiml): Likewise.
29416         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29417         errno is unchanged.
29419 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29421         * argp/argp-help.c: Fix typos.
29422         * crypt/speeds.c: Likewise.
29423         * csu/check_fds.c: Likewise.
29424         * elf/dl-load.c: Likewise.
29425         * elf/dl-open.c: Likewise.
29426         * elf/reldep3.c: Likewise.
29427         * elf/reldep.c: Likewise.
29428         * elf/sprof.c: Likewise.
29429         * iconv/iconv_charmap.c: Likewise.
29430         * iconv/skeleton.c: Likewise.
29431         * iconv/strtab.c: Likewise.
29432         * io/lockf64.c: Likewise.
29433         * libio/libioP.h: Likewise.
29434         * resolv/gai_notify.c: Likewise.
29435         * resolv/ns_name.c: Likewise.
29436         * resolv/ns_samedomain.c: Likewise.
29437         * resolv/res_send.c: Likewise.
29438         * stdlib/random.c: Likewise.
29439         * sunrpc/rpc/xdr.h: Likewise.
29440         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29441         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29442         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29443         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29444         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29445         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29446         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29447         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29448         * sysdeps/mach/hurd/check_fds.c: Likewise.
29449         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29450         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29452         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29453         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29454         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29455         * sysdeps/pthread/aio_notify.c: Likewise.
29456         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29457         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29458         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29459         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29460         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29462 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29464         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29465         version if bit_Slow_SSE4_2 is set.
29466         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29467         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29469 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29471         [BZ #15867]
29472         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29473         trampoline stack frame information.
29474         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29475         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29476         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29477         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29478         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29479         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29480         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29481         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29482         sa_flags value.
29483         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29484         interrupting a syscall and set with option SA_SIGINFO.
29486 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29488         [BZ #15531]
29489         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29490         argument is infinite.
29491         * math/s_cprojf.c (__cprojf): Likewise.
29492         * math/s_cprojl.c (__cprojl): Likewise.
29493         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29494         * math/libm-test.inc (cproj_test_data): Add more tests.
29496         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29498         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29499         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29500         size.  Use __ffs to determine corresponding shift.
29502 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29503             Roland McGrath  <roland@hack.frob.com>
29505         * Makefile (INSTALL): Remove trailing blank lines from output of
29506         makeinfo.
29508 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29510         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29511         Align 32 bit compat elf_greg to 8 bytes.
29513 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29515         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29517 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29519         * string/strcoll_l.c (coll_seq): New structure.
29520         (get_next_seq_cached): New function.
29521         (get_next_seq): New function.
29522         (do_compare): New function.
29523         (STRCOLL): Use GNU style definition.  Simplify implementation
29524         by using get_next_seq, get_next_seq_cached and do_compare.
29526 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29528         [BZ #14699]
29529         CVE-2013-4237
29530         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29531         member.
29532         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29533         member.
29534         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29535         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29536         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29537         conditional.
29538         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29539         GETDENTS_64BIT_ALIGNED.
29540         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29541         * manual/filesys.texi (Reading/Closing Directory): Document
29542         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29543         strongly.
29544         * manual/conf.texi (Limits for Files): Add portability note to
29545         NAME_MAX, PATH_MAX.
29546         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29548 2013-08-13  Andreas Schwab  <schwab@suse.de>
29550         [BZ #15749]
29551         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29552         of fabs.
29553         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29554         LDBL_MAX_EXP >= 16384]: Add tests for it.
29556 2013-08-12  David S. Miller  <davem@davemloft.net>
29558         * version.h (RELEASE): Set to "development".
29559         (VERSION): Set to "2.18.90".
29560         * NEWS: Add 2.19 section.
29562 2013-08-03  David S. Miller  <davem@davemloft.net>
29564         * po/ko.po: Update Korean translation from translation project.
29566 2013-08-01  David S. Miller  <davem@davemloft.net>
29568         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29569         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29570         Bilka.
29572 2013-07-30  David S. Miller  <davem@davemloft.net>
29574         * po/fr.po: Update French translation from translation project.
29576 2013-07-28  David S. Miller  <davem@davemloft.net>
29578         * po/cs.po: Update Czech translation from translation project.
29580         * po/sv.po: Update Swedish translation from translation project.
29582 2013-07-27  David S. Miller  <davem@davemloft.net>
29584         * po/eo.po: Update Esperanto translation from translation project.
29586         * po/vi.po: Update Vietnamese translation from translation project.
29588         * po/de.po: Update German translation from translation project.
29590 2013-07-26  David S. Miller  <davem@davemloft.net>
29592         * po/bg.po: Update Bulgarian translation from translation project.
29594         * po/nl.po: Update Dutch translation from translation project.
29595         * po/pl.po: Update Polish translation from translation project.
29596         * po/ru.po: Update Russian translation from translation project.
29598 2013-07-24  David S. Miller  <davem@davemloft.net>
29600         * po/libc.pot: Update.
29602 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29604         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29605         variable page size.
29606         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29607         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29608         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29610 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29612         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29614 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29615             Andreas Schwab  <schwab@suse.de>
29616             Roland McGrath  <roland@hack.frob.com>
29617             Joseph Myers  <joseph@codesourcery.com>
29618             Carlos O'Donell  <carlos@redhat.com>
29620         [BZ #15755]
29621         * config.h.in: Define HAVE_PT_CHOWN.
29622         * config.make.in (build-pt-chown): New variable.
29623         * configure.in (--enable-pt_chown): New configure option.
29624         * configure: Regenerate.
29625         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29626         build-pt-chown is enabled.
29627         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29628         pt_chown to fix pty ownership.
29629         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29630         CLOSE_ALL_FDS.
29631         * manual/install.texi (Configuring and compiling): Mention
29632         --enable-pt_chown. Add @findex for grantpt.
29633         * INSTALL: Regenerate.
29635 2013-07-20  David S. Miller  <davem@davemloft.net>
29637         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29638         difference between 32-bit and 64-bit.
29640 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29642         [BZ #15711]
29643         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29644         Avoid system header dependency with -ffreestanding.
29645         ($(objpfx)bits/syscall%d): Likewise.
29647 2013-07-13  David S. Miller  <davem@davemloft.net>
29649         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29650         underflows from atanl/atan2l due to bug 15319.
29651         (casinh_test_data): Likewise.
29653 2013-07-07  David S. Miller  <davem@davemloft.net>
29655         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29657 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29659         * sysdeps/i386/fpu/libm-test-ulps: Update.
29660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29662 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29664         * configure.in (--enable-lock-elision): Fix message text.
29665         * INSTALL: Regenerate.
29666         * configure: Regenerate.
29668 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29672 2013-07-03  Andreas Jaeger  <aj@suse.de>
29674         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29675         define.
29676         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29677         (ptrace_peeksiginfo_args): Add.
29678         (__ptrace_peeksiginfo_flags): Add.
29679         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29681         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29683 2013-07-03  Allan McRae  <allan@archlinux.org>
29685         * sysdeps/i386/fpu/libm-test-ulps: Update.
29687 2013-07-02  David S. Miller  <davem@davemloft.net>
29689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29691 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29695 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29697         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29700 2013-07-02  Andi Kleen <ak@linux.intel.com>
29702         * config.h.in (ENABLE_LOCK_ELISION): Add.
29703         * configure.in (--enable-lock-elision): Add option.
29704         * manual/install.texi: Document --enable lock elision.
29705         * configure: Regenerate
29706         * INSTALL: Regenerate.
29708 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29710         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29711         SSE4.2 strcasecmp for libc.a.
29712         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29714 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29716         [BZ #13304]
29717         * soft-fp/op-common.h (_FP_FMA): New macro.
29718         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29719         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29720         (_FP_MUL_MEAT_1_imm): ... here.
29721         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29722         (_FP_MUL_MEAT_1_wide): ... here.
29723         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29724         (_FP_MUL_MEAT_1_hard): ... here.
29725         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29726         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29727         (_FP_MUL_MEAT_2_wide): ... here.
29728         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29729         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29730         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29731         (_FP_MUL_MEAT_2_gmp): ... here.
29732         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29733         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29734         (_FP_MUL_MEAT_4_wide): ... here.
29735         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29736         (_FP_MUL_MEAT_4_gmp): ... here.
29737         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29738         (_FP_WFRACBITS_DW_S): Likewise.
29739         (_FP_WFRACXBITS_DW_S): Likewise.
29740         (_FP_HIGHBIT_DW_S): Likewise.
29741         (FP_FMA_S): Likewise.
29742         (_FP_FRAC_HIGH_DW_S): Likewise.
29743         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29744         (_FP_WFRACBITS_DW_D): Likewise.
29745         (_FP_WFRACXBITS_DW_D): Likewise.
29746         (_FP_HIGHBIT_DW_D): Likewise.
29747         (FP_FMA_D): Likewise.
29748         (_FP_FRAC_HIGH_DW_D): Likewise.
29749         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29750         (_FP_WFRACBITS_DW_E): Likewise.
29751         (_FP_WFRACXBITS_DW_E): Likewise.
29752         (_FP_HIGHBIT_DW_E): Likewise.
29753         (FP_FMA_E): Likewise.
29754         (_FP_FRAC_HIGH_DW_E): Likewise.
29755         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29756         (_FP_WFRACBITS_DW_Q): Likewise.
29757         (_FP_WFRACXBITS_DW_Q): Likewise.
29758         (_FP_HIGHBIT_DW_Q): Likewise.
29759         (FP_FMA_Q): Likewise.
29760         (_FP_FRAC_HIGH_DW_Q): Likewise.
29761         * soft-fp/fmasf4.c: New file.
29762         * soft-fp/fmadf4.c: Likewise.
29763         * soft-fp/fmatf4.c: Likewise.
29765 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29768         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29769         Silvermont.
29770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29771         macro.
29772         (index_Slow_SSE4_2): Likewise.
29773         (index_Prefer_PMINUB_for_stringop): Likewise.
29774         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29775         bit_Slow_SSE4_2 is set.
29776         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29777         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29779 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29781         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29782         rtld_global._dl_hwcap2.
29783         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29784         POWER8.
29785         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29786         POWER8 feature descriptions defined in _dl_hwcap2.
29787         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29788         string handling for POWER8 feature bits.
29789         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29790         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29791         _dl_powerpc_cap_flags.
29792         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29793         * sysdeps/powerpc/rtld-global-offsets.sym
29794         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29795         _dl_hwcap2 in the rtld_global_ro structure.
29797 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29799         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29800         hardware capabilities in support of AT_HWCAP2.
29801         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29802         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29803         GLRO(dl_hwcap2).
29804         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29805         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29806         explicitly the unknown a_type display mechanism is used.
29807         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29808         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29809         struct member.
29810         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29811         to macro prototype for AT_HWCAP2 support.
29812         * sysdeps/i386/dl-procinfo.h: Likewise.
29813         * sysdeps/s390/dl-procinfo.h: Likewise.
29814         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29815         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29816         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29817         return -1 for unknown a_type display fallback.
29818         * sysdeps/sparc/dl-procinfo.h: Likewise.
29819         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29820         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29822 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29824         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29825         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29827 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29829         [BZ #12492]
29830         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29831         mprotect making __stack_prot writable.
29833 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29834             Joseph Myers  <joseph@codesourcery.com>
29836         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29837         as being properly aligned.
29839 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29841         * dlfcn/modstatic5.c: New file.
29842         * dlfcn/tststatic5.c: New file.
29843         * dlfcn/Makefile (tests): Add tststatic5.
29844         (tests-static): Likewise.
29845         (modules-names): Add modstatic5.
29846         (tststatic5-ENV): New variable.
29847         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29849         [BZ #15022]
29850         * elf/dl-support.c (_dl_main_map): New variable.
29851         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29852         (_dl_nns, _dl_load_adds): Set to 1.
29853         (_dl_initial_searchlist): Refer to _dl_main_map.
29854         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29855         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29856         call to _dl_get_origin.
29857         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29858         around call_map.
29859         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29860         * dlfcn/modstatic3.c: New file.
29861         * dlfcn/tststatic3.c: New file.
29862         * dlfcn/tststatic4.c: New file.
29863         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29864         (tests-static): Likewise.
29865         (modules-names): Add modstatic3.
29866         (tststatic3-ENV, tststatic4-ENV): New variables.
29867         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29868         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29870 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29872         * configure.in (CC): Require GCC version 4.4 or later.
29873         * configure: Regenerated.
29874         * manual/install.texi (Tools for Compilation): Update GCC version
29875         requirement.
29876         * INSTALL: Regenerated.
29878 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29880         [BZ #15674]
29881         * string/test-memcmp.c (check2): New.
29882         (main): Call check2.
29884         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29886 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29888         [BZ #15022]
29889         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29890         over to...
29891         (dl_open_worker) [!SHARED]: ... here.
29893 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29895         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29897 2013-06-25  Richard Henderson  <rth@redhat.com>
29899         * locale/programs/locarchive.c: Include <libc-internal.h>
29901 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29903         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29904         trailing whitespace removed.
29906 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29908         [BZ #10283]
29909         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29910         * locale/programs/locarchive.c: Include libc-mmap.h.
29911         (prepare_address_space): Take two new outputs (the mmap base and len).
29912         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29913         values.
29914         (create_archive): Declare new mmap base and len values for
29915         prepare_address_space, and store the result in ah.
29916         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29917         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29918         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29919         Declare new mmap base and len values for
29920         prepare_address_space, and store the result in new_ah.
29921         (open_archive): Declare new mmap base and len values for
29922         prepare_address_space, and store the result in ah.
29923         (close_archive): If ah->mmap_base is not NULL, use that and
29924         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29925         * sysdeps/generic/libc-mmap.h: New file.
29927 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29929         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29930         (ALIGN_UP): Likewise.
29931         (PTR_ALIGN_DOWN): Likewise.
29932         (PTR_ALIGN_UP): Likewise.
29934 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29936         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29937         entry mapped to PPC_PLATFORM_POWER8.
29938         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29939         POWER8.
29940         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29941         (_dl_string_platform): Add case for exporting platform position for
29942         POWER8.
29943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29944         search path to sysdeps/powerpc/powerpc32/power8 directory.
29945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29946         search path to sysdeps/powerpc/powerpc64/power8 directory.
29947         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29948         power7 directories.
29949         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29950         power7 directories.
29952 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29954         * INSTALL: Regenerate.
29956         * nscd/connections.c (nscd_init): Fix comment.
29958 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29960         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29962         [BZ #15667]
29963         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29964         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29966 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29968         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29969         DL_DST_REQ_STATIC.
29970         (DL_DST_REQ_STATIC): Remove macro.
29972 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29974         [BZ #7006]
29975         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29976         with a shift of 0 bits.
29978 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29980         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29981         $(tststatic-ENV).
29983 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29985         [BZ #15655]
29986         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29988 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29990         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29991         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29992         accepts -fno-tree-loop-distribute-patterns.
29993         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29994         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29995         recursive call.
29996         * string/memset.c (memset): Likewise.
29997         * string/test-memmove.c (simple_memmove): Disable loop transformation
29998         to library calls.
29999         * string/test-memset.c (simple_memset): Likewise.
30000         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30001         * benchtests/bench-memset.c (simple_memset): Likewise.
30002         * configure: Regenerated.
30004 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30006         * math/test-misc.c (main): Ignore fesetround failure when failures
30007         of subsequent rounding tests would be ignored.
30009         [BZ #15654]
30010         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30011         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30012         * math/fegetenv.c (__fegetenv): Return 0.
30013         * math/fegetexcept.c (fegetexcept): Return 0.
30014         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30015         FE_TONEAREST.
30016         * math/feholdexcpt.c (feholdexcept): Return 0.
30017         * math/fesetenv.c (__fesetenv): Return 0.
30018         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30019         argument FE_TONEAREST.
30020         * math/feupdateenv.c (__feupdateenv): Return 0.
30021         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30023 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30025         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30026         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30027         ($(objpfx)rtld-%.os rules): Use them.
30029 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30031         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30032         fields.
30034 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30036         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30037         length of target pattern, then descending length of dependency pattern.
30038         * configure.in (AWK): Require gawk 3.1.2 or newer.
30039         * manual/install.texi (Tools for Compilation): Say that we do.
30040         * configure: Regenerated.
30042         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30043         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30044         * scripts/sysd-rules.awk: ... this new script.
30045         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30046         than a glob-style pattern.
30048 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30050         * math/test-misc.c (main): Do not treat incorrectly rounded
30051         conversions as failure unless ROUNDING_TESTS passes.
30053 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30055         [BZ #15631]
30056         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30057         restore exception state around main square root computation, then
30058         check for inexactness explicitly.
30060         * math/libm-test.inc (fma_test_data): Add another test.
30062 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30064         * manual/threads.texi (Non-POSIX Extensions): New document
30065         node.  Document pthread_getattr_default_np and
30066         pthread_setattr_default_np.
30068         * Versions.def (libpthread): Add GLIBC_2.18.
30069         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30071         Likewise.
30072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30073         Likewise.
30074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30075         Likewise.
30076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30077         Likewise.
30078         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30079         Likewise.
30080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30081         Likewise.
30082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30083         Likewise.
30084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30085         Likewise.
30086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30087         Likewise.
30089 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30092         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30094 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30095             H.J. Lu  <hjl.tools@gmail.com>
30097         [BZ #15627]
30098         * sysdeps/x86_64/rtld-memset.c: Remove file.
30099         * sysdeps/x86_64/rtld-memset.S: New file.
30101 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30103         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30104         (test_in_one_mode): Take arguments for whether the rounding mode
30105         is supported for each floating-point type.
30106         (do_test): Pass new arguments to test_in_one_mode using
30107         ROUNDING_TESTS.
30109 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30111         * posix/tst-waitid.c (do_test): Distinguish different instances of
30112         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30113         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30114         before entering the kernel for waitpid.
30116 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30118         * NEWS: Fix note on clock function precision.  Text by Roland
30119         McGrath.
30121 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30123         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30124         it into place only when and if the sanity check passes.
30126 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30128         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30129         output for whether conversion result is exact.  Take argument
30130         indicating whether type is IBM long double.
30131         (round_for_all): Change need_exact field to ibm_ld.
30132         * stdlib/tst-strtod-round.c (struct exactness): New type.
30133         (struct test): Change bool ld_ok field to struct exactness exact.
30134         (TEST): Update all definitions for change to field.
30135         (tests): Regenerate array contents.
30136         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30137         field value.  Check for IBM long double here.
30138         (do_test): Update calls to test_in_one_mode.
30140 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30142         [BZ #12515]
30143         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30144         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30146 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30148         [BZ #15605]
30149         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30150         generated by the compiler on loop optimizations.
30151         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30152         general definitions.
30154 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30156         * math/bug-nextafter.c: Include <math-tests.h>.
30157         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30158         the relevant type.
30159         * math/bug-nexttoward.c: Include <math-tests.h>.
30160         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30161         the relevant type.
30162         * math/test-misc.c: Include <math-tests.h>.
30163         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30164         the relevant type.
30166 2013-06-12  Andreas Jaeger  <aj@suse.de>
30168         * po/ia.po: Update Interlingua translation from translation
30169         project.
30171 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30173         * include/fenv.h: Include stdbool.h.
30174         (struct rm_ctx): New structure.
30175         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30176         Define macro.
30177         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30178         (SET_RESTORE_ROUNDF): Likewise.
30179         (SET_RESTORE_ROUNDL): Likewise.
30180         (SET_RESTORE_ROUND_NOEX): Likewise.
30181         (SET_RESTORE_ROUND_NOEXF): Likewise.
30182         (SET_RESTORE_ROUND_NOEXL): Likewise.
30183         (SET_RESTORE_ROUND_53BIT): Likewise.
30184         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30185         (libc_feresetround_noexf_ctx): Likewise.
30186         (libc_feresetround_noexl_ctx): Likewise.
30187         (libc_feholdsetround_53bit_ctx): Likewise.
30188         (libc_feresetround_53bit_ctx): Likewise.
30189         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30190         (libc_feholdexcept_setround_sse_ctx): New function.
30191         (libc_fesetenv_sse_ctx): Likewise.
30192         (libc_feupdateenv_sse_ctx): Likewise.
30193         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30194         (libc_feholdexcept_setround_387_ctx): Likewise.
30195         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30196         (libc_feholdsetround_387_prec_ctx): Likewise.
30197         (libc_feholdsetround_387_ctx): Likewise.
30198         (libc_feholdsetround_387_53bit_ctx): Likewise.
30199         (libc_feholdsetround_sse_ctx): Likewise.
30200         (libc_feresetround_sse_ctx): Likewise.
30201         (libc_feresetround_387_ctx): Likewise.
30202         (libc_feupdateenv_387_ctx): Likewise.
30203         (libc_feholdexcept_setroundf_ctx): Define macro.
30204         (libc_fesetenvf_ctx): Likewise.
30205         (libc_feupdateenvf_ctx): Likewise.
30206         (libc_feholdsetroundf_ctx): Likewise.
30207         (libc_feresetroundf_ctx): Likewise.
30208         (libc_feholdexcept_setround_ctx): Likewise.
30209         (libc_fesetenv_ctx): Likewise.
30210         (libc_feupdateenv_ctx): Likewise.
30211         (libc_feholdsetround_ctx): Likewise.
30212         (libc_feresetround_ctx): Likewise.
30213         (libc_feholdexcept_setroundl_ctx): Likewise.
30214         (libc_feupdateenvl_ctx): Likewise.
30215         (libc_feholdsetroundl_ctx): Likewise.
30216         (libc_feresetroundl_ctx): Likewise.
30217         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30218         (libc_feresetround_53bit_ctx): Likewise.
30220 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30222         * locale/iso-639.def: Convert to UTF-8.
30224 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30226         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30227         (EXCEPTION_TESTS_double): Likewise.
30228         (EXCEPTION_TESTS_long_double): Likewise.
30229         (EXCEPTION_TESTS): Likewise.
30230         * math/libm-test.inc (test_exceptions): Only test exceptions if
30231         EXCEPTION_TESTS (FLOAT).
30233 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30235         * benchtests/Makefile (string-bench): Add strcpy_chk and
30236         stpcpy_chk.
30237         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30238         * benchtests/bench-stpcpy_chk.c: New file.
30239         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30240         * benchtests/bench-strcpy_chk.c: New file.
30241         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30242         code.
30243         (do_test): Likewise.
30245 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30247         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30248         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30249         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30250         with tabs where appropriate.
30251         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30252         dl-procinfo.h.
30253         [PPC_PLATFORM_PPC440]: Likewise.
30254         [PPC_PLATFORM_PPC464]: Likewise.
30255         [PPC_PLATFORM_PPC476]: Likewise.
30256         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30257         ppc464, and ppc476 platform strings merging from ports/
30258         dl-procinfo.h.
30260 2013-06-11  Andreas Schwab  <schwab@suse.de>
30262         [BZ #14991]
30263         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30264         (from_ucs4_idx): Regenerate.
30265         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30266         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30267         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30268         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30269         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30270         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30271         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30272         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30273         from FROM_LOOP and TO_LOOP specific macros.
30274         (BODY): Handle combining characters.
30275         * iconvdata/BIG5HKSCS.irreversible: Update.
30276         * iconvdata/BIG5HKSCS.precomposed: New file.
30277         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30278         characters.
30279         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30281 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30283         * include/sys/time.h: Fix indentation and add copyright header.
30285         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30286         (do_test): Likewise.
30287         * string/test-memchr.c (do_one_test): Likewise.
30288         (do_test): Likewise.
30289         * string/test-memcmp.c (do_one_test): Likewise.
30290         (do_test): Likewise.
30291         * string/test-memcpy.c (do_one_test): Likewise.
30292         (do_test): Likewise.
30293         * string/test-memmem.c (do_one_test): Likewise.
30294         (do_test): Likewise.
30295         (do_random_tests): Likewise.
30296         * string/test-memmove.c (do_one_test): Likewise.
30297         (do_test): Likewise.
30298         * string/test-memset.c (do_one_test): Likewise.
30299         (do_test): Likewise.
30300         * string/test-rawmemchr.c (do_one_test): Likewise.
30301         (do_test): Likewise.
30302         * string/test-strcasecmp.c (do_one_test): Likewise.
30303         (do_test): Likewise.
30304         * string/test-strcasestr.c (do_one_test): Likewise.
30305         (do_test): Likewise.
30306         * string/test-strcat.c (do_one_test): Likewise.
30307         (do_test): Likewise.
30308         * string/test-strchr.c (do_one_test): Likewise.
30309         (do_test): Likewise.
30310         * string/test-strcmp.c (do_one_test): Likewise.
30311         (do_test): Likewise.
30312         * string/test-strcpy.c (do_one_test): Likewise.
30313         (do_test): Likewise.
30314         * string/test-string.h: Likewise.
30315         (test_init): Likewise.
30316         * string/test-strlen.c (do_one_test): Likewise.
30317         (do_test): Likewise.
30318         * string/test-strncasecmp.c (do_one_test): Likewise.
30319         (do_test): Likewise.
30320         * string/test-strncat.c (do_one_test): Likewise.
30321         (do_test): Likewise.
30322         * string/test-strncmp.c (do_one_test): Likewise.
30323         (do_test_limit): Likewise.
30324         (do_test): Likewise.
30325         * string/test-strncpy.c (do_one_test): Likewise.
30326         (do_test): Likewise.
30327         * string/test-strnlen.c (do_one_test): Likewise.
30328         (do_test): Likewise.
30329         * string/test-strpbrk.c (do_one_test): Likewise.
30330         (do_test): Likewise.
30331         * string/test-strrchr.c (do_one_test): Likewise.
30332         (do_test): Likewise.
30333         * string/test-strspn.c (do_one_test): Likewise.
30334         (do_test): Likewise.
30335         * string/test-strstr.c (do_one_test): Likewise.
30336         (do_test): Likewise.
30338         * benchtests/Makefile (string-bench): Add string benchmarks.
30339         * benchtests/bench-bcopy-ifunc.c: New file.
30340         * benchtests/bench-bcopy.c: New file.
30341         * benchtests/bench-bzero-ifunc.c: New file.
30342         * benchtests/bench-bzero.c: New file.
30343         * benchtests/bench-memccpy-ifunc.c: New file.
30344         * benchtests/bench-memccpy.c: New file.
30345         * benchtests/bench-memchr-ifunc.c: New file.
30346         * benchtests/bench-memchr.c: New file.
30347         * benchtests/bench-memcmp-ifunc.c: New file.
30348         * benchtests/bench-memcmp.c: New file.
30349         * benchtests/bench-memmem-ifunc.c: New file.
30350         * benchtests/bench-memmem.c: New file.
30351         * benchtests/bench-memmove-ifunc.c: New file.
30352         * benchtests/bench-memmove.c: New file.
30353         * benchtests/bench-mempcpy-ifunc.c: New file.
30354         * benchtests/bench-mempcpy.c: New file.
30355         * benchtests/bench-memset-ifunc.c: New file.
30356         * benchtests/bench-memset.c: New file.
30357         * benchtests/bench-rawmemchr-ifunc.c: New file.
30358         * benchtests/bench-rawmemchr.c: New file.
30359         * benchtests/bench-stpcpy-ifunc.c: New file.
30360         * benchtests/bench-stpcpy.c: New file.
30361         * benchtests/bench-stpncpy-ifunc.c: New file.
30362         * benchtests/bench-stpncpy.c: New file.
30363         * benchtests/bench-strcasecmp-ifunc.c: New file.
30364         * benchtests/bench-strcasecmp.c: New file.
30365         * benchtests/bench-strcasestr-ifunc.c: New file.
30366         * benchtests/bench-strcasestr.c: New file.
30367         * benchtests/bench-strcat-ifunc.c: New file.
30368         * benchtests/bench-strcat.c: New file.
30369         * benchtests/bench-strchr-ifunc.c: New file.
30370         * benchtests/bench-strchr.c: New file.
30371         * benchtests/bench-strchrnul-ifunc.c: New file.
30372         * benchtests/bench-strchrnul.c: New file.
30373         * benchtests/bench-strcmp-ifunc.c: New file.
30374         * benchtests/bench-strcmp.c: New file.
30375         * benchtests/bench-strcpy-ifunc.c: New file.
30376         * benchtests/bench-strcpy.c: New file.
30377         * benchtests/bench-strcspn-ifunc.c: New file.
30378         * benchtests/bench-strcspn.c: New file.
30379         * benchtests/bench-strlen-ifunc.c: New file.
30380         * benchtests/bench-strlen.c: New file.
30381         * benchtests/bench-strncasecmp-ifunc.c: New file.
30382         * benchtests/bench-strncasecmp.c: New file.
30383         * benchtests/bench-strncat-ifunc.c: New file.
30384         * benchtests/bench-strncat.c: New file.
30385         * benchtests/bench-strncmp-ifunc.c: New file.
30386         * benchtests/bench-strncmp.c: New file.
30387         * benchtests/bench-strncpy-ifunc.c: New file.
30388         * benchtests/bench-strncpy.c: New file.
30389         * benchtests/bench-strnlen-ifunc.c: New file.
30390         * benchtests/bench-strnlen.c: New file.
30391         * benchtests/bench-strpbrk-ifunc.c: New file.
30392         * benchtests/bench-strpbrk.c: New file.
30393         * benchtests/bench-strrchr-ifunc.c: New file.
30394         * benchtests/bench-strrchr.c: New file.
30395         * benchtests/bench-strspn-ifunc.c: New file.
30396         * benchtests/bench-strspn.c: New file.
30397         * benchtests/bench-strstr-ifunc.c: New file.
30398         * benchtests/bench-strstr.c: New file.
30400         * benchtests/Makefile: Disable parallel execution of targets.
30401         (string-bench): Add memcpy.
30402         (benchset): New variable to store a list of benchmark sets.
30403         (bench-func): Renamed from bench.
30404         (bench-set): New target.
30405         (bench): Depend on bench-func and bench-set.
30406         * benchtests/README: Add section on benchmark sets.
30407         * benchtests/bench-memcpy-ifunc.c: New file.
30408         * benchtests/bench-memcpy.c: New file.
30409         * benchtests/bench-string.h: New file.
30411 2013-06-11  Andreas Schwab  <schwab@suse.de>
30413         [BZ #15577]
30414         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30415         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30416         values in the triple.
30417         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30418         terminator in the group key.
30420 2013-06-11  Andreas Jaeger  <aj@suse.de>
30422         * po/zh_TW.po: Update Chinese (traditional) translation from
30423         translation project.
30425 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30427         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30428         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30429         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30430         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30431         (clock_getcpuclockid): Likewise.
30432         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30433         Add weak_alias and libc_hidden_def.
30434         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30435         * rt/clock_gettime.c (clock_gettime): Rename to
30436         __clock_gettime.  Add weak_alias and libc_hidden_def.
30437         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30438         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30439         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30440         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30441         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30442         Likewise.
30443         * rt/clock_settime.c (clock_settime): Rename to
30444         __clock_settime.  Add weak_alias and libc_hidden_def.
30445         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30447 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30449         * mach/err_boot.sub: Remove trailing whitespace.
30450         * mach/err_ipc.sub: Likewise.
30451         * mach/err_mach.sub: Likewise.
30453         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30454         (ROUNDING_TESTS_double): Likewise.
30455         (ROUNDING_TESTS_long_double): Likewise.
30456         (ROUNDING_TESTS): Likewise.
30457         * math/libm-test.inc: Include <math-tests.h>.
30458         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30459         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30460         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30461         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30463 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30465         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30466         of assigning.
30468 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30470         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30471         otherwise empty TRANS lines.
30472         * sysdeps/gnu/errlist.c: Regenerated.
30474         * catgets/gencat.c (error_print): Use (void) in function
30475         definition.
30476         * crypt/crypt_util.c (__init_des): Likewise.
30477         * crypt/speeds.c (Stop): Likewise.
30478         (main): Likewise.
30479         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30480         * inet/ruserpass.c (token): Likewise.
30481         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30482         * intl/localealias.c (extend_alias_table): Likewise.
30483         * intl/plural-exp.c (init_germanic_plural): Likewise.
30484         * libio/fcloseall.c (__fcloseall): Likewise.
30485         * libio/genops.c (_IO_flush_all): Likewise.
30486         (_IO_flush_all_linebuffered): Likewise.
30487         (_IO_cleanup): Likewise.
30488         (_IO_iter_begin): Likewise.
30489         (_IO_iter_end): Likewise.
30490         (_IO_list_lock): Likewise.
30491         (_IO_list_unlock): Likewise.
30492         (_IO_list_resetlock): Likewise.
30493         * libio/getchar.c (getchar): Likewise.
30494         * libio/getchar_u.c (getchar_unlocked): Likewise.
30495         * libio/getwchar.c (getwchar): Likewise.
30496         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30497         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30498         * login/getpt.c (__getpt): Likewise.
30499         * login/tst-utmp.c (main): Likewise.
30500         * malloc/hooks.c (__malloc_check_init): Likewise.
30501         * malloc/malloc.c (__malloc_stats): Likewise.
30502         * malloc/mtrace.c (tr_break): Likewise.
30503         (mtrace): Likewise.
30504         (muntrace): Likewise.
30505         * misc/fstab.c (endfsent): Likewise.
30506         * misc/getclktck.c (__getclktck): Likewise.
30507         * misc/getdtsz.c (__getdtablesize): Likewise.
30508         * misc/gethostid.c (gethostid): Likewise.
30509         * misc/getpagesize.c (__getpagesize): Likewise.
30510         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30511         (__get_nprocs): Likewise.
30512         (__get_phys_pages): Likewise.
30513         (__get_avphys_pages): Likewise.
30514         * misc/getttyent.c (getttyent): Likewise.
30515         (setttyent): Likewise.
30516         (endttyent): Likewise.
30517         * misc/getusershell.c (getusershell): Likewise.
30518         (endusershell): Likewise.
30519         (setusershell): Likewise.
30520         (initshells): Likewise.
30521         * misc/hsearch.c (__hdestroy): Likewise.
30522         * misc/sync.c (sync): Likewise.
30523         * misc/syslog.c (closelog_internal): Likewise.
30524         (closelog): Likewise.
30525         * misc/ttyslot.c (ttyslot): Likewise.
30526         * misc/vhangup.c (vhangup): Likewise.
30527         * posix/fork.c (__fork): Likewise.
30528         * posix/getegid.c (__getegid): Likewise.
30529         * posix/geteuid.c (__geteuid): Likewise.
30530         * posix/getgid.c (__getgid): Likewise.
30531         * posix/getpid.c (__getpid): Likewise.
30532         * posix/getppid.c (__getppid): Likewise.
30533         * posix/getuid.c (__getuid): Likewise.
30534         * posix/pause.c (pause): Likewise.
30535         * posix/setpgrp.c (setpgrp): Likewise.
30536         * posix/setsid.c (__setsid): Likewise.
30537         * posix/test-vfork.c (noop): Likewise.
30538         * resolv/gethnamaddr.c (_endhtent): Likewise.
30539         (_gethtent): Likewise.
30540         (ht_endhostent): Likewise.
30541         (gethostent): Likewise.
30542         (dns_service): Likewise.
30543         * stdlib/drand48.c (drand48): Likewise.
30544         * stdlib/lrand48.c (lrand48): Likewise.
30545         * stdlib/mrand48.c (mrand48): Likewise.
30546         * stdlib/rand.c (rand): Likewise.
30547         * stdlib/random.c (__random): Likewise.
30548         * stdlib/setenv.c (clearenv): Likewise.
30549         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30550         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30551         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30552         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30553         (__get_nprocs): Likewise.
30554         (__get_phys_pages): Likewise.
30555         (__get_avphys_pages): Likewise.
30556         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30557         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30558         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30559         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30560         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30561         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30562         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30563         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30564         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30565         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30566         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30567         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30568         * sysdeps/posix/clock.c (clock): Likewise.
30569         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30570         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30571         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30572         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30573         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30574         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30575         (__get_nprocs_conf): Likewise.
30576         (__get_phys_pages): Likewise.
30577         (__get_avphys_pages): Likewise.
30578         * time/clock.c (clock): Likewise.
30579         * time/tzset.c (__tzname_max): Likewise.
30581 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30583         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30584         (__bswap_32): Do not use "register".
30585         * crypt/crypt.c (_ufc_doit_r): Likewise.
30586         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30587         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30588         * gmon/gmon.c (__monstartup): Likewise.
30589         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30590         * hurd/hurdmalloc.c (more_memory): Likewise.
30591         (malloc): Likewise.
30592         (free): Likewise.
30593         (realloc): Likewise.
30594         (malloc_fork_prepare): Likewise.
30595         (malloc_fork_parent): Likewise.
30596         (malloc_fork_child): Likewise.
30597         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30598         (_svcauth_des): Likewise.
30599         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30600         * inet/inet_net.c (inet_network): Likewise.
30601         * inet/inet_netof.c (inet_netof): Likewise.
30602         * inet/rcmd.c (__validuser2_sa): Likewise.
30603         * io/fts.c (fts_open): Likewise.
30604         (fts_load): Likewise.
30605         (fts_close): Likewise.
30606         (fts_read): Likewise.
30607         (fts_children): Likewise.
30608         (fts_build): Likewise.
30609         (fts_stat): Likewise.
30610         (fts_sort): Likewise.
30611         (fts_alloc): Likewise.
30612         (fts_lfree): Likewise.
30613         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30614         (_IO_file_xsgetn): Likewise.
30615         (_IO_file_xsgetn_mmap): Likewise.
30616         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30617         (_IO_cookie_write): Likewise.
30618         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30619         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30620         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30621         * malloc/obstack.c (_obstack_begin): Likewise.
30622         (_obstack_begin_1): Likewise.
30623         (_obstack_newchunk): Likewise.
30624         (_obstack_allocated_p): Likewise.
30625         (obstack_free): Likewise.
30626         (_obstack_memory_used): Likewise.
30627         * misc/getttyent.c (getttynam): Likewise.
30628         (getttyent): Likewise.
30629         (skip): Likewise.
30630         (value): Likewise.
30631         * misc/getusershell.c (initshells): Likewise.
30632         * misc/syslog.c (__vsyslog_chk): Likewise.
30633         * misc/ttyslot.c (ttyslot): Likewise.
30634         * nis/nis_hash.c (__nis_hash): Likewise.
30635         * posix/fnmatch_loop.c (FCT): Likewise.
30636         * posix/getconf.c (print_all): Likewise.
30637         (main): Likewise.
30638         * posix/getopt.c (exchange): Likewise.
30639         * posix/glob.c (globfree): Likewise.
30640         (prefix_array): Likewise.
30641         (__glob_pattern_type): Likewise.
30642         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30643         (NS_GET32): Likewise.
30644         (NS_PUT16): Likewise.
30645         (NS_PUT32): Likewise.
30646         * resolv/gethnamaddr.c (getanswer): Likewise.
30647         (gethostbyname2): Likewise.
30648         (gethostbyaddr): Likewise.
30649         (_gethtent): Likewise.
30650         (_gethtbyname2): Likewise.
30651         (_gethtbyaddr): Likewise.
30652         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30653         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30654         * resolv/res_init.c (__res_vinit): Likewise.
30655         (net_mask): Likewise.
30656         * resolv/res_mkquery.c (outchar): Likewise.
30657         (PRINT): Likewise.
30658         * stdio-common/printf_fp.c (outchar): Likewise.
30659         (PRINT): Likewise.
30660         * stdio-common/printf_fphex.c (outchar): Likewise.
30661         (PRINT): Likewise.
30662         * stdio-common/printf_size.c (outchar): Likewise.
30663         (PRINT): Likewise.
30664         * stdio-common/test_rdwr.c (main): Likewise.
30665         * stdio-common/tfformat.c (matches): Likewise.
30666         * stdio-common/vfprintf.c (outchar): Likewise.
30667         (printf_unknown): Likewise.
30668         (buffered_vfprintf): Likewise.
30669         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30670         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30671         (ReadFile): Likewise.
30672         * stdlib/qsort.c (SWAP): Likewise.
30673         (_quicksort): Likewise.
30674         * stdlib/setenv.c (__add_to_environ): Likewise.
30675         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30676         * stdlib/strtol_l.c (__strtol_l): Likewise.
30677         * stdlib/tst-strtod.c (main): Likewise.
30678         * stdlib/tst-strtol.c (main): Likewise.
30679         * stdlib/tst-strtoll.c (main): Likewise.
30680         * string/bits/string2.h (__strcmp_cc): Likewise.
30681         (__strcmp_cg): Likewise.
30682         (__strcspn_c1): Likewise.
30683         (__strcspn_c2): Likewise.
30684         (__strcspn_c3): Likewise.
30685         (__strspn_c1): Likewise.
30686         (__strspn_c2): Likewise.
30687         (__strspn_c3): Likewise.
30688         (__strsep_1c): Likewise.
30689         (__strsep_2c): Likewise.
30690         (__strsep_3c): Likewise.
30691         * string/memccpy.c (__memccpy): Likewise.
30692         * string/stpcpy.c (__stpcpy): Likewise.
30693         * string/strcmp.c (strcmp): Likewise.
30694         * string/strrchr.c (strrchr): Likewise.
30695         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30696         Likewise.
30697         * sysdeps/mach/hurd/getcwd.c
30698         (_hurd_canonicalize_directory_name_internal): Likewise.
30699         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30700         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30701         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30702         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30703         Likewise, in both definitions.
30704         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30705         definitions.
30706         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30707         64] (__bswap_64): Likewise.
30708         * time/test_time.c (main): Likewise.
30709         * time/tzfile.c (__tzfile_read): Likewise.
30710         (__tzfile_compute): Likewise.
30711         * time/tzset.c (__tzset_parse_tz): Likewise.
30712         (tzset_internal): Likewise.
30713         (compute_change): Likewise.
30714         * wcsmbs/wcscat.c (__wcscat): Likewise.
30715         * wcsmbs/wcschr.c (wcschr): Likewise.
30716         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30717         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30718         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30719         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30720         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30721         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30722         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30723         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30724         * wcsmbs/wmemset.c (wmemset): Likewise.
30726 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30728         * scripts/config.guess: Update to version 2013-05-16.
30729         * scripts/config.sub: Update to version 2013-04-24.
30730         * scripts/install-sh: Update to version 2011-11-20.07.
30731         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30732         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30734 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30736         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30737         * elf/sln.c: Likewise.
30738         * hurd/hurd/ioctl.h: Likewise.
30739         * hurd/hurdmalloc.c: Likewise.
30740         * hurd/xattr.c: Likewise.
30741         * include/shlib-compat.h: Likewise.
30742         * inet/ruserpass.c: Likewise.
30743         * libio/iofgets_u.c: Likewise.
30744         * libio/iofgetws_u.c: Likewise.
30745         * locale/programs/ld-identification.c: Likewise.
30746         * locale/programs/ld-time.c: Likewise.
30747         * mach/msg-destroy.c: Likewise.
30748         * nss/nss_files/files-netgrp.c: Likewise.
30749         * resolv/res_data.c: Likewise.
30750         * soft-fp/op-1.h: Likewise.
30751         * soft-fp/op-2.h: Likewise.
30752         * soft-fp/op-4.h: Likewise.
30753         * soft-fp/op-common.h: Likewise.
30754         * stdio-common/printf_fphex.c: Likewise.
30755         * stdlib/strtod_l.c: Likewise.
30756         * sunrpc/rpc/clnt.h: Likewise.
30757         * sysdeps/generic/framestate.c: Likewise.
30758         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30759         * sysdeps/i386/bsd-setjmp.S: Likewise.
30760         * sysdeps/i386/__longjmp.S: Likewise.
30761         * sysdeps/i386/setjmp.S: Likewise.
30762         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30763         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30764         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30765         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30767         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30768         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30769         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30770         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30771         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30772         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30773         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30774         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30775         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30776         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30777         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30778         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30779         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30780         * sysdeps/ieee754/support.c: Likewise.
30781         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30782         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30783         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30784         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30785         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30786         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30787         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30788         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30789         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30790         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30791         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30792         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30793         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30794         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30795         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30796         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30797         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30800 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30802         * posix/transbug.c: Remove executable mode.
30804 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30806         * crypt/speeds.c: Remove trailing whitespace.
30807         * dlfcn/default.c: Likewise.
30808         * elf/ifuncdep2.c: Likewise.
30809         * elf/ifuncmain1.c: Likewise.
30810         * elf/ifuncmain1vis.c: Likewise.
30811         * elf/testobj.h: Likewise.
30812         * elf/tst-stackguard1.c: Likewise.
30813         * gmon/sys/gmon.h: Likewise.
30814         * hurd/hurdmsg.c: Likewise.
30815         * hurd/new-fd.c: Likewise.
30816         * hurd/ports-get.c: Likewise.
30817         * iconvdata/ibm1008_420.c: Likewise.
30818         * inet/tst-getni1.c: Likewise.
30819         * inet/tst-getni2.c: Likewise.
30820         * libio/ioungetc.c: Likewise.
30821         * libio/wfiledoalloc.c: Likewise.
30822         * manual/libm-err-tab.pl: Likewise.
30823         * math/w_dremf.c: Likewise.
30824         * misc/ftruncate.c: Likewise.
30825         * posix/bug-glob2.c: Likewise.
30826         * posix/tst-pcre.c: Likewise.
30827         * posix/wait4.c: Likewise.
30828         * resolv/README: Likewise.
30829         * resolv/res_debug.h: Likewise.
30830         * resolv/tst-inet_ntop.c: Likewise.
30831         * setjmp/bug269-setjmp.c: Likewise.
30832         * soft-fp/extended.h: Likewise.
30833         * soft-fp/op-1.h: Likewise.
30834         * soft-fp/op-2.h: Likewise.
30835         * soft-fp/op-4.h: Likewise.
30836         * soft-fp/op-8.h: Likewise.
30837         * soft-fp/testit.c: Likewise.
30838         * stdio-common/bug16.c: Likewise.
30839         * stdlib/random.c: Likewise.
30840         * sunrpc/rpcsvc/rquota.x: Likewise.
30841         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30842         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30843         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30844         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30845         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30846         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30847         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30848         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30849         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30850         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30851         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30852         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30853         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30854         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30855         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30856         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30857         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30858         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30859         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30860         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30861         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30862         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30863         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30864         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30865         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30866         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30868         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30869         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30870         * sysdeps/ieee754/s_lib_version.c: Likewise.
30871         * sysdeps/mach/hurd/check_fds.c: Likewise.
30872         * sysdeps/mach/hurd/getsockname.c: Likewise.
30873         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30874         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30875         * sysdeps/powerpc/bits/link.h: Likewise.
30876         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30877         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30878         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30879         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30880         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30881         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30882         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30883         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30884         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30885         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30886         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30887         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30888         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30889         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30890         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30891         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30892         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30893         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30894         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30895         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30896         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30897         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30898         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30899         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30900         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30901         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30902         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30903         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30904         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30905         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30906         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30907         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30908         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30909         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30910         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30911         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30912         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30913         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30914         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30915         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30916         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30917         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30918         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30919         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30920         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30921         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30922         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30923         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30924         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30925         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30926         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30927         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30928         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30929         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30930         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30931         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30932         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30933         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30934         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30935         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30936         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30937         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30938         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30939         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30940         * sysdeps/powerpc/sysdep.h: Likewise.
30941         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30942         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30943         * sysdeps/sh/dl-trampoline.S: Likewise.
30944         * sysdeps/sh/memset.S: Likewise.
30945         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30946         * sysdeps/sh/strlen.S: Likewise.
30947         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30948         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30949         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30950         * sysdeps/sparc/sparc32/rem.S: Likewise.
30951         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30952         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30953         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30954         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30955         * sysdeps/sparc/sparc32/urem.S: Likewise.
30956         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30957         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30958         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30959         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30960         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30961         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30962         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30963         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30964         * sysdeps/unix/bsd/times.c: Likewise.
30965         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30966         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30970         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30971         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30972         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30973         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30974         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30975         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30976         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30977         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30978         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30979         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30980         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30981         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30982         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30983         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30984         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30985         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30986         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30987         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30988         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30989         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30990         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30991         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30992         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30993         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30994         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30995         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30996         * sysdeps/x86_64/strcspn.S: Likewise.
30998 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31000         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31001         generated file.  Regenerate properly from gen-translit.pl.
31002         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31003         locale/C-translit.h.
31005 2013-06-05  Andreas Schwab  <schwab@suse.de>
31007         [BZ #15100]
31008         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31009         week as 6 instead of -1.
31010         * time/tst-strptime.c (day_tests): Add test case.
31012 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31014         * sysdeps/generic/math_private.h
31015         (libc_feholdexcept_setround_53bit): Replace with
31016         libc_feholdsetround_53bit.
31017         (libc_feupdateenv_53bit): Replace with
31018         libc_feresetround_53bit.
31019         (SET_RESTORE_ROUND_53BIT): Adjust.
31021 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31023         * string/test-strchrnul.c: Add copyright header.
31025         * posix/tst-getaddrinfo4.c: Increase test timeout.
31027 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31029         [BZ #15536]
31030         * math/libm-test.inc (MAX_EXP): Remove
31031         (MIN_EXP): Define.
31032         (ulp): Use MIN_EXP - MANT_DIG.
31033         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31035 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31037         * po/be.po: Revert last change.
31038         * po/zh_CN.po: Likewise.
31039         * po/header.pot: Likewise.
31041 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31043         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31044         link-libc-deps to empty as target-specific variable.
31045         * Makerules (link-libc-args): New variable.
31046         (libc-for-link): Likewise.
31047         (link-libc-deps): Likewise.
31048         (lib%.so): Depend on $(link-libc-deps).  Link with
31049         $(link-libc-args).
31050         (build-module): Link with $(link-libc-args).
31051         (build-module-asneeded): Likewise.
31052         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31053         list of objects.
31054         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31055         target-specific variable.
31056         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31057         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31058         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31059         libc.
31060         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31061         libc and ld.so.
31062         ($(objpfx)libpcprofile.so): Likewise.
31063         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31064         libc_nonshared.a.
31065         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31066         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31067         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31068         $(link-libc-deps).
31069         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31070         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31071         * login/Makefile ($(objpfx)libutil.so): Likewise.
31072         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31073         * math/Makefile ($(objpfx)libm.so): Likewise.
31074         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31075         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31076         variable instead of depending directly on libc.
31077         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31078         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31079         $(link-libc-deps).
31080         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31081         libc.
31082         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31083         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31084         ($(objpfx)libanl.so): Likewise.
31085         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31086         ld.so.
31087         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31088         $(link-libc-deps).
31089         * sysdeps/i386/fpu/Makefile: Remove file.
31090         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31091         ($(objpfx)libm.so): Remove dependency on ld.so.
31093 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31095         [BZ # 15553]
31096         * nis/yp_xdr.c (XDRMAXNAME): Define.
31097         (XDRMAXRECORD): Define.
31098         (xdr_domainname): Use XDRMAXNAME.
31099         (xdr_mapname): Likewise.
31100         (xdr_peername): Likewise.
31101         (xdr_keydat): Use XDRMAXRECORD.
31102         (xdr_valdat): Likewise.
31104 2013-05-30  Jeff Law  <law@redhat.com>
31106         [BZ #14256]
31107         * manual/errno.texi (ESTALE): Update to account for more than
31108         just NFS file systems.
31109         * sysdeps/gnu/errlist.c: Regenerated.
31111 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31113         [BZ #15465]
31114         * elf/Makefile (tests): Add tst-null-argv.
31115         (modules-names):  Add tst-null-argv-lib.
31116         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31117         (tst-null-argv-ENV): Set environment for tst-null-argv.
31118         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31119         (RTLD_PROGNAME): New macro.
31120         * elf/tst-null-argv.c: New test case.
31121         * elf/tst-null-argv-lib.c: Library for test case.
31122         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31123         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31124         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31125         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31126         * elf/dl-init.c (call_init): Likewise.
31127         (_dl_init): Likewise.
31128         * elf/dl-load.c (print_search_path): Likewise.
31129         (_dl_map_object): Likewise.
31130         * elf/dl-lookup.c (do_lookup_x): Likewise.
31131         (add_dependency): Likewise.
31132         (_dl_lookup_symbol_x): Likewise.
31133         (_dl_debug_bindings): Likewise.
31134         * elf/dl-open.c (_dl_show_scope): Likewise.
31135         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31136         * elf/dl-version.c (match_symbol): Likewise.
31137         (_dl_check_map_versions): Likewise.
31138         * elf/rtld.c (dl_main): Likewise.
31139         (print_unresolved): Use RTLD_PROGNAME.
31140         (print_missing_version): Likewise.
31141         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31142         (elf_machine_rela): Likewise.
31143         * sysdeps/powerpc/powerpc32/dl-machine.c
31144         (__process_machine_rela): Likewise.
31145         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31146         Likewise.
31147         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31148         Likewise.
31149         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31150         Likewise.
31151         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31152         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31153         Likewise.
31154         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31155         Likewise.
31156         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31158 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31160         * po/be.po: Add descriptive title.
31161         * po/zh_CN.po: Likewise.
31162         * po/header.pot: Likewise.
31164 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31166         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31167         error message.
31168         (enlarge_archive): Likewise.
31170 2013-05-28  Ben North  <ben@redfrontdoor.org>
31172         * manual/arith.texi (frexp): It is the magnitude of the return
31173         value which lies in [0.5, 1), not the return value itself.
31175 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31179 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31181         * stdio-common/bug26.c (main): Correct fscanf template.
31183         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31184         declare _dl_skip_args.
31186         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31187         Don't declare.
31189         * manual/platform.texi: Add missing @end deftypefun.
31191 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31193         [BZ #15529]
31194         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31195         bit of mantissa of 2^16382.
31196         * math/libm-test.inc (hypot_test_data): Add more tests.
31198         * math/libm-test.inc: Add drem and pow10 to list of tested
31199         functions.
31200         (pow10_test): New function.
31201         (drem_test): Likewise.
31202         (drem_test_tonearest): Likewise.
31203         (drem_test_towardzero): Likewise.
31204         (drem_test_downward): Likewise.
31205         (drem_test_upward): Likewise.
31206         (main): Call the new functions.
31208         * math/libm-test.inc (finite_test_data): Remove.
31209         (finite_test): Run tests from isfinite_test_data.
31210         (gamma_test_data): Remove.
31211         (gamma_test): Run tests from lgamma_test_data.
31212         * sysdeps/i386/fpu/libm-test-ulps: Update.
31213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31215 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31217         * manual/platform.texi: Add PowerPC PPR function set documentation.
31218         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31219         implementation.
31221 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31223         * math/libm-test.inc (MAX_EXP): Define.
31224         (ULPDIFF): Define.
31225         (ulp): New function.
31226         (check_float_internal): Use ULPDIFF.
31227         (cpow_test): Disable failing test.
31228         (check_ulp): Test ulp() implemetnation.
31229         (main): Call check_ulp before starting tests.
31231 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31233         * math/gen-libm-test.pl (generate_testfile): Do not handle
31234         START_DATA and END_DATA.
31235         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31236         END_DATA.
31237         (acos_tonearest_test_data): Likewise.
31238         (acos_towardzero_test_data): Likewise.
31239         (acos_downward_test_data): Likewise.
31240         (acos_upward_test_data): Likewise.
31241         (acosh_test_data): Likewise.
31242         (asin_test_data): Likewise.
31243         (asin_tonearest_test_data): Likewise.
31244         (asin_towardzero_test_data): Likewise.
31245         (asin_downward_test_data): Likewise.
31246         (asin_upward_test_data): Likewise.
31247         (asinh_test_data): Likewise.
31248         (atan_test_data): Likewise.
31249         (atanh_test_data): Likewise.
31250         (atan2_test_data): Likewise.
31251         (cabs_test_data): Likewise.
31252         (cacos_test_data): Likewise.
31253         (cacosh_test_data): Likewise.
31254         (carg_test_data): Likewise.
31255         (casin_test_data): Likewise.
31256         (casinh_test_data): Likewise.
31257         (catan_test_data): Likewise.
31258         (catanh_test_data): Likewise.
31259         (cbrt_test_data): Likewise.
31260         (ccos_test_data): Likewise.
31261         (ccosh_test_data): Likewise.
31262         (ceil_test_data): Likewise.
31263         (cexp_test_data): Likewise.
31264         (cimag_test_data): Likewise.
31265         (clog_test_data): Likewise.
31266         (clog10_test_data): Likewise.
31267         (conj_test_data): Likewise.
31268         (copysign_test_data): Likewise.
31269         (cos_test_data): Likewise.
31270         (cos_tonearest_test_data): Likewise.
31271         (cos_towardzero_test_data): Likewise.
31272         (cos_downward_test_data): Likewise.
31273         (cos_upward_test_data): Likewise.
31274         (cosh_test_data): Likewise.
31275         (cosh_tonearest_test_data): Likewise.
31276         (cosh_towardzero_test_data): Likewise.
31277         (cosh_downward_test_data): Likewise.
31278         (cosh_upward_test_data): Likewise.
31279         (cpow_test_data): Likewise.
31280         (cproj_test_data): Likewise.
31281         (creal_test_data): Likewise.
31282         (csin_test_data): Likewise.
31283         (csinh_test_data): Likewise.
31284         (csqrt_test_data): Likewise.
31285         (ctan_test_data): Likewise.
31286         (ctan_tonearest_test_data): Likewise.
31287         (ctan_towardzero_test_data): Likewise.
31288         (ctan_downward_test_data): Likewise.
31289         (ctan_upward_test_data): Likewise.
31290         (ctanh_test_data): Likewise.
31291         (ctanh_tonearest_test_data): Likewise.
31292         (ctanh_towardzero_test_data): Likewise.
31293         (ctanh_downward_test_data): Likewise.
31294         (ctanh_upward_test_data): Likewise.
31295         (erf_test_data): Likewise.
31296         (erfc_test_data): Likewise.
31297         (exp_test_data): Likewise.
31298         (exp_tonearest_test_data): Likewise.
31299         (exp_towardzero_test_data): Likewise.
31300         (exp_downward_test_data): Likewise.
31301         (exp_upward_test_data): Likewise.
31302         (exp10_test_data): Likewise.
31303         (exp2_test_data): Likewise.
31304         (expm1_test_data): Likewise.
31305         (fabs_test_data): Likewise.
31306         (fdim_test_data): Likewise.
31307         (finite_test_data): Likewise.
31308         (floor_test_data): Likewise.
31309         (fma_test_data): Likewise.
31310         (fma_towardzero_test_data): Likewise.
31311         (fma_downward_test_data): Likewise.
31312         (fma_upward_test_data): Likewise.
31313         (fmax_test_data): Likewise.
31314         (fmin_test_data): Likewise.
31315         (fmod_test_data): Likewise.
31316         (fpclassify_test_data): Likewise.
31317         (frexp_test_data): Likewise.
31318         (gamma_test_data): Likewise.
31319         (hypot_test_data): Likewise.
31320         (ilogb_test_data): Likewise.
31321         (isfinite_test_data): Likewise.
31322         (isgreater_test_data): Likewise.
31323         (isgreaterequal_test_data): Likewise.
31324         (isinf_test_data): Likewise.
31325         (isless_test_data): Likewise.
31326         (islessequal_test_data): Likewise.
31327         (islessgreater_test_data): Likewise.
31328         (isnan_test_data): Likewise.
31329         (isnormal_test_data): Likewise.
31330         (issignaling_test_data): Likewise.
31331         (isunordered_test_data): Likewise.
31332         (j0_test_data): Likewise.
31333         (j1_test_data): Likewise.
31334         (jn_test_data): Likewise.
31335         (ldexp_test_data): Likewise.
31336         (lgamma_test_data): Likewise.
31337         (lrint_test_data): Likewise.
31338         (lrint_tonearest_test_data): Likewise.
31339         (lrint_towardzero_test_data): Likewise.
31340         (lrint_downward_test_data): Likewise.
31341         (lrint_upward_test_data): Likewise.
31342         (llrint_test_data): Likewise.
31343         (llrint_tonearest_test_data): Likewise.
31344         (llrint_towardzero_test_data): Likewise.
31345         (llrint_downward_test_data): Likewise.
31346         (llrint_upward_test_data): Likewise.
31347         (log_test_data): Likewise.
31348         (log10_test_data): Likewise.
31349         (log1p_test_data): Likewise.
31350         (log2_test_data): Likewise.
31351         (logb_test_data): Likewise.
31352         (logb_downward_test_data): Likewise.
31353         (lround_test_data): Likewise.
31354         (llround_test_data): Likewise.
31355         (modf_test_data): Likewise.
31356         (nearbyint_test_data): Likewise.
31357         (nextafter_test_data): Likewise.
31358         (nexttoward_test_data): Likewise.
31359         (pow_test_data): Likewise.
31360         (pow_tonearest_test_data): Likewise.
31361         (pow_towardzero_test_data): Likewise.
31362         (pow_downward_test_data): Likewise.
31363         (pow_upward_test_data): Likewise.
31364         (remainder_test_data): Likewise.
31365         (remainder_tonearest_test_data): Likewise.
31366         (remainder_towardzero_test_data): Likewise.
31367         (remainder_downward_test_data): Likewise.
31368         (remainder_upward_test_data): Likewise.
31369         (remquo_test_data): Likewise.
31370         (rint_test_data): Likewise.
31371         (rint_tonearest_test_data): Likewise.
31372         (rint_towardzero_test_data): Likewise.
31373         (rint_downward_test_data): Likewise.
31374         (rint_upward_test_data): Likewise.
31375         (round_test_data): Likewise.
31376         (scalb_test_data): Likewise.
31377         (scalbn_test_data): Likewise.
31378         (scalbln_test_data): Likewise.
31379         (signbit_test_data): Likewise.
31380         (sin_test_data): Likewise.
31381         (sin_tonearest_test_data): Likewise.
31382         (sin_towardzero_test_data): Likewise.
31383         (sin_downward_test_data): Likewise.
31384         (sin_upward_test_data): Likewise.
31385         (sincos_test_data): Likewise.
31386         (sinh_test_data): Likewise.
31387         (sinh_tonearest_test_data): Likewise.
31388         (sinh_towardzero_test_data): Likewise.
31389         (sinh_downward_test_data): Likewise.
31390         (sinh_upward_test_data): Likewise.
31391         (sqrt_test_data): Likewise.
31392         (tan_test_data): Likewise.
31393         (tan_tonearest_test_data): Likewise.
31394         (tan_towardzero_test_data): Likewise.
31395         (tan_downward_test_data): Likewise.
31396         (tan_upward_test_data): Likewise.
31397         (tanh_test_data): Likewise.
31398         (tgamma_test_data): Likewise.
31399         (trunc_test_data): Likewise.
31400         (y0_test_data): Likewise.
31401         (y1_test_data): Likewise.
31402         (yn_test_data): Likewise.
31403         (significand_test_data): Likewise.
31405         * math/gen-libm-test.pl (@functions): Remove variable.
31406         (generate_testfile): Don't handle START and END lines.
31407         * math/libm-test.inc (START): New macro.
31408         (END): Likewise.
31409         (END_COMPLEX): Likewise.
31410         (acos_test): Use END macro without arguments.
31411         (acos_test_tonearest): Likewise.
31412         (acos_test_towardzero): Likewise.
31413         (acos_test_downward): Likewise.
31414         (acos_test_upward): Likewise.
31415         (acosh_test): Likewise.
31416         (asin_test): Likewise.
31417         (asin_test_tonearest): Likewise.
31418         (asin_test_towardzero): Likewise.
31419         (asin_test_downward): Likewise.
31420         (asin_test_upward): Likewise.
31421         (asinh_test): Likewise.
31422         (atan_test): Likewise.
31423         (atanh_test): Likewise.
31424         (atan2_test): Likewise.
31425         (cabs_test): Likewise.
31426         (cacos_test): Use END_COMPLEX macro without arguments.
31427         (cacosh_test): Likewise.
31428         (carg_test): Use END macro without arguments.
31429         (casin_test): Use END_COMPLEX macro without arguments.
31430         (casinh_test): Likewise.
31431         (catan_test): Likewise.
31432         (catanh_test): Likewise.
31433         (cbrt_test): Use END macro without arguments.
31434         (ccos_test): Use END_COMPLEX macro without arguments.
31435         (ccosh_test): Likewise.
31436         (ceil_test): Use END macro without arguments.
31437         (cexp_test): Use END_COMPLEX macro without arguments.
31438         (cimag_test): Use END macro without arguments.
31439         (clog_test): Use END_COMPLEX macro without arguments.
31440         (clog10_test): Likewise.
31441         (conj_test): Likewise.
31442         (copysign_test): Use END macro without arguments.
31443         (cos_test): Likewise.
31444         (cos_test_tonearest): Likewise.
31445         (cos_test_towardzero): Likewise.
31446         (cos_test_downward): Likewise.
31447         (cos_test_upward): Likewise.
31448         (cosh_test): Likewise.
31449         (cosh_test_tonearest): Likewise.
31450         (cosh_test_towardzero): Likewise.
31451         (cosh_test_downward): Likewise.
31452         (cosh_test_upward): Likewise.
31453         (cpow_test): Use END_COMPLEX macro without arguments.
31454         (cproj_test): Likewise.
31455         (creal_test): Use END macro without arguments.
31456         (csin_test): Use END_COMPLEX macro without arguments.
31457         (csinh_test): Likewise.
31458         (csqrt_test): Likewise.
31459         (ctan_test): Likewise.
31460         (ctan_test_tonearest): Likewise.
31461         (ctan_test_towardzero): Likewise.
31462         (ctan_test_downward): Likewise.
31463         (ctan_test_upward): Likewise.
31464         (ctanh_test): Likewise.
31465         (ctanh_test_tonearest): Likewise.
31466         (ctanh_test_towardzero): Likewise.
31467         (ctanh_test_downward): Likewise.
31468         (ctanh_test_upward): Likewise.
31469         (erf_test): Use END macro without arguments.
31470         (erfc_test): Likewise.
31471         (exp_test): Likewise.
31472         (exp_test_tonearest): Likewise.
31473         (exp_test_towardzero): Likewise.
31474         (exp_test_downward): Likewise.
31475         (exp_test_upward): Likewise.
31476         (exp10_test): Likewise.
31477         (exp2_test): Likewise.
31478         (expm1_test): Likewise.
31479         (fabs_test): Likewise.
31480         (fdim_test): Likewise.
31481         (finite_test): Likewise.
31482         (floor_test): Likewise.
31483         (fma_test): Likewise.
31484         (fma_test_towardzero): Likewise.
31485         (fma_test_downward): Likewise.
31486         (fma_test_upward): Likewise.
31487         (fmax_test): Likewise.
31488         (fmin_test): Likewise.
31489         (fmod_test): Likewise.
31490         (fpclassify_test): Likewise.
31491         (frexp_test): Likewise.
31492         (gamma_test): Likewise.
31493         (hypot_test): Likewise.
31494         (ilogb_test): Likewise.
31495         (isfinite_test): Likewise.
31496         (isgreater_test): Likewise.
31497         (isgreaterequal_test): Likewise.
31498         (isinf_test): Likewise.
31499         (isless_test): Likewise.
31500         (islessequal_test): Likewise.
31501         (islessgreater_test): Likewise.
31502         (isnan_test): Likewise.
31503         (isnormal_test): Likewise.
31504         (issignaling_test): Likewise.
31505         (isunordered_test): Likewise.
31506         (j0_test): Likewise.
31507         (j1_test): Likewise.
31508         (jn_test): Likewise.
31509         (ldexp_test): Likewise.
31510         (lgamma_test): Likewise.
31511         (lrint_test): Likewise.
31512         (lrint_test_tonearest): Likewise.
31513         (lrint_test_towardzero): Likewise.
31514         (lrint_test_downward): Likewise.
31515         (lrint_test_upward): Likewise.
31516         (llrint_test): Likewise.
31517         (llrint_test_tonearest): Likewise.
31518         (llrint_test_towardzero): Likewise.
31519         (llrint_test_downward): Likewise.
31520         (llrint_test_upward): Likewise.
31521         (log_test): Likewise.
31522         (log10_test): Likewise.
31523         (log1p_test): Likewise.
31524         (log2_test): Likewise.
31525         (logb_test): Likewise.
31526         (logb_test_downward): Likewise.
31527         (lround_test): Likewise.
31528         (llround_test): Likewise.
31529         (modf_test): Likewise.
31530         (nearbyint_test): Likewise.
31531         (nextafter_test): Likewise.
31532         (nexttoward_test): Likewise.
31533         (pow_test): Likewise.
31534         (pow_test_tonearest): Likewise.
31535         (pow_test_towardzero): Likewise.
31536         (pow_test_downward): Likewise.
31537         (pow_test_upward): Likewise.
31538         (remainder_test): Likewise.
31539         (remainder_test_tonearest): Likewise.
31540         (remainder_test_towardzero): Likewise.
31541         (remainder_test_downward): Likewise.
31542         (remainder_test_upward): Likewise.
31543         (remquo_test): Likewise.
31544         (rint_test): Likewise.
31545         (rint_test_tonearest): Likewise.
31546         (rint_test_towardzero): Likewise.
31547         (rint_test_downward): Likewise.
31548         (rint_test_upward): Likewise.
31549         (round_test): Likewise.
31550         (scalb_test): Likewise.
31551         (scalbn_test): Likewise.
31552         (scalbln_test): Likewise.
31553         (signbit_test): Likewise.
31554         (sin_test): Likewise.
31555         (sin_test_tonearest): Likewise.
31556         (sin_test_towardzero): Likewise.
31557         (sin_test_downward): Likewise.
31558         (sin_test_upward): Likewise.
31559         (sincos_test): Likewise.
31560         (sinh_test): Likewise.
31561         (sinh_test_tonearest): Likewise.
31562         (sinh_test_towardzero): Likewise.
31563         (sinh_test_downward): Likewise.
31564         (sinh_test_upward): Likewise.
31565         (sqrt_test): Likewise.
31566         (tan_test): Likewise.
31567         (tan_test_tonearest): Likewise.
31568         (tan_test_towardzero): Likewise.
31569         (tan_test_downward): Likewise.
31570         (tan_test_upward): Likewise.
31571         (tanh_test): Likewise.
31572         (tgamma_test): Likewise.
31573         (trunc_test): Likewise.
31574         (y0_test): Likewise.
31575         (y1_test): Likewise.
31576         (yn_test): Likewise.
31577         (significand_test): Likewise.
31579 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31581         [BZ #15381]
31582         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31584 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31586         [BZ #14894]
31587         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31588         __ppc_mdoio and __ppc_mdoom.
31589         * manual/platform.texi: Document new functions __ppc_yield,
31590         __ppc_mdoio and __ppc_mdoom.
31592 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31594         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31595         (main): Mention "tls" pseudo-hwcap is legacy.
31596         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31598 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31600         * math/gen-libm-test.pl (parse_args): Output only string of
31601         arguments as text for test name, not full call or descriptions of
31602         tests for extra outputs.
31603         (generate_testfile): Do not pass function name to parse_args.
31604         Generate this_func variable from START.
31605         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31606         field to arg_str.
31607         (struct test_ff_f_data): Likewise.
31608         (test_ff_f_data_nexttoward): Likewise.
31609         (struct test_fi_f_data): Likewise.
31610         (struct test_fl_f_data): Likewise.
31611         (struct test_if_f_data): Likewise.
31612         (struct test_fff_f_data): Likewise.
31613         (struct test_c_f_data): Likewise.
31614         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31615         (struct test_fF_f1_data): Likewise.
31616         (struct test_ffI_f1_data): Likewise.
31617         (struct test_c_c_data): Rename test_name field to arg_str.
31618         (struct test_cc_c_data): Likewise.
31619         (struct test_f_i_data): Likewise.
31620         (struct test_ff_i_data): Likewise.
31621         (struct test_f_l_data): Likewise.
31622         (struct test_f_L_data): Likewise.
31623         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31624         and extra2_name.
31625         (COMMON_TEST_SETUP): New macro.
31626         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31627         (COMMON_TEST_CLEANUP): Likewise.
31628         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31629         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31630         macros.
31631         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31632         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31633         macros.
31634         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31635         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31636         cleanup macros.
31637         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31638         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31639         macros.
31640         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31641         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31642         macros.
31643         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31644         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31645         cleanup macros.
31646         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31647         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31648         cleanup macros.
31649         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31650         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31651         cleanup macros.
31652         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31653         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31654         macros.
31655         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31656         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31657         macros.
31658         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31659         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31660         macros.
31661         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31662         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31663         cleanup macros.
31664         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31665         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31666         cleanup macros.
31667         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31668         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31669         macros.
31670         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31671         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31672         cleanup macros.
31673         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31674         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31675         macros.
31676         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31677         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31678         macros.
31679         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31680         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31681         cleanup macros.
31682         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31684 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31686         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31687         to _sifields.sigfault.
31688         (si_addr_lsb): Define new macro.
31689         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31691         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31693 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31695         [BZ #15441]
31696         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31697         returns -1.
31698         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31699         null return -1.
31700         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31701         loading the domain.
31703 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31705         * math/gen-libm-test.pl (parse_args): Do not include expected
31706         result in test name.
31707         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31708         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31709         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31710         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31711         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31714 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31716         * benchtests/Makefile: Sort function entries.
31718         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31719         tanh, asinh, acosh, atanh.
31720         * benchtests/acos-inputs: New file.
31721         * benchtests/acosh-inputs: New file.
31722         * benchtests/asin-inputs: New file.
31723         * benchtests/asinh-inputs: New file.
31724         * benchtests/atanh-inputs: New file.
31725         * benchtests/cosh-inputs: New file.
31726         * benchtests/log-inputs: New file.
31727         * benchtests/sinh-inputs: New file.
31728         * benchtests/tanh-inputs: New file.
31730 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31732         [BZ #15339]
31733         * posix/tst-getaddrinfo4.c: New test.
31734         * posix/Makefile (tests): Add it.
31736 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31738         [BZ #15339]
31739         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31740         when no services were used.
31741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31742         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31744 2013-05-21  Andreas Schwab  <schwab@suse.de>
31746         [BZ #15014]
31747         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31748         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31749         successful.
31750         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31751         redundant variable declarations and reallocation of buffer when
31752         parsing as IPv6 address.  Always set NSS status when called from
31753         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31754         buffer too small.  Correct computation of needed size.
31755         * nss/Makefile (tests): Add test-digits-dots.
31756         * nss/test-digits-dots.c: New test.
31758 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31760         * benchtests/Makefile: Remove instructions for adding
31761         benchmark tests.
31762         * benchtests/README: New file to explain how to execute and
31763         enhance the benchmark tests.
31765 2013-05-21  Andreas Schwab  <schwab@suse.de>
31767         [BZ #15493]
31768         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31769         * setjmp/tst-sigsetjmp.c: New test.
31771 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31773         * sysdeps/x86_64/memset.S (memset): New implementation.
31774         (__bzero): Likewise.
31775         (__memset_tail): New function.
31777 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31779         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31780         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31781         __memcpy_sse2_unaligned ifunc selection.
31782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31783         Add memcpy-sse2-unaligned.S.
31784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31785         Add: __memcpy_sse2_unaligned.
31787 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31789         [BZ #15490]
31790         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31791         math_force_eval before restoring floating-point envrionment.
31792         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31793         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31794         Likewise.
31795         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31796         <math_private.h>.
31797         (__nearbyintl): Use math_force_eval before restoring
31798         floating-point environment.
31799         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31801         * math/gen-libm-test.pl (special_functions): Remove.
31802         (parse_args): Don't handle TEST_extra.  Handle functions with no
31803         return value.
31804         * math/libm-test.inc (struct test_sincos_data): Replace with
31805         struct test_fFF_11_data.
31806         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31807         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31808         (sincos_test_data): Change element type to struct
31809         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31810         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31811         RUN_TEST_LOOP_sincos.
31812         * math/README.libm-test: Don't mention special handling of
31813         individual functions.
31814         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31815         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31816         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31817         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31818         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31821         * math/gen-libm-test.pl (get_variable): Remove function.
31822         (parse_args): Don't show pointer parameters to call in test
31823         names.  Use "extra output N" in test names for extra outputs
31824         rather than naming variables.
31826 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31828         [BZ #15488]
31829         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31830         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31831         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31832         double tests.
31833         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31834         disable.
31835         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31836         check_long_double.
31838         * math/gen-libm-test.pl (@tests): Remove variable.
31839         ($count): Likewise.
31840         (new_test): Remove function.
31841         (show_exceptions): New function.
31842         (special_functions): Use show_exceptions instead of new_test.
31843         (parse_args): Likewise.
31844         (generate_testfile): Pass only function name in generated call to
31845         print_max_error or print_complex_max_error.
31846         (get_ulps): Do not handle complex tests specially.
31847         (output_test): Rename to ...
31848         (get_all_ulps_for_test): ... this.  Return a string rather than
31849         printing to a file.  Require ulps to be present.
31850         (output_ulps): Generate arrays rather than #defines.
31851         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31852         (struct ulp_data): New type.
31853         (BUILD_COMPLEX_ULP): Remove macro.
31854         (compare_ulp_data): New function.
31855         (find_ulps): Likewise.
31856         (find_test_ulps): Likewise.
31857         (find_function_ulps): Likewise.
31858         (find_complex_function_ulps): Likewise.
31859         (print_max_error): Determine allowed ulps using
31860         find_function_ulps.
31861         (print_complex_max_error): Determine allowed ulps using
31862         find_complex_function_ulps.
31863         (check_float_internal): Determine max ulps using find_test_ulps.
31864         (check_float): Do not take max_ulp parameter.  Update call to
31865         check_float_internal.
31866         (check_complex): Likewise.
31867         (check_int): Do not take max_ulp parameter.
31868         (check_long): Likewise.
31869         (check_bool): Likewise.
31870         (check_longlong): Likewise.
31871         (struct test_f_f_data): Remove max_ulp field.
31872         (struct test_ff_f_data): Likewise.
31873         (struct test_ff_f_data_nexttoward): Likewise.
31874         (struct test_fi_f_data): Likewise.
31875         (struct test_fl_f_data): Likewise.
31876         (struct test_if_f_data): Likewise.
31877         (struct test_fff_f_data): Likewise.
31878         (struct test_c_f_data): Likewise.
31879         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31880         (struct test_fF_f1_data): Likewise.
31881         (struct test_ffI_f1_data): Likewise.
31882         (struct test_c_c_data): Remove max_ulp field.
31883         (struct test_cc_c_data): Likewise.
31884         (struct test_f_i_data): Likewise.
31885         (struct test_ff_i_data): Likewise.
31886         (struct test_f_l_data): Likewise.
31887         (struct test_f_L_data): Likewise.
31888         (struct test_sincos_data): Likewise.
31889         (RUN_TEST_f_f): Do not handle ulps.
31890         (RUN_TEST_LOOP_f_f): Likewise.
31891         (RUN_TEST_2_f): Likewise.
31892         (RUN_TEST_LOOP_2_f): Likewise.
31893         (RUN_TEST_fff_f): Likewise.
31894         (RUN_TEST_LOOP_fff_f): Likewise.
31895         (RUN_TEST_c_f): Likewise.
31896         (RUN_TEST_LOOP_c_f): Likewise.
31897         (RUN_TEST_f_f1): Likewise.
31898         (RUN_TEST_LOOP_f_f1): Likewise.
31899         (RUN_TEST_fF_f1): Likewise.
31900         (RUN_TEST_LOOP_fF_f1): Likewise.
31901         (RUN_TEST_fI_f1): Likewise.
31902         (RUN_TEST_LOOP_fI_f1): Likewise.
31903         (RUN_TEST_ffI_f1): Likewise.
31904         (RUN_TEST_LOOP_ffI_f1): Likewise.
31905         (RUN_TEST_c_c): Likewise.
31906         (RUN_TEST_LOOP_c_c): Likewise.
31907         (RUN_TEST_cc_c): Likewise.
31908         (RUN_TEST_LOOP_cc_c): Likewise.
31909         (RUN_TEST_f_i): Likewise.
31910         (RUN_TEST_LOOP_f_i): Likewise.
31911         (RUN_TEST_f_i_tg): Likewise.
31912         (RUN_TEST_LOOP_f_i_tg): Likewise.
31913         (RUN_TEST_ff_i_tg): Likewise.
31914         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31915         (RUN_TEST_f_b): Likewise.
31916         (RUN_TEST_LOOP_f_b): Likewise.
31917         (RUN_TEST_f_b_tg): Likewise.
31918         (RUN_TEST_LOOP_f_b_tg): Likewise.
31919         (RUN_TEST_f_l): Likewise.
31920         (RUN_TEST_LOOP_f_l): Likewise.
31921         (RUN_TEST_f_L): Likewise.
31922         (RUN_TEST_LOOP_f_L): Likewise.
31923         (RUN_TEST_sincos): Likewise.
31924         (RUN_TEST_LOOP_sincos): Likewise.
31926 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31928         [BZ #15480]
31929         [BZ #15485]
31930         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31931         main case of finite arguments, set rounding mode to FE_TONEAREST
31932         and discard exceptions.
31933         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31934         exceptions.
31935         (remainder_tonearest_test_data): New variable.
31936         (remainder_test_tonearest): New function.
31937         (remainder_towardzero_test_data): New variable.
31938         (remainder_test_towardzero): New function.
31939         (remainder_downward_test_data): New variable.
31940         (remainder_test_downward): New function.
31941         (remainder_upward_test_data): New variable.
31942         (remainder_test_upward): New function.
31943         (main): Call the new test functions.
31945         * math/libm-test.inc (struct test_f_f1_data): Remove field
31946         extra_init.
31947         (struct test_fF_f1_data): Likewise.
31948         (struct test_ffI_f1_data): Likewise.
31949         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31950         based on value of EXTRA_EXPECTED.
31951         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31952         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31953         EXTRA_VAR based on value of EXTRA_EXPECTED.
31954         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31955         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31956         EXTRA_VAR based on value of EXTRA_EXPECTED.
31957         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31958         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31959         EXTRA_VAR based on value of EXTRA_EXPECTED.
31960         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31961         * math/gen-libm-test.pl (parse_args): Don't output initializers
31962         for extra output values.
31964         * math/libm-test.inc (check_int): Expect result to be exactly
31965         equal to expected value and do not handle ulps.
31966         (check_long): Likewise.
31967         (check_longlong): Likewise.
31969         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31970         exceptions.
31971         (cimag_test_data): Likewise.
31972         (conj_test_data): Likewise.
31973         (copysign_test_data): Likewise.
31974         (cproj_test_data): Likewise.
31975         (creal_test_data): Likewise.
31976         (fabs_test_data): Likewise.
31977         (fdim_test_data): Likewise.
31978         (finite_test_data): Likewise.
31979         (floor_test_data): Likewise.
31980         (fmax_test_data): Likewise.
31981         (fmin_test_data): Likewise.
31982         (fmod_test_data): Likewise.
31983         (fpclassify_test_data): Likewise.
31984         (frexp_test_data): Likewise.
31985         (ilogb_test_data): Likewise.
31986         (isfinite_test_data): Likewise.
31987         (isgreater_test_data): Likewise.
31988         (isgreaterequal_test_data): Likewise.
31989         (isinf_test_data): Likewise.
31990         (isless_test_data): Likewise.
31991         (islessequal_test_data): Likewise.
31992         (islessgreater_test_data): Likewise.
31993         (isnan_test_data): Likewise.
31994         (isnormal_test_data): Likewise.
31995         (issignaling_test_data): Likewise.
31996         (isunordered_test_data): Likewise.
31997         (ldexp_test_data): Likewise.
31998         (lrint_test_data): Likewise.
31999         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32000         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32001         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32002         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32003         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32004         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32005         test input.
32006         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32007         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32008         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32009         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32010         that test input.
32011         (lrint_downward_test_data): Test for "inexact" exceptions.
32012         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32013         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32014         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32015         test input.
32016         (lrint_upward_test_data): Test for "inexact" exceptions.
32017         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32018         test input.
32019         (llrint_test_data): Test for "inexact" exceptions.
32020         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32021         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32022         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32023         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32024         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32025         (llrint_downward_test_data): Test for "inexact" exceptions.
32026         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32027         (llrint_upward_test_data): Test for "inexact" exceptions.
32028         (logb_test_data): Likewise.
32029         (logb_downward_test_data): Likewise.
32030         (nextafter_test_data): Likewise.
32031         (nexttoward_test_data): Likewise.
32032         (remainder_test_data): Likewise.
32033         (remquo_test_data): Likewise.
32034         (scalbn_test_data): Likewise.
32035         (scalbln_test_data): Likewise.
32036         (signbit_test_data): Likewise.
32037         (sqrt_test_data): Likewise.
32038         (significand_test_data): Likewise.
32040 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32042         [BZ #15424]
32043         * benchtests/bench-modf.c (struct args): Mark arg0 as
32044         volatile.
32045         * scripts/bench.pl: Mark members of struct args as volatile.
32047 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32049         [BZ # 15497]
32050         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32051         negative infinity on POWER6 or lower.
32052         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32054 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32056         [BZ #15442]
32057         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32058         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32059         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32060         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32061         (_FP_SETQNAN): New macro.
32062         (_FP_SETQNAN_SEMIRAW): Likewise.
32063         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32064         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32065         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32066         (FP_EXTEND): Use _FP_FRAC_SNANP.
32067         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32068         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32069         into account.
32070         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32071         New macro.
32072         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32073         Likewise.
32075 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32077         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32078         with DIVIDE_BY_ZERO_EXCEPTION.
32079         (gamma_test_data): Likewise.
32080         (lgamma_test_data): Likewise.
32081         (log_test_data): Likewise.
32082         (log10_test_data): Likewise.
32083         (log2_test_data): Likewise.
32084         (tgamma_test_data): Likewise.
32086         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32087         (acos_test_tonearest): Likewise.
32088         (acos_test_towardzero): Likewise.
32089         (acos_test_downward): Likewise.
32090         (acos_test_upward): Likewise.
32091         (acosh_test): Likewise.
32092         (asin_test): Likewise.
32093         (asin_test_tonearest): Likewise.
32094         (asin_test_towardzero): Likewise.
32095         (asin_test_downward): Likewise.
32096         (asin_test_upward): Likewise.
32097         (asinh_test): Likewise.
32098         (atan_test): Likewise.
32099         (atanh_test): Likewise.
32100         (atan2_test): Likewise.
32101         (cabs_test): Likewise.
32102         (cacos_test): Likewise.
32103         (cacosh_test): Likewise.
32104         (casin_test): Likewise.
32105         (casinh_test): Likewise.
32106         (catan_test): Likewise.
32107         (catanh_test): Likewise.
32108         (cbrt_test): Likewise.
32109         (ccos_test): Likewise.
32110         (ccosh_test): Likewise.
32111         (cexp_test): Likewise.
32112         (clog_test): Likewise.
32113         (clog10_test): Likewise.
32114         (cos_test): Likewise.
32115         (cos_test_tonearest): Likewise.
32116         (cos_test_towardzero): Likewise.
32117         (cos_test_downward): Likewise.
32118         (cos_test_upward): Likewise.
32119         (cosh_test): Likewise.
32120         (cosh_test_tonearest): Likewise.
32121         (cosh_test_towardzero): Likewise.
32122         (cosh_test_downward): Likewise.
32123         (cosh_test_upward): Likewise.
32124         (cpow_test): Likewise.
32125         (csin_test): Likewise.
32126         (csinh_test): Likewise.
32127         (csqrt_test): Likewise.
32128         (ctan_test): Likewise.
32129         (ctan_test_tonearest): Likewise.
32130         (ctan_test_towardzero): Likewise.
32131         (ctan_test_downward): Likewise.
32132         (ctan_test_upward): Likewise.
32133         (ctanh_test): Likewise.
32134         (ctanh_test_tonearest): Likewise.
32135         (ctanh_test_towardzero): Likewise.
32136         (ctanh_test_downward): Likewise.
32137         (ctanh_test_upward): Likewise.
32138         (erf_test): Likewise.
32139         (erfc_test): Likewise.
32140         (exp_test): Likewise.
32141         (exp_test_tonearest): Likewise.
32142         (exp_test_towardzero): Likewise.
32143         (exp_test_downward): Likewise.
32144         (exp_test_upward): Likewise.
32145         (exp10_test): Likewise.
32146         (exp2_test): Likewise.
32147         (expm1_test): Likewise.
32148         (fmod_test): Likewise.
32149         (gamma_test): Likewise.
32150         (hypot_test): Likewise.
32151         (j0_test): Likewise.
32152         (j1_test): Likewise.
32153         (jn_test): Likewise.
32154         (lgamma_test): Likewise.
32155         (log_test): Likewise.
32156         (log10_test): Likewise.
32157         (log1p_test): Likewise.
32158         (log2_test): Likewise.
32159         (logb_test_downward): Likewise.
32160         (pow_test): Likewise.
32161         (pow_test_tonearest): Likewise.
32162         (pow_test_towardzero): Likewise.
32163         (pow_test_downward): Likewise.
32164         (pow_test_upward): Likewise.
32165         (remainder_test): Likewise.
32166         (remquo_test): Likewise.
32167         (sin_test): Likewise.
32168         (sin_test_tonearest): Likewise.
32169         (sin_test_towardzero): Likewise.
32170         (sin_test_downward): Likewise.
32171         (sin_test_upward): Likewise.
32172         (sincos_test): Likewise.
32173         (sinh_test): Likewise.
32174         (sinh_test_tonearest): Likewise.
32175         (sinh_test_towardzero): Likewise.
32176         (sinh_test_downward): Likewise.
32177         (sinh_test_upward): Likewise.
32178         (sqrt_test): Likewise.
32179         (tan_test): Likewise.
32180         (tan_test_tonearest): Likewise.
32181         (tan_test_towardzero): Likewise.
32182         (tan_test_downward): Likewise.
32183         (tan_test_upward): Likewise.
32184         (tanh_test): Likewise.
32185         (tgamma_test): Likewise.
32186         (y0_test): Likewise.
32187         (y1_test): Likewise.
32188         (yn_test): Likewise.
32190         * math/gen-libm-test.pl (adjust_arg): Remove function.
32191         (special_function): Remove argument $in_func.  Only handle
32192         generating output for tables of tests, not inside functions.
32193         (parse_args): Likewise.
32194         (generate_testfile): Remove variable $in_func.  Update call to
32195         parse_args.
32196         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32197         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32198         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32199         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32200         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32201         (MAX_VALUE_INIT): Rename macro to max_value.
32202         (MIN_VALUE_INIT): Rename macro to min_value.
32203         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32204         (plus_zero): Remove variable.
32205         (minus_zero): Likewise.
32206         (plus_infty): Likewise.
32207         (minus_infty): Likewise.
32208         (qnan_value): Likewise.
32209         (max_value): Likewise.
32210         (min_value): Likewise.
32211         (min_subnorm_value): Likewise.
32213 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32215         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32216         uint64_t or uint32_t usage.
32217         * crypt/sha256-block.c: Likewise.
32218         * crypt/sha256-crypt.c: Likewise.
32219         * crypt/sha256.c: Likewise.
32220         * crypt/sha512-block.c: Likewise.
32221         * crypt/sha512-crypt.c: Likewise.
32222         * crypt/sha512.c: Likewise.
32223         * debug/backtrace-tst.c: Likewise.
32224         * debug/pcprofiledump.c: Likewise.
32225         * elf/cache.c: Likewise.
32226         * elf/dl-cache.c: Likewise.
32227         * elf/dl-misc.c: Likewise.
32228         * elf/dl-profile.c: Likewise.
32229         * elf/dl-support.c: Likewise.
32230         * elf/ldconfig.c: Likewise.
32231         * elf/sprof.c: Likewise.
32232         * iconv/dummy-repertoire.c: Likewise.
32233         * iconv/iconv_charmap.c: Likewise.
32234         * iconv/skeleton.c: Likewise.
32235         * iconvdata/8bit-generic.c: Likewise.
32236         * iconvdata/cp737.h: Likewise.
32237         * iconvdata/cp775.h: Likewise.
32238         * iconvdata/ibm1008.h: Likewise.
32239         * iconvdata/ibm1025.h: Likewise.
32240         * iconvdata/ibm1046.h: Likewise.
32241         * iconvdata/ibm1097.h: Likewise.
32242         * iconvdata/ibm1112.h: Likewise.
32243         * iconvdata/ibm1122.h: Likewise.
32244         * iconvdata/ibm1123.h: Likewise.
32245         * iconvdata/ibm1124.h: Likewise.
32246         * iconvdata/ibm1129.h: Likewise.
32247         * iconvdata/ibm1130.h: Likewise.
32248         * iconvdata/ibm1132.h: Likewise.
32249         * iconvdata/ibm1133.h: Likewise.
32250         * iconvdata/ibm1137.h: Likewise.
32251         * iconvdata/ibm1140.h: Likewise.
32252         * iconvdata/ibm1141.h: Likewise.
32253         * iconvdata/ibm1142.h: Likewise.
32254         * iconvdata/ibm1143.h: Likewise.
32255         * iconvdata/ibm1144.h: Likewise.
32256         * iconvdata/ibm1145.h: Likewise.
32257         * iconvdata/ibm1146.h: Likewise.
32258         * iconvdata/ibm1147.h: Likewise.
32259         * iconvdata/ibm1148.h: Likewise.
32260         * iconvdata/ibm1149.h: Likewise.
32261         * iconvdata/ibm1153.h: Likewise.
32262         * iconvdata/ibm1154.h: Likewise.
32263         * iconvdata/ibm1155.h: Likewise.
32264         * iconvdata/ibm1156.h: Likewise.
32265         * iconvdata/ibm1157.h: Likewise.
32266         * iconvdata/ibm1158.h: Likewise.
32267         * iconvdata/ibm1160.h: Likewise.
32268         * iconvdata/ibm1161.h: Likewise.
32269         * iconvdata/ibm1162.h: Likewise.
32270         * iconvdata/ibm1163.h: Likewise.
32271         * iconvdata/ibm1164.h: Likewise.
32272         * iconvdata/ibm1166.h: Likewise.
32273         * iconvdata/ibm1167.h: Likewise.
32274         * iconvdata/ibm12712.h: Likewise.
32275         * iconvdata/ibm1390.h: Likewise.
32276         * iconvdata/ibm1399.h: Likewise.
32277         * iconvdata/ibm16804.h: Likewise.
32278         * iconvdata/ibm4517.h: Likewise.
32279         * iconvdata/ibm4899.h: Likewise.
32280         * iconvdata/ibm4909.h: Likewise.
32281         * iconvdata/ibm4971.h: Likewise.
32282         * iconvdata/ibm5347.h: Likewise.
32283         * iconvdata/ibm803.h: Likewise.
32284         * iconvdata/ibm856.h: Likewise.
32285         * iconvdata/ibm901.h: Likewise.
32286         * iconvdata/ibm902.h: Likewise.
32287         * iconvdata/ibm9030.h: Likewise.
32288         * iconvdata/ibm9066.h: Likewise.
32289         * iconvdata/ibm921.h: Likewise.
32290         * iconvdata/ibm922.h: Likewise.
32291         * iconvdata/ibm9448.h: Likewise.
32292         * iconvdata/isiri-3342.h: Likewise.
32293         * iconvdata/jis0201.h: Likewise.
32294         * include/link.h: Likewise.
32295         * include/netdb.h: Likewise.
32296         * inet/check_native.c: Likewise.
32297         * inet/check_pf.c: Likewise.
32298         * inet/getipv4sourcefilter.c: Likewise.
32299         * inet/getnameinfo.c: Likewise.
32300         * inet/getsourcefilter.c: Likewise.
32301         * inet/htonl.c: Likewise.
32302         * inet/setipv4sourcefilter.c: Likewise.
32303         * inet/setsourcefilter.c: Likewise.
32304         * inet/test-inet6_opt.c: Likewise.
32305         * inet/tst-network.c: Likewise.
32306         * locale/C-collate.c: Likewise.
32307         * locale/C-ctype.c: Likewise.
32308         * locale/C-time.c: Likewise.
32309         * locale/C-translit.h: Likewise.
32310         * locale/loadarchive.c: Likewise.
32311         * locale/programs/3level.h: Likewise.
32312         * locale/programs/charmap.c: Likewise.
32313         * locale/programs/charmap.h: Likewise.
32314         * locale/programs/ld-address.c: Likewise.
32315         * locale/programs/ld-collate.c: Likewise.
32316         * locale/programs/ld-ctype.c: Likewise.
32317         * locale/programs/ld-identification.c: Likewise.
32318         * locale/programs/ld-measurement.c: Likewise.
32319         * locale/programs/ld-messages.c: Likewise.
32320         * locale/programs/ld-monetary.c: Likewise.
32321         * locale/programs/ld-name.c: Likewise.
32322         * locale/programs/ld-numeric.c: Likewise.
32323         * locale/programs/ld-paper.c: Likewise.
32324         * locale/programs/ld-telephone.c: Likewise.
32325         * locale/programs/ld-time.c: Likewise.
32326         * locale/programs/linereader.c: Likewise.
32327         * locale/programs/locale.c: Likewise.
32328         * locale/programs/locarchive.c: Likewise.
32329         * locale/programs/locfile.h: Likewise.
32330         * locale/programs/repertoire.c: Likewise.
32331         * locale/programs/simple-hash.c: Likewise.
32332         * locale/programs/simple-hash.h: Likewise.
32333         * malloc/memusage.c: Likewise.
32334         * malloc/memusagestat.c: Likewise.
32335         * nis/nis_defaults.c: Likewise.
32336         * nis/nis_hash.c: Likewise.
32337         * nis/nis_print.c: Likewise.
32338         * nis/nis_xdr.c: Likewise.
32339         * nscd/connections.c: Likewise.
32340         * nscd/hstcache.c: Likewise.
32341         * nscd/nscd_gethst_r.c: Likewise.
32342         * nscd/nscd_getserv_r.c: Likewise.
32343         * nscd/nscd_helper.c: Likewise.
32344         * nscd/servicescache.c: Likewise.
32345         * nss/makedb.c: Likewise.
32346         * nss/nss_db/db-XXX.c: Likewise.
32347         * nss/nss_db/db-initgroups.c: Likewise.
32348         * nss/nss_db/db-netgrp.c: Likewise.
32349         * nss/nss_files/files-network.c: Likewise.
32350         * nss/nss_files/files-parse.c: Likewise.
32351         * posix/bug-regex5.c: Likewise.
32352         * posix/fnmatch_loop.c: Likewise.
32353         * posix/regcomp.c: Likewise.
32354         * posix/regexec.c: Likewise.
32355         * posix/tst-rfc3484-2.c: Likewise.
32356         * posix/tst-rfc3484-3.c: Likewise.
32357         * posix/tst-rfc3484.c: Likewise.
32358         * resolv/nss_dns/dns-canon.c: Likewise.
32359         * resolv/nss_dns/dns-network.c: Likewise.
32360         * resolv/res_init.c: Likewise.
32361         * resolv/res_mkquery.c: Likewise.
32362         * resolv/tst-aton.c: Likewise.
32363         * stdlib/cxa_atexit.c: Likewise.
32364         * stdlib/cxa_finalize.c: Likewise.
32365         * stdlib/gen-fpioconst.c: Likewise.
32366         * stdlib/strtol_l.c: Likewise.
32367         * string/tst-endian.c: Likewise.
32368         * sunrpc/auth_des.c: Likewise.
32369         * sunrpc/clnt_udp.c: Likewise.
32370         * sunrpc/rtime.c: Likewise.
32371         * sunrpc/svcauth_des.c: Likewise.
32372         * sunrpc/xdr.c: Likewise.
32373         * sunrpc/xdr_intXX_t.c: Likewise.
32374         * sunrpc/xdr_rec.c: Likewise.
32375         * sysdeps/generic/ldconfig.h: Likewise.
32376         * sysdeps/generic/ldsodefs.h: Likewise.
32377         * sysdeps/generic/memusage.h: Likewise.
32378         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32380         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32381         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32382         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32383         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32384         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32385         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32386         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32387         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32388         * sysdeps/posix/getaddrinfo.c: Likewise.
32389         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32390         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32391         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32392         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32393         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32394         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32395         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32396         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32397         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32398         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32399         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32400         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32401         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32402         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32403         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32404         * sysdeps/x86_64/dl-tls.h: Likewise.
32405         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32406         * time/alt_digit.c: Likewise.
32407         * time/era.c: Likewise.
32408         * wcsmbs/tst-c16c32-1.c: Likewise.
32410 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32412         * math/libm-test.inc (struct test_sincos_data): New type.
32413         (RUN_TEST_LOOP_sincos): New macro.
32414         (sincos_test_data): New variable.
32415         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32417 2013-05-16  Richard Henderson  <rth@redhat.com>
32419         * math/atest-exp2.c (LIMB64): New macro.
32420         (CONSTSZ): New macro.
32421         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32422         (hexdig): Move ...
32423         (print_mpn_fp): ... to function scope.
32424         (read_mpn_hex): Remove.
32425         (get_log2): Remove.
32426         (exp2_mpn): Use mp_log2.
32427         (main): Use mp_exp1.
32429 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32431         * math/libm-test.inc: Remove comment about not testing "inexact"
32432         exceptions.
32433         (INEXACT_EXCEPTION): New macro.
32434         (NO_INEXACT_EXCEPTION): Likewise.
32435         (INVALID_EXCEPTION_OK): Update value.
32436         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32437         (OVERFLOW_EXCEPTION_OK): Likewise.
32438         (UNDERFLOW_EXCEPTION_OK): Likewise.
32439         (IGNORE_ZERO_INF_SIGN): Likewise.
32440         (ERRNO_UNCHANGED): Likewise.
32441         (ERRNO_EDOM): Likewise.
32442         (ERRNO_ERANGE): Likewise.
32443         (test_exceptions): Handle testing "inexact" exceptions.
32444         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32445         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32446         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32447         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32448         INEXACT_EXCEPTION.
32449         (rint_towardzero_test_data): Likewise.
32450         (rint_downward_test_data): Likewise.
32451         (rint_upward_test_data): Likewise.
32453         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32454         with OVERFLOW_EXCEPTION.
32455         (exp10_test_data): Likewise.
32456         (exp2_test_data): Likewise.
32457         (expm1_test_data): Likewise.
32458         (lgamma_test_data): Likewise.
32459         (pow_test_data): Likewise.
32460         (tgamma_test_data): Likewise.
32461         (yn_test_data): Remove duplicate test of overflow.
32463         * math/libm-test.inc (struct test_cc_c_data): New type.
32464         (RUN_TEST_LOOP_cc_c): New macro.
32465         (cpow_test_data): New variable.
32466         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32468         * math/libm-test.inc (struct test_f_L_data): New type.
32469         (RUN_TEST_LOOP_f_L): New macro.
32470         (llrint_test_data): New variable.
32471         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32472         (llrint_tonearest_test_data): New variable.
32473         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32474         (llrint_towardzero_test_data): New variable.
32475         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32476         (llrint_downward_test_data): New variable.
32477         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32478         (llrint_upward_test_data): New variable.
32479         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32480         (llround_test_data): New variable.
32481         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32483 2013-05-13  Peter Collingbourne  <pcc@google.com>
32485         * math/atest-exp2.c (get_log2): Remove const attribute.
32487 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32489         * math/libm-test.inc (struct test_f_l_data): New type.
32490         (RUN_TEST_LOOP_f_l): New macro.
32491         (lrint_test_data): New variable.
32492         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32493         (lrint_tonearest_test_data): New variable.
32494         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32495         (lrint_towardzero_test_data): New variable.
32496         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32497         (lrint_downward_test_data): New variable.
32498         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32499         (lrint_upward_test_data): New variable.
32500         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32501         (lround_test_data): New variable.
32502         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32504 2013-05-15  Peter Collingbourne  <pcc@google.com>
32506         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32507         (EXTRACT_WORDS64) Use where appropriate.
32508         (INSERT_WORDS64) Likewise.
32510         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32511         constraints with x constraints.
32512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32514         * malloc/obstack.c (_obstack_compat): Add initializer.
32516 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32518         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32519         si_trapno and add si_addr_lsb to _sifields.sigfault.
32520         (si_trapno): Remove macro.
32521         (si_addr_lsb): Define new macro.
32522         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32524 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32526         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32527         instead of TEST_f_l.
32528         (llrint_test_tonearest): Likewise.
32529         (llrint_test_towardzero): Likewise.
32530         (llrint_test_downward): Likewise.
32531         (llrint_test_upward): Likewise.
32532         (llround_test): Likewise.
32534         * math/libm-test.inc (struct test_f_i_data): Add comment.
32535         (RUN_TEST_LOOP_f_b): New macro.
32536         (RUN_TEST_LOOP_f_b_tg): Likewise.
32537         (finite_test_data): New variable.
32538         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32539         (isfinite_test_data): New variable.
32540         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32541         (isinf_test_data): New variable.
32542         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32543         (isnan_test_data): New variable.
32544         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32545         (isnormal_test_data): New variable.
32546         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32547         (issignaling_test_data): New variable.
32548         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32549         (signbit_test_data): New variable.
32550         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32552         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32553         with INVALID_EXCEPTION.
32554         (acosh_test_data): Likewise.
32555         (asin_test_data): Likewise.
32556         (atanh_test_data): Likewise.
32557         (fmod_test_data): Likewise.
32558         (log_test_data): Likewise.
32559         (log10_test_data): Likewise.
32560         (log2_test_data): Likewise.
32561         (pow_test_data): Likewise.
32562         (sqrt_test_data): Likewise.
32563         (y0_test_data): Likewise.
32564         (y1_test_data): Likewise.
32565         (yn_test_data): Likewise.
32567         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32568         function contents.
32570         * math/libm-test.inc (struct test_ff_i_data): New type.
32571         (RUN_TEST_LOOP_ff_i_tg): New macro.
32572         (isgreater_test_data): New variable.
32573         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32574         (isgreaterequal_test_data): New variable.
32575         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32576         (isless_test_data): New variable.
32577         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32578         (islessequal_test_data): New variable.
32579         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32580         (islessgreater_test_data): New variable.
32581         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32582         (isunordered_test_data): New variable.
32583         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32585 2013-05-14  David S. Miller  <davem@davemloft.net>
32587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32589 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32591         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32593         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32594         extra_test to int.
32595         (struct test_f_i_data): Change type of max_ulp to int.
32597         * math/libm-test.inc (test_ffI_f1_data): New type.
32598         (RUN_TEST_LOOP_ffI_f1): New macro.
32599         (remquo_test_data): New variable.
32600         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32602         * setjmp/tst-setjmp-fp.c: New file.
32603         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32604         (link-libm): New variable.
32605         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32607         * math/libm-test.inc (struct test_f_i_data): New type.
32608         (RUN_TEST_LOOP_f_i): New macro.
32609         (RUN_TEST_LOOP_f_i_tg): Likewise.
32610         (fpclassify_test_data): New variable.
32611         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32612         (ilogb_test_data): New variable.
32613         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32615         * math/libm-test.inc (scalbln_test): Correct function name in END
32616         call.
32618         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32619         (RUN_TEST_LOOP_fI_f1): New macro.
32620         (frexp_test_data): New variable.
32621         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32623         * math/libm-test.inc (struct test_fF_f1_data): New type.
32624         (RUN_TEST_LOOP_fF_f1): New macro.
32625         (modf_test_data): New variable.
32626         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32628         * math/libm-test.inc (struct test_f_f1_data): New type.
32629         (RUN_TEST_LOOP_f_f1): New macro.
32630         (gamma_test_data): New variable.
32631         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32632         (lgamma_test_data): New variable.
32633         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32635 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32637         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32638         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32639         (main): Comment "tls" pseudo-hwcap.
32641 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32643         * math/libm-test.inc (struct test_fl_f_data): New type.
32644         (RUN_TEST_LOOP_fl_f): New variable.
32645         (scalbln_test_data): New variable.
32646         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32648         * math/libm-test.inc (struct test_fi_f_data): New type.
32649         (RUN_TEST_LOOP_fi_f): New macro.
32650         (ldexp_test_data): New variable.
32651         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32652         (scalbn_test_data): New variable.
32653         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32655         * math/libm-test.inc (struct test_c_f_data): New type.
32656         (RUN_TEST_LOOP_c_f): New macro.
32657         (cabs_test_data): New variable.
32658         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32659         (carg_test_data): New variable.
32660         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32661         (cimag_test_data): New variable.
32662         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32663         (creal_test_data): New variable.
32664         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32666         * math/libm-test.inc (struct test_if_f_data): New type.
32667         (RUN_TEST_LOOP_if_f): New macro.
32668         (jn_test_data): New variable.
32669         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32670         (yn_test_data): New variable.
32671         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32673         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32675 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32677         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32678         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32680 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32682         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32683         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32684         (bench-deps): Add bench-timing.h.
32685         * benchtests-bench-skeleton.c: Include bench-timing.h.
32686         (main): Use TIMING_* macros instead of clock_gettime.
32687         * benchtests/bench-timing.h: New file.
32689         [BZ #14582]
32690         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32691         Renamed from _LIB_VERSION.
32692         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32694 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32696         * math/libm-test.inc (struct test_fff_f_data): New type.
32697         (RUN_TEST_LOOP_fff_f): New macro.
32698         (fma_test_data): New variable.
32699         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32700         (fma_towardzero_test_data): New variable.
32701         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32702         (fma_downward_test_data): New variable.
32703         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32704         (fma_upward_test_data): New variable.
32705         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32707         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32708         (struct test_c_c_data): New type.
32709         (RUN_TEST_LOOP_c_c): New macro.
32710         (cacos_test_data): New variable.
32711         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32712         (cacosh_test_data): New variable.
32713         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32714         (casin_test_data): New variable.
32715         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32716         (casinh_test_data): New variable.
32717         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32718         (catan_test_data): New variable.
32719         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32720         (catanh_test_data): New variable.
32721         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32722         (ccos_test_data): New variable.
32723         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32724         (ccosh_test_data): New variable.
32725         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32726         (cexp_test_data): New variable.
32727         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32728         (clog_test_data): New variable.
32729         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32730         (clog10_test_data): New variable.
32731         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32732         (conj_test_data): New variable.
32733         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32734         (cproj_test_data): New variable.
32735         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32736         (csin_test_data): New variable.
32737         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32738         (csinh_test_data): New variable.
32739         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32740         (csqrt_test_data): New variable.
32741         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32742         (ctan_test_data): New variable.
32743         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32744         (ctan_tonearest_test_data): New variable.
32745         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32746         (ctan_towardzero_test_data): New variable.
32747         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32748         (ctan_downward_test_data): New variable.
32749         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32750         (ctan_upward_test_data): New variable.
32751         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32752         (ctanh_test_data): New variable.
32753         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32754         (ctanh_tonearest_test_data): New variable.
32755         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32756         (ctanh_towardzero_test_data): New variable.
32757         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32758         (ctanh_downward_test_data): New variable.
32759         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32760         (ctanh_upward_test_data): New variable.
32761         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32762         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32763         of BUILD_COMPLEX.
32765         * math/libm-test.inc (struct test_ff_f_data): New type.
32766         (struct test_ff_f_data_nexttoward): Likewise.
32767         (RUN_TEST_LOOP_2_f): New macro.
32768         (RUN_TEST_LOOP_ff_f): Likewise.
32769         (atan2_test_data): New variable.
32770         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32771         (copysign_test_data): New variable.
32772         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32773         (fdim_test_data): New variable.
32774         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32775         (fmax_test_data): New variable.
32776         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32777         (fmin_test_data): New variable.
32778         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32779         (fmod_test_data): New variable.
32780         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32781         (hypot_test_data): New variable.
32782         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32783         (nextafter_test_data): New variable.
32784         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32785         (nexttoward_test_data): New variable.
32786         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32787         (pow_test_data): New variable.
32788         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32789         (pow_tonearest_test_data): New variable.
32790         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32791         (pow_towardzero_test_data): New variable.
32792         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32793         (pow_downward_test_data): New variable.
32794         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32795         (pow_upward_test_data): New variable.
32796         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32797         (remainder_test_data): New variable.
32798         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32799         (scalb_test_data): New variable.
32800         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32801         * sysdeps/i386/fpu/libm-test-ulps: Update.
32803 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32805         * math/libm-test.inc (fma_test): Use max_value instead of local
32806         variable fltmax.
32807         (nextafter_test): Likewise.
32809         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32810         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32811         (acos_downward_test_data): New variable.
32812         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32813         (acos_upward_test_data): New variable.
32814         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32815         (acosh_test_data): New variable.
32816         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32817         (asin_test_data): New variable.
32818         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32819         (asin_tonearest_test_data): New variable.
32820         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32821         (asin_towardzero_test_data): New variable.
32822         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32823         (asin_downward_test_data): New variable.
32824         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32825         (asin_upward_test_data): New variable.
32826         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32827         (asinh_test_data): New variable.
32828         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32829         (atan_test_data): New variable.
32830         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32831         (atanh_test_data): New variable.
32832         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32833         (cbrt_test_data): New variable.
32834         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32835         (ceil_test_data): New variable.
32836         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32837         (cos_test_data): New variable.
32838         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32839         (cos_tonearest_test_data): New variable.
32840         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32841         (cos_towardzero_test_data): New variable.
32842         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32843         (cos_downward_test_data): New variable.
32844         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32845         (cos_upward_test_data): New variable.
32846         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32847         (cosh_test_data): New variable.
32848         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32849         (cosh_tonearest_test_data): New variable.
32850         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32851         (cosh_towardzero_test_data): New variable.
32852         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32853         (cosh_downward_test_data): New variable.
32854         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32855         (cosh_upward_test_data): New variable.
32856         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32857         (erf_test_data): New variable.
32858         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32859         (erfc_test_data): New variable.
32860         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32861         (exp_test_data): New variable.
32862         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32863         (exp_tonearest_test_data): New variable.
32864         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32865         (exp_towardzero_test_data): New variable.
32866         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32867         (exp_downward_test_data): New variable.
32868         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32869         (exp_upward_test_data): New variable.
32870         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32871         (exp10_test_data): New variable.
32872         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32873         (exp2_test_data): New variable.
32874         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32875         (expm1_test_data): New variable.
32876         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32877         (fabs_test_data): New variable.
32878         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32879         (floor_test_data): New variable.
32880         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32881         (j0_test_data): New variable.
32882         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32883         (j1_test_data): New variable.
32884         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32885         (log_test_data): New variable.
32886         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32887         (log10_test_data): New variable.
32888         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32889         (log1p_test_data): New variable.
32890         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32891         (log2_test_data): New variable.
32892         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32893         (logb_test_data): New variable.
32894         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32895         (logb_downward_test_data): New variable.
32896         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32897         (nearbyint_test_data): New variable.
32898         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32899         (rint_test_data): New variable.
32900         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32901         (rint_tonearest_test_data): New variable.
32902         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32903         (rint_towardzero_test_data): New variable.
32904         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32905         (rint_downward_test_data): New variable.
32906         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32907         (rint_upward_test_data): New variable.
32908         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32909         (round_test_data): New variable.
32910         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32911         (sin_test_data): New variable.
32912         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32913         (sin_tonearest_test_data): New variable.
32914         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32915         (sin_towardzero_test_data): New variable.
32916         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32917         (sin_downward_test_data): New variable.
32918         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32919         (sin_upward_test_data): New variable.
32920         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32921         (sinh_test_data): New variable.
32922         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32923         (sinh_tonearest_test_data): New variable.
32924         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32925         (sinh_towardzero_test_data): New variable.
32926         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32927         (sinh_downward_test_data): New variable.
32928         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32929         (sinh_upward_test_data): New variable.
32930         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32931         (sqrt_test_data): New variable.
32932         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32933         (tan_test_data): New variable.
32934         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32935         (tan_tonearest_test_data): New variable.
32936         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32937         (tan_towardzero_test_data): New variable.
32938         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32939         (tan_downward_test_data): New variable.
32940         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32941         (tan_upward_test_data): New variable.
32942         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32943         (tanh_test_data): New variable.
32944         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32945         (tgamma_test_data): New variable.
32946         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32947         (trunc_test_data): New variable.
32948         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32949         (y0_test_data): New variable.
32950         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32951         (y1_test_data): New variable.
32952         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32953         (significand_test_data): New variable.
32954         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32956 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32958         [BZ #12387]
32959         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32961 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32963         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32965 2013-05-10  Andreas Jaeger  <aj@suse.de>
32967         [BZ #15448]
32968         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32969         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32971 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32973         * math/gen-libm-test.pl (adjust_arg): New function.
32974         (special_functions): Handle generating output in both functions
32975         and arrays.
32976         (parse_args): Likewise.
32977         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32978         $in_func argument to parse_args.
32979         * math/libm-test.inc (struct test_f_f_data): New type.
32980         (IF_ROUND_INIT_): New macro.
32981         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32982         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32983         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32984         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32985         (ROUND_RESTORE_): Likewise.
32986         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32987         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32988         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32989         (ROUND_RESTORE_FE_UPWARD): Likewise.
32990         (RUN_TEST_LOOP_f_f): New macro.
32991         (acos_test_data): New variable.
32992         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32993         (acos_tonearest_test_data): New variable.
32994         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32996 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32998         * benchtests/bench-skeleton.c (startup): Fix coding style.
33000 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33002         [BZ #6809]
33003         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33004         negative infinity argument.
33005         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33006         negative infinity argument.
33007         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33008         negative infinity argument.
33009         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33010         domain errors.
33012 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33014         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33015         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33016         * iconv/iconv_prog.c (main): Likewise.
33017         * locale/programs/charmap-dir.c (charmap_readdir)
33018         (fopen_uncompressed): Likewise.
33019         * locale/programs/locfile.c (siblings_uncached)
33020         (write_locale_data): Use lstat64 instead of lstat.
33021         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33022         stat.
33024 2013-05-10  Andreas Jaeger  <aj@suse.de>
33026         [BZ #15395]
33027         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33028         localization.
33029         Include <locale.h>.
33031 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33033         * elf/dl-close.c (_dl_close_worker): Add comments.
33035 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33037         [BZ #15359]
33038         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33039         high part of pi/2.
33040         (__ieee754_rem_pio2l): Update comments.
33042         [BZ #15429]
33043         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33044         high part of pi/2.
33045         (__ieee754_rem_pio2l): Update comments.
33047         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33048         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33050         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33051         M_PI_4l.
33053         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33054         (M_PI_34_LOG10El): Likewise.
33055         (M_PI2_LOG10El): Likewise.
33056         (M_PI4_LOG10El): Likewise.
33057         (M_PI_LOG10El): Likewise.
33059 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33063 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33065         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33066         (MINUS_ZERO_INIT): Likewise.
33067         (PLUS_INFTY_INIT): Likewise.
33068         (MINUS_INFTY_INIT): Likewise.
33069         (QNAN_VALUE_INIT): Likewise.
33070         (MAX_VALUE_INIT): Likewise.
33071         (MIN_VALUE_INIT): Likewise.
33072         (MIN_SUBNORM_VALUE_INIT): Likewise.
33073         (plus_zero): Initialize with PLUS_ZERO_INIT.
33074         (minus_zero): Initialize with MINUS_ZERO_INIT.
33075         (plus_infty): Initialize with PLUS_INFTY_INIT.
33076         (minus_infty): Initialize with MINUS_INFTY_INIT.
33077         (qnan_value): Initialize with QNAN_VALUE_INIT.
33078         (max_value): Initialize with MAX_VALUE_INIT.
33079         (min_value): Initialize with MIN_VALUE_INIT.
33080         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33082         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33083         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33084         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33085         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33087         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33088         (RUN_TEST_2_f): Likewise.
33089         (RUN_TEST_ff_f): Likewise.
33090         (RUN_TEST_fi_f): Likewise.
33091         (RUN_TEST_fl_f): Likewise.
33092         (RUN_TEST_fff_f): Likewise.
33093         (RUN_TEST_c_f): Likewise.
33094         (RUN_TEST_f_f1): Likewise.
33095         (RUN_TEST_fF_f1): Likewise.
33096         (RUN_TEST_fI_f1): Likewise.
33097         (RUN_TEST_ffI_f1): Likewise.
33098         (RUN_TEST_c_c): Likewise.
33099         (RUN_TEST_cc_c): Likewise.
33100         (RUN_TEST_f_i): Likewise.
33101         (RUN_TEST_f_i_tg): Likewise.
33102         (RUN_TEST_ff_i_tg): Likewise.
33103         (RUN_TEST_f_b): Likewise.
33104         (RUN_TEST_f_b_tg): Likewise.
33105         (RUN_TEST_f_l): Likewise.
33106         (RUN_TEST_f_L): Likewise.
33107         (RUN_TEST_sincos): Likewise.
33108         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33109         whether to show exceptions.  Do not include ");\n" in return
33110         value.
33111         (special_functions): Output call to RUN_TEST_sincos instead of
33112         check_float calls.  Update calls to new_test.
33113         (parse_args): Output call to single RUN_TEST_* macro instead of
33114         check_* calls and other assignments.  Update calls to new_test.
33116         [BZ #2546]
33117         [BZ #2560]
33118         [BZ #5159]
33119         [BZ #15426]
33120         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33121         input to result for tgamma overflow.
33122         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33123         (gamma_coeff): New variable.
33124         (NCOEFF): New macro.
33125         (gamma_positive): New function.
33126         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33127         underflow here.  Use gamma_positive instead of exp (lgamma) for
33128         other arguments.
33129         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33130         (gamma_coeff): New variable.
33131         (NCOEFF): New macro.
33132         (gammaf_positive): New function.
33133         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33134         underflow here.  Use gamma_positive instead of exp (lgamma) for
33135         other arguments.
33136         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33137         (gamma_coeff): New variable.
33138         (NCOEFF): New macro.
33139         (gammal_positive): New function.
33140         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33141         underflow here.  Use gamma_positive instead of exp (lgamma) for
33142         other arguments.
33143         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33144         (gamma_coeff): New variable.
33145         (NCOEFF): New macro.
33146         (gammal_positive): New function.
33147         (__ieee754_gammal_r): Handle positive infinity, overflow and
33148         underflow here.  Handle NaN the same as positive infinity.  Remove
33149         check x < 0xffffffff for negative integers.  Use gamma_positive
33150         instead of exp (lgamma) for other arguments.
33151         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33152         (gamma_coeff): New variable.
33153         (NCOEFF): New macro.
33154         (gammal_positive): New function.
33155         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33156         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33157         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33158         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33159         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33160         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33161         * sysdeps/generic/math_private.h (__gamma_productf): New
33162         prototype.
33163         (__gamma_product): Likewise.
33164         (__gamma_productl): Likewise.
33165         * math/Makefile (libm-calls): Add gamma_product.
33166         * math/libm-test.inc (tgamma_test): Add more tests.
33167         * sysdeps/i386/fpu/libm-test-ulps: Update.
33168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33170 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33172         * benchtests/bench-skeleton.c (main): Preheat CPU.
33174 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33176         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33178 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33180         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33181         and _dl_skip_args_internal.
33183 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33185         * manual/message.texi (Message Translation): Talk about users.
33186         Message to key mapping impacts design.
33188 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33190         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33192         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33194         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33195         * sysdeps/wordsize-64/glob64.c: ... here.
33197         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33198         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33199         New macros.
33201         * debug/getlogin_r_chk.c: Moved to ...
33202         * login/getlogin_r_chk.c: ... here.
33203         * debug/Makefile (routines): Move getlogin_r_chk to ...
33204         * login/Makefile (routines): ... here.
33205         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33206         * login/Versions (libc: GLIBC_2.4): ... here.
33208         * io/poll.c (__poll): Renamed from poll.
33209         Add libc_hidden_def.
33210         (poll): Define as weak alias.
33212         * debug/ptsname_r_chk.c: Moved to ...
33213         * login/ptsname_r_chk.c: ... here.
33214         * debug/Makefile (routines): Move ptsname_r_chk to ...
33215         * login/Makefile (routines): ... here.
33216         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33217         * login/Versions (libc: GLIBC_2.4): ... here.
33219         * posix/getlogin.c: Moved to ...
33220         * login/getlogin.c: ... here.
33221         * posix/getlogin_r.c: Moved to ...
33222         * login/getlogin_r.c: ... here.
33223         * posix/getlogin_r.c: Moved to ...
33224         * login/getlogin_r.c: ... here.
33225         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33226         * login/Makefile (routines): ... here.
33227         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33228         * login/Versions (libc: GLIBC_2.0): ... here.
33230         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33231         (setrlimit): Define as weak alias.
33233         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33234         Call __ names for open, ftruncate, and close.
33235         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33236         (truncate): Define as weak alias.
33238 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33240         * math/gen-libm-test.pl (parse_args): Initialize x before each
33241         test of frexp, modf and remquo.
33243         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33244         test signgam value.
33246 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33248         [BZ #15418]
33249         [BZ #15419]
33250         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33251         internal tests.
33252         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33254 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33256         * elf/dl-writev.h: New file.
33257         * elf/dl-misc.c: Include it.
33258         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33259         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33261 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33263         * math/libm-test.inc (noXFails): Remove variable.
33264         (noXPasses): Likewise.
33265         (BUILD_COMPLEX_INT): Remove macro.
33266         (print_screen): Remove xfail argument.
33267         (print_screen_max_error): Likewise.
33268         (update_stats): Likewise.
33269         (print_max_error): Likewise.  Update calls to other affected
33270         functions.
33271         (print_complex_max_error): Likewise.
33272         (test_single_exception): Update calls to print_screen.
33273         (test_single_errno): Likewise.
33274         (check_float_internal): Remove xfail argument.  Update calls to
33275         other affected functions.
33276         (check_float): Likewise.
33277         (check_complex): Likewise.
33278         (check_int): Likewise.
33279         (check_long): Likewise.
33280         (check_bool): Likewise.
33281         (check_longlong): Likewise.
33282         (main): Don't print noXFails and noXPasses.
33283         * math/gen-libm-test.pl (top level): Don't mention expected
33284         failure handling in comment.
33285         (new_test): Don't handle expected failures.
33286         (parse_args): Don't mention expected failure handling in comment.
33287         (generate_testfile): Don't handle expected failures.
33288         (parse_ulps): Likewise.
33289         (print_ulps_file): Likewise.
33290         (get_failure): Remove function.
33291         (output_test): Don't handle expected failures.
33292         * make/README.libm-test: Don't mention expected failure handling.
33294         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33295         (minus_zero): Likewise.
33296         (plus_infty): Likewise.
33297         (minus_infty): Likewise.
33298         (qnan_value): Likewise.
33299         (max_value): Likewise.
33300         (min_value): Likewise.
33301         (min_subnorm_value): Likewise.
33302         (initialize): Do not initialize those variables dynamically.
33304 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33306         * io/open.c (__open_2): Moved to ...
33307         * io/open_2.c: ... this new file.
33308         * io/open64.c (__open64_2): Moved to ...
33309         * io/open64_2.c: ... this new file.
33310         * io/openat.c (__openat_2): Moved to ...
33311         * io/openat_2.c: ... this new file.
33312         * io/openat64.c (__openat64_2): Moved to ...
33313         * io/openat64_2.c: ... this new file.
33314         * io/Makefile (routines): Add them.
33315         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33316         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33317         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33318         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33319         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33320         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33321         (__openat64): Add hidden_ver.
33322         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33323         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33325         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33326         Separately conditionalize setting of GLRO(dl_sysinfo) so
33327         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33328         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33330 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33332         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33333         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33334         definition.
33335         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33336         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33337         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33338         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33339         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33341 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33343         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33344         test signgam value.
33346         * math/libm-test.inc (hypot_test): Do not use
33347         IGNORE_ZERO_INF_SIGN.
33349 2013-05-03  Andreas Jaeger  <aj@suse.de>
33351         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33352         Linux 3.9.
33353         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33354         (PF_MAX): Adjust for VSOCK change.
33356 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33360 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33362         [BZ #15264]
33363         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33364         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33365         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33367 2013-05-02  David S. Miller  <davem@davemloft.net>
33369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33371 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33373         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33375 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33377         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33379 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33381         [BZ #14952]
33382         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33383         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33384         Use __attribute__ ((__gnu_inline__)).
33385         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33386         Don't use __attribute__ ((__gnu_inline__)).
33388 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33390         [BZ #15423]
33391         * math/s_catan.c (__catan): Handle small real or imaginary part of
33392         input specially to avoid spurious underflow.
33393         * math/s_catanf.c (__catanf): Likewise.
33394         * math/s_catanh.c (__catanh): Likewise.
33395         * math/s_catanhf.c (__catanhf): Likewise.
33396         * math/s_catanhl.c (__catanhl): Likewise.
33397         * math/s_catanl.c (__catanl): Likewise.
33398         * math/libm-test.inc (catan_test): Add more tests.
33399         (catanh_test): Likewise.
33400         * sysdeps/i386/fpu/libm-test-ulps: Update.
33401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33403 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33407 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33409         [BZ #15416]
33410         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33411         accurately for denominator in atan2.
33412         * math/s_catanf.c (__catanf): Likewise.
33413         * math/s_catanh.c (__catanh): Likewise.
33414         * math/s_catanhf.c (__catanhf): Likewise.
33415         * math/s_catanhl.c (__catanhl): Likewise.
33416         * math/s_catanl.c (__catanl): Likewise.
33417         * math/libm-test.inc (catan_test): Add more tests.
33418         (catanh_test): Likewise.
33419         * sysdeps/i386/fpu/libm-test-ulps: Update.
33420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33422 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33424         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33426         * benchtests/Makefile (bench): Remove slow benchmarks.
33427         * benchtests/atan-inputs: Add slow benchmark inputs.
33428         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33429         (BENCH_FUNC): Accept variant offset.
33430         (VARIANT): Define.
33431         * benchtests/bench-skeleton.c (main): Run benchmark for each
33432         variant.
33433         * benchtests/cos-inputs: Add slow benchmark inputs.
33434         * benchtests/exp-inputs: Likewise.
33435         * benchtests/pow-inputs: Likewise.
33436         * benchtests/sin-inputs: Likewise.
33437         * benchtests/slowatan-inputs: Remove.
33438         * benchtests/slowatan.c: Remove.
33439         * benchtests/slowcos-inputs: Remove.
33440         * benchtests/slowcos.c: Remove.
33441         * benchtests/slowexp-inputs: Remove.
33442         * benchtests/slowexp.c: Remove.
33443         * benchtests/slowpow-inputs: Remove.
33444         * benchtests/slowpow.c: Remove.
33445         * benchtests/slowsin-inputs: Remove.
33446         * benchtests/slowsin.c: Remove.
33447         * benchtests/slowtan-inputs: Remove.
33448         * benchtests/slowtan.c: Remove.
33449         * benchtests/tan-inputs: Add slow benchmark inputs.
33450         * scripts/bench.pl: Parse comments and directives.
33452         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33453         in CPPFLAGS.
33454         ($(objpfx)bench-%.c): Remove *-ITER.
33455         * benchtests/bench-modf.c: Remove definition of ITER.
33456         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33457         (main): Loop for DURATION seconds instead of fixed number of
33458         iterations.
33459         * scripts/bench.pl: Don't expect iterations in parameters.
33461 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33463         * io/fchdir.c (__fchdir): Renamed from fchdir.
33464         (fchdir): Define as weak alias.
33466 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33468         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33469         (ERRNO_EDOM): Likewise.
33470         (ERRNO_ERANGE): Likewise.
33471         (noErrnoTests): New variable.
33472         (init_max_error): Set errno to 0.
33473         (test_single_errno): New function.
33474         (test_errno): Likewise.
33475         (check_float_internal): Call test_errno.  Set errno to 0.
33476         (check_complex): Refer to errno tests in comment.
33477         (check_int): Call test_errno.  Set errno to 0.
33478         (check_long): Likewise.
33479         (check_bool): Likewise.
33480         (check_longlong): Likewise.
33481         (cos_test): Use ERRNO_* flags for errno tests instead of
33482         check_int.
33483         (expm1_test): Likewise.
33484         (fmod_test): Likewise.
33485         (ilogb_test): Likewise.
33486         (lgamma_test): Likewise.
33487         (pow_test): Likewise.
33488         (remainder_test): Likewise.
33489         (sin_test): Likewise.
33490         (tan_test): Likewise.
33491         (yn_test): Likewise.
33492         (initialize): Set errno to 0.
33493         (main): Print number of errno tests.
33494         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33496 2013-04-29  Andreas Jaeger  <aj@suse.de>
33498         [BZ #15084]
33499         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33500         and RES_USEVC.
33502         [BZ #15085]
33503         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33504         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33505         unimplemented.
33507         [BZ #15380]
33508         * stdlib/random.c (__initstate): Return NULL if
33509         __initstate fails.
33511         [BZ #15086]
33512         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33513         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33514         RES_SNGLKUPREOP.
33516 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33520 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33522         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33523         of individual tests.
33524         (casin_test): Likewise.
33525         (casinh_test): Likewise.
33527 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33529         [BZ #15409]
33530         * math/s_catan.c (__catan): Handle arguments with large real or
33531         imaginary part separately without squaring.
33532         * math/s_catanf.c (__catanf): Likewise.
33533         * math/s_catanh.c (__catanh): Likewise.
33534         * math/s_catanhf.c (__catanhf): Likewise.
33535         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33536         and redefine.
33537         (__catanhl): Handle arguments with large real or imaginary part
33538         separately without squaring.
33539         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33540         and redefine.
33541         (__catanl): Handle arguments with large real or imaginary part
33542         separately without squaring.
33543         * math/libm-test.inc (catan_test): Add more tests.
33544         (catanh_test): Likewise.
33545         * sysdeps/i386/fpu/libm-test-ulps: Update.
33546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33548 2013-04-27  Andreas Jaeger  <aj@suse.de>
33550         [BZ #15007]
33551         * stdlib/stdlib.h: Update guards for qecvt.
33552         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33553         <stdlib.h>.
33555 2013-04-27  Allan McRae  <allan@archlinux.org>
33557         * sysdeps/i386/fpu/libm-test-ulps: Update.
33559 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33561         [BZ #15406]
33562         * math/s_catan.c: Include <float.h>.
33563         (__catan): Ensure underflow exception occurs for underflowed
33564         result.
33565         * math/s_catanf.c: Include <float.h>.
33566         (__catanf): Ensure underflow exception occurs for underflowed
33567         result.
33568         * math/s_catanh.c: Include <float.h>.
33569         (__catanh): Ensure underflow exception occurs for underflowed
33570         result.
33571         * math/s_catanhf.c: Include <float.h>.
33572         (__catanhf): Ensure underflow exception occurs for underflowed
33573         result.
33574         * math/s_catanhl.c: Include <float.h>.
33575         (__catanhl): Ensure underflow exception occurs for underflowed
33576         result.
33577         * math/s_catanl.c: Include <float.h>.
33578         (__catanl): Ensure underflow exception occurs for underflowed
33579         result.
33580         * math/libm-test.inc (catan_test): Add more tests.
33581         (catanh_test): Likewise.
33583         [BZ #15405]
33584         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33585         underflowed result.
33586         * math/s_ccoshf.c (__ccoshf): Likewise.
33587         * math/s_ccoshl.c (__ccoshl): Likewise.
33588         * math/s_csin.c (__csin): Likewise.
33589         * math/s_csinf.c (__csinf): Likewise.
33590         * math/s_csinh.c (__csinh): Likewise.
33591         * math/s_csinhf.c (__csinhf): Likewise.
33592         * math/s_csinhl.c (__csinhl): Likewise.
33593         * math/s_csinl.c (__csinl): Likewise.
33594         * math/libm-test.inc (ccos_test): Add more tests.
33595         (ccosh_test): Likewise.
33596         (csin_test): Likewise.
33597         (csinh_test): Likewise.
33599 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33601         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33602         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33603         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33604         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33605         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33606         powerpc/power5+/fpu folders.
33607         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33610 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33614 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33616         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33617         additions to variable.
33618         [$(config-machine) = x86_64] (modules-names): Likewise.
33619         ($(objpfx)tst-audit3): Remove dependency.
33620         ($(objpfx)tst-audit3.out): Likewise.
33621         ($(objpfx)tst-audit4): Likewise.
33622         ($(objpfx)tst-audit4.out): Likewise.
33623         ($(objpfx)tst-audit5): Likewise.
33624         ($(objpfx)tst-audit5.out): Likewise.
33625         ($(objpfx)tst-audit6): Likewise.
33626         ($(objpfx)tst-audit6.out): Likewise.
33627         ($(objpfx)tst-audit7): Likewise.
33628         ($(objpfx)tst-audit7.out): Likewise.
33629         (tst-audit3-ENV): Remove variable.
33630         (tst-audit4-ENV): Likewise.
33631         (tst-audit5-ENV): Likewise.
33632         (tst-audit6-ENV): Likewise.
33633         (tst-audit7-ENV): Likewise.
33634         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33635         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33636         addition to variable.
33637         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33638         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33639         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33640         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33641         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33642         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33643         tst-audit3, tst-audit4 and tst-audit5.
33644         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33645         tst-audit6 and tst-audit7.
33646         [$(subdir) = elf] (modules-names): Add audit modules for those
33647         tests.
33648         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33649         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33650         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33651         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33652         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33653         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33654         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33655         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33656         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33657         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33658         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33659         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33660         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33661         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33662         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33663         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33664         Likewise.
33665         [$(subdir) = elf && $(config-cflags-avx) = yes]
33666         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33667         [$(subdir) = elf && $(config-cflags-avx) = yes]
33668         (CFLAGS-tst-auditmod4a.c): Likewise.
33669         [$(subdir) = elf && $(config-cflags-avx) = yes]
33670         (CFLAGS-tst-auditmod4b.c): Likewise.
33671         [$(subdir) = elf && $(config-cflags-avx) = yes]
33672         (CFLAGS-tst-auditmod6b.c): Likewise.
33673         [$(subdir) = elf && $(config-cflags-avx) = yes]
33674         (CFLAGS-tst-auditmod6c.c): Likewise.
33675         [$(subdir) = elf && $(config-cflags-avx) = yes]
33676         (CFLAGS-tst-auditmod7b.c): Likewise.
33677         * elf/tst-audit3.c: Move to ...
33678         * sysdeps/x86_64/tst-audit3.c: ... here.
33679         * elf/tst-audit4.c: Move to ...
33680         * sysdeps/x86_64/tst-audit4.c: ... here.
33681         * elf/tst-audit5.c: Move to ...
33682         * sysdeps/x86_64/tst-audit5.c: ... here.
33683         * elf/tst-audit6.c: Move to ...
33684         * sysdeps/x86_64/tst-audit6.c: ... here.
33685         * elf/tst-audit7.c: Move to ...
33686         * sysdeps/x86_64/tst-audit7.c: ... here.
33687         * elf/tst-auditmod3a.c: Move to ...
33688         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33689         * elf/tst-auditmod3b.c: Move to ...
33690         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33691         * elf/tst-auditmod4a.c: Move to ...
33692         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33693         * elf/tst-auditmod4b.c: Move to ...
33694         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33695         * elf/tst-auditmod5a.c: Move to ...
33696         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33697         * elf/tst-auditmod5b.c: Move to ...
33698         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33699         * elf/tst-auditmod6a.c: Move to ...
33700         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33701         * elf/tst-auditmod6b.c: Move to ...
33702         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33703         * elf/tst-auditmod6c.c: Move to ...
33704         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33705         * elf/tst-auditmod7a.c: Move to ...
33706         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33707         * elf/tst-auditmod7b.c: Move to ...
33708         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33710 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33712         [BZ #15366]
33713         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33714         define unconditionally.
33715         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33716         define unconditionally.
33717         (INT8_C, INT16_C, etc.): Likewise.
33719 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33721         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33722         __ehdr_start with hidden visibility.
33724         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33726 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33728         * math/libm-test.inc (cos_test): Use accurate hex constants.
33729         (sincost_test): Likewise.
33731 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33733         * math/libm-test.inc (catan_test): Add more tests.
33734         (catanh_test): Likewise.
33736         * math/s_catanf.c (__catanf): Use suffixed floating-point
33737         constants.
33738         * math/s_catanhf.c (__catanhf): Likewise.
33739         * math/s_catanhl.c (__catanhl): Likewise.
33740         * math/s_catanl.c (__catanl): Likewise.
33742         [BZ #15394]
33743         * math/s_catan.c (__catan): Calculate imaginary part of result
33744         with log1p not log unless computing log of number close to 0.
33745         * math/s_catanf.c (__catanf): Likewise.
33746         * math/s_catanl.c (__catanl): Likewise.
33747         * math/s_catanh.c (__catanh): Calculate real part of result with
33748         log1p not log unless computing log of number close to 0.
33749         * math/s_catanhf.c (__catanhf): Likewise.
33750         * math/s_catanhl.c (__catanhl): Likewise.
33751         * math/libm-test.inc (catan_test): Add more tests.
33752         (catanh_test): Likewise.
33753         * sysdeps/i386/fpu/libm-test-ulps: Update.
33754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33756 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33758         * benchtests/Makefile: Mention files in which fast and slow
33759         paths of math functions are implemented.
33761 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33763         * sysdeps/posix/timespec_get.c: New file.
33765 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33767         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33768         POWER.
33769         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33770         for POWER.
33771         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33772         powerpc/power5/fpu folders.
33773         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33774         * benchtests/Makefile: Add modf testcase.
33775         * benchtests/bench-modf.c: New file: Benchmark test for mo
33777 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33779         [BZ #14888]
33780         * time/Makefile (tests): Add tst-strptime-whitespace.
33781         * time/strptime_l.c (get_number): Use ISSPACE.
33782         (__strptime_internal): Likewise.
33783         * time/tst-strptime-whitespace.c: New test case.
33785 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33787         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33788         member.
33789         (_nss_files_init): Set it here.
33791 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33793         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33794         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33795         unsigned.
33797 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33799         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33801 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33803         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33804         size just once.
33806 2013-04-21  David S. Miller  <davem@davemloft.net>
33808         * po/ru.po: Update Russion translation from translation project.
33810 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33812         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33813         and setfsgid.
33815 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33817         * configure.in: Remove i386 configure warning. Remove i386 case.
33818         * configure: Regenerate.
33819         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33820         Add example to error message.
33821         * sysdeps/i386/configure: Regenerate.
33823 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33825         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33826         slowtan.
33827         * benchtests/cos-inputs: New file.
33828         * benchtests/slowcos-inputs: New file.
33829         * benchtests/slowcos.c: New file.
33830         * benchtests/slowtan-inputs: New file.
33831         * benchtests/slowtan.c: New file.
33832         * benchtests/tan-inputs: New file.
33834 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33836         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33837         considered kosher.
33839 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33841         * benchtests/Makefile: Include cppflags-iterator.mk to add
33842         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33844         * Makefile.in (bench-clean): New target.
33845         * benchtests/Makefile (bench-clean): Likewise.
33847 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33849         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33851 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33853         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33855 2013-04-15  Andreas Schwab  <schwab@suse.de>
33857         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33858         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33859         * nscd/pwdcache.c (cache_addpw): Likewise.
33860         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33861         more than recsize.
33863 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33865         * benchtests/Makefile (bench): Write all output to
33866         bench-out.tmp together.
33868 2013-04-15  Andreas Schwab  <schwab@suse.de>
33870         * nscd/nscd.c (main): Don't fork again after closing files.
33872 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33874         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33876         * benchtests/Rules (bench-deps): Collect dependencies into a
33877         single variable.  Add Makefile to dependencies.
33878         ($(objpfx)bench-%.c): Depend on bench-deps.
33880 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33881             Xavier Roche  <roche+kml2@exalead.com>
33883         [BZ #15361]
33884         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33885         just that it's a file descriptor.
33886         * manual/llio.texi (Synchronizing AIO Operations): Update description
33887         for EBADF error from aio_fsync.
33889 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * Rules (bench): Move target definition...
33892         * benchtests/Makefile: ... here.
33894 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33896         * math/libm-test.inc (cos_test): Fix PI/2 test.
33897         (sincos_test): Likewise.
33898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33899         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33901 2013-04-11  Andreas Schwab  <schwab@suse.de>
33903         [BZ #13988]
33904         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33905         accept exponent character only when digits were seen.
33906         * stdio-common/Makefile (tests): Add bug26.
33907         * stdio-common/bug26.c: New file.
33909         [BZ #14293]
33910         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33911         non-freeable.
33913 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33915         * Makeconfig (rtld-prefix): Define built linker prefix.
33916         * Rules (run-bench): Use it.
33917         * math/Makefile (run-regen-ulps): Likewise.
33919         * Rules (bench): Remove eval.
33921 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33922             Roland McGrath  <roland@hack.frob.com>
33923             Ondrej Bilka  <neleai@seznam.cz>
33925         [BZ #15346]
33926         * time/getdate.c: Include ctype.h and alloca.h.
33927         (__getdate_r): Trim leading and trailing spaces of input.
33928         * time/tst-getdate.c (tests): Add tests with leading and
33929         trailing spaces.
33931 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33933         [BZ #14280]
33934         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33935         when computing value.
33937 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33939         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33940         Use testrun.sh to run libm tests.
33942         [BZ #15309]
33943         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33945 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33947         [BZ #15264]
33948         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33950 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33952         * Makefile.in (regen-ulps): New target.
33953         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33954         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33955         [ifneq (no,$(PERL)] (regen-ulps): New target.
33956         [ifeq (no,$(PERL)] (regen-ulps): New target.
33957         * math/libm-test.inc (ulps_file_name): Define.
33958         (output_dir): New variable.
33959         (options): Add "output-dir" option.
33960         (parse_opt): Handle 'o' case.
33961         (main): If output_dir is non-NULL use it as a prefix
33962         otherwise use "".
33963         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33965 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33967         [BZ #10060, #10062]
33968         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33969         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33970         fail configure if __sync_val_compare_and_swap is not inlined.
33971         * sysdeps/i386/configure: Regenerate.
33972         * configure.in: Build for i686 when configured for i386.
33973         * configure: Regenerate.
33974         * README: Remove i386 reference.
33976 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33978         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33979         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33981 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33983         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33984         (lmsnanval): New variables.
33985         (F): Add conversion tests.
33986         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33987         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33989         * stdio-common/tstdiomisc.c (F): Properly collect individual
33990         tests' results.
33992         [BZ #14686, #15336]
33993         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33994         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33995         Instead, use input NaN values or generate a qNaN by arithmetic
33996         operation.  Also fix bugs to comply with the standard.
33997         * math/libm-test.inc (remainder_test): Add more tests.
33999         [BZ #15335, #15342]
34000         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34002         input NaN values or generate a qNaN by arithmetic operation.
34004         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34005         unreachable code.
34007         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34008         definitions.
34010 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34012         [BZ #14478]
34013         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34014         underflowed result.
34015         * math/s_cexpf.c (__cexpf): Likewise.
34016         * math/s_cexpl.c (__cexpl): Likewise.
34017         * math/libm-test.inc (cexp_test): Add more tests.
34019 2013-04-03  Andreas Schwab  <schwab@suse.de>
34021         [BZ #15330]
34022         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34023         order arrays from heap if bigger than alloca cutoff.
34025 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34027         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34028         (SNAN_TESTS_double): Refer to GCC PR56831.
34029         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34030         GCC PR56828.
34032 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34034         * Rules (bench): Move bench.out after the run is complete.
34036         * Rules (bench): Echo currently running benchmark.
34038         * benchtests/Makefile (bench): Add atan and slowatan.
34039         * benchtests/atan-inputs: New file.
34040         * benchtests/slowatan-inputs: New file.
34041         * benchtests/slowatan.c: New file.
34043         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34044         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34045         its value.
34047         [BZ #15305]
34048         * sysdeps/unix/sysv/linux/kernel-features.h
34049         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34050         __ASSUME_XFS_RESTRICTED_CHOWN.
34051         * sysdeps/unix/sysv/linux/pathconf.c
34052         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34053         Save and restore errno.
34055 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34057         [BZ #15327]
34058         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34059         arguments using __kernel_casinh.
34060         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34061         arguments using __kernel_casinhf.
34062         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34063         arguments using __kernel_casinhl.
34064         * math/libm-test.inc (cacosh_test): Add more tests.
34065         * sysdeps/i386/fpu/libm-test-ulps: Update.
34066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34068 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34070         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34073         * bench/Makefile (bench): Add sin and slowsin.
34074         * benchtests/sin-inputs: New file.
34075         * benchtests/slowsin-inputs: New file.
34076         * benchtests/slowsin.c: New file.
34078         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34079         (bench): Add slowexp and slowpow.
34080         (exp-ITER): Increase iterations.
34081         (pow-ITER): Likewise.
34082         * benchtests/exp-inputs: Change input.
34083         * benchtests/pow-inputs: Likewise.
34084         * benchtests/slowexp-inputs: New file.
34085         * benchtests/slowexp.c: New file.
34086         * benchtests/slowpow-inputs: New file.
34087         * benchtests/slowpow.c: New file.
34089 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34091         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34092         instructions.
34093         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34094         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34095         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34096         * benchtests/Makefile: Add rint benchtest.
34097         * benchtests/rint-inputs: Input for rint benchtest.
34099 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34101         * Versions.def (libm): Add GLIBC_2.18.
34102         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34103         hidden libm prototypes.
34104         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34105         * math/Makefile (libm-calls): Add s_issignaling.
34106         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34107         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34108         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34109         declaration.
34110         * math/math.h [__USE_GNU] (issignaling): New macro.
34111         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34112         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34113         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34114         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34115         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34116         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34117         * manual/arith.texi (issignaling): New section.
34118         * manual/libm-err-tab.pl (@all_functions): Update comment.
34119         * math/gen-libm-test.pl (parse_args): Apply special handling for
34120         issignaling.
34121         * math/libm-test.inc (print_float, issignaling_test): New
34122         functions.
34123         (check_float_internal): Add issignaling checks.
34124         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34125         default definition.
34126         * sysdeps/powerpc/math-tests.h: New file.
34127         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34128         tests.
34129         * math/test-snan.c (TEST_FUNC): Likewise.
34131 2013-03-30  David S. Miller  <davem@davemloft.net>
34133         * po/de.po: Update from translation team.
34135 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34137         [BZ #10357]
34138         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34139         imaginary part less than 1.0 and real part less than 0.5
34140         specially.
34141         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34142         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34143         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34144         (cacos_test): Add more tests.
34145         (casin_test): Likewise.
34146         (casinh_test): Likewise.
34147         * sysdeps/i386/fpu/libm-test-ulps: Update.
34148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34150 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34152         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34153         ONE with its value.
34155         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34156         (__pow_mp): Replace ONE and MONE with their values.
34157         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34158         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34159         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34160         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34161         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34162         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34164         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34166         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34167         (__pow_mp): Replace ZERO and MZERO with their values.
34168         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34169         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34170         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34172         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34173         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34174         (__sqr): Likewise.
34176         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34178         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34180 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34182         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34183         Declare with __attribute__ ((weak)).
34184         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34185         Call __call_tls_dtors only if it's not NULL.
34187 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34189         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34190         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34191         magic __ehdr_start linker symbol if it's defined.
34192         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34193         them up here if it was already done.
34195         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34196         (_dl_aux_init): Use const in cast when setting it.
34197         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34198         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34199         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34201         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34202         Declare them here.
34203         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34204         * csu/libc-tls.c: Nor here.
34205         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34207         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34208         (__libc_message): Never call vsyslog.
34210 2013-03-28  Alan Modra  <amodra@gmail.com>
34212         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34213         Define as empty.
34214         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34215         Likewise.
34217 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34219         [BZ #15214]
34220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34221         underflow.
34222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34224 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34226         [BZ #15304]
34227         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34228         Don't add gid passed as argument.
34230         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34232 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34234         [BZ #15307]
34235         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34236         imaginary part between 1.0 and 1.5 and real part less than 0.5
34237         specially.
34238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34240         * math/libm-test.inc (cacos_test): Add more tests.
34241         (casin_test): Likewise.
34242         (casinh_test): Likewise.
34243         * sysdeps/i386/fpu/libm-test-ulps: Update.
34244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34246 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34248         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34249         constants.
34250         (norm): Likewise.
34251         (denorm): Likewise.
34252         (__dbl_mp): Likewise.
34253         (add_magnitudes): Likewise.
34254         (sub_magnitudes): Likewise.
34255         (__add): Likewise.
34256         (__sub): Likewise.
34257         (__mul): Likewise.
34258         (__sqr): Likewise.
34259         (__inv): Likewise.
34260         (__dvd): Likewise.
34262         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34263         commented code.
34264         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34265         (__dubcos): Likewise.
34266         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34267         (__ieee754_acos): Likewise.
34268         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34269         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34270         (__exp1): Likewise.
34271         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34272         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34273         (log1): Likewise.
34274         (my_log2): Likewise.
34275         (checkint): Likewise.
34276         * sysdeps/ieee754/dbl-64/e_remainder.c
34277         (__ieee754_remainder): Likewise.
34278         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34279         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34280         (bsloww): Likewise.
34281         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34283         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34285         MANTISSA_STORE_T to store computations on mantissa.  Use
34286         macros for rounding and division.
34287         (denorm): Likewise.
34288         (__dbl_mp): Likewise.
34289         (add_magnitudes): Likewise.
34290         (sub_magnitudes): Likewise.
34291         (__mul): Likewise.
34292         (__sqr): Likewise.
34293         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34294         powers of two in terms of TWOPOW macro.
34295         (mp_no): Make type of mantissa as MANTISSA_T.
34296         [!RADIXI]: Define RADIXI.
34297         [!TWO52]: Define TWO52.
34298         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34300 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34302         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34303         llroundl symbol when building for PPC32.
34305 2013-03-24  Mark H Weaver  <mhw@netris.org>
34307         * manual/arith.texi (Normalization Functions): Fix prototypes for
34308         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34310 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34312         [BZ #13889]
34313         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34314         high value to check if expl overflow.
34315         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34316         to check for underflow and overflow.
34317         * math/libm-test.inc: Add exp test.
34319 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34321         [BZ #11120]
34322         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34323         with NOT_IN_libc.
34325 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34327         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34328         symbol.
34330 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34332         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34333         wrap blocks consisting of several statements.
34335         * sysdeps/generic/math-tests.h: New file.
34336         * sysdeps/i386/fpu/math-tests.h: Likewise.
34337         * math/test-snan.c: Include it.
34338         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34340 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34342         [BZ #15285]
34343         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34344         (__ieee754_j0l): Do not improve calculations using cos of twice
34345         input for inputs above LDBL_MAX / 2.0L.
34346         (__ieee754_y0l): Likewise.
34347         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34348         (__ieee754_j1l): Do not improve calculations using cos of twice
34349         input for inputs above LDBL_MAX / 2.0L.
34350         (__ieee754_y1l): Likewise.
34351         * math/libm-test.inc (j0_test): Add another test.
34352         (j1_test): Likewise.
34353         (y0_test): Likewise.
34354         (y1_test): Likewise.
34355         * sysdeps/i386/fpu/libm-test-ulps: Update.
34357 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34359         * Rules ($(objpfx)bench-%.c): Include code from a C source
34360         file.
34362 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34364         [BZ #15287]
34365         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34366         imaginary part 1.0 and real part less than 0.5 specially.
34367         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34368         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34369         * math/libm-test.inc (cacos_test): Add more tests.
34370         (casin_test): Likewise.
34371         (casinh_test): Likewise.
34372         * sysdeps/i386/fpu/libm-test-ulps: Update.
34373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34375 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34377         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34378         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34380 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34382         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34383         * config.make.in (config-cflags-sse4): Remove variable.
34384         (config-cflags-avx): Likewise.
34385         (config-cflags-sse2avx): Likewise.
34386         (config-cflags-novzeroupper): Likewise.
34387         (config-asflags-i686): Likewise.
34388         (have-mfma4): Likewise.
34389         (have-as-vis3): Likewise.
34390         (MIG): Likewise.
34391         * configure.in (MIG): Do not AC_SUBST.
34392         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34393         (libc_cv_cc_sse4): Do not AC_SUBST.
34394         (libc_cv_cc_avx): Likewise.
34395         (libc_cv_cc_sse2avx): Likewise.
34396         (libc_cv_cc_novzeroupper): Likewise.
34397         (libc_cv_cc_fma4): Likewise.
34398         (libc_cv_as_i686): Likewise.
34399         (libc_cv_sparc_as_vis3): Likewise.
34400         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34401         LIBC_CONFIG_VAR.
34402         (config-asflags-i686): Likewise.
34403         (config-cflags-avx): Likewise.
34404         (config-cflags-sse2avx): Likewise.
34405         (have-mfma4): Likewise.
34406         (config-cflags-novzeroupper): Likewise.
34407         * sysdeps/mach/configure.in (MIG): Likewise.
34408         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34409         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34410         LIBC_CONFIG_VAR.
34411         (config-cflags-avx): Likewise.
34412         (config-cflags-sse2avx): Likewise.
34413         (have-mfma4): Likewise.
34414         (config-cflags-novzeroupper): Likewise.
34415         * configure: Regenerated.
34416         * sysdeps/i386/configure: Likewise.
34417         * sysdeps/mach/configure: Likewise.
34418         * sysdeps/sparc/configure: Likewise.
34419         * sysdeps/x86_64/configure: Likewise.
34421 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34423         [BZ #14812]
34424         * locale/programs/localedef.c (options): Put N_ translation marker
34425         on argument names, not just descriptions.
34427 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34429         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34431 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34433         [BZ #14176]
34434         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34436 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34438         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34439         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34440         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34441         [!BEFORE_ABORT] (before_abort): New function.
34442         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34443         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34444         (writev_for_fatal): New function.
34445         (WRITEV_FOR_FATAL): New macro; call that.
34446         (backtrace_and_maps): New function.
34447         (BEFORE_ABORT): New macro; call that.
34448         (struct str_list): Type removed.
34449         (__libc_message, __libc_fatal): Functions removed.
34450         Include <sysdeps/posix/libc_fatal.c> instead.
34452 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34454         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34455         constants.
34456         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34457         double constants.
34459 2013-03-19  Andreas Schwab  <schwab@suse.de>
34461         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34462         * sysdeps/gnu/configure: Regenerate.
34464         * configure.in: Substitute libc_cv_rtlddir.
34465         * configure: Regenerate.
34466         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34467         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34468         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34469         * elf/Makefile (install-others, CFLAGS-interp.c)
34470         (ldso_install, common-ldd-rewrite): Likewise.
34471         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34472         $(inst_slibdir)/$(rtld-installed-name).
34473         * scripts/rellns-sh: Add -p option.
34474         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34475         for source.
34477 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34479         * manual/nptl.texi: Renamed to ...
34480         * manual/threads.texi: ... this.
34481         * manual/Makefile (chapters): Update.
34483 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34485         [BZ #14812]
34486         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34487         on argument names, not just descriptions.
34488         * malloc/memusagestat.c (options): Likewise.
34489         * nss/getent.c (options): Likewise.
34491 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34493         [BZ #14812]
34494         * iconv/iconv_prog.c (options): Put N_ translation marker
34495         on argument names, not just descriptions.
34496         * iconv/iconvconfig.c (options): Likewise.
34498 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34500         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34501         implementation which is faster on all x86_64 architectures.
34502         Tested on AMD, Intel Nehalem, SNB, IVB.
34503         * sysdeps/x86_64/strnlen.S: Likewise.
34505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34506         Remove all multiarch strlen and strnlen versions.
34507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34508         Remove strlen and strnlen related parts.
34510         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34511         Inline strlen part.
34512         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34514         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34515         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34516         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34517         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34518         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34519         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34521 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34523         * manual/memory.texi (Malloc Tunable Parameters):
34524         Sort parameters alphabetically. Add comments for missing entries.
34526 2013-03-17  David S. Miller  <davem@davemloft.net>
34528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34530 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34532         [BZ #15283]
34533         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34534         for arguments at most half maximum finite value.
34535         * math/libm-test.inc (j0_test): Add more tests.
34536         (j1_test): Likewise.
34537         (y0_test): Likewise.
34538         (y1_test): Likewise.
34539         * sysdeps/i386/fpu/libm-test-ulps: Update.
34540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34542         [BZ #14155]
34543         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34544         1 / x and functions P and Q for arguments above 0x1p256L.
34545         (__ieee754_y0l): Likewise.
34546         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34547         (__ieee754_y1l): Likewise.
34548         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34549         (j1_test): Likewise.
34550         (y0_test): Likewise.
34551         (y1_test): Likewise.
34553 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34555         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34556         variable.
34558 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34560         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34561         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34562         zero since it's initialized to EXEC_PAGESIZE.
34564         * sysdeps/unix/sysv/linux/ldsodefs.h
34565         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34566         * sysdeps/generic/ldsodefs.h: ... here.
34568 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34570         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34572         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34573         math/test-snan.c.
34574         * math/test-snan.c: Renamed from
34575         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34576         * math/Makefile (tests): Add test-snan.
34577         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34578         test-powerpc-snan.
34580         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34581         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34582         functions.
34583         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34584         __builtin_nan family of functions.
34585         * math/libm-test.inc (initialize): Initialize qnan_value with
34586         __builtin_nan family of functions.
34587         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34588         Remove variables.
34589         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34590         Remove functions.
34591         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34592         storage class.  Initialize qNaN_var and sNaN_var with
34593         __builtin_nan and __builtin_nans families of functions,
34594         respectively.
34596         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34597         (sqrt_test): Remove duplicate test with qNaN input.
34598         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34599         (round_test, signbit_test, significand_test): Note missing +/-Inf
34600         as well as qNaN tests.
34602         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34603         qNaN_var.  Fix a few strings, too.
34604         * math/libm-test.inc (nan_value): Rename to qnan_value.
34605         * math/gen-libm-test.pl (%beautify): Adjust to that.
34606         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34607         * math/test-misc.c (main): Likewise.
34608         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34609         to __qnan_bytes, and __qnan_union, respectively.
34610         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34611         Likewise.
34612         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34613         and lqnanval, respectively.
34614         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34615         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34616         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34617         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34619         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34620         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34621         doubles.
34623         * math/test-misc.c (main): Fix copy'n'pastos.
34624         * misc/tst-efgcvt.c (special): Likewise.
34626         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34627         Remove declarations.
34629 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34631         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34632         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34633         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34634         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34636 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34639         macro to return vdso values correctly in IFUNC implementations.
34640         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34641         Optimization by using IFUNC.
34643 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34644             Richard Henderson  <rth@redhat.com>
34645             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34647         * Makefile.in (bench): New target.
34648         * NEWS: Mention the benchmark framework.
34649         * Rules (bench): Likewise.
34650         (binaries-bench): Generate binaries for functions to
34651         benchmark.
34652         * benchtests/Makefile: New makefile for benchmark tests.
34653         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34654         programs.
34655         * benchtests/exp-inputs: New input file for EXP function.
34656         * benchtests/pow-inputs: New input file for POW function.
34657         * scripts/bench.pl: New script to generate source files for
34658         benchmark programs.
34660 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34662         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34663         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34664         computations on mantissa.  Use macros for rounding and
34665         division.
34666         (denorm): Likewise.
34667         (__dbl_mp): Likewise.
34668         (add_magnitudes): Likewise.
34669         (sub_magnitudes): Likewise.
34670         (__mul): Likewise.
34671         (__sqr): Likewise.
34672         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34673         powers of two in terms of TWOPOW macro.
34674         (mp_no): Make type of mantissa as MANTISSA_T.
34675         [!RADIXI]: Define RADIXI.
34676         [!TWO52]: Define TWO52.
34677         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34679         * manual/nptl.texi (cindex): Modify threads to pthreads.
34681 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34683         * sysdeps/x86_64/preconfigure: Regenerated.
34685 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34687         [BZ #14155]
34688         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34689         0x1p28 and above.
34690         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34691         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34692         0x1p28 and above.
34693         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34694         * math/libm-test.inc (j0_test): Do not allow one spurious
34695         underflow exception.
34696         (y1_test): Likewise.
34698 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34700         * manual/Makefile (chapters): Add nptl.
34701         * manual/debug.texi (Debugging Support): Add link to Threads
34702         chapter.
34703         * manual/nptl.texi: New file.
34705         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34707 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34709         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34710         for non-NULL pointer before the memory validity test. Pointed
34711         out by Holger Brunck <holger.brunck@keymile.com>.
34713 2013-03-13  Andreas Schwab  <schwab@suse.de>
34715         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34716         instead of .os.
34718 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34720         * timezone/zic.c: Update from tzcode 2013b.
34722 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34724         * manual/install.texi (Configuring and compiling):
34725         Mention i686 and i586.
34726         * INSTALL: Regenerate.
34728 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34730         * sysdeps/init_array/elf-init.c: New file.
34731         * csu/elf-init.c
34732         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34733         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34735         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34736         __gmon_start__ as global, but as static with a .preinit_array pointer.
34737         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34738         * sysdeps/init_array/crti.S: New file, empty except for comments.
34739         * sysdeps/init_array/crtn.S: Likewise.
34741 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34743         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34744         definining bcopy.
34745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34746         Remove Prefer_SSE_for_memop.
34747         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34748         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34749         HAS_PREFER_SSE_FOR_MEMOP.
34750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34751         memset-x86-64.
34752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34753         Remove bzero, memset ifunc support.
34754         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34755         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34756         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34757         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34759 2013-03-11  Andreas Schwab  <schwab@suse.de>
34761         [BZ #15234]
34762         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34763         by SHLIB_COMPAT.
34764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34765         (GLIBC_2.16): Remove pthread_atfork.
34767 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34769         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34770         (ptestcases.h): Likewise.
34772 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34774         * Makeconfig ($(common-objpfx)config.status): Depend on
34775         sysdeps/*/preconfigure{,.in} too.
34777 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34779         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34780         (__free_hook): Use void * instead of __malloc_ptr_t.
34781         (__malloc_hook): Likewise.
34782         (__realloc_hook): Likewise.
34783         (__memalign_hook): Likewise.
34784         (__after_morecore_hook): Likewise.
34785         * malloc/arena.c (save_malloc_hook): Likewise.
34786         (save_free_hook): Likewise.
34787         * malloc/hooks.c (malloc_hook_ini): Likewise.
34788         (realloc_hook_ini): Likewise.
34789         (memalign_hook_ini): Likewise.
34790         * malloc/malloc.c (malloc_hook_ini): Likewise.
34791         (realloc_hook_ini): Likewise.
34792         (memalign_hook_ini): Likewise.
34793         (__free_hook): Likewise.
34794         (__malloc_hook): Likewise.
34795         (__realloc_hook): Likewise.
34796         (__memalign_hook): Likewise.
34797         (__libc_malloc): Likewise.
34798         (__libc_free): Likewise.
34799         (__libc_realloc): Likewise.
34800         (__libc_memalign): Likewise.
34801         (__libc_valloc): Likewise.
34802         (__libc_pvalloc): Likewise.
34803         (__libc_calloc): Likewise.
34804         (__posix_memalign): Likewise.
34805         * malloc/morecore.c (__sbrk): Likewise.
34806         (__default_morecore): Likewise.
34808         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34810         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34811         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34812         __malloc_ptrdiff_t.
34814         * malloc/malloc.h (__malloc_size_t): Remove macro.
34815         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34816         __malloc_size_t.
34817         (old_memalign_hook): Likewise.
34818         (old_realloc_hook): Likewise.
34819         (struct hdr): Likewise.
34820         (flood): Likewise.
34821         (mallochook): Likewise.
34822         (memalignhook): Likewise.
34823         (reallochook): Likewise.
34824         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34825         (tr_old_realloc_hook): Likewise.
34826         (tr_old_memalign_hook): Likewise.
34827         (tr_mallochook): Likewise.
34828         (tr_reallochook): Likewise.
34829         (tr_memalignhook): Likewise.
34831 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34833         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34834         default_ldbl_pack and using as default implementation.
34835         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34836         implementation.
34837         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34838         redundant definition.
34839         (ldbl_insert_mantissa): Likewise.
34840         (ldbl_canonicalize): Likewise.
34841         (ldbl_nearbyint): Likewise.
34842         (ldbl_pack): Rename to ldbl_pack_ppc.
34843         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34844         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34845         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34847 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34850         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34851         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34852         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34854         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34855         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34856         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34858 2013-03-07  Andreas Jaeger  <aj@suse.de>
34860         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34861         bits/mman-linux.h.
34863 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34865         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34866         Include mpa.h and declare __MPEXP.
34867         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34869         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34870         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34872         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34873         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34875         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34876         (__slowpow): Use long double EXPL and LOGL functions to
34877         compute POW.
34878         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34879         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34880         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34881         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34882         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34883         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34886         intermediate variable to calculate exponent.
34887         (__sqr): Likewise.
34888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34889         Likewise.
34890         (__sqr): Likewise.
34892         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34893         [!NO__SQR]: Define __sqr.
34894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34895         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34896         sysdeps/ieee754/dbl-64/mpa.c.
34897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34899         [BZ #12723]
34900         * posix/Makefile (tests): Add tst-pathconf.
34901         * posix/tst-pathconf.c: New test case.
34902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34903         _PC_PIPE_BUF.
34904         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34906 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34908         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34910 2013-03-06  Andreas Jaeger  <aj@suse.de>
34912         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34913         definition via __MAP_ANONYMOUS.
34915         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34916         it's not part of Linux headers.
34918         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34919         (MAP_HUGE_MASK): Define.
34921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34922         Define.
34923         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34924         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34925         Define.
34926         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34927         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34928         Define.
34929         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34930         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34931         Define.
34932         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34934         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34935         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34936         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34937         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34938         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34939         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34941         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34942         Handle f2fs.
34944         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34945         Handle f2fs and efivarfs.
34947         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34948         f2fs.
34950         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34951         (EFIVARFS_MAGIC): Add.
34952         (F2FS_LINK_MAX): Add.
34954 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34956         * stdio-common/vfprintf.c: Replace __builtin_expect with
34957         __glibc_unlikely.
34959 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34961         [BZ #13550]
34962         * sysdeps/generic/bp-sym.h: Remove file.
34963         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34964         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34965         <bp-sym.h> and <bp-asm.h>.
34966         (__longjmp): Don't use BP_SYM.
34967         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34968         and <bp-asm.h>.
34969         (memcpy): Don't use BP_SYM.
34970         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34971         <bp-sym.h> and <bp-asm.h>.
34972         (memcpy): Don't use BP_SYM.
34973         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34974         <bp-asm.h>.
34975         (memcpy): Don't use BP_SYM.
34976         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34977         <bp-asm.h>.
34978         (memset): Don't use BP_SYM.
34979         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34980         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34981         (__bzero): Don't use BP_SYM.
34982         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34983         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34985         <bp-sym.h> and <bp-asm.h>.
34986         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34987         pointers.
34988         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34989         <bp-sym.h> and <bp-asm.h>.
34990         (memcpy): Don't use BP_SYM.
34991         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34992         <bp-sym.h> and <bp-asm.h>.
34993         (memset): Don't use BP_SYM.
34994         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34995         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34996         (__bzero): Don't use BP_SYM.
34997         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34998         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34999         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35000         <bp-sym.h> and <bp-asm.h>.
35001         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35002         pointers.
35003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35004         <bp-sym.h> and <bp-asm.h>.
35005         (memcpy): Don't use BP_SYM.
35006         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35007         <bp-sym.h> and <bp-asm.h>.
35008         (memset): Don't use BP_SYM.
35009         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35010         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35011         (__bzero): Don't use BP_SYM.
35012         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35013         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35014         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35015         <bp-sym.h> and <bp-asm.h>.
35016         (__memchr): Don't use BP_SYM.
35017         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35018         <bp-sym.h> and <bp-asm.h>.
35019         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35020         pointers.
35021         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35022         <bp-sym.h> and <bp-asm.h>.
35023         (memcpy): Don't use BP_SYM.
35024         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35025         <bp-sym.h> and <bp-asm.h>.
35026         (__mempcpy): Don't use BP_SYM.
35027         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35028         <bp-sym.h> and <bp-asm.h>.
35029         (__memrchr): Don't use BP_SYM.
35030         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35031         <bp-sym.h> and <bp-asm.h>.
35032         (memset): Don't use BP_SYM.
35033         (__bzero): Likewise.
35034         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35035         <bp-sym.h> and <bp-asm.h>.
35036         (__rawmemchr): Don't use BP_SYM.
35037         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35038         <bp-sym.h> and <bp-asm.h>.
35039         (__STRCMP): Don't use BP_SYM.
35040         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35041         <bp-sym.h> and <bp-asm.h>.
35042         (strchr): Don't use BP_SYM.
35043         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35044         <bp-sym.h> and <bp-asm.h>.
35045         (__strchrnul): Don't use BP_SYM.
35046         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35047         <bp-sym.h> and <bp-asm.h>.
35048         (strlen): Don't use BP_SYM.
35049         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35050         <bp-sym.h> and <bp-asm.h>.
35051         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35052         pointers.
35053         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35054         <bp-sym.h> and <bp-asm.h>.
35055         (__strnlen): Don't use BP_SYM.
35056         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35057         <bp-sym.h> and <bp-asm.h>.
35058         (__GI__setjmp): Don't use BP_SYM.
35059         (_setjmp): Likewise.
35060         (__sigsetjmp): Likewise.
35061         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35062         (L(start_addresses)): Don't use BP_SYM.
35063         (_start): Likewise.
35064         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35065         <bp-asm.h>.
35066         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35067         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35068         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35069         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35070         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35071         <bp-asm.h>.
35072         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35073         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35074         about bounded pointers.
35075         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35076         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35077         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35078         <bp-asm.h>.
35079         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35080         about bounded pointers.  Remove GKM FIXME comments.
35081         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35082         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35083         <bp-asm.h>.
35084         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35085         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35086         Remove GKM FIXME comments.
35087         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35088         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35089         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35090         <bp-asm.h>.
35091         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35092         about bounded pointers.  Remove GKM FIXME comment.
35093         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35094         and <bp-asm.h>.
35095         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35096         pointers.
35097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35098         <bp-sym.h> and <bp-asm.h>.
35099         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35101         <bp-sym.h> and <bp-asm.h>.
35102         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35103         comment.
35105 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35107         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35108         call free(NULL).
35110 2013-03-05  David S. Miller  <davem@davemloft.net>
35112         * po/es.po: Update from translation team.
35114 2013-03-05  Andreas Jaeger  <aj@suse.de>
35116         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35117         <bits/mman-linux.h>.
35118         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35119         is fine.
35120         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35121         <bits/mman-linux.h> to end of file.
35122         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35123         is fine.
35124         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35125         <bits/mman-linux.h> to end of file.
35126         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35127         is fine.
35128         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35129         <bits/mman-linux.h> to end of file.
35131         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35132         (MCL_CURRENT, MCL_FUTURE): Define here.
35134 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35136         [BZ #15232]
35137         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35138         attribute_hidden.
35139         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35141 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35143         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35144         fourth parameter needed for rt_sigprocmask syscall.
35145         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35146         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35147         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35148         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35149         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35150         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35152 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35154         [BZ #13550]
35155         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35156         comment about bounded pointers.
35157         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35158         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35160 2013-03-04  Andreas Jaeger  <aj@suse.de>
35162         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35163         common definitions.
35165         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35166         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35167         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35168         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35169         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35170         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35172 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35174         [BZ #15055]
35175         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35176         __ieee754_sqrl instead of __sqrl.
35178 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35180         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35181         * sysdeps/powerpc/fpu_control.h: ... here.
35182         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35183         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35184         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35185         * sysdeps/powerpc/bits/mathinline.h: ... here.
35187 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35189         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35190         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35191         to just [NEED_DL_SYSINFO_DSO].
35192         * elf/dl-support.c: Likewise.
35193         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35194         * elf/rtld.c (dl_main): Likewise.
35195         * elf/setup-vdso.h (setup_vdso): Likewise.
35196         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35197         * sysdeps/unix/sysv/linux/dl-sysdep.c
35198         (_dl_discover_osversion): Likewise.
35200 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35202         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35203         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35205 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35207         * NEWS: Mention libm performance improvements and non-x86 PI
35208         futex support.
35210         * csu/libc-start.c (__pthread_initialize_minimal): Change
35211         function arguments.
35212         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35214 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35216         [BZ #13550]
35217         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35218         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35219         <bp-sym.h> and <bp-asm.h>.
35220         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35221         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35222         and <bp-asm.h>.
35223         (memcpy): Don't use BP_SYM.
35224         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35225         <bp-asm.h>.
35226         (__mpn_add_n): Don't use BP_SYM.
35227         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35228         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35229         and <bp-asm.h>.
35230         (__mpn_addmul_1): Don't use BP_SYM.
35231         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35232         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35233         <bp-sym.h>.
35234         (_setjmp): Don't use BP_SYM.
35235         (__novmx_setjmp): Likewise.
35236         (__GI__setjmp): Likewise.
35237         (__vmx_setjmp): Likewise.
35238         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35239         <bp-sym.h>.
35240         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35241         (__bzero): Don't use BP_SYM.
35242         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35243         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35244         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35245         <bp-sym.h> and <bp-asm.h>.
35246         (memcpy): Don't use BP_SYM.
35247         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35248         <bp-sym.h> and <bp-asm.h>.
35249         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35250         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35251         <bp-sym.h> and <bp-asm.h>.
35252         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35253         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35254         <bp-asm.h>.
35255         (__mpn_lshift): Don't use BP_SYM.
35256         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35257         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35258         <bp-asm.h>.
35259         (memset): Don't use BP_SYM.
35260         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35261         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35262         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35263         <bp-asm.h>.
35264         (__mpn_mul_1): Don't use BP_SYM.
35265         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35267         <bp-sym.h> and <bp-asm.h>.
35268         (memcmp): Don't use BP_SYM.
35269         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35270         <bp-sym.h> and <bp-asm.h>.
35271         (memcpy): Don't use BP_SYM.
35272         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35273         <bp-sym.h> and <bp-asm.h>.
35274         (memset): Don't use BP_SYM.
35275         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35276         <bp-sym.h> and <bp-asm.h>.
35277         (strncmp): Don't use BP_SYM.
35278         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35279         <bp-sym.h> and <bp-asm.h>.
35280         (memcpy): Don't use BP_SYM.
35281         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35282         <bp-sym.h> and <bp-asm.h>.
35283         (memset): Don't use BP_SYM.
35284         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35285         <bp-sym.h> and <bp-asm.h>.
35286         (__memchr): Don't use BP_SYM.
35287         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35288         <bp-sym.h> and <bp-asm.h>.
35289         (memcmp): Don't use BP_SYM.
35290         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35291         <bp-sym.h> and <bp-asm.h>.
35292         (memcpy): Don't use BP_SYM.
35293         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35294         <bp-sym.h> and <bp-asm.h>.
35295         (__mempcpy): Don't use BP_SYM.
35296         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35297         <bp-sym.h> and <bp-asm.h>.
35298         (__memrchr): Don't use BP_SYM.
35299         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35300         <bp-sym.h> and <bp-asm.h>.
35301         (memset): Don't use BP_SYM.
35302         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35303         <bp-sym.h> and <bp-asm.h>.
35304         (__rawmemchr): Don't use BP_SYM.
35305         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35306         <bp-sym.h> and <bp-asm.h>.
35307         (__STRCMP): Don't use BP_SYM.
35308         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35309         <bp-sym.h> and <bp-asm.h>.
35310         (strchr): Don't use BP_SYM.
35311         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35312         <bp-sym.h> and <bp-asm.h>.
35313         (__strchrnul): Don't use BP_SYM.
35314         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35315         <bp-sym.h> and <bp-asm.h>.
35316         (strlen): Don't use BP_SYM.
35317         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35318         <bp-sym.h> and <bp-asm.h>.
35319         (strncmp): Don't use BP_SYM.
35320         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35321         <bp-sym.h> and <bp-asm.h>.
35322         (__strnlen): Don't use BP_SYM.
35323         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35324         <bp-asm.h>.
35325         (__mpn_rshift): Don't use BP_SYM.
35326         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35327         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35328         <bp-sym.h> and <bp-asm.h>.
35329         (__sigsetjmp): Don't use BP_SYM.
35330         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35331         (L(start_addresses)): Don't use BP_SYM.
35332         (_start): Likewise.
35333         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35334         <bp-asm.h>.
35335         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35336         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35337         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35338         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35339         <bp-asm.h>.
35340         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35341         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35342         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35343         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35344         <bp-asm.h>.
35345         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35346         comments.
35347         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35348         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35349         <bp-asm.h>.
35350         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35351         FIXME comments.
35352         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35353         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35354         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35355         <bp-asm.h>.
35356         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35357         comment.
35358         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35359         and <bp-asm.h>.
35360         (strncmp): Don't use BP_SYM,
35361         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35362         <bp-asm.h>.
35363         (__mpn_sub_n): Don't use BP_SYM.
35364         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35365         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35366         and <bp-asm.h>.
35367         (__mpn_submul_1): Don't use BP_SYM.
35368         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35370         <bp-sym.h> and <bp-asm.h>.
35371         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35373         <bp-sym.h> and <bp-asm.h>.
35374         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35375         comment.
35377 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35380         Use ZK to minimize writes to Z.
35381         (sub_magnitudes): Simplify code a bit.
35382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35383         Use ZK to minimize writes to Z.
35384         (sub_magnitudes): Simplify code a bit.
35386 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35388         * csu/gmon-start.c: Add special exception to license text.
35390 2013-02-27  Richard Henderson  <rth@redhat.com>
35392         * scripts/config.guess: Update from config.git.
35393         * scripts/config.sub: Likewise.
35395 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35397         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35399         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35401         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35403         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35405         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35407 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35409         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35410         [$(build-shared = yes].
35412 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35414         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35415         (__mul): Reduce iterations for calculating mantissa.
35417         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35418         MPTWO.
35419         (__mpranred): Likewise.
35421         [BZ #15160]
35422         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35423         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35425 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35427         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35428         Define __attribute__.
35430 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35432         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35433         unused.
35434         * posix/regex_internal.h (__attribute): Remove.
35435         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35436         (re_string_context_at): Likewise.
35437         (bitset_not): Use __attribute__ and mark function as possibly
35438         unused.
35439         (bitset_merge): Likewise.
35440         (bitset_mask): Likewise.
35441         (re_string_char_size_at): Likewise.
35442         (re_string_wchar_at): Likewise.
35443         (re_string_elem_size_at): Likewise.
35445 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35447         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35448         code.
35449         (cc32): Likewise.
35451         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35452         (__acr): Likewise.
35453         (__cpy): Likewise.
35454         (norm): Likewise.
35455         (denorm): Likewise.
35456         (__dbl_mp): Likewise.
35457         (add_magnitudes): Likewise.
35458         (sub_magnitudes): Likewise.
35459         (__mul): Likewise.
35460         (__inv): Likewise.
35462         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35463         style.
35465         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35466         style.
35468         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35469         code.
35471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35472         up changes with default code.
35473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35474         Likewise.
35476 2013-02-24  Allan McRae  <allan@archlinux.org>
35478         * manual/socket.texi (The Internet Namespace): Order menu items
35479         to match that in the file.
35481         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35482         node listing of the info page menu.
35484 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35486         [BZ #13550]
35487         * sysdeps/i386/bp-asm.h: Remove file.
35488         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35489         (PARMS): Do not use macros from bp-asm.h.
35490         (S1): Likewise.
35491         (S2): Likewise.
35492         (SIZE): Likewise.
35493         (__mpn_add_n): Do not use BP_SYM
35494         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35495         "bp-asm.h".
35496         (PARMS): Do not use macros from bp-asm.h.
35497         (S1): Likewise.
35498         (SIZE): Likewise.
35499         (__mpn_addmul_1): Do not use BP_SYM
35500         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35501         "bp-asm.h".
35502         (PARMS): Do not use macros from bp-asm.h.
35503         (SIGMSK): Likewise.
35504         (_setjmp): Likewise.  Do not use BP_SYM.
35505         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35506         "bp-asm.h".
35507         (PARMS): Do not use macros from bp-asm.h.
35508         (SIGMSK): Likewise.
35509         (setjmp): Likewise.  Do not use BP_SYM.
35510         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35511         "bp-asm.h".
35512         (PARMS): Do not use macros from bp-asm.h.
35513         (__frexp): Do not use BP_SYM.
35514         (frexp): Likewise.
35515         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35516         "bp-asm.h".
35517         (PARMS): Do not use macros from bp-asm.h.
35518         (__frexpf): Do not use BP_SYM.
35519         (frexpf): Likewise.
35520         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35521         "bp-asm.h".
35522         (PARMS): Do not use macros from bp-asm.h.
35523         (__frexpl): Do not use BP_SYM.
35524         (frexpl): Likewise.
35525         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35526         "bp-asm.h".
35527         (PARMS): Do not use macros from bp-asm.h.
35528         (__remquo): Do not use BP_SYM.
35529         (remquo): Likewise.
35530         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35531         "bp-asm.h".
35532         (PARMS): Do not use macros from bp-asm.h.
35533         (__remquof): Do not use BP_SYM.
35534         (remquof): Likewise.
35535         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35536         "bp-asm.h".
35537         (PARMS): Do not use macros from bp-asm.h.
35538         (__remquol): Do not use BP_SYM.
35539         (remquol): Likewise.
35540         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35541         "bp-asm.h".
35542         (PARMS): Do not use macros from bp-asm.h.
35543         (DEST): Likewise.
35544         (SRC): Likewise.
35545         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35546         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35547         "bp-asm.h".
35548         (PARMS): Do not use macros from bp-asm.h.
35549         (strlen): Do not use BP_SYM.
35550         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35551         "bp-asm.h".
35552         (PARMS): Do not use macros from bp-asm.h.
35553         (S1): Likewise.
35554         (S2): Likewise.
35555         (SIZE): Likewise.
35556         (__mpn_add_n): Do not use BP_SYM.
35557         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35558         "bp-asm.h".
35559         (PARMS): Do not use macros from bp-asm.h.
35560         (S1): Likewise.
35561         (SIZE): Likewise.
35562         (__mpn_addmul_1): Do not use BP_SYM.
35563         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35564         weak_alias.
35565         (bzero): Likewise.
35566         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35567         "bp-asm.h".
35568         (PARMS): Do not use macros from bp-asm.h.
35569         (S): Likewise.
35570         (SIZE): Likewise.
35571         (__mpn_lshift): Do not use BP_SYM.
35572         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35573         "bp-asm.h".
35574         (PARMS): Do not use macros from bp-asm.h.
35575         (DEST): Likewise.
35576         (SRC): Likewise.
35577         (LEN): Likewise.
35578         (memcpy): Likewise.  Do not use BP_SYM.
35579         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35580         libc_hidden_def and weak_alias.
35581         (mempcpy): Do not use BP_SYM in weak_alias.
35582         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35583         "bp-asm.h".
35584         (PARMS): Do not use macros from bp-asm.h.
35585         (DEST): Likewise.
35586         (LEN): Likewise.
35587         [!BZERO_P] (CHR): Likewise.
35588         (memset): Likewise.  Do not use BP_SYM.
35589         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35590         "bp-asm.h".
35591         (PARMS): Do not use macros from bp-asm.h.
35592         (S1): Likewise.
35593         (SIZE): Likewise.
35594         (__mpn_mul_1): Do not use BP_SYM.
35595         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35596         "bp-asm.h".
35597         (PARMS): Do not use macros from bp-asm.h.
35598         (S): Likewise.
35599         (SIZE): Likewise.
35600         (__mpn_rshift): Do not use BP_SYM.
35601         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35602         "bp-asm.h".
35603         (PARMS): Do not use macros from bp-asm.h.
35604         (STR): Likewise.
35605         (CHR): Likewise.
35606         (strchr): Likewise.  Do not use BP_SYM.
35607         (index): Do not use BP_SYM in weak_alias.
35608         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35609         "bp-asm.h".
35610         (PARMS): Do not use macros from bp-asm.h.
35611         (DEST): Likewise.
35612         (SRC): Likewise.
35613         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35614         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35615         "bp-asm.h".
35616         (PARMS): Do not use macros from bp-asm.h.
35617         (strlen): Do not use BP_SYM.
35618         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35619         "bp-asm.h".
35620         (PARMS): Do not use macros from bp-asm.h.
35621         (S1): Likewise.
35622         (S2): Likewise.
35623         (SIZE): Likewise.
35624         (__mpn_sub_n): Do not use BP_SYM.
35625         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35626         "bp-asm.h".
35627         (PARMS): Do not use macros from bp-asm.h.
35628         (S1): Likewise.
35629         (SIZE): Likewise.
35630         (__mpn_submul_1): Do not use BP_SYM.
35631         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35632         "bp-asm.h".
35633         (PARMS): Do not use macros from bp-asm.h.
35634         (S1): Likewise.
35635         (S2): Likewise.
35636         (SIZE): Likewise.
35637         (__mpn_add_n): Do not use BP_SYM.
35638         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35639         weak_alias.
35640         (bzero): Likewise.
35641         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35642         "bp-asm.h".
35643         (PARMS): Do not use macros from bp-asm.h.
35644         (BLK2): Likewise.
35645         (LEN): Likewise.
35646         (memcmp): Do not use BP_SYM.
35647         (bcmp): Do not use BP_SYM in weak_alias.
35648         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35649         "bp-asm.h".
35650         (PARMS): Do not use macros from bp-asm.h.
35651         (DEST): Likewise.
35652         (SRC): Likewise.
35653         (LEN): Likewise.
35654         (memcpy): Likewise.  Do not use BP_SYM.
35655         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35656         "bp-asm.h".
35657         (PARMS): Do not use macros from bp-asm.h.
35658         (DEST): Likewise.
35659         (SRC): Likewise.
35660         (LEN): Likewise.
35661         (memmove): Likewise.  Do not use BP_SYM.
35662         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35663         "bp-asm.h".
35664         (PARMS): Do not use macros from bp-asm.h.
35665         (DEST): Likewise.
35666         (SRC): Likewise.
35667         (LEN): Likewise.
35668         (__mempcpy): Likewise.  Do not use BP_SYM.
35669         (mempcpy): Do not use BP_SYM in weak_alias.
35670         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35671         "bp-asm.h".
35672         (PARMS): Do not use macros from bp-asm.h.
35673         (DEST): Likewise.
35674         (LEN): Likewise.
35675         [!BZERO_P] (CHR): Likewise.
35676         (memset): Likewise.  Do not use BP_SYM.
35677         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35678         "bp-asm.h".
35679         (PARMS): Do not use macros from bp-asm.h.
35680         (STR2): Likewise.
35681         (strcmp): Do not use BP_SYM.
35682         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35683         "bp-asm.h".
35684         (PARMS): Do not use macros from bp-asm.h.
35685         (STR): Likewise.
35686         (DELIM): Likewise.
35687         [USE_AS_STRTOK_R] (SAVE): Likewise.
35688         (FUNCTION): Likewise.  Do not use BP_SYM.
35689         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35690         aliases.
35691         (strtok_r): Likewise.
35692         (__GI___strtok_r): Likewise.
35693         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35694         (PARMS): Do not use macros from bp-asm.h.
35695         (S): Likewise.
35696         (SIZE): Likewise.
35697         (__mpn_lshift): Do not use BP_SYM.
35698         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35699         (PARMS): Do not use macros from bp-asm.h.
35700         (STR): Likewise.
35701         (CHR): Likewise.
35702         (__memchr): Do not use BP_SYM.
35703         (memchr): Do not use BP_SYM in weak_alias.
35704         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35705         (PARMS): Do not use macros from bp-asm.h.
35706         (BLK2): Likewise.
35707         (LEN): Likewise.
35708         (memcmp): Do not use BP_SYM.
35709         (bcmp): Do not use BP_SYM in weak_alias.
35710         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35711         (PARMS): Do not use macros from bp-asm.h.
35712         (S1): Likewise.
35713         (SIZE): Likewise.
35714         (__mpn_mul_1): Do not use BP_SYM.
35715         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35716         "bp-asm.h".
35717         (PARMS): Do not use macros from bp-asm.h.
35718         (STR): Likewise.
35719         (CHR): Likewise.
35720         (__rawmemchr): Do not use BP_SYM.
35721         (rawmemchr): Do not use BP_SYM in weak_alias.
35722         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35723         (PARMS): Do not use macros from bp-asm.h.
35724         (S): Likewise.
35725         (SIZE): Likewise.
35726         (__mpn_rshift): Do not use BP_SYM.
35727         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35728         (PARMS): Do not use macros from bp-asm.h.
35729         (SIGMSK): Likewise.
35730         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35731         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35732         (_start): Do not use BP_SYM.
35733         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35734         (PARMS): Do not use macros from bp-asm.h.
35735         (DEST): Likewise.
35736         (SRC): Likewise.
35737         (__stpcpy): Likewise.  Do not use BP_SYM.
35738         (stpcpy): Do not use BP_SYM in weak_alias.
35739         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35740         "bp-asm.h".
35741         (PARMS): Do not use macros from bp-asm.h.
35742         (DEST): Likewise.
35743         (SRC): Likewise.
35744         (LEN): Likewise.
35745         (__stpncpy): Likewise.  Do not use BP_SYM.
35746         (stpncpy): Do not use BP_SYM in weak_alias.
35747         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35748         (PARMS): Do not use macros from bp-asm.h.
35749         (STR): Likewise.
35750         (CHR): Likewise.
35751         (strchr): Likewise.  Do not use BP_SYM.
35752         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35753         "bp-asm.h".
35754         (PARMS): Do not use macros from bp-asm.h.
35755         (STR): Likewise.
35756         (CHR): Likewise.
35757         (__strchrnul): Likewise.  Do not use BP_SYM.
35758         (strchrnul): Do not use BP_SYM in weak_alias.
35759         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35760         "bp-asm.h".
35761         (PARMS): Do not use macros from bp-asm.h.
35762         (STOP): Likewise.
35763         (strcspn): Do not use BP_SYM.
35764         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35765         "bp-asm.h".
35766         (PARMS): Do not use macros from bp-asm.h.
35767         (STR): Likewise.
35768         (STOP): Likewise.
35769         (strpbrk): Likewise.  Do not use BP_SYM.
35770         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35771         "bp-asm.h".
35772         (PARMS): Do not use macros from bp-asm.h.
35773         (STR): Likewise.
35774         (CHR): Likewise.
35775         (strrchr): Likewise.  Do not use BP_SYM.
35776         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35777         (PARMS): Do not use macros from bp-asm.h.
35778         (SKIP): Likewise.
35779         (strspn): Do not use BP_SYM.
35780         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35781         (PARMS): Do not use macros from bp-asm.h.
35782         (STR): Likewise.
35783         (DELIM): Likewise.
35784         (SAVE): Likewise.
35785         (FUNCTION): Likewise.  Do not use BP_SYM.
35786         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35787         aliases.
35788         (strtok_r): Likewise.
35789         (__GI___strtok_r): Likewise.
35790         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35791         (PARMS): Do not use macros from bp-asm.h.
35792         (S1): Likewise.
35793         (S2): Likewise.
35794         (SIZE): Likewise.
35795         (__mpn_sub_n): Do not use BP_SYM.
35796         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35797         "bp-asm.h".
35798         (PARMS): Do not use macros from bp-asm.h.
35799         (S1): Likewise.
35800         (SIZE): Likewise.
35801         (__mpn_submul_1): Do not use BP_SYM.
35802         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35803         <bp-sym.h>.
35804         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35805         and <bp-asm.h>.
35806         (PARMS): Do not use macros from bp-asm.h.
35807         (FLAGS): Likewise.
35808         (PTID): Likewise.
35809         (TLS): Likewise.
35810         (CTID): Likewise.
35811         (__clone): Do not use BP_SYM.
35812         (clone): Do not use BP_SYM in weak_alias.
35813         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35814         and <bp-asm.h>.
35815         (PARMS): Do not use macros from bp-asm.h.
35816         (LEN): Likewise.
35817         (__mmap64): Do not use BP_SYM.
35818         (mmap64): Do not use BP_SYM in weak_alias.
35819         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35820         <bp-sym.h> and <bp-asm.h>.
35821         (PARMS): Do not use macros from bp-asm.h.
35822         (__posix_fadvise64_l64): Do not use BP_SYM.
35823         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35824         (PARMS): Do not use macros from bp-asm.h.
35825         (NSOPS): Likewise.
35826         (semtimedop): Do not use BP_SYM.
35827         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35828         and <bp-asm.h>.
35830 2013-02-21  Allan McRae  <allan@archlinux.org>
35832         * manual/message.texi (Charset conversion in gettext):
35833         Move @end statement to beginning of line.
35835 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35838         static.
35839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35840         Likewise.
35842         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35843         (denorm): Likewise.
35844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35847 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35849         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35850         tail-call to the resolved function if pltexit isn't needed.
35852 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35855         or Y being zero as being unlikely.
35856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35857         Likewise.
35859 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35861         * manual/nss.texi (System Databases and Name Service Switch):
35862         Remove frobnicate @pxref.
35864 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35866         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35867         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35869 2013-02-20  Petr Machata  <pmachata@redhat.com>
35871         * elf/elf.h (R_ARM_TARGET1): New macro.
35872         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35873         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35874         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35875         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35876         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35877         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35878         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35879         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35880         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35881         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35882         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35883         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35884         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35885         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35886         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35887         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35888         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35889         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35890         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35891         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35892         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35893         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35894         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35895         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35896         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35897         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35898         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35899         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35900         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35901         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35902         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35903         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35904         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35905         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35906         (R_ARM_THM_GOT_BREL12): Likewise.
35907         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35908         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35909         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35910         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35911         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35912         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35913         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35914         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35915         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35917 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35919         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35920         __attribute_used__ to __attribute__ ((unused)).
35922 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35924         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35925         powerpc mpa.c.
35926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35927         comment formatting.
35928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35930 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35932         [BZ #13550]
35933         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35934         Remove macro.
35935         (ENTER): Remove both macro definitions.
35936         (LEAVE): Likewise.
35937         (CHECK_BOUNDS_LOW): Likewise.
35938         (CHECK_BOUNDS_HIGH): Likewise.
35939         (CHECK_BOUNDS_BOTH): Likewise.
35940         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35941         (RETURN_BOUNDED_POINTER): Likewise.
35942         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35943         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35944         (POP_ERRNO_LOCATION_RETURN): Likewise.
35945         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35946         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35947         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35948         macros.
35949         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35950         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35951         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35952         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35953         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35954         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35955         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35956         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35957         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35958         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35959         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35960         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35961         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35962         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35963         removed macros.
35964         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35965         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35966         macros.
35967         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35968         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35969         * sysdeps/i386/i586/memset.S (memset): Likewise.
35970         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35971         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35972         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35973         macros.
35974         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35975         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35976         Change uses of L(2) to L(out).
35977         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35978         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35979         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35980         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35981         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35982         removed macros.
35983         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35984         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35985         macros.
35986         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35987         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35988         (RETURN): Do not use macro LEAVE.
35989         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35990         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35991         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35992         * sysdeps/i386/i686/memset.S (memset): Likewise.
35993         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35994         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35995         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35996         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35997         Likewise.
35998         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35999         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36000         L(1_2) and L(1_3) into L(1).
36001         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36002         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36003         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36004         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36005         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36006         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36007         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36008         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36009         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36010         macros.
36011         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36012         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36013         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36014         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36015         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36016         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36017         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36018         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36019         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36020         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36021         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36022         * sysdeps/i386/strspn.S (strspn): Likewise.
36023         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36024         conditional code.
36025         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36026         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36027         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36028         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36029         L(1_3) into L(1_1).
36030         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36031         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36032         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36033         macros.
36034         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36036 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36038         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36039         macro.
36041 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36043         * math/atest-exp.c (exp_mpn): Remove ROUND.
36044         * math/atest-exp2.c (exp_mpn): Likewise.
36045         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36047         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36048         * stdlib/tst-tls-atexit-lib.c: Likewise.
36049         * stdlib/tst-tls-atexit.c: Likewise.
36051 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36053         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36054         and __attribute_alloc_size__.
36056 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36058         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36059         __attribute_alloc_size__.
36060         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36061         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36063 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36065         * include/programs/xmalloc.h: New file.
36066         * catgets/gencat.c: Include it.
36067         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36068         * elf/pldd.c: Likewise.
36069         * iconv/iconv_charmap.c: Likewise.
36070         * iconv/iconvconfig.c: Likewise.
36071         * iconv/strtab.c: Likewise.
36072         * locale/programs/locale.c: Likewise.
36073         * locale/programs/localedef.h: Likewise.
36074         * locale/programs/simple-hash.c: Likewise.
36075         * nscd/nscd.h: Likewise.
36076         * nss/makedb.c: Likewise.
36077         * sysdeps/generic/ldconfig.h: Likewise.
36079 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36081         * Versions.def: Add GLIBC_2.18.
36082         * include/link.h (struct link_map): New member l_tls_dtor_count.
36083         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36084         (__call_tls_dtors): Likewise.
36085         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36086         __cxa_thread_atexit_impl.
36087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36088         Likewise.
36089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36090         Likewise.
36091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36092         Likewise.
36093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36094         Likewise.
36095         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36097         Likewise.
36098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36099         Likewise.
36100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36102         Likewise.
36103         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36104         (tests): Add test case tst-tls-atexit.
36105         (modules-names): Add shared library for tst-tls-atexit.
36106         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36107         (GLIBC_PRIVATE): Add __call_tls_dtors.
36108         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36109         for libstdc++.
36110         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36111         * stdlib/tst-tls-atexit.c: New test case.
36112         * stdlib/tst-tls-atexit-lib.c: New test case.
36114         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36116         * elf/Versions (ld): Add _dl_find_dso_for_object.
36117         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36118         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36119         (dl_open_worker): Use _dl_find_dso_for_object.
36120         * elf/dl-sym.c (do_sym): Likewise.
36121         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36123 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36125         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36126         Syntactic changes only.
36127         (_dl_runtime_profile): Do a tail-call to the resolved function.
36129 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36131         [BZ #13550]
36132         * sysdeps/x86_64/bp-asm.h: Remove file.
36133         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36134         <bp-sym.h> and <bp-asm.h>.
36135         (__clone): Do not use BP_SYM.
36136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36137         <bp-sym.h> and <bp-asm.h>.
36138         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36139         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36140         "bp-asm.h".
36141         (_setjmp): Do not use BP_SYM.
36142         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36143         "bp-asm.h".
36144         (setjmp): Do not use BP_SYM.
36145         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36146         libc_hidden_def.
36147         (mempcpy): Do not use BP_SYM in weak_alias.
36148         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36149         "bp-asm.h".
36150         (strchr): Do not use BP_SYM.
36151         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36152         "bp-asm.h".
36153         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36154         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36155         (_start): Do not use BP_SYM.
36156         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36157         "bp-asm.h".
36158         (strcat): Do not use BP_SYM.
36159         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36160         "bp-asm.h".
36161         (STRCMP): Do not use BP_SYM.
36162         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36163         "bp-asm.h".
36164         (STRCPY): Do not use BP_SYM.
36165         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36166         "bp-asm.h".
36167         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36168         "bp-asm.h".
36169         (FUNCTION): Do not use BP_SYM.
36170         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36171         weak_alias.
36172         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36174 2013-02-17  Andreas Jaeger  <aj@suse.de>
36176         * time/Versions: Sort entries.
36177         * string/Versions: Likewise.
36178         * resolv/Versions: Likewise.
36179         * posix/Versions: Likewise.
36180         * iconv/Versions: Likewise.
36181         * elf/Versions: Likewise.
36182         * wcsmbs/Versions: Likewise.
36184 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36186         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36187         loop termination condition.
36189         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36190         variable to calculate EZ.
36191         (__sqr): Likewise.
36193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36194         the lower precision input.
36196 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36198         [BZ #13550]
36199         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36200         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36201         (run-via-rtld-prefix): Do not handle %-bp tests.
36202         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36203         (all-object-suffixes): Remove .ob.
36204         (bppfx): Remove variable.
36205         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36206         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36207         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36208         [$(build-bounded) = yes] (libtype.ob): Likewise.
36209         * Makerules (elide-routines.ob): Remove variable.
36210         (do-tests-clean): Do not handle *-bp.out.
36211         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36212         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36213         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36214         (tests): Do not include $(tests-bp.out).
36215         (xtests): Do not include $(xtests-bp.out).
36216         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36217         [$(build-bounded) = yes] ($(addprefix
36218         $(objpfx),$(binaries-bounded))): Remove rule.
36219         ($(objpfx)%-bp.out): Remove rule.
36220         * config.make.in (build-bounded): Remove variable.
36221         * crypt/Makefile [$(build-bounded) = yes]
36222         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36223         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36224         append to variable.
36225         [$(build-bounded) = yes] (install-lib): Likewise.
36226         [$(build-bounded) = yes] (generated): Likewise.
36227         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36228         Remove rule.
36229         * intl/Makefile [$(build-bounded) = yes]
36230         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36231         * math/Makefile [$(build-bounded) = yes]
36232         ($(tests:%=$(objpfx)%-bp): Likewise.
36233         * misc/Makefile [$(build-bounded) = yes]
36234         ($(objpfx)tst-tsearch-bp): Likewise.
36235         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36236         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36237         Remove dependency.
36238         * string/Makefile (o-objects.ob): Remove variable.
36239         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36240         (CFLAGS-.ob): Remove variable.
36241         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36242         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36243         both definitions of variable.
36244         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36245         (ASFLAGS-.ob): Remove variable.
36247 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36249         [BZ #13550]
36250         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36251         Remove __BOUNDED_POINTERS__ from condition.
36252         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36253         * string/bits/string2.h [!__NO_STRING_INLINES &&
36254         !__BOUNDED_POINTERS__]: Likewise.
36255         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36256         Likewise.
36257         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36258         Remove conditional code.
36259         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36260         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36261         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36262         condition.
36264         [BZ #13550]
36265         * csu/libc-start.c: Do not include <bp-sym.h>.
36266         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36267         * elf/dl-open.c: Do not include <bp-sym.h>.
36268         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36269         * math/fegetenv.c: Do not include <bp-sym.h>.
36270         (fegetenv): Do not use BP_SYM in versioned symbols.
36271         * nptl/sysdeps/pthread/bits/libc-lockP.h
36272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36273         <bp-sym.h>.
36274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36275         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36277         (__pthread_mutex_destroy): Likewise.
36278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36279         (__pthread_mutex_lock): Likewise.
36280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36281         (__pthread_mutex_trylock): Likewise.
36282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36283         (__pthread_mutex_unlock): Likewise.
36284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36285         (__pthread_mutexattr_init): Likewise.
36286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36287         (__pthread_mutexattr_destroy): Likewise.
36288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36289         (__pthread_mutexattr_settype): Likewise.
36290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36291         (__pthread_rwlock_init): Likewise.
36292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36293         (__pthread_rwlock_destroy): Likewise.
36294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36295         (__pthread_rwlock_rdlock): Likewise.
36296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36297         (__pthread_rwlock_tryrdlock): Likewise.
36298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36299         (__pthread_rwlock_wrlock): Likewise.
36300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36301         (__pthread_rwlock_trywrlock): Likewise.
36302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36303         (__pthread_rwlock_unlock): Likewise.
36304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36305         (__pthread_key_create): Likewise.
36306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36307         (__pthread_setspecific): Likewise.
36308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36309         (__pthread_getspecific): Likewise.
36310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36311         Likewise.
36312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36313         (_pthread_cleanup_push_defer): Likewise.
36314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36315         (_pthread_cleanup_pop_restore): Likewise.
36316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36317         (pthread_setcancelstate): Likewise.
36318         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36319         <bp-sym.h>.
36320         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36321         (memchr): Do not use BP_SYM in weak_alias.
36322         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36323         (fegetenv): Do not use BP_SYM in versioned symbols.
36324         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36325         (fesetenv): Do not use BP_SYM in versioned symbols.
36326         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36327         (feupdateenv): Do not use BP_SYM in versioned symbols.
36328         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36329         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36330         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36331         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36332         (open64): Do not use BP_SYM in weak_alias.
36333         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36334         (fegetenv): Do not use BP_SYM in versioned symbols.
36335         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36336         (fesetenv): Do not use BP_SYM in versioned symbols.
36337         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36338         (feupdateenv): Do not use BP_SYM in versioned symbols.
36339         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36340         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36341         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36342         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36343         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36344         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36345         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36346         <bp-sym.h>.
36347         (__libc_start_main): Do not use BP_SYM.
36349 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36352         redundant return line.
36353         (norm): Likewise.
36354         (denorm): Likewise.
36355         (dbl_mp): Likewise.
36356         (sub_magnitudes): Likewise.
36357         (__add): Likewise.
36358         (__sub): Likewise.
36359         (__mul): Likewise.
36360         (__inv): Likewise.
36361         (__dvd): Likewise.
36362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36363         (norm): Likewise.
36364         (denorm): Likewise.
36365         (dbl_mp): Likewise.
36366         (sub_magnitudes): Likewise.
36367         (__add): Likewise.
36368         (__sub): Likewise.
36369         (__mul): Likewise.
36370         (__inv): Likewise.
36371         (__dvd): Likewise.
36373         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36374         instead of __mul.
36375         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36376         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36377         (cc32): Likewise.
36379         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36380         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36382         of __mul for squares.
36383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36384         function
36385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36386         Likewise.
36387         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36388         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36390 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36392         [BZ #13550]
36393         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36394         code.
36395         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36396         prototype or function definition.  Rename ubp_* variables and
36397         parameters.  Remove argv definitions conditional on
36398         [__BOUNDED_POINTERS__].
36399         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36400         * elf/dl-runtime.c (_dl_fixup): Likewise.
36401         * include/set-hooks.h (RUN_HOOK): Likewise.
36402         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36403         definition.
36404         * string/strcpy.c (strcpy): Do not use __unbounded.
36405         * sysdeps/generic/frame.h (struct layout): Likewise.
36406         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36407         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36408         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36409         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36410         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36411         (__backtrace): Likewise.
36412         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36413         use __ptrvalue.
36414         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36415         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36416         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36417         Likewise.
36418         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36419         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36420         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36421         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36422         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36423         Do not use __unbounded.
36424         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36425         Rename __unboundedrlimits parameter to rlimits in prototype.
36426         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36427         Do not use __unbounded.
36428         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36429         not use __ptrvalue.
36430         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36431         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36432         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36433         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36434         __ptrvalue or __unbounded.
36435         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36436         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36437         use __unbounded.
36438         (__new_msgctl): Do not use __ptrvalue.
36439         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36440         __unbounded.
36441         (__libc_msgrcv): Do not use __ptrvalue.
36442         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36443         startup_info): Do not use __unbounded.
36444         (__libc_start_main): Likewise.  Rename ubp_* variables and
36445         parameters.  Remove argv definitions conditional on
36446         [__BOUNDED_POINTERS__].
36447         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36448         __ptrvalue.
36449         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36450         use __unbounded.
36451         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36452         or __ptrvalue.
36453         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36454         use __unbounded.
36455         (__new_shmctl): Do not use __ptrvalue.
36456         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36457         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36458         Likewise.
36459         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36460         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36461         (__libc_sigaction): Likewise.
36462         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36463         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36464         Likewise.
36465         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36467 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36469         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36471         * string/mempcpy.c: Implement by calling memcpy.
36473 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36475         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36478         evaluation.
36480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36481         values in the mantissa.
36483         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36484         minimize writes to Z.
36485         (sub_magnitudes): Simplify code a bit.
36487 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36489         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36490         from the message.  The linker prefixes all warnings with that already.
36492 2013-02-12  Andreas Schwab  <schwab@suse.de>
36494         [BZ #15078]
36495         * posix/regexec.c (extend_buffers): Add parameter min_len.
36496         (check_matching): Pass minimum needed length.
36497         (clean_state_log_if_needed): Likewise.
36498         (get_subexp): Likewise.
36499         * posix/Makefile (tests): Add bug-regex34.
36500         (bug-regex34-ENV): Define.
36501         * posix/bug-regex34.c: New file.
36503         [BZ #11561]
36504         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36505         elements compare against the byte sequence of it, not its name.
36506         * posix/Makefile (tests): Add bug-regex35.
36507         (bug-regex35-ENV): Define.
36508         * posix/bug-regex35.c: New file.
36510 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36512         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36513         comment.
36514         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36515         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36516         (CHECK_EOL): Add undef.
36518 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36520         * bits/stdlib-bsearch.h: New file.
36521         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36522         * stdlib/stdlib.h: Likewise.
36524 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36526         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36527         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36528         declaration.
36529         * manual/search.texi (Array Search Function): Add missing const in
36530         lfind prototype.
36531         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36532         declaration to use rlim_t.
36533         (Basic Scheduling Functions): Remove erroneous const from
36534         sched_getparam prototype.  Remove erroneous * from
36535         sched_get_priority_max and sched_get_priority_min prototypes.
36536         (Resource Usage): Fix summary @comment on vtimes to refer to
36537         sys/vtimes.h rather than vtimes.h.
36538         Add missing *s in vtimes prototype.
36539         (Limits on Resources): Fix ulimit prototype to return long int.
36540         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36541         prototypes to use long int rather than double.
36542         (BSD Random): Fix initstate and setstate to use char *, not void *.
36543         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36544         prototype to make second argument 'struct aiocb64 *const[]'.
36545         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36546         (Status of AIO Operations): Remove erroneous const in aio_return and
36547         aio_return64 prototypes.
36548         (Synchronizing I/O): Fix sync prototype to return void.
36549         * manual/startup.texi (Suboptions): Remove an erroneous const in
36550         getsubopt prototype.
36551         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36552         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36553         use size_t rather than int.
36554         (Scanning All Users): Likewise for getpwent_r.
36555         (Setting Groups): Add missing const to setgroups prototype.
36556         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36557         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36558         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36559         'const void *' rather than 'const char *'.
36560         (Host Address Functions): Likewise for inet_ntop.
36561         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36562         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36563         ssize_t for return value.
36564         (Sending Data): Likewise for send, sendto, sendmsg.
36565         (Socket Option Functions): Add a missing const in setsockopt prototype.
36566         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36567         use wchar_t for the argument.
36568         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36569         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36570         take no arguments.
36571         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36572         double/float/long double for second argument.
36573         Fix return types of significand, significandf, significandl.
36574         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36575         argument in fchmod prototype.
36576         (File Owner): Use uid_t and gid_t in fchown prototype.
36577         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36578         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36579         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36580         use 'const struct dirent **' as argument types to CMP function pointer
36581         argument.
36582         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36583         (File Times): Fix summary magic @comment for struct utimbuf and utime
36584         to refer to utime.h, not time.h.
36585         * manual/string.texi (Argz Functions): Add missing const in
36586         argz_extract and argz_next prototypes.
36587         (Finding Tokens in a String): Likewise for basename.
36588         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36589         (Copying and Concatenation): Fix typo in wmemmove prototype.
36590         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36591         (Signal Stack): Remove erroneous const in sigstack prototype.
36592         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36593         prototype.
36594         (Simple Calendar Time): Likewise for stime.
36595         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36596         prototype.
36597         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36598         say sys/sysctl.h instead.
36599         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36600         and vsyslog prototypes.
36602 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36604         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36605         Remove.
36607 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36609         * misc/sys/mman.h: Fix typo in mremap comment.
36611 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36613         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36614         the '\0' terminator.
36616 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36618         [BZ #13550]
36619         * debug/segfault.c: Don't include <bp-checks.h>.
36620         * sysdeps/generic/bp-checks.h: Remove file.
36621         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36622         (__GETDENTS): Don't use CHECK_N.
36623         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36624         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36625         (__getgroups): Don't use CHECK_N.
36626         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36627         (setgroups): Don't use CHECK_N.
36628         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36629         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36630         (__libc_msgrcv): Don't use CHECK_N.
36631         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36632         (__libc_msgsnd): Don't use CHECK_N.
36633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36634         <bp-checks.h>.
36635         (__libc_pread): Don't use CHECK_N.
36636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36637         include <bp-checks.h>.
36638         (__libc_pread64): Don't use CHECK_N.
36639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36640         include <bp-checks.h>.
36641         (__libc_pwrite): Don't use CHECK_N.
36642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36643         include <bp-checks.h>.
36644         (__libc_pwrite64): Don't use CHECK_N.
36645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36646         <bp-checks.h>.
36647         (__libc_pread): Don't use CHECK_N.
36648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36649         include <bp-checks.h>.
36650         (__libc_pread64): Don't use CHECK_N.
36651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36652         include <bp-checks.h>.
36653         (__libc_pwrite): Don't use CHECK_N.
36654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36655         include <bp-checks.h>.
36656         (__libc_pwrite64): Don't use CHECK_N.
36657         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36658         (do_pread): Don't use CHECK_N.
36659         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36660         (do_pread64): Don't use CHECK_N.
36661         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36662         (do_pwrite): Don't use CHECK_N.
36663         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36664         (do_pwrite64): Don't use CHECK_N.
36665         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36666         (__libc_readv): Don't use CHECK_N.
36667         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36668         (semop): Don't use CHECK_N.
36669         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36670         <bp-checks.h>.
36671         (semtimedop): Don't use CHECK_N.
36672         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36673         (__libc_pread): Don't use CHECK_N.
36674         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36675         <bp-checks.h>.
36676         (__libc_pread64): Don't use CHECK_N.
36677         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36678         <bp-checks.h>.
36679         (__libc_pwrite): Don't use CHECK_N.
36680         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36681         <bp-checks.h>.
36682         (__libc_pwrite64): Don't use CHECK_N.
36683         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36684         <bp-checks.h>.
36685         (__libc_msgrcv): Don't use CHECK_N.
36686         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36687         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36688         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36689         (__libc_writev): Don't use CHECK_N.
36691 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36693         * string/strcpy.c: Removed unused variable.
36695         * Makeconfig (+sysdep-includes): Define with := rather than =.
36696         Use an existing include/ subdir of each sysdeps dir before it.
36698 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36700         * nscd/connection.c (register_traced_file): Comment function.
36701         [HAVE_INOTIFY] (union __inev): Define.
36702         [HAVE_INOTIFY] (inotify_check_files): New function.
36703         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36704         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36705         clear_db_cache.
36706         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36708 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36710         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36711         loaded if not already and that a failure is permanent.
36713 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36715         [BZ #15006]
36716         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36717         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36719 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36721         [BZ #13550]
36722         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36723         (CHECK_1_NULL_OK): Likewise.
36724         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36725         (__fxstat): Do not use CHECK_1.
36726         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36727         <bp-checks.h>.
36728         (___fxstat64): Do not use CHECK_1.
36729         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36730         <bp-checks.h>.
36731         (__fxstatat): Do not use CHECK_1.
36732         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36733         <bp-checks.h>.
36734         (__fxstatat64): Do not use CHECK_1.
36735         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36736         <bp-checks.h>.
36737         (__fxstat): Do not use CHECK_1.
36738         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36739         <bp-checks.h>.
36740         (__fxstatat): Do not use CHECK_1.
36741         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36742         <bp-checks.h>.
36743         (__getresgid): Do not use CHECK_1.
36744         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36745         <bp-checks.h>.
36746         (__getresuid): Do not use CHECK_1.
36747         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36748         <bp-checks.h>.
36749         (__lxstat): Do not use CHECK_1.
36750         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36751         <bp-checks.h>.
36752         (__old_msgctl): Do not use CHECK_1.
36753         (__new_msgctl): Likewise.
36754         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36755         <bp-checks.h>.
36756         (__new_setrlimit): Do not use CHECK_1.
36757         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36758         <bp-checks.h>.
36759         (__old_shmctl): Do not use CHECK_1.
36760         (__new_shmctl): Likewise.
36761         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36762         <bp-checks.h>.
36763         (__xstat): Do not use CHECK_1.
36764         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36765         (__lxstat): Do not use CHECK_1.
36766         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36767         <bp-checks.h>.
36768         (___lxstat64): Do not use CHECK_1.
36769         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36770         (__old_msgctl): Do not use CHECK_1.
36771         (__new_msgctl): Likewise.
36772         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36773         <bp-checks.h>.
36774         (__gettimeofday): Do not use CHECK_1.
36775         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36776         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36777         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36778         <bp-checks.h>.
36779         (__gettimeofday): Do not use CHECK_1.
36780         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36781         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36782         (__new_shmctl): Do not use CHECK_1.
36783         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36784         <bp-checks.h>.
36785         (do_sigtimedwait): Do not use CHECK_1.
36786         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36787         <bp-checks.h>.
36788         (do_sigwaitinfo): Do not use CHECK_1.
36789         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36790         <bp-checks.h>.
36791         (msgctl): Do not use CHECK_1.
36792         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36793         <bp-checks.h>.
36794         (shmctl): Do not use CHECK_1.
36795         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36796         (ustat): Do not use CHECK_1.
36797         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36798         <bp-checks.h>.
36799         (__fxstat): Do not use CHECK_1.
36800         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36801         <bp-checks.h>.
36802         (__fxstatat): Do not use CHECK_1.
36803         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36804         <bp-checks.h>.
36805         (__lxstat): Do not use CHECK_1.
36806         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36807         <bp-checks.h>.
36808         (__xstat): Do not use CHECK_1.
36809         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36810         (__xstat): Do not use CHECK_1.
36811         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36812         (___xstat64): Do not use CHECK_1.
36814         [BZ #13550]
36815         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36816         definitions.
36817         (CHECK_BOUNDS_HIGH): Likewise.
36818         * string/strcpy.c: Do not include <bp-checks.h>.
36819         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36821 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36823         * nscd/nscd-client.h (__nscd_drop_map_ref):
36824         Add __attribute__ ((unused)).
36825         * nis/nss-nisplus.h (niserr2nss): Likewise.
36827         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36828         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36830         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36831         Remove inline keyword.
36832         * include/rounding-mode.h (round_away): Likewise.
36833         * libio/wfileops.c (adjust_wide_data): Likewise.
36834         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36835         (__m128i_strloadu_tolower): Likewise.
36836         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36837         (__m128i_strloadu_tolower): Likewise.
36838         * time/mktime.c (ydhms_diff): Likewise.
36839         * locale/elem-hash.h (elem_hash): Likewise.
36840         * locale/setlocale.c (setdata): Likewise.
36841         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36842         (re_string_wchar_at): Likewise.
36843         (bitset_not, bitset_merge, bitset_mask): Likewise.
36844         [!(__GNUC__ > 3)] (inline): Remove macro.
36845         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36846         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36847         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36848         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36849         * string/memcmp.c (memcmp_bytes): Likewise.
36850         * locale/programs/locarchive.c (compute_hashval): Likewise.
36851         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36852         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36853         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36854         * nss/getent.c (print_rpc, print_protocols): Likewise.
36855         (print_passwd, print_group, print_aliases): Likewise.
36856         * nis/nss-nisplus.h (niserr2nss): Likewise.
36857         * nscd/connections.c (restart_p): Likewise.
36858         Change return type to bool.
36860 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36862         * Makeconfig (all-Depend-files): Add existing
36863         $(sorted-subdirs:=/Depend) files.
36864         (all-subdirs): Remove nss.
36865         * sysdeps/unix/inet/Subdirs: Add it here instead.
36866         * hesiod/Depend: New file.
36868         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36869         instead of calling alloca.
36871         * io/lseek.c (__lseek): Rename to __libc_lseek.
36872         Define __lseek as an alias.
36874         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36876 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36878         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36879         else clause and remove check for non-standard endianness.
36881 2013-02-04  David S. Miller  <davem@davemloft.net>
36883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36885 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36887         [BZ #13550]
36888         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36889         (__ubp_memchr): Remove prototype.
36890         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36891         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36892         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36893         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36894         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36895         Remove alias.
36896         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36897         (__ubp_memchr): Likewise.
36898         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36899         (__ubp_memchr): Likewise.
36900         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36901         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36902         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36903         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36904         CHECK_STRING.
36905         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36906         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36907         (__getcwd): Do not use CHECK_STRING.
36908         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36909         <bp-checks.h>.
36910         (__real_chown): Do not use CHECK_STRING.
36911         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36912         <bp-checks.h>.
36913         (fchownat): Do not use CHECK_STRING.
36914         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36915         CHECK_STRING.
36916         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36917         <bp-checks.h>.
36918         (__lchown): Do not use CHECK_STRING.
36919         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36920         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36921         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36922         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36924         include <bp-checks.h>.
36925         (truncate64): Do not use CHECK_STRING.
36926         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36927         <bp-checks.h>.
36928         (__real_chown): Do not use CHECK_STRING.
36929         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36930         <bp-checks.h>.
36931         (__lchown): Do not use CHECK_STRING.
36932         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36933         <bp-checks.h>.
36934         (__chown): Do not use CHECK_STRING.
36935         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36936         <bp-checks.h>.
36937         (truncate64): Do not use CHECK_STRING.
36938         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36939         Likewise.
36940         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36941         (__xmknod): Do not use CHECK_STRING.
36942         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36943         <bp-checks.h>.
36944         (__xmknodat): Do not use CHECK_STRING.
36945         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36946         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36948 2013-02-04  Andreas Schwab  <schwab@suse.de>
36950         [BZ #14142]
36951         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36952         * include/netdb.h: Likewise for h_errno.
36953         * elf/tst-stackguard1.c: Include <tls.h>.
36955 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36957         * elf/link.h (struct link_map): Extend the l_addr comment.
36958         * include/link.h (struct link_map): Likewise.
36960 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36962         [BZ #13550]
36963         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36964         (BOUNDED_1): Remove macro.
36965         * debug/backtrace.c: Don't include <bp-checks.h>.
36966         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36967         (__backtrace): Likewise.
36968         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36969         <bp-checks.h>.
36970         (__backtrace): Don't use BOUNDED_1.
36971         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36972         <bp-checks.h>.
36973         (__backtrace): Don't use BOUNDED_1.
36974         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36975         (__backtrace): Don't use BOUNDED_1.
36976         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36977         (shmat): Don't use BOUNDED_N.
36979 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36981         [BZ #13550]
36982         * sysdeps/generic/bp-start.h: Remove file.
36983         * csu/libc-start.c: Don't include <bp-start.h>.
36984         (LIBC_START_MAIN): Set up __environ directly instead of using
36985         INIT_ARGV_and_ENVIRON.
36986         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36987         <bp-start.h>.
36989         [BZ #13550]
36990         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36991         definitions.
36992         (CHECK_FCNTL): Likewise.
36993         (CHECK_N_PAGES): Likewise.
36995         [BZ #13550]
36996         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36997         definitions.
36998         (CHECK_SIGSET_NULL_OK): Likewise.
36999         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37000         <bp-checks.h>.
37001         (sigpending): Don't use CHECK_SIGSET.
37002         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37003         <bp-checks.h>.
37004         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37005         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37006         <bp-checks.h>.
37007         (do_sigsuspend): Don't use CHECK_SIGSET.
37008         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37009         use CHECK_SIGSET.
37010         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37011         (do_sigwait): Don't use CHECK_SIGSET.
37012         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37013         use CHECK_SIGSET.
37014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37015         include <bp-checks.h>.
37016         (sigpending): Don't use CHECK_SIGSET.
37017         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37018         include <bp-checks.h>.
37019         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37020         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37021         <bp-checks.h>.
37022         (sigpending): Don't use CHECK_SIGSET.
37023         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37024         <bp-checks.h>.
37025         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37027         [BZ #13550]
37028         * sysdeps/generic/bp-semctl.h: Remove file.
37029         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37030         <bp-checks.h> and <bp-semctl.h>.
37031         (__old_semctl): Don't use CHECK_SEMCTL.
37032         (__new_semctl): Likewise.
37033         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37034         and <bp-semctl.h>.
37035         (__old_semctl): Don't use CHECK_SEMCTL.
37036         (__new_semctl): Likewise.
37037         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37038         <bp-checks.h> and <bp-semctl.h>.
37039         (__old_semctl): Don't use CHECK_SEMCTL.
37040         (__new_semctl): Likewise.
37041         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37042         <bp-checks.h> and <bp-semctl.h>.
37043         (semctl): Don't use CHECK_SEMCTL.
37045         [BZ #13550]
37046         * Makerules (elide-bp-thunks): Remove variable.
37047         (elide-routines.oS): Don't use $(elide-bp-thunks).
37048         (elide-routines.os): Likewise.
37049         (elide-routines.o): Likewise.
37050         (elide-routines.op): Likewise.
37051         (elide-routines.og): Likewise.
37052         (objects): Don't use $(bp-thunks).
37053         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37054         include.
37055         (common-generated): Do not add s-proto-bp.d.
37056         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37057         (int): Likewise.
37058         (typ): Likewise.
37059         Do not generate makefile rules for bounded-pointer thunks.
37060         * sysdeps/generic/bp-thunks.h: Remove file.
37061         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37062         * sysdeps/unix/s-proto-bp.S: Likewise.
37064         [BZ #15062]
37065         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37066         parts of result separately when argument is not close to line from
37067         -i to i and one part of argument is small.
37068         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37069         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37070         * math/libm-test.inc (cacos_test): Add more tests.
37071         (casin_test): Likewise.
37072         (casinh_test): Likewise.
37073         * sysdeps/i386/fpu/libm-test-ulps: Update.
37074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37076 2013-01-31  David S. Miller  <davem@davemloft.net>
37078         * po/de.po: Update from translation team.
37080 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37082         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37084 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37086         * configure.in (_AC_PROG_CC_C89): New definition.
37087         * configure: Regenerate.
37089         * configure.in (AC_PROG_CPP): New definition.
37090         * configure: Regenerate.
37092 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37094         * debug/tst-backtrace.h: New file.
37095         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37096         (ret): Remove variable.
37097         (x): Likewise.
37098         (FAIL): Remove macro.
37099         (NO_INLINE): Likewise.
37100         (fn1): Use match function instead of strstr.
37101         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37102         (ret): Remove variable.
37103         (x): Likewise.
37104         (FAIL): Remove macro.
37105         (NO_INLINE): Likewise.
37106         (fn): Use match function instead of strstr.
37107         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37108         (ret): Remove variable.
37109         (x): Likewise.
37110         (FAIL): Remove macro.
37111         (NO_INLINE): Likewise.
37112         (handle_signal): Use match function instead of strstr.
37113         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37114         (ret): Remove variable.
37115         (x): Likewise.
37116         (FAIL): Remove macro.
37117         (NO_INLINE): Likewise.
37118         (handle_signal): Use match function instead of strstr.
37120 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37122         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37124 2013-01-23  David S. Miller  <davem@davemloft.net>
37126         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37127         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37128         argument of CAS if possible.
37129         * sysdeps/sparc/sparc64/bits/atomic.h
37130         (__arch_compare_and_exchange_val_32_acq): Likewise.
37131         (__arch_compare_and_exchange_val_64_acq): Likewise.
37133 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37135         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37136         * sysdeps/posix/ulimit.c: ... this.
37137         Include <limits.h>.
37138         * sysdeps/unix/bsd/ulimit.c: Remove file.
37140 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37142         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37143         (LDFLAGS-tst-array5): Likewise.
37145 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37147         [BZ #15036]
37148         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37149         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37150         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37151         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37153 2013-01-21  David S. Miller  <davem@davemloft.net>
37155         * sysdeps/sparc/backtrace.c: New file.
37156         * sysdeps/sparc/sparc32/backtrace.h: New file.
37157         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37158         * sysdeps/sparc/sparc64/backtrace.h: New file.
37159         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37160         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37161         -funwind-tables.
37163 2013-01-21  Andreas Schwab  <schwab@suse.de>
37165         [BZ #15020]
37166         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37167         closed its stdout.
37169 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37171         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37172         "mpa2.h".
37173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37175 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37176             Mark Mitchell  <mark@codesourcery.com>
37177             Tom de Vries  <tom@codesourcery.com>
37178             Paul Pluzhnikov  <ppluzhnikov@google.com>
37180         * debug/tst-backtrace2.c: New file.
37181         * debug/tst-backtrace3.c: Likewise.
37182         * debug/tst-backtrace4.c: Likewise.
37183         * debug/tst-backtrace5.c: Likewise.
37184         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37185         (CFLAGS-tst-backtrace3.c): Likewise.
37186         (CFLAGS-tst-backtrace4.c): Likewise.
37187         (CFLAGS-tst-backtrace5.c): Likewise.
37188         (LDFLAGS-tst-backtrace2): Likewise.
37189         (LDFLAGS-tst-backtrace3): Likewise.
37190         (LDFLAGS-tst-backtrace4): Likewise.
37191         (LDFLAGS-tst-backtrace5): Likewise.
37192         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37193         tst-backtrace4 and tst-backtrace5.
37195 2013-01-18  Anton Blanchard  <anton@samba.org>
37196             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37198         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37199         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37200         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37201         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37203         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37204         "+r" and remove output regs list as redundant.  Add explicit inline
37205         asm to specify register of return val to work around compiler codegen
37206         bug.  Remove (int) cast on return value.  Add return type parameter to
37207         use in macro so that this macro does not truncate return value for
37208         64-bit values.
37209         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37210         pass to INTERNAL_VSYSCALL_NCS.
37211         (INLINE_VSYSCALL): Add 'long int' as return type to
37212         INTERNAL_VSYSCALL_NCS macro invocation.
37213         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37214         INTERNAL_VSYSCALL_NCS macro invocation.
37215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37217 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37219         [BZ #14496]
37220         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37221         Fix application of SIMD FP exception mask.
37223         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37224         mp_no from a power of two.
37225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37226         __mpexp_twomm1.  Use __pow_mp.
37228         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37229         multiplication.
37231 2013-01-17  David S. Miller  <davem@davemloft.net>
37233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37235 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37237         [BZ #15023]
37238         * include/complex.h: Condition contents on [!_COMPLEX_H].
37239         (__kernel_casinhf): New prototype.
37240         (__kernel_casinh): Likewise.
37241         (__kernel_casinhl): Likewise.
37242         * math/Makefile (libm_calls): Add k_casinh.
37243         * math/k_casinh.c: New file.
37244         * math/k_casinhf.c: Likewise.
37245         * math/k_casinhl.c: Likewise.
37246         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37247         finite nonzero arguments.
37248         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37249         finite nonzero arguments.
37250         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37251         finite nonzero arguments.
37252         * math/s_casinh.c: Do not include <float.h>.
37253         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37254         * math/s_casinhf.c: Do not include <float.h>.
37255         (__casinhf): Move code for finite nonzero arguments to
37256         k_casinhf.c.
37257         * math/s_casinhl.c: Do not include <float.h>.
37258         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37259         redefine.
37260         (__casinhl): Move code for finite nonzero arguments to
37261         k_casinhl.c.
37262         * math/libm-test.inc (cacos_test): Add more tests.
37263         * sysdeps/i386/fpu/libm-test-ulps: Update.
37264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37266 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37268         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37269         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37270         [!HAVE_MREMAP]: Remove [defined linux] case.
37271         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37273 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37275         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37277 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37279         * elf/elf.h (R_386_SIZE32): New relocation.
37280         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37281         R_386_SIZE32.
37282         (elf_machine_rela): Likewise.
37283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37284         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37286 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37288         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37289         (FP_FAST_FMA): Do not define.
37290         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37291         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37292         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37293         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37294         !_SOFT_FLOAT]: Likewise.
37295         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37296         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37297         value.
37298         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37299         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37300         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37301         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37302         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37303         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37304         file.
37306 2013-01-16  Andreas Schwab  <schwab@suse.de>
37308         [BZ #14327]
37309         * include/stdlib.h (__mktemp): Add declaration.
37310         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37311         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37313 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37315         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37316         definitions.
37317         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37318         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37319         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37320         definitions here.
37321         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37322         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37323         definitions.
37324         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37325         and ONE.
37326         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37327         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37328         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37329         definitions.
37330         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37331         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37332         definitions.
37333         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37335         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37337 2013-01-15  David S. Miller  <davem@davemloft.net>
37339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37340         trunc{,f} to libm-sysdep_routes.
37341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37343         file.
37344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37346         file.
37347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37348         file.
37349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37351         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37352         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37353         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37354         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37355         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37356         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37359         nearbyint{,f} to libm-sysdep_routes.
37360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37362         New file.
37363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37364         file.
37365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37366         New file.
37367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37368         file.
37369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37371         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37372         file.
37373         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37374         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37375         file.
37376         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37380         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37381         libc_feholdexcept and libc_fesetenv.
37383 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37385         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37387 2013-01-14  David S. Miller  <davem@davemloft.net>
37389         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37390         (SPARC_ASM_VIS2_IFUNC): Likewise.
37391         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37393         use of 'siam' instruction.
37394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37395         Likewise.
37396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37397         Likewise.
37398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37399         Likewise.
37400         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37405         file.
37406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37407         file.
37408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37409         file.
37410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37411         file.
37412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37417         new VIS2 routines.
37418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37421         Likewise.
37422         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37427         routines to libm-sysdep_routines.
37428         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37431         fdim/fdimf to libm-sysdep_routines.
37432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37433         file.
37434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37436         file.
37437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37440         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37441         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37442         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37443         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37445 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37447         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37448         to optimize copies.
37450         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37455         local variable MPTWO.
37456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37457         Likewise.
37459 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37461         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37462         GLOB_NOESCAPE.
37464 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37466         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37468 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37470         * manual/pattern.texi (glob_t): Document gl_flags.
37471         (glob64_t): Likewise.
37473 2013-01-11  David S. Miller  <davem@davemloft.net>
37475         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37476         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37477         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37478         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37479         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37480         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37481         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37482         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37483         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37484         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37485         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37486         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37487         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37489         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37490         sparc V9 rather than using V8 code.
37491         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37492         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37494         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37495         Move to...
37496         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37497         Here.
37499 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37501         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37502         not in the main loop.
37503         * configure: Regenerated.
37505 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37507         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37508         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37509         to just #else.
37510         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37511         [!__GLIBC_HAVE_LONG_LONG] case.
37512         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37513         condition to just #else.
37514         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37515         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37516         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37517         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37518         unconditional.
37519         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37520         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37521         #elif condition to just #else.
37522         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37523         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37524         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37525         #elif condition to just #else.
37527 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37529         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37530         (EF_MIPS_ARCH_64): Fix value.
37531         (EF_MIPS_ARCH_32R2): New.
37532         (EF_MIPS_ARCH_64R2): New.
37534 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37536         * Makeconfig (+link-pie-before-libc): New.
37537         (+link-pie-after-libc): Likewise.
37538         (+link-pie-tests): Likewise.
37539         (+link-pie): Rewritten.
37540         (link-before-libc): Remove $(config-LDFLAGS).
37541         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37542         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37543         (config-LDFLAGS): Renamed to ...
37544         (rtld-LDFLAGS): This.
37545         (rtld-tests-LDFLAGS): New macro.
37546         (link-libc-rpath-link): Likewise.
37547         (link-libc-tests-rpath-link): Likewise.
37548         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37549         (link-libc): Prepand $(link-libc-rpath-link).
37550         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37551         (test-program-prefix): New macro.
37552         (test-via-rtld-prefix): Likewise.
37553         (test-program-cmd): Likewise.
37554         (host-test-program-cmd): Likewise.
37555         * Makefile ($(common-objpfx)testrun.sh): Replace
37556         $(run-program-prefix) with $(test-program-prefix).
37557         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37558         $(rtld-LDFLAGS).
37559         ($(common-objpfx)shlib.lds): Likewise.
37560         (build-module-helper): Likewise.
37561         ($(common-objpfx)format.lds): Likewise.
37562         * Rules (binaries-pie-tests): New.
37563         (binaries-pie-notests): Likewise.
37564         (binaries-pie): Rewritten.
37565         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37566         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37567         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37568         (make-test-out): Replace $(host-built-program-cmd) with
37569         $(host-test-program-cmd).
37570         * config.make.in (build-hardcoded-path-in-tests): New variable.
37571         * configure.in (--enable-hardcoded-path-in-tests): New configure
37572         option.
37573         (hardcoded_path_in_tests): New AC_SUBST.
37574         * configure: Regenerated.
37575         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37576         $(built-program-cmd) with $(test-program-cmd).
37577         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37578         (test_program_cmd): This.
37579         * elf/Makefile ($(objpfx)order.out): Run test with
37580         $(test-program-prefix).
37581         ($(objpfx)order2.out): Likewise.
37582         ($(objpfx)tst-initorder.out): Likewise.
37583         ($(objpfx)tst-initorder2.out): Likewise.
37584         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37585         $(test-program-cmd).
37586         ($(objpfx)tst-array1-static.out): Likewise.
37587         ($(objpfx)tst-array2.out): Likewise.
37588         ($(objpfx)tst-array3.out): Likewise.
37589         ($(objpfx)tst-array4.out): Likewise.
37590         ($(objpfx)tst-array5.out): Likewise.
37591         ($(objpfx)tst-array5-static.out): Likewise.
37592         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37593         $(test-program-cmd).
37594         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37595         $(run-program-prefix) with $(test-program-prefix).
37596         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37597         (test_program_prefix): This.
37598         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37599         $(run-program-prefix) with $(test-program-prefix).
37600         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37601         (test_program_prefix): This.
37602         * iconvdata/tst-tables.sh: Likewise.
37603         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37604         $(run-program-prefix) with $(test-program-prefix).
37605         ($(objpfx)tst-translit.out): Likewise.
37606         ($(objpfx)tst-gettext2.out): Likewise.
37607         ($(objpfx)tst-gettext4.out): Likewise.
37608         ($(objpfx)tst-gettext6.out): Likewise.
37609         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37610         (test_program_prefix): This.
37611         * intl/tst-gettext2.sh: Likewise.
37612         * intl/tst-gettext4.sh  Likewise.
37613         * intl/tst-gettext6.sh: Likewise.
37614         * intl/tst-translit.sh: Likewise.
37615         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37616         with $(test-program-cmd).
37617         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37618         $(run-program-prefix) with $(test-program-prefix).
37619         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37620         (test_program_prefix): This.
37621         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37622         $(run-program-prefix) with $(test-program-prefix).
37623         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37624         (test_program_prefix): This.
37625         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37626         * posix/Makefile ($(objpfx)globtest.out): Replace
37627         $(run-via-rtld-prefix) and $(test-wrapper) with
37628         $(test-program-prefix) and $(test-via-rtld-prefix).
37629         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37630         $(test-program-prefix).
37631         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37632         $(host-test-program-cmd).
37633         (tst-spawn-ARGS): Likewise.
37634         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37635         $(test-program-prefix).
37636         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37637         (test_via_rtld_prefix): This.
37638         (test_wrapper): Renamed to ...
37639         (test_program_prefix): This.
37640         (run_program_prefix): Replaced by test_program_prefix.
37641         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37642         (test_program_prefix): This.
37643         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37644         with $(host-test-program-cmd).
37645         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37646         $(run-program-prefix) with $(test-program-prefix).
37647         ($(objpfx)tst-printf.out): Likewise.
37648         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37649         $(test-program-cmd).
37650         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37651         (test_program_prefix): This.
37652         * stdio-common/tst-unbputc.sh: Likewise.
37653         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37654         $(run-program-prefix) with $(test-program-prefix).
37655         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37656         (test_program_prefix): This.
37657         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37658         $(built-program-cmd) with $(test-program-cmd).
37660 2013-01-11  Andreas Jaeger  <aj@suse.de>
37662         [BZ #15003]
37663         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37664         value. Sync with Linux 3.7.
37666 2013-01-10  David S. Miller  <davem@davemloft.net>
37668         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37669         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37670         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37672 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37674         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37675         never set.
37676         * configure: Regenerated.
37678 2013-01-10  David S. Miller  <davem@davemloft.net>
37680         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37681         sparc V9 rather than using V8 code.
37682         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37683         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37685 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37687         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37688         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37689         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37690         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37691         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37692         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37693         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37694         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37695         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37696         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37697         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37698         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37699         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37700         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37701         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37702         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37703         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37704         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37705         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37706         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37707         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37708         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37709         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37710         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37711         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37712         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37713         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37715 2013-01-10  David S. Miller  <davem@davemloft.net>
37717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37719 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37721         * posix/Makefile (tests-static): New variable.
37722         (tests): Add $(tests-static).
37723         (tst-exec-static-ARGS): New variable.
37724         (tst-spawn-static-ARGS): Likewise.
37725         * posix/tst-exec-static.c: New file.
37726         * posix/tst-spawn-static.c: Likewise.
37727         * posix/tst-exec.c: Support run directly.
37728         * posix/tst-spawn.c: Likewise.
37730 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37732         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37733         long.
37734         * math/bits/mathcalls.h (llrint): Likewise.
37735         (llround): Likewise.
37736         * stdlib/stdlib.h (struct drand48_data): Likewise.
37737         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37738         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37739         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37740         Likewise.
37741         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37742         Likewise.
37743         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37744         (elf_greg_t): Likewise.
37745         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37746         (__jmp_buf): Likewise.
37747         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37748         definitions.
37749         (llrint): Likewise, for all definitions.
37750         (llrintl): Likewise.
37752         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37753         Remove [__GNUC__] condition.
37754         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37755         condition to just [__USE_ISOC99].
37756         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37758 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37760         [BZ #14200]
37761         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37762         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37763         defined.
37764         (_POSIX_V6_ILP32_OFF32): Likewise.
37765         (_XBS5_ILP32_OFF32): Likewise.
37766         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37767         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37769 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37771         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37774         doubles __mpexp_twomm1.  Adjust usage.
37775         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37776         Remove.
37778 2013-01-10  Andreas Schwab  <schwab@suse.de>
37780         [BZ #14964]
37781         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37782         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37784 2013-01-09  David S. Miller  <davem@davemloft.net>
37786         [BZ #15003]
37787         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37788         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37789         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37790         (TCP_FASTOPEN): Define.
37791         (tcp_repair_opt): New structure.
37792         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37793         enum values.
37794         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37795         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37796         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37797         (tcp_cookie_transactions): New structure.
37799 2013-01-09  Anton Blanchard  <anton@samba.org>
37801         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37802         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37803         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37804         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37806 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37808         * include/features.h (__USE_ANSI): Remove.
37810 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37812         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37814         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37816 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37818         * sysdeps/s390/fpu/libm-test-ulps: Update.
37820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37822         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37823         (__acr): Likewise.
37824         (__cpy): Likewise.
37825         (norm): Likewise.
37826         (denorm): Likewise.
37827         (__mp_dbl): Likewise.
37828         (__dbl_mp): Likewise.
37829         (add_magnitudes): Likewise.
37830         (sub_magnitudes): Likewise.
37831         (__add): Likewise.
37832         (__sub): Likewise.
37833         (__mul): Likewise.
37834         (__inv): Likewise.
37835         (__dvd): Likewise.
37836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37837         (__acr): Likewise.
37838         (__cpy): Likewise.
37839         (norm): Likewise.
37840         (denorm): Likewise.
37841         (__mp_dbl): Likewise.
37842         (__dbl_mp): Likewise.
37843         (add_magnitudes): Likewise.
37844         (sub_magnitudes): Likewise.
37845         (__add): Likewise.
37846         (__sub): Likewise.
37847         (__mul): Likewise.
37848         (__inv): Likewise.
37849         (__dvd): Likewise.
37850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37851         (__acr): Likewise.
37852         (__cpy): Likewise.
37853         (norm): Likewise.
37854         (denorm): Likewise.
37855         (__mp_dbl): Likewise.
37856         (__dbl_mp): Likewise.
37857         (add_magnitudes): Likewise.
37858         (sub_magnitudes): Likewise.
37859         (__add): Likewise.
37860         (__sub): Likewise.
37861         (__mul): Likewise.
37862         (__inv): Likewise.
37863         (__dvd): Likewise.
37865 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37867         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37868         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37869         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37870         2 && __USE_EXTERN_INLINES]: Likewise.
37872 2013-01-08  Andreas Jaeger  <aj@suse.de>
37874         [BZ# 14985]
37875         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37876         Remove.
37877         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37878         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37880 2013-01-07  Anton Blanchard  <anton@samba.org>
37882         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37883         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37884         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37885         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37886         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37887         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37888         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37889         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37891         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37893         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37894         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37895         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37896         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37897         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37898         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37899         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37900         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37901         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37902         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37903         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37904         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37905         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37906         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37907         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37908         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37909         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37910         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37911         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37912         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37914         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37915         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37916         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37917         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37918         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37919         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37920         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37921         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37922         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37923         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37924         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37926 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37928         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37929         (__MALLOC_PMT): Likewise.
37930         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37931         [__GNUC__], only on [_LIBC].
37932         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37933         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37934         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37935         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37936         forward declaration.
37937         (realloc_hook_ini): Likewise.
37938         (memalign_hook_ini): Likewise.
37939         (__libc_memalign): Do not use __MALLOC_PMT in variable
37940         declaration.
37941         (__libc_valloc): Likewise.
37942         (__libc_pvalloc): Likewise.
37943         (__libc_calloc): Likewise.
37944         (__posix_memalign): Likewise.
37946         [BZ #14996]
37947         * math/s_casinh.c: Include <float.h>.
37948         (__casinh): Do not do computation with squaring and square root
37949         for large arguments.
37950         * math/s_casinhf.c: Include <float.h>.
37951         (__casinhf): Do not do computation with squaring and square root
37952         for large arguments.
37953         * math/s_casinhl.c: Include <float.h>.
37954         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37955         (__casinhl): Do not do computation with squaring and square root
37956         for large arguments.
37957         * math/libm-test.inc (casin_test): Add more tests.
37958         (casinh_test): Likewise.
37959         * sysdeps/i386/fpu/libm-test-ulps: Update.
37960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37962 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37964         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37965         (__x86_64_raw_data_cache_size): Likewise.
37966         (__x86_64_data_cache_size_half): Likewise.
37967         (__x86_64_raw_data_cache_size_half): Likewise.
37968         (__x86_64_shared_cache_size): Likewise.
37969         (__x86_64_raw_shared_cache_size): Likewise.
37970         (__x86_64_shared_cache_size_half): Likewise.
37971         (__x86_64_raw_shared_cache_size_half): Likewise.
37972         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37973         to ...
37974         (__x86_data_cache_size): This.
37975         (__x86_64_raw_data_cache_size): Renamed to ...
37976         (__x86_raw_data_cache_size): This.
37977         (__x86_64_data_cache_size_half): Renamed to ...
37978         (__x86_data_cache_size_half): This.
37979         (__x86_64_raw_data_cache_size_half): Renamed to ...
37980         (__x86_raw_data_cache_size_half): This.
37981         (__x86_64_shared_cache_size): Renamed to ...
37982         (__x86_shared_cache_size): This.
37983         (__x86_64_raw_shared_cache_size): Renamed to ...
37984         (__x86_raw_shared_cache_size): This.
37985         (__x86_64_shared_cache_size_half): Renamed to ...
37986         (__x86_shared_cache_size_half): This.
37987         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37988         (__x86_raw_shared_cache_size_half): This.
37989         * sysdeps/x86_64/memcpy.S: Updated.
37990         * sysdeps/x86_64/memset.S: Likewise.
37991         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37992         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37993         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37995 2013-01-04  David S. Miller  <davem@davemloft.net>
37997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37999 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38001         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38002         1 to avoid redefinition warning.
38003         (__USE_GNU): Don't define.
38004         (init_signaling_nan): Protoize.
38006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38008 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38010         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38012         (__cpymn): Likewise.
38013         (norm): Remove commented code.
38014         (denorm): Likewise.
38015         (__mp_dbl): Likewise.
38016         (__inv): Likewise.
38017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38018         (__cpymn): Likewise.
38019         (norm): Remove commented code.
38020         (denorm): Likewise.
38021         (__mp_dbl): Likewise.
38022         (__inv): Likewise.
38024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38025         mp_no value for 1.0 and 2.0.
38026         (norm): Use RADIXI instead of radixi.d.
38027         (denorm): Likewise.
38028         (__mul): Use 0.0 instead of zero.d.
38029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38030         mp_no value for 1.0 and 2.0.
38031         (norm): Use RADIXI instead of radixi.d.
38032         (denorm): Likewise.
38033         (__mul): Use 0.0 instead of zero.d.
38035 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38037         [BZ #14994]
38038         * math/s_casinh.c (__casinh): Reduce finite argument to first
38039         quadrant then set signs of results at the end.
38040         * math/s_casinhf.c (__casinhf): Likewise.
38041         * math/s_casinhl.c (__casinhl): Likewise.
38042         * math/libm-test.inc (casin_test): Add more tests.
38043         (casinh_test): Likewise.
38044         * sysdeps/i386/fpu/libm-test-ulps: Update.
38045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38047 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38049         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38051         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38053         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38054         declarations.
38055         (denorm): Likewise.
38056         (__mp_dbl): Likewise.
38057         (__inv): Likewise.
38059         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38060         and adjust the header comment.
38062         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38063         variable name from declaration.
38065 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38068         Initialize COMMON_CPUID_INDEX_7 element.
38069         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38070         (CPUID_RTM): Likewise.
38071         (HAS_RTM): Likewise.
38072         (COMMON_CPUID_INDEX_7): New enum.
38074 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38076         [BZ #14981]
38077         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38078         size is zero, record memory as freed.
38080 2013-01-03  Andreas Jaeger  <aj@suse.de>
38082         * po/ia.po: Add new Interlingua translation.
38084 2012-01-03  Allan McRae  <allan@archlinux.org>
38086         * locale/programs/localedef.c: Fix description of '--posix' flag.
38088 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38090         * NEWS: Update dates in second copyright notice.
38091         * README: Update copyright dates in example.
38092         * manual/libc.texinfo: Update copyright dates.
38093         * scripts/test-installation.pl: Update copyright date in --version
38094         output.
38096         * hurd/ctty-input.c: Fix copyright notice formatting.
38097         * hurd/ctty-output.c: Likewise.
38098         * hurd/dtable.c: Likewise.
38099         * hurd/hurd-raise.c: Likewise.
38100         * hurd/hurdprio.c: Likewise.
38101         * hurd/msgportdemux.c: Likewise.
38102         * misc/sys/file.h: Likewise.
38103         * misc/sys/ioctl.h: Likewise.
38104         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38105         * sysdeps/mach/hurd/chdir.c: Likewise.
38106         * sysdeps/mach/hurd/fchdir.c: Likewise.
38107         * sysdeps/mach/hurd/rename.c: Likewise.
38108         * sysdeps/mach/hurd/rmdir.c: Likewise.
38109         * sysdeps/mach/hurd/seekdir.c: Likewise.
38110         * sysdeps/mach/hurd/setsid.c: Likewise.
38111         * sysdeps/posix/wait3.c: Likewise.
38113         * All files with FSF copyright notices: Update copyright dates
38114         using scripts/update-copyrights.
38115         * intl/plural.c: Regenerated.
38116         * locale/programs/charmap-kw.h: Likewise.
38117         * locale/programs/locfile-kw.h: Likewise.
38119 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38121         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38122         four values.
38124         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38125         calculation loop and add branch prediction.
38127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38128         check access beyond bounds of m1np.
38130         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38131         MPTWO.
38132         (__inv): Remove local variable MPTWO to use the global
38133         constant.
38134         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38136         variable MPTWO.
38137         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38138         MP3HALFS static const.
38140 2013-01-01  David S. Miller  <davem@davemloft.net>
38142         * po/ca.po: Update from translation team.
38144 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38146         * scripts/update-copyrights: New file.
38147         * Makeconfig: Reformat copyright notice.
38148         * ctype/ctype.h: Likewise.
38149         * debug/swprintf_chk.c: Likewise.
38150         * elf/dl-cache.c: Likewise.
38151         * elf/dl-debug.c: Likewise.
38152         * elf/dl-object.c: Likewise.
38153         * grp/initgroups.c: Likewise.
38154         * hurd/Makefile: Likewise.
38155         * hurd/hurd/signal.h: Likewise.
38156         * hurd/hurdfault.c: Likewise.
38157         * hurd/hurdioctl.c: Likewise.
38158         * hurd/hurdlookup.c: Likewise.
38159         * hurd/intr-msg.c: Likewise.
38160         * iconv/gconv_open.c: Likewise.
38161         * libio/swprintf.c: Likewise.
38162         * locale/lc-ctype.c: Likewise.
38163         * locale/nl_langinfo.c: Likewise.
38164         * mach/Machrules: Likewise.
38165         * mach/Makefile: Likewise.
38166         * malloc/obstack.h: Likewise.
38167         * manual/Makefile: Likewise.
38168         * manual/tsort.awk: Likewise.
38169         * misc/bits/stab.def: Likewise.
38170         * nis/nis_print_group_entry.c: Likewise.
38171         * nis/nis_table.c: Likewise.
38172         * nis/nss_compat/compat-pwd.c: Likewise.
38173         * nis/nss_compat/compat-spwd.c: Likewise.
38174         * po/Makefile: Likewise.
38175         * posix/fnmatch.c: Likewise.
38176         * posix/regex.h: Likewise.
38177         * resolv/Makefile: Likewise.
38178         * resolv/nss_dns/dns-network.c: Likewise.
38179         * resolv/res_hconf.c: Likewise.
38180         * scripts/gen-sorted.awk: Likewise.
38181         * soft-fp/soft-fp.h: Likewise.
38182         * stdio-common/printf.h: Likewise.
38183         * stdlib/monetary.h: Likewise.
38184         * stdlib/random.c: Likewise.
38185         * stdlib/random_r.c: Likewise.
38186         * sysdeps/generic/Makefile: Likewise.
38187         * sysdeps/gnu/Makefile: Likewise.
38188         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38189         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38190         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38191         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38192         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38193         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38195         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38196         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38198         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38199         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38200         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38201         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38202         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38203         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38204         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38206         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38207         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38208         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38209         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38210         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38211         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38212         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38213         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38214         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38215         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38216         * sysdeps/mach/hurd/errnos.awk: Likewise.
38217         * sysdeps/mach/hurd/fork.c: Likewise.
38218         * sysdeps/mach/hurd/getcwd.c: Likewise.
38219         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38220         * sysdeps/mach/hurd/mmap.c: Likewise.
38221         * sysdeps/mach/hurd/utimes.c: Likewise.
38222         * sysdeps/mach/hurd/xmknod.c: Likewise.
38223         * sysdeps/posix/profil.c: Likewise.
38224         * sysdeps/posix/readdir_r.c: Likewise.
38225         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38226         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38227         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38228         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38230         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38231         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38232         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38234         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38235         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38236         * sysdeps/pthread/lio_listio.c: Likewise.
38237         * sysdeps/sparc/dl-procinfo.h: Likewise.
38238         * sysdeps/unix/i386/sysdep.S: Likewise.
38239         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38240         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38241         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38242         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38244         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38245         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38246         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38247         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38248         * sysdeps/wordsize-32/divdi3.c: Likewise.
38249         * time/sys/time.h: Likewise.
38250         * wcsmbs/Makefile: Likewise.
38252 2013-01-01  David S. Miller  <davem@davemloft.net>
38254         * po/fr.po: Update from translation team.
38256         * catgets/gencat.c: Update copyright year.
38257         * csu/version.c: Likewise.
38258         * debug/catchsegv.sh: Likewise.
38259         * debug/pcprofiledump.c: Likewise.
38260         * debug/xtrace.sh: Likewise.
38261         * elf/ldconfig.c: Likewise.
38262         * elf/ldd.bash.in: Likewise.
38263         * elf/pldd.c: Likewise.
38264         * elf/sotruss.ksh: Likewise.
38265         * elf/sprof.c: Likewise.
38266         * iconv/iconv_prog.c: Likewise.
38267         * iconv/iconvconfig.c: Likewise.
38268         * locale/programs/locale.c: Likewise.
38269         * locale/programs/localedef.c: Likewise.
38270         * login/programs/pt_chown.c: Likewise.
38271         * malloc/memusage.sh: Likewise.
38272         * malloc/memusagestat.c: Likewise.
38273         * malloc/mtrace.pl: Likewise.
38274         * nscd/nscd.c: Likewise.
38275         * nss/getent.c: Likewise.
38276         * nss/makedb.c: Likewise.
38277         * posix/getconf.c: Likewise.
38279 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38281         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38282         numbers.
38284 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38286         * math/bits/mathcalls.h (modf): Use __nonnull.
38288 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38290         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38291         (split): Use macro CN instead of the bare value.
38292         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38293         could be used.
38294         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38295         instead of the bare value.
38296         (power1): Likewise.
38298 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38300         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38301         __ATAN_TWOM.
38302         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38304         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38305         their values.
38306         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38307         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38308         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38309         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38311 2012-12-28  Andreas Jaeger  <aj@suse.de>
38313         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38314         values are from Linux 3.7.
38316         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38317         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38319 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38321         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38322         TRUE case.
38324         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38325         (norm): Likewise.
38326         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38327         variables with preprocessor constants.
38328         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38329         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38330         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38332 2012-12-27  Bruno Haible  <bruno@clisp.org>
38334         [BZ #14317]
38335         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38336         only if needed.
38338 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38341         and use variable directly.
38342         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38344         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38345         MPONE.
38346         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38347         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38348         variable MPONE.
38349         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38351         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38352         include directive.  Remove local variable MPONE.
38353         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38354         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38355         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38357 2012-12-25  David S. Miller  <davem@davemloft.net>
38359         * version.h (RELEASE): Set to "development".
38360         (VERSION): Set to "2.17.90".
38361         * NEWS: Add 2.18 section.
38363 2012-12-21  David S. Miller  <davem@davemloft.net>
38365         * po/hr.po: Update from translation team.
38367 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38369         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38371 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38373         * NEWS:  Mention new memcpy for MIPS.
38375 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38377         * manual/contrib.texi (Contributors): Spelling correction.
38379 2012-12-15  David S. Miller  <davem@davemloft.net>
38381         * po/ru.po: Update from translation team.
38383 2012-12-13  David S. Miller  <davem@davemloft.net>
38385         * NEWS: Mention IFUNC testsuite enhancements.
38387         * po/pl.po: Update from translation team.
38388         * po/bg.po: Likewise.
38390         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38391         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38393 2012-12-11  David S. Miller  <davem@davemloft.net>
38395         * po/sv.po: Update from translation team.
38397         * po/vi.po: Update from translation team.
38399         * po/cs.po: Update from translation team.
38401         * po/de.po: Update from translation team.
38402         * po/eo.po: Likewise.
38403         * po/nl.po: Likewise.
38405 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38407         [BZ #14246]
38408         * manual/argp.texi (Argp Helper Functions): Move node to follow
38409         Argp Parsing State.
38411         [BZ #14872]
38412         * manual/conf.texi (Limits on File System Capacity): Mention if
38413         terminating null is included in the max size.
38415 2012-12-10  Andreas Jaeger  <aj@suse.de>
38417         * po/cs.po: Update from translation team.
38419 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38421         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38422         void pointer and cast to uintptr_t.
38423         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38424         path.
38425         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38426         * sysdeps/s390/s390-64/memset.S: Likewise.
38428 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38430         [BZ #14833]
38431         * menual/message.texi (Message Translation): Fix typos.
38432         (Helper programs for gettext): Likewise.
38434 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38436         [BZ #14898]
38437         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38438         Change to -1.
38440 2012-12-07  David S. Miller  <davem@davemloft.net>
38442         * po/libc.pot: Update.
38444 2012-12-07  Richard Henderson  <rth@redhat.com>
38446         [BZ #10114]
38447         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38448         normal/normal case to before the switch.
38449         (_FP_DIV): Likewise.
38451 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38452             Mike Frysinger  <vapier@gentoo.org>
38454         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38455         check for __NR_fadvise64_64.
38457 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38459         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38460         0, not just to plain "0" as a statement.
38461         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38462         with cw.
38464 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38466         * NEWS: Use sourceware.org in Bugzilla URL.
38468 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38471         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38473         * stdio-common/tst-put-error.c (do_test): Add newline to the
38474         padded test to ensure flush.
38476 2012-12-05  Jeff Law  <law@redhat.com>
38478         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38480 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38482         * README: Don't refer to ports add-on as distributed separately.
38483         Mention AArch64 in list of systems supported in the ports add-on.
38485         * LICENSES: Add more non-FSF copyright and license notices.
38487         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38488         ((unused)).
38490         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38492         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38493         10000 as width of padded output.
38495 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38497         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38499         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38500         variable LX with __attribute__ ((unused)).
38501         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38502         Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38506         with __attribute__ ((unused)).
38508 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38510         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38512 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38514         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38515         (CFLAGS-nldbl-acos.c): New variable.
38516         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38517         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38518         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38519         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38520         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38521         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38522         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38523         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38524         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38525         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38526         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38527         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38528         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38529         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38530         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38531         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38532         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38533         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38534         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38535         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38536         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38537         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38538         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38539         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38540         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38541         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38542         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38543         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38544         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38545         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38546         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38547         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38548         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38549         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38550         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38551         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38552         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38553         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38554         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38555         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38556         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38557         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38558         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38559         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38560         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38561         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38562         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38563         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38564         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38565         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38566         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38567         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38568         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38569         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38570         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38571         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38572         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38573         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38574         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38575         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38576         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38577         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38578         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38579         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38580         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38581         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38582         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38583         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38584         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38585         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38586         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38587         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38588         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38589         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38590         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38591         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38592         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38593         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38594         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38595         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38596         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38597         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38598         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38599         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38600         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38601         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38602         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38603         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38604         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38605         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38606         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38607         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38608         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38609         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38610         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38611         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38612         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38615         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38617         [BZ #14914]
38618         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38619         whole low double instead of just low 47 bits when splitting values
38620         into two parts.
38622 2012-12-03  Allan McRae  <allan@archlinux.org>
38624         * manual/stdio.texi (Predefined Printf Handlers): Remove
38625         @hsep and @vsep usage.
38627 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38629         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38630         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38632 2012-12-03  Jeff Law  <law@redhat.com>
38634         * time/sys/time.h (settimeofday): Do not mark TV argument
38635         as __nonnull.
38637 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38639         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38640         when currently writing and seek to current position when not.
38641         * libio/Makefile (tests): Remove bug-fclose1.
38642         * libio/bug-fclose1.c: Delete.
38644 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38646         * manual/arith.texi (feenableexcept): Fix typo.
38647         (fedisableexcept): Likewise.
38649 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38651         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38652         second, differently-typed declaration, rather than a cast.
38654 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38656         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38657         * include/rpc/svc.h: ... here.
38659 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38661         [BZ #13013]
38662         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38663         depending n and resplen2 to catch cases where answer
38664         equals answerp2.
38666 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38668         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38669         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38671 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38673         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38675 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38677         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38679 2012-11-28  Jeff Law  <law@redhat.com>
38681         [BZ #13761]
38682         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38683         dataset_temporary.  Track alloca usage into alloca_used.
38684         If dataset is large allocate and release it via malloc/free.
38686 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38688         [BZ #14197]
38689         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38691 2012-11-28  David S. Miller  <davem@davemloft.net>
38693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38695 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38697         [BZ #14803]
38698         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38699         of pi/2 rounded to nearest to 64 bits.
38700         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38701         nearest to 64 bits.
38702         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38703         bits.
38705 2012-11-28  Jeff Law <law@redhat.com>
38706             Martin Osvald <mosvald@redhat.com>
38708         [BZ #14889]
38709         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38710         * sunrpc/svc.c: Include time.h.
38711         (__svc_accept_failed): New function.
38712         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38713         any reason other than EINTR, call __svc_accept_failed.
38714         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38715         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38717 2012-11-28  Andreas Schwab  <schwab@suse.de>
38719         * scripts/abilist.awk: Also handle indirect functions in .opd
38720         section.
38722 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38724         [BZ #13881]
38725         * sysdeps/x86/fpu/powl_helper.c: New file.
38726         * sysdeps/x86/fpu/Makefile: Likewise.
38727         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38728         (p3): New object.
38729         (__ieee754_powl): Use __powl_helper for finite arguments except
38730         integer exponents below 8.
38731         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38732         (p3): New object.
38733         (__ieee754_powl): Use __powl_helper for finite arguments except
38734         integer exponents below 8.
38735         * math/libm-test.inc (pow_test): Add more tests and enable some
38736         previously disabled tests.
38737         * sysdeps/i386/fpu/libm-test-ulps: Update.
38738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38740 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38741             Carlos O'Donell  <carlos_odonell@mentor.com>
38743         * nss/makedb.c (is_prime): Assert that input is odd and greater
38744         than 4.  Note that fact in a comment too.
38745         (next_prime): Add 4 to input.
38747 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38749         [BZ #11741]
38750         * libio/Makefile (tests): Add test case tst-fwrite-error.
38751         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38752         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38753         * libio/tst-fwrite-error.c: New test case.
38755 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38757         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38758         before casting to void *.
38759         * include/libc-internal.h (__pointer_type): New macro.
38760         (__integer_if_pointer_type_sub): Likewise.
38761         (__integer_if_pointer_type): Likewise.
38762         (cast_to_integer): Likewise.
38763         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38764         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38765         before casting to atomic64_t.
38766         (atomic_exchange_acq): Likewise.
38767         (__arch_exchange_and_add_body): Likewise.
38768         (__arch_add_body): Likewise.
38769         (atomic_add_negative): Likewise.
38770         (atomic_add_zero): Likewise.
38772 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38774         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38775         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38776         (add_fdes): Likewise.
38777         (linear_search_fdes): Likewise.
38778         (binary_search_unencoded_fdes): Likewise.
38780 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38782         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38784 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38786         * configure.in: Autodetect C++ header directories.
38787         * configure: Regenerated.
38789 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38791         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38793 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38797 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38799         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38800         LDBL_MANT_DIG == 106]: Disable some tests.
38801         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38802         Likewise.
38803         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38804         Likewise.
38806         [BZ #14871]
38807         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38808         input for small inputs.  Return +/- pi/2 for large inputs.
38809         * math/libm-test.inc (atan_test): Add more tests.
38811         * sysdeps/generic/unwind-dw2-fde-glibc.c
38812         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38813         __attribute__ ((unused)).
38815         [BZ #14645]
38816         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38817         x * y if x and y are nonzero and z is zero.
38819         [BZ #14811]
38820         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38821         nonzero exponents with absolute value below 0x1p-117 to +/-
38822         0x1p-117.
38824         [BZ #14869]
38825         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38826         up arguments below 2**-450, not just those below 2**-500.
38827         * math/libm-test.inc (hypot_test): Add another test.
38829         [BZ #14868]
38830         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38831         Return a+b for ratio over 2**120, not 2**60.
38832         * math/libm-test.inc (hypot_test): Add another test.
38834         * math/libm-test.inc (clog_test): Use
38835         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38836         (clog10_test): Likewise.
38838         [BZ #6778]
38839         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38841 2012-11-22  Andreas Schwab  <schwab@suse.de>
38843         * sysdeps/i386/fpu/libm-test-ulps: Update.
38845 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38847         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38848         printf output with newline.
38850 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38852         [BZ #14865]
38853         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38854         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38855         -z nodlopen, -z initfirst and -z execstack support.
38856         * configure: Regenerated.
38858         * elf/elf.h (DF_1_NODIRECT): New macro.
38859         (DF_1_IGNMULDEF): Likewise.
38860         (DF_1_NOKSYMS): Likewise.
38861         (DF_1_NOHDR): Likewise.
38862         (DF_1_EDITED): Likewise.
38863         (DF_1_NORELOC): Likewise.
38864         (DF_1_SYMINTPOSE): Likewise.
38865         (DF_1_GLOBAUDIT): Likewise.
38866         (DF_1_SINGLETON): Likewise.
38867         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38868         DT_1_SUPPORTED_MASK bits.
38869         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38871 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38873         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38875 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38877         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38878         macro.
38880         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38881         (sendmmsg): Move declarations...
38882         * socket/sys/socket.h: ... here.
38883         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38884         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38885         include it from...
38886         * socket/recvmmsg.c: ... this new file.
38887         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38888         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38889         definition of __sendmmsg hidden.
38890         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38891         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38892         Move ENOSYS stub into and include it from...
38893         * socket/sendmmsg.c: ... this new file.
38894         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38895         (sysdep_routines): Move recvmmsg and sendmmsg...
38896         * socket/Makefile (routines): ... here.
38897         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38898         (GLIBC_PRIVATE): Add __sendmmsg.
38899         * include/sys/socket.h (__sendmmsg): Add declarations.
38900         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38901         sendmmsg.
38903 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38905         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38906         variable I1 with __attribute__ ((unused)).
38907         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38909 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38911         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38912         DUMMY variables with __attribute__ ((unused)).
38914         * bits/byteswap.h: Include <bits/types.h>.
38915         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38917 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38919         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38920         string_t.  Do not manually set errno.
38921         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38922         length with __strnlen.  Make sure to both set errno and return it on
38923         failure.
38925 2012-11-19  David S. Miller  <davem@davemloft.net>
38927         With help from Joseph Myers.
38928         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38929         very large arguments properly.
38930         * math/libm-test.inc (atan_test): New tests.
38931         (atan2_test): New tests.
38932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38935 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38937         [BZ #14856]
38938         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38939         Define to 3.
38941         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38942         [POSIX] (EADDRNOTAVAIL): Likewise.
38943         [POSIX] (EAFNOSUPPORT): Likewise.
38944         [POSIX] (EALREADY): Likewise.
38945         [POSIX] (ECONNABORTED): Likewise.
38946         [POSIX] (ECONNREFUSED): Likewise.
38947         [POSIX] (ECONNRESET): Likewise.
38948         [POSIX] (EDESTADDRREQ): Likewise.
38949         [POSIX] (EDQUOT): Likewise.
38950         [POSIX] (EHOSTUNREACH): Likewise.
38951         [POSIX] (EIDRM): Likewise.
38952         [POSIX] (EISCONN): Likewise.
38953         [POSIX] (ELOOP): Likewise.
38954         [POSIX] (EMULTIHOP): Likewise.
38955         [POSIX] (ENETDOWN): Likewise.
38956         [POSIX] (ENETUNREACH): Likewise.
38957         [POSIX] (ENOBUFS): Likewise.
38958         [POSIX] (ENODATA): Likewise.
38959         [POSIX] (ENOLINK): Likewise.
38960         [POSIX] (ENOMSG): Likewise.
38961         [POSIX] (ENOPROTOOPT): Likewise.
38962         [POSIX] (ENOSR): Likewise.
38963         [POSIX] (ENOSTR): Likewise.
38964         [POSIX] (ENOTCONN): Likewise.
38965         [POSIX] (ENOTSOCK): Likewise.
38966         [POSIX] (EOPNOTSUPP): Likewise.
38967         [POSIX] (EOVERFLOW): Likewise.
38968         [POSIX] (EPROTO): Likewise.
38969         [POSIX] (EPROTONOSUPPORT): Likewise.
38970         [POSIX] (EPROTOTYPE): Likewise.
38971         [POSIX] (ESTALE): Likewise.
38972         [POSIX] (ETIME): Likewise.
38973         [POSIX] (ETXTBSY): Likewise.
38974         [POSIX] (EWOULDBLOCK): Likewise.
38975         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38976         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38977         [POSIX] (SEEK_CUR): Likewise.
38978         [POSIX] (SEEK_END): Likewise.
38979         [POSIX || UNIX98] (mode_t): Do not require.
38980         [POSIX] (off_t): Likewise.
38981         [POSIX] (pid_t): Likewise.
38982         [POSIX] (sys/stat.h): Do not allow header.
38983         [POSIX] (unistd.h): Likewise.
38984         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38985         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38986         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38987         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38988         require.
38989         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38990         sigevent): Specify elements.
38991         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38992         entry.
38993         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38994         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38996         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38997         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38998         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38999         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39000         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39001         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39002         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39003         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39004         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39005         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39006         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39007         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39008         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39009         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39010         Likewise.
39011         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39012         Likewise.
39013         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39014         Likewise.
39015         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39016         Likewise.
39017         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39018         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39019         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39020         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39021         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39022         Specify lower bound on value.
39023         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39024         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39025         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39026         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39027         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39028         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39029         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39030         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39031         value.
39032         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39033         as optional.
39034         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39035         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39036         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39037         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39038         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39039         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39040         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39041         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39042         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39043         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39044         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39045         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39046         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39047         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39048         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39049         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39050         entry.
39051         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39052         optional.
39053         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39054         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39055         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39056         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39057         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39058         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39059         Likewise.
39060         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39061         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39062         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39063         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39064         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39065         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39066         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39067         as optional.
39068         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39069         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39070         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39071         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39072         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39073         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39074         specify as optional.
39075         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39076         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39077         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39078         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39079         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39080         [XPG3] (NL_LANGMAX): Likewise.
39081         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39082         [POSIX || XPG3] (NL_NMAX): Likewise.
39083         [POSIX || XPG3] (NL_SETMAX): Likewise.
39084         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39085         [XPG3] (NZERO): Likewise.
39086         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39087         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39088         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39089         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39090         (REG_ERANGE): Expect.
39091         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39092         optional-constant.
39093         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39094         Use (void) in prototype.
39095         [POSIX] (*_t): Allow.
39096         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39097         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39098         (WRDE_BADVAL): Expect.
39100         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39101         expect.
39102         [XPG3 || XPG4] (O_RSYNC): Likewise.
39103         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39104         Likewise.
39105         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39106         [XPG3 || XPG4] (sigqueue): Likewise.
39107         [XPG3 || XPG4] (sigtimedwait): Likewise.
39108         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39109         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39110         [XPG3 || XPG4] (vsnprintf): Likewise.
39111         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39112         Likewise.
39113         [XPG3 || XPG4] (blksize_t): Likewise.
39114         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39115         Likewise.
39116         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39117         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39118         [XPG3 || XPG4] (struct itimerspec): Likewise.
39119         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39120         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39121         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39122         [XPG3 || XPG4] (clockid_t): Likewise.
39123         [XPG3 || XPG4] (timer_t): Likewise.
39124         [XPG3 || XPG4] (clock_getres): Likewise.
39125         [XPG3 || XPG4] (clock_gettime): Likewise.
39126         [XPG3 || XPG4] (clock_settime): Likewise.
39127         [XPG3 || XPG4] (nanosleep): Likewise.
39128         [XPG3 || XPG4] (timer_create): Likewise.
39129         [XPG3 || XPG4] (timer_delete): Likewise.
39130         [XPG3 || XPG4] (timer_gettime): Likewise.
39131         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39132         [XPG3 || XPG4] (timer_settime): Likewise.
39133         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39134         [XPG3 || XPG4] (getlogin_r): Likewise.
39135         [XPG3 || XPG4] (pread): Likewise.
39136         [XPG3 || XPG4] (pthread_atfork): Likewise.
39137         [XPG3 || XPG4] (pwrite): Likewise.
39139         [BZ #14835]
39140         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39141         <bits/siginfo.h>.
39143 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39145         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39146         finalizing MALLSTREAM.
39148         * sysdeps/mach/hurd/syncfs.c: New file.
39150 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39152         [BZ #14719]
39153         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39154         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39155         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39156         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39157         (_nss_dns_gethostbyname4_r): Likewise.
39158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39159         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39161 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39163         [BZ #13763]
39164         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39166 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39168         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39169         * elf/cache.c (print_entry): Print ",AArch64" for
39170         FLAG_AARCH64_LIB64
39172         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39173         * elf/cache.c (print_entry): Print ",hard-float" for
39174         FLAG_ARM_LIBHF.
39176 2012-11-18  David S. Miller  <davem@davemloft.net>
39178         With help from Joseph Myers.
39179         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39180         cutoff to 2**-13.
39181         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39182         cutoff to 2**-25.
39183         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39184         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39185         small.
39186         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39187         * math/libm-test.inc (y0_test): New tests.
39188         (y1_test): New tests.
39189         * sysdeps/i386/fpu/libm-test-ulps: Update.
39190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39193 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39195         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39196         64-bit targets.
39197         * configure: Regenerated.
39199 2012-11-17  David S. Miller  <davem@davemloft.net>
39201         [BZ #14811]
39202         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39203         nonzero exponents with absolute value below 0x1p-128 to +/-
39204         0x1p-128.
39206 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39208         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39210         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39212         * posix/getconf-speclist.c: New file.
39213         * posix/posix-envs.def: Likewise.
39214         * posix/confstr.c (START_ENV_GROUP): New macro.
39215         (END_ENV_GROUP): Likewise.
39216         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39217         (KNOWN_PRESENT_ENV_STRING): Likewise.
39218         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39219         (UNKNOWN_ENVIRONMENT): Likewise.
39220         (confstr): Include posix-envs.def instead of handling
39221         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39222         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39223         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39224         (END_ENV_GROUP): Likewise.
39225         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39226         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39227         (UNKNOWN_ENVIRONMENT): Likewise.
39228         (__sysconf): Include posix-envs.def instead of handling associated
39229         cases directly here.
39230         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39231         preprocessing getconf-speclist.c rather than running getconf or
39232         generating empty file.
39234 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39236         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39238 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39240         [BZ #14672]
39241         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39243 2012-11-16  David S. Miller  <davem@davemloft.net>
39245         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39246         smaller than LDBL_EPSILON/2.0L, just return xm1.
39248 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39250         * elf/tst-array1.c (init): Set constructor priority to 1000.
39251         (fini): Set destructor priority to 1000.
39252         * elf/tst-array2dep.c: Likewise.
39254 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39256         [BZ #11741]
39257         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39258         (_IO_new_file_xsputn): Also return EOF if none of the input
39259         data was written when overflow failed.
39260         * libio/iopadn.c (_IO_padn): Likewise.
39261         * libio/iowpadn.c (_IO_wpadn): Likewise.
39262         * stdio-common/tst-put-error.c: Add copyright notice.
39263         (do_test): Add case for printing padded string.
39264         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39265         _IO_padn returned error.
39266         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39267         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39268         return EOF.
39270 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39272         * libio/libioP.h: Add comment note that the references to C++
39273         bits are now obsolete.
39275 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39277         * math/libm-test.inc (check_complex): Use asprintf.
39279 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39281         * debug/pcprofiledump.c (print_version): Update copyright year.
39282         * malloc/memusagestat.c (print_version): Likewise.
39284 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39286         [BZ #14831]
39287         * elf/Makefile (tests): Add tst-audit8.
39288         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39289         ($(objpfx)tst-audit8.out): New target.
39290         (tst-audit8-ENV): New variable.
39291         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39292         audit if l_reloc_result is NULL.
39293         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39294         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39295         * elf/tst-audit8.c: New file.
39297 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39299         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39300         * misc/Makefile (CFLAGS-select.c): Define.
39301         * posix/Makefile (CFLAGS-pause.c): Define.
39303 2012-11-13  David S. Miller  <davem@davemloft.net>
39305         * crypt/Makefile: Move test targets after toplevel Rules
39306         inclusion.  Grab any necessary sysdep routines when linking.
39307         * crypt/md5.c (md5_process_block): Remove define, we will always
39308         name it __md5_process_block.
39309         (md5_finish_ctx): Update md5_process_block call.
39310         (md5_stream): Likewise.
39311         (md5_process_bytes): Likewise.
39312         (md5_process_block): Rename to __md5_process_block and move to ...
39313         * crypt/md5-block.c: ... here.
39314         * crypt/sha256.c (sha256_process_block): Move to ...
39315         * crypt/sha256-block.c: ... here.
39316         * crypt/sha512.c (sha512_process_block): Move to ...
39317         * crypt/sha512-block.c: ... here.
39318         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39319         path.
39320         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39321         * sysdeps/sparc/sparc64/multiarch/Makefile
39322         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39323         crypt subdir.
39324         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39325         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39326         multiarch changes.
39327         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39328         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39329         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39330         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39331         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39332         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39333         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39334         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39335         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39336         file.
39337         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39338         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39339         file.
39340         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39342 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39344         * timezone/tzselect.ksh: Update from tzcode git revision
39345         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39346         * timezone/zdump.c: Likewise.
39347         * timezone/zic.c: Likewise.
39348         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39349         in TZVERSION setting, not $(PKGVERSION).
39350         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39351         REPORT_BUGS_TO settings.
39353         [BZ #14838]
39354         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39355         macro.
39357 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39359         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39360         detection to immediately after _FP_ROUND().
39361         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39362         bits are 0.
39364 2012-11-11  David S. Miller  <davem@davemloft.net>
39366         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39367         inttypes.h
39368         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39369         __close rather than their public counterparts.
39371 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39373         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39374         file.
39375         [UNIX98] (sem_timedwait): Do not expect.
39376         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39377         [XPG4 || UNIX98] (sockatmark): Do not expect.
39378         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39379         (clock_getcpuclockid): Do not expect.
39380         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39381         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39382         Do not expect.
39383         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39384         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39385         [UNIX98] (vwscanf): Likewise.
39386         [UNIX98] (vswscanf): Likewise.
39388 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39390         * timezone/version.h: Remove file.
39391         * timezone/README: Do not refer to version.h.
39392         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39393         $(objpfx)version.h.
39394         ($(objpfx)zdump.o): Likewise.
39395         ($(objpfx)version.h): New target.
39397         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39398         2012i.
39399         * timezone/README: Don't mention modification to tzselect.ksh.
39400         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39401         work on unmodified tzselect.ksh.  Substitute version numbers in
39402         tzselect.ksh.
39404         * Makefile (format-me): Remove.
39405         (INSTALL): Adjust indentation.  Use commands directly instead of
39406         using $(format-me).
39408         * aclocal.m4 (ACX_PKGVERSION): New macro.
39409         (ACX_BUGURL): Likewise.
39410         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39411         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39412         (REPORT_BUGS_TO): Likewise.
39413         * configure: Regenerated.
39414         * config.h.in (PKGVERSION): New macro.
39415         (REPORT_BUGS_TO): Likewise.
39416         * config.make.in (PKGVERSION): New variable.
39417         (PKGVERSION_TEXI): Likewise.
39418         (REPORT_BUGS_TO): Likewise.
39419         (REPORT_BUGS_TEXI): Likewise.
39420         * Makefile (format-me): Use -I$(common-objpfx)manual.
39421         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39422         ($(common-objpfx)manual/%): New target.
39423         (manual/%): Remove target.
39424         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39425         (print_version): Use PKGVERSION.
39426         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39427         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39428         and REPORT_BUGS_TO.
39429         ($(objpfx)xtrace): Likewise.
39430         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39431         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39432         (print_version): Use PKGVERSION.
39433         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39434         (do_version): Use PKGVERSION.
39435         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39436         REPORT_BUGS_TO.
39437         (common-ldd-rewrite): Likewise.
39438         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39439         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39440         (print_version): Use PKGVERSION.
39441         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39442         * elf/pldd.c (argp_program_bug_address): Remove variable.
39443         (more_help): New function.
39444         (argp): Use more_help.
39445         (print_version): Use PKGVERSION.
39446         * elf/sln.c (main): Use PKGVERSION.
39447         (usage): Use REPORT_BUGS_TO.
39448         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39449         (top level): Use PKGVERSION.
39450         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39451         (print_version): Use PKGVERSION.
39452         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39453         (print_version): Use PKGVERSION.
39454         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39455         (print_version): Use PKGVERSION.
39456         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39457         (print_version): Use PKGVERSION.
39458         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39459         (print_version): Use PKGVERSION.
39460         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39461         (print_version): Use PKGVERSION.
39462         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39463         and BUGURL.
39464         ($(objpfx)memusage): Likewise.
39465         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39466         (do_version): Use PKGVERSION.
39467         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39468         (print_version): Use PKGVERSION.
39469         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39470         ($PKGVERSION): New variable.
39471         ($REPORT_BUGS_TO): Likewise.
39472         (usage): Use $REPORT_BUGS_TO.
39473         (top level): Use $PKGVERSION.
39474         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39475         ($(objpfx)pkgvers.texi): New rule.
39476         ($(objpfx)stamp-pkgvers): Likewise.
39477         * manual/install.texi: Include pkgvers.texi.
39478         (--with-pkgversion): Document new configure option.
39479         (--with-bugurl): Likewise.
39480         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39481         than necessarily for this particular distribution.  Use
39482         REPORT_BUGS_TO for where to report bugs.
39483         * INSTALL: Regenerated.
39484         * manual/libc.texinfo: Include pkgvers.texi.
39485         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39486         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39487         (print_version): Use PKGVERSION.
39488         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39489         (print_version): Use PKGVERSION.
39490         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39491         (print_version): Use PKGVERSION.
39492         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39493         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39494         macro.
39495         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39496         (print_version): Use PKGVERSION.
39497         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39498         (print_version): Use PKGVERSION.
39499         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39500         and PKGVERSION.
39502         * timezone/checktab.awk: Update from tzcode 2012i.
39503         * timezone/ialloc.c: Likewise.
39504         * timezone/private.h: Likewise.
39505         * timezone/scheck.c: Likewise.
39506         * timezone/tzfile.h: Likewise.
39507         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39508         (TZVERSION): Hardcode tzcode version number.
39509         * timezone/zdump.c: Update from tzcode 2012i.
39510         * timezone/zic.c: Likewise.
39511         * timezone/version.h: New file.
39512         * timezone/README: Describe version.h.  Update upstream location.
39514         [BZ #14824]
39515         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39516         (mktemp): Enable declaration.
39517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39518         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39520         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39521         Likewise.
39522         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39523         Likewise.
39524         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39525         Likewise.
39526         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39527         Likewise.
39528         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39529         Likewise.
39530         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39531         Likewise.
39533         [BZ #14821]
39534         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39535         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39536         for copies of such integer values.
39537         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39538         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39540 2012-11-09  Andreas Jaeger  <aj@suse.de>
39542         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39543         definitions and declarations that are provided by
39544         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39546 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39548         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39549         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39550         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39551         definition.
39553 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39555         * elf/elf.h: Update comment before AArch64 relocations.
39557 2012-11-07  David S. Miller  <davem@davemloft.net>
39559         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39560         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39561         (__start_context): Declare.
39562         (__makecontext_ret): Delete.
39563         (__makecontext): Hook up __start_context instead of
39564         __makecontext_ret.
39565         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39566         (sysdep_routines): Add __start_context when in stdlib.
39568 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39570         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39571         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39572         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39573         hardcoded "nm".
39574         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39575         (READELF): New variable.  Use it instead of hardcoded "readelf".
39577 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39579         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39580         * sysdeps/x86/Makefile: Here.
39581         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39582         * sysdeps/x86/tst-xmmymm.sh: This.
39584 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39586         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39587         expectations.
39588         [UNIX98] (pthread_barrier_t): Do not expect.
39589         [UNIX98] (pthread_barrierattr_t): Likewise.
39590         [UNIX98] (pthread_spinlock_t): Likewise.
39591         [UNIX98] (pthread_barrier_destroy): Likewise.
39592         [UNIX98] (pthread_barrier_init): Likewise.
39593         [UNIX98] (pthread_barrier_wait): Likewise.
39594         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39595         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39596         [UNIX98] (pthread_barrierattr_init): Likewise.
39597         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39598         [UNIX98] (pthread_getcpuclockid): Likewise.
39599         [UNIX98] (pthread_mutex_timedlock): Likewise.
39600         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39601         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39602         [UNIX98] (pthread_sigmask): Likewise.
39603         [UNIX98] (pthread_spin_destroy): Likewise.
39604         [UNIX98] (pthread_spin_init): Likewise.
39605         [UNIX98] (pthread_spin_lock): Likewise.
39606         [UNIX98] (pthread_spin_trylock): Likewise.
39607         [UNIX98] (pthread_spin_unlock): Likewise.
39608         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39609         Do not expect.
39610         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39611         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39612         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39613         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39614         [XPG3 || XPG4] (pthread_key_t): Likewise.
39615         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39616         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39617         [XPG3 || XPG4] (pthread_once_t): Likewise.
39618         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39619         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39620         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39621         [XPG3 || XPG4] (pthread_t): Likewise.
39623         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39624         not expect.
39625         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39627         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39628         Change function return type to int.
39630         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39631         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39632         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39633         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39634         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39635         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39636         [!POSIX] (posix_madvise): Likewise.
39637         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39638         && !UNIX98].
39639         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39640         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39641         (mode_t): Likewise.
39642         (posix_mem_offset): Likewise.
39643         (posix_typed_mem_get_info): Likewise.
39644         (posix_typed_mem_open): Likewise.
39646         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39647         Change condition to [XOPEN2K8].
39649         * conform/conformtest.pl: Preprocess allow-header data with -x c
39650         instead of from stdin.
39651         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39652         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39653         [C99-based standards] (cerfc): Likewise.
39654         [C99-based standards] (cexp2): Likewise.
39655         [C99-based standards] (cexpm1): Likewise.
39656         [C99-based standards] (clog10): Likewise.
39657         [C99-based standards] (clog1p): Likewise.
39658         [C99-based standards] (clog2): Likewise.
39659         [C99-based standards] (clgamma): Likewise.
39660         [C99-based standards] (ctgamma): Likewise.
39661         [C99-based standards] (cerff): Likewise.
39662         [C99-based standards] (cerfcf): Likewise.
39663         [C99-based standards] (cexp2f): Likewise.
39664         [C99-based standards] (cexpm1f): Likewise.
39665         [C99-based standards] (clog10f): Likewise.
39666         [C99-based standards] (clog1pf): Likewise.
39667         [C99-based standards] (clog2f): Likewise.
39668         [C99-based standards] (clgammaf): Likewise.
39669         [C99-based standards] (ctgammaf): Likewise.
39670         [C99-based standards] (cerfl): Likewise.
39671         [C99-based standards] (cerfcl): Likewise.
39672         [C99-based standards] (cexp2l): Likewise.
39673         [C99-based standards] (cexpm1l): Likewise.
39674         [C99-based standards] (clog10l): Likewise.
39675         [C99-based standards] (clog1pl): Likewise.
39676         [C99-based standards] (clog2l): Likewise.
39677         [C99-based standards] (clgammal): Likewise.
39678         [C99-based standards] (ctgammal): Likewise.
39679         * conform/data/inttypes.h-data [C99-based standards]: Include
39680         stdint.h-data.  Remove all expectations for stdint.h contents.
39681         [C99-based standards] (PRI*): Do not allow.
39682         [C99-based standards] (SCN*): Likewise.
39683         [C99-based standards] (*_t): Likewise.
39684         [C99-based-standards] (PRId8): Expect macro.
39685         [C99-based-standards] (PRIi8): Likewise.
39686         [C99-based-standards] (PRIo8): Likewise.
39687         [C99-based-standards] (PRIu8): Likewise.
39688         [C99-based-standards] (PRIx8): Likewise.
39689         [C99-based-standards] (PRIX8): Likewise.
39690         [C99-based-standards] (SCNd8): Likewise.
39691         [C99-based-standards] (SCNi8): Likewise.
39692         [C99-based-standards] (SCNo8): Likewise.
39693         [C99-based-standards] (SCNu8): Likewise.
39694         [C99-based-standards] (SCNx8): Likewise.
39695         [C99-based-standards] (PRIdLEAST8): Likewise.
39696         [C99-based-standards] (PRIiLEAST8): Likewise.
39697         [C99-based-standards] (PRIoLEAST8): Likewise.
39698         [C99-based-standards] (PRIuLEAST8): Likewise.
39699         [C99-based-standards] (PRIxLEAST8): Likewise.
39700         [C99-based-standards] (PRIXLEAST8): Likewise.
39701         [C99-based-standards] (SCNdLEAST8): Likewise.
39702         [C99-based-standards] (SCNiLEAST8): Likewise.
39703         [C99-based-standards] (SCNoLEAST8): Likewise.
39704         [C99-based-standards] (SCNuLEAST8): Likewise.
39705         [C99-based-standards] (SCNxLEAST8): Likewise.
39706         [C99-based-standards] (PRIdFAST8): Likewise.
39707         [C99-based-standards] (PRIiFAST8): Likewise.
39708         [C99-based-standards] (PRIoFAST8): Likewise.
39709         [C99-based-standards] (PRIuFAST8): Likewise.
39710         [C99-based-standards] (PRIxFAST8): Likewise.
39711         [C99-based-standards] (PRIXFAST8): Likewise.
39712         [C99-based-standards] (SCNdFAST8): Likewise.
39713         [C99-based-standards] (SCNiFAST8): Likewise.
39714         [C99-based-standards] (SCNoFAST8): Likewise.
39715         [C99-based-standards] (SCNuFAST8): Likewise.
39716         [C99-based-standards] (SCNxFAST8): Likewise.
39717         [C99-based-standards] (PRId16): Likewise.
39718         [C99-based-standards] (PRIi16): Likewise.
39719         [C99-based-standards] (PRIo16): Likewise.
39720         [C99-based-standards] (PRIu16): Likewise.
39721         [C99-based-standards] (PRIx16): Likewise.
39722         [C99-based-standards] (PRIX16): Likewise.
39723         [C99-based-standards] (SCNd16): Likewise.
39724         [C99-based-standards] (SCNi16): Likewise.
39725         [C99-based-standards] (SCNo16): Likewise.
39726         [C99-based-standards] (SCNu16): Likewise.
39727         [C99-based-standards] (SCNx16): Likewise.
39728         [C99-based-standards] (PRIdLEAST16): Likewise.
39729         [C99-based-standards] (PRIiLEAST16): Likewise.
39730         [C99-based-standards] (PRIoLEAST16): Likewise.
39731         [C99-based-standards] (PRIuLEAST16): Likewise.
39732         [C99-based-standards] (PRIxLEAST16): Likewise.
39733         [C99-based-standards] (PRIXLEAST16): Likewise.
39734         [C99-based-standards] (SCNdLEAST16): Likewise.
39735         [C99-based-standards] (SCNiLEAST16): Likewise.
39736         [C99-based-standards] (SCNoLEAST16): Likewise.
39737         [C99-based-standards] (SCNuLEAST16): Likewise.
39738         [C99-based-standards] (SCNxLEAST16): Likewise.
39739         [C99-based-standards] (PRIdFAST16): Likewise.
39740         [C99-based-standards] (PRIiFAST16): Likewise.
39741         [C99-based-standards] (PRIoFAST16): Likewise.
39742         [C99-based-standards] (PRIuFAST16): Likewise.
39743         [C99-based-standards] (PRIxFAST16): Likewise.
39744         [C99-based-standards] (PRIXFAST16): Likewise.
39745         [C99-based-standards] (SCNdFAST16): Likewise.
39746         [C99-based-standards] (SCNiFAST16): Likewise.
39747         [C99-based-standards] (SCNoFAST16): Likewise.
39748         [C99-based-standards] (SCNuFAST16): Likewise.
39749         [C99-based-standards] (SCNxFAST16): Likewise.
39750         [C99-based-standards] (PRId32): Likewise.
39751         [C99-based-standards] (PRIi32): Likewise.
39752         [C99-based-standards] (PRIo32): Likewise.
39753         [C99-based-standards] (PRIu32): Likewise.
39754         [C99-based-standards] (PRIx32): Likewise.
39755         [C99-based-standards] (PRIX32): Likewise.
39756         [C99-based-standards] (SCNd32): Likewise.
39757         [C99-based-standards] (SCNi32): Likewise.
39758         [C99-based-standards] (SCNo32): Likewise.
39759         [C99-based-standards] (SCNu32): Likewise.
39760         [C99-based-standards] (SCNx32): Likewise.
39761         [C99-based-standards] (PRIdLEAST32): Likewise.
39762         [C99-based-standards] (PRIiLEAST32): Likewise.
39763         [C99-based-standards] (PRIoLEAST32): Likewise.
39764         [C99-based-standards] (PRIuLEAST32): Likewise.
39765         [C99-based-standards] (PRIxLEAST32): Likewise.
39766         [C99-based-standards] (PRIXLEAST32): Likewise.
39767         [C99-based-standards] (SCNdLEAST32): Likewise.
39768         [C99-based-standards] (SCNiLEAST32): Likewise.
39769         [C99-based-standards] (SCNoLEAST32): Likewise.
39770         [C99-based-standards] (SCNuLEAST32): Likewise.
39771         [C99-based-standards] (SCNxLEAST32): Likewise.
39772         [C99-based-standards] (PRIdFAST32): Likewise.
39773         [C99-based-standards] (PRIiFAST32): Likewise.
39774         [C99-based-standards] (PRIoFAST32): Likewise.
39775         [C99-based-standards] (PRIuFAST32): Likewise.
39776         [C99-based-standards] (PRIxFAST32): Likewise.
39777         [C99-based-standards] (PRIXFAST32): Likewise.
39778         [C99-based-standards] (SCNdFAST32): Likewise.
39779         [C99-based-standards] (SCNiFAST32): Likewise.
39780         [C99-based-standards] (SCNoFAST32): Likewise.
39781         [C99-based-standards] (SCNuFAST32): Likewise.
39782         [C99-based-standards] (SCNxFAST32): Likewise.
39783         [C99-based-standards] (PRId64): Likewise.
39784         [C99-based-standards] (PRIi64): Likewise.
39785         [C99-based-standards] (PRIo64): Likewise.
39786         [C99-based-standards] (PRIu64): Likewise.
39787         [C99-based-standards] (PRIx64): Likewise.
39788         [C99-based-standards] (PRIX64): Likewise.
39789         [C99-based-standards] (SCNd64): Likewise.
39790         [C99-based-standards] (SCNi64): Likewise.
39791         [C99-based-standards] (SCNo64): Likewise.
39792         [C99-based-standards] (SCNu64): Likewise.
39793         [C99-based-standards] (SCNx64): Likewise.
39794         [C99-based-standards] (PRIdLEAST64): Likewise.
39795         [C99-based-standards] (PRIiLEAST64): Likewise.
39796         [C99-based-standards] (PRIoLEAST64): Likewise.
39797         [C99-based-standards] (PRIuLEAST64): Likewise.
39798         [C99-based-standards] (PRIxLEAST64): Likewise.
39799         [C99-based-standards] (PRIXLEAST64): Likewise.
39800         [C99-based-standards] (SCNdLEAST64): Likewise.
39801         [C99-based-standards] (SCNiLEAST64): Likewise.
39802         [C99-based-standards] (SCNoLEAST64): Likewise.
39803         [C99-based-standards] (SCNuLEAST64): Likewise.
39804         [C99-based-standards] (SCNxLEAST64): Likewise.
39805         [C99-based-standards] (PRIdFAST64): Likewise.
39806         [C99-based-standards] (PRIiFAST64): Likewise.
39807         [C99-based-standards] (PRIoFAST64): Likewise.
39808         [C99-based-standards] (PRIuFAST64): Likewise.
39809         [C99-based-standards] (PRIxFAST64): Likewise.
39810         [C99-based-standards] (PRIXFAST64): Likewise.
39811         [C99-based-standards] (SCNdFAST64): Likewise.
39812         [C99-based-standards] (SCNiFAST64): Likewise.
39813         [C99-based-standards] (SCNoFAST64): Likewise.
39814         [C99-based-standards] (SCNuFAST64): Likewise.
39815         [C99-based-standards] (SCNxFAST64): Likewise.
39816         [C99-based-standards] (PRIdMAX): Likewise.
39817         [C99-based-standards] (PRIiMAX): Likewise.
39818         [C99-based-standards] (PRIoMAX): Likewise.
39819         [C99-based-standards] (PRIuMAX): Likewise.
39820         [C99-based-standards] (PRIxMAX): Likewise.
39821         [C99-based-standards] (PRIXMAX): Likewise.
39822         [C99-based-standards] (SCNdMAX): Likewise.
39823         [C99-based-standards] (SCNiMAX): Likewise.
39824         [C99-based-standards] (SCNoMAX): Likewise.
39825         [C99-based-standards] (SCNuMAX): Likewise.
39826         [C99-based-standards] (SCNxMAX): Likewise.
39827         [C99-based-standards] (PRIdPTR): Likewise.
39828         [C99-based-standards] (PRIiPTR): Likewise.
39829         [C99-based-standards] (PRIoPTR): Likewise.
39830         [C99-based-standards] (PRIuPTR): Likewise.
39831         [C99-based-standards] (PRIxPTR): Likewise.
39832         [C99-based-standards] (PRIXPTR): Likewise.
39833         [C99-based-standards] (SCNdPTR): Likewise.
39834         [C99-based-standards] (SCNiPTR): Likewise.
39835         [C99-based-standards] (SCNoPTR): Likewise.
39836         [C99-based-standards] (SCNuPTR): Likewise.
39837         [C99-based-standards] (SCNxPTR): Likewise.
39838         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39839         allow.
39840         * conform/data/stdint.h-data: Update comments to clarify
39841         requirements.
39842         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39843         type.
39844         [C99-based standards] (INT8_MAX): Likewise.
39845         [C99-based standards] (INT16_MIN): Likewise.
39846         [C99-based standards] (INT16_MAX): Likewise.
39847         [C99-based standards] (INT32_MIN): Likewise.
39848         [C99-based standards] (INT32_MAX): Likewise.
39849         [C99-based standards] (INT64_MIN): Likewise.
39850         [C99-based standards] (INT64_MAX): Likewise.
39851         [C99-based standards] (UINT8_MAX): Likewise.
39852         [C99-based standards] (UINT16_MAX): Likewise.
39853         [C99-based standards] (UINT32_MAX): Likewise.
39854         [C99-based standards] (UINT64_MAX): Likewise.
39855         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39856         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39857         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39858         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39859         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39860         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39861         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39862         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39863         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39864         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39865         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39866         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39867         [C99-based standards] (INT_FAST8_MIN): Likewise.
39868         [C99-based standards] (INT_FAST8_MAX): Likewise.
39869         [C99-based standards] (INT_FAST16_MIN): Likewise.
39870         [C99-based standards] (INT_FAST16_MAX): Likewise.
39871         [C99-based standards] (INT_FAST32_MIN): Likewise.
39872         [C99-based standards] (INT_FAST32_MAX): Likewise.
39873         [C99-based standards] (INT_FAST64_MIN): Likewise.
39874         [C99-based standards] (INT_FAST64_MAX): Likewise.
39875         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39876         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39877         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39878         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39879         [C99-based standards] (INTPTR_MIN): Likewise.
39880         [C99-based standards] (INTPTR_MAX): Likewise.
39881         [C99-based standards] (UINTPTR_MAX): Likewise.
39882         [C99-based standards] (INTMAX_MIN): Likewise.
39883         [C99-based standards] (INTMAX_MAX): Likewise.
39884         [C99-based standards] (UINTMAX_MAX): Likewise.
39885         [C99-based standards] (PTRDIFF_MIN): Likewise.
39886         [C99-based standards] (PTRDIFF_MAX): Likewise.
39887         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39888         [C99-based standards] (SIZE_MAX): Likewise.
39889         [C99-based standards] (WCHAR_MAX): Likewise.
39890         [C99-based standards] (WINT_MAX): Likewise.
39891         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39892         constraint on value.
39893         [C99-based standards] (WCHAR_MIN): Likewise.
39894         [C99-based standards] (WINT_MIN): Likewise.
39895         [C99-based standards] (*_t): Allow.
39896         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39897         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39898         Include math.h-data and complex.h-data.  Remove all expectations
39899         of math.h and complex.h contents.
39900         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39901         at end of line.
39902         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39903         (struct tm): Expect tag.
39904         [C99-based-standards] (wcstof): Expect function.
39905         [C99-based-standards] (wcstold): Likewise.
39906         [C99-based-standards] (wcstoll): Likewise.
39907         [C99-based-standards] (wcstoull): Likewise.
39908         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39909         macro-int-constant.  Specify type.
39910         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39911         constraint on value.
39912         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39913         Specify type.
39914         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39915         Specify value.
39916         [ISO C standards]: Do not allow headers.
39917         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39918         wcs[abcdefghijklmnopqrstuvwxyz]*.
39919         [ISO C standards] (*_t): Do not allow.
39920         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39921         Expect function.
39922         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39923         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39924         Specify type.
39925         [ISO C standards]: Do not allow headers.
39926         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39927         is[abcdefghijklmnopqrstuvwxyz]*.
39928         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39929         to[abcdefghijklmnopqrstuvwxyz]*.
39930         [ISO C standards] (*_t): Do not allow.
39931         * conform/data/stdalign.h-data: New file.
39932         * conform/data/stdbool.h-data: Likewise.
39933         * conform/data/stdnoreturn.h-data: Likewise.
39935 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39937         [BZ #14815]
39938         * manual/filesys.texi (Directory Entries): Typo fix.
39939         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39941 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39943         * elf/elf.h (EM_AARCH64): New macro.
39944         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39945         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39946         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39947         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39948         (R_AARCH64_TLSDESC): Likewise.
39949         (NT_ARM_TLS): Likewise.
39950         (NT_ARM_HW_BREAK): Likewise.
39951         (NT_ARM_HW_WATCH): Likewise.
39953 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39955         [BZ #14811]
39956         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39957         (__ieee754_powl): Saturate nonzero exponents with absolute value
39958         below 0x1p-79 to +/- 0x1p-79.
39959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39960         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39961         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39962         nonzero exponents with absolute value below 0x1p-32 to +/-
39963         0x1p-32.
39964         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39965         (__ieee754_powl): Saturate nonzero exponents with absolute value
39966         below 0x1p-79 to +/- 0x1p-79.
39967         * math/libm-test.inc (pow_test): Add more tests.
39969 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39971         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39972         _dl_s390_cap_flags with kernel. Increase string length.
39973         (_dl_s390_platforms): Add z196 and zEC12.
39975 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39977         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39978         Change XOPEN21K to XOPEN2K.
39980 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39982         * string/memmove.c: Use memcpy when possible.
39984 2012-11-06  Andreas Jaeger  <aj@suse.de>
39986         * po/eo.po: Update from translation team.
39988 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39990         [BZ #14793]
39991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39992         exponent and small x and y exponents, scale x or y up.  Increase
39993         by 2 the exponent used in scaling up.
39994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39996         * math/libm-test.inc (fma_test): Add more tests.
39997         (fma_test_towardzero): Likewise.
39998         (fma_test_downward): Likewise.
39999         (fma_test_upward): Likewise.
40001 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40003         [BZ #14805]
40004         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40005         fenv_t *.
40007         [BZ #14801]
40008         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40009         namespace for names of struct fields.
40010         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40011         fenv_t fields.
40012         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40013         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40015 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40017         [BZ #3665]
40018         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40020 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40022         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40023         PTR_DEMANGLE.
40025         [BZ #5246]
40026         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40027         PTR_DEMANGLE.
40029 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40031         [BZ #14797]
40032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40033         definitely overflow as x * y not x * y + z.
40034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40035         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40036         * math/libm-test.inc (fma_test): Add more tests.
40037         (fma_test_towardzero): Likewise.
40038         (fma_test_downward): Likewise.
40039         (fma_test_upward): Likewise.
40041 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40043         [BZ #157]
40045         * include/stub-tag.h: Remove file.
40046         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40047         '#include' of it.
40048         * manual/maint.texi (Porting): Don't reference it.
40049         * Makerules ($(objpfx)stubs): Likewise.
40050         * dirent/closedir.c: Don't include <stub-tag.h>.
40051         * dirent/dirfd.c: Likewise.
40052         * dirent/fdopendir.c: Likewise.
40053         * dirent/getdents.c: Likewise.
40054         * dirent/getdents64.c: Likewise.
40055         * dirent/opendir.c: Likewise.
40056         * dirent/readdir.c: Likewise.
40057         * dirent/readdir64.c: Likewise.
40058         * dirent/readdir64_r.c: Likewise.
40059         * dirent/readdir_r.c: Likewise.
40060         * dirent/rewinddir.c: Likewise.
40061         * dirent/seekdir.c: Likewise.
40062         * dirent/telldir.c: Likewise.
40063         * gmon/profil.c: Likewise.
40064         * grp/setgroups.c: Likewise.
40065         * inet/if_index.c: Likewise.
40066         * io/access.c: Likewise.
40067         * io/chdir.c: Likewise.
40068         * io/chmod.c: Likewise.
40069         * io/chown.c: Likewise.
40070         * io/close.c: Likewise.
40071         * io/dup.c: Likewise.
40072         * io/dup2.c: Likewise.
40073         * io/dup3.c: Likewise.
40074         * io/euidaccess.c: Likewise.
40075         * io/faccessat.c: Likewise.
40076         * io/fchdir.c: Likewise.
40077         * io/fchmod.c: Likewise.
40078         * io/fchmodat.c: Likewise.
40079         * io/fchown.c: Likewise.
40080         * io/fchownat.c: Likewise.
40081         * io/fcntl.c: Likewise.
40082         * io/flock.c: Likewise.
40083         * io/fstatfs.c: Likewise.
40084         * io/fstatfs64.c: Likewise.
40085         * io/fstatvfs.c: Likewise.
40086         * io/fstatvfs64.c: Likewise.
40087         * io/futimens.c: Likewise.
40088         * io/fxstat.c: Likewise.
40089         * io/fxstat64.c: Likewise.
40090         * io/fxstatat.c: Likewise.
40091         * io/fxstatat64.c: Likewise.
40092         * io/getcwd.c: Likewise.
40093         * io/isatty.c: Likewise.
40094         * io/lchmod.c: Likewise.
40095         * io/lchown.c: Likewise.
40096         * io/link.c: Likewise.
40097         * io/linkat.c: Likewise.
40098         * io/lseek.c: Likewise.
40099         * io/lseek64.c: Likewise.
40100         * io/lxstat64.c: Likewise.
40101         * io/mkdir.c: Likewise.
40102         * io/mkdirat.c: Likewise.
40103         * io/mkfifo.c: Likewise.
40104         * io/mkfifoat.c: Likewise.
40105         * io/open.c: Likewise.
40106         * io/open64.c: Likewise.
40107         * io/openat.c: Likewise.
40108         * io/openat64.c: Likewise.
40109         * io/pipe.c: Likewise.
40110         * io/pipe2.c: Likewise.
40111         * io/poll.c: Likewise.
40112         * io/posix_fadvise.c: Likewise.
40113         * io/posix_fadvise64.c: Likewise.
40114         * io/posix_fallocate.c: Likewise.
40115         * io/posix_fallocate64.c: Likewise.
40116         * io/read.c: Likewise.
40117         * io/readlink.c: Likewise.
40118         * io/readlinkat.c: Likewise.
40119         * io/rmdir.c: Likewise.
40120         * io/sendfile.c: Likewise.
40121         * io/sendfile64.c: Likewise.
40122         * io/statfs.c: Likewise.
40123         * io/statfs64.c: Likewise.
40124         * io/statvfs.c: Likewise.
40125         * io/statvfs64.c: Likewise.
40126         * io/symlink.c: Likewise.
40127         * io/symlinkat.c: Likewise.
40128         * io/ttyname.c: Likewise.
40129         * io/ttyname_r.c: Likewise.
40130         * io/umask.c: Likewise.
40131         * io/unlink.c: Likewise.
40132         * io/unlinkat.c: Likewise.
40133         * io/utime.c: Likewise.
40134         * io/utimensat.c: Likewise.
40135         * io/write.c: Likewise.
40136         * io/xmknod.c: Likewise.
40137         * io/xmknodat.c: Likewise.
40138         * io/xstat.c: Likewise.
40139         * io/xstat64.c: Likewise.
40140         * login/getpt.c: Likewise.
40141         * login/grantpt.c: Likewise.
40142         * login/unlockpt.c: Likewise.
40143         * math/e_acoshl.c: Likewise.
40144         * math/e_acosl.c: Likewise.
40145         * math/e_asinl.c: Likewise.
40146         * math/e_atan2l.c: Likewise.
40147         * math/e_atanhl.c: Likewise.
40148         * math/e_coshl.c: Likewise.
40149         * math/e_expl.c: Likewise.
40150         * math/e_fmodl.c: Likewise.
40151         * math/e_gammal_r.c: Likewise.
40152         * math/e_hypotl.c: Likewise.
40153         * math/e_j0l.c: Likewise.
40154         * math/e_j1l.c: Likewise.
40155         * math/e_jnl.c: Likewise.
40156         * math/e_lgammal_r.c: Likewise.
40157         * math/e_log10l.c: Likewise.
40158         * math/e_log2l.c: Likewise.
40159         * math/e_logl.c: Likewise.
40160         * math/e_powl.c: Likewise.
40161         * math/e_rem_pio2l.c: Likewise.
40162         * math/e_sinhl.c: Likewise.
40163         * math/e_sqrtl.c: Likewise.
40164         * math/fclrexcpt.c: Likewise.
40165         * math/fedisblxcpt.c: Likewise.
40166         * math/feenablxcpt.c: Likewise.
40167         * math/fegetenv.c: Likewise.
40168         * math/fegetexcept.c: Likewise.
40169         * math/fegetround.c: Likewise.
40170         * math/feholdexcpt.c: Likewise.
40171         * math/fesetenv.c: Likewise.
40172         * math/fesetround.c: Likewise.
40173         * math/feupdateenv.c: Likewise.
40174         * math/fgetexcptflg.c: Likewise.
40175         * math/fraiseexcpt.c: Likewise.
40176         * math/fsetexcptflg.c: Likewise.
40177         * math/ftestexcept.c: Likewise.
40178         * math/k_cosl.c: Likewise.
40179         * math/k_rem_pio2l.c: Likewise.
40180         * math/k_sinl.c: Likewise.
40181         * math/k_tanl.c: Likewise.
40182         * math/s_asinhl.c: Likewise.
40183         * math/s_atanl.c: Likewise.
40184         * math/s_cbrtl.c: Likewise.
40185         * math/s_erfl.c: Likewise.
40186         * math/s_expm1l.c: Likewise.
40187         * math/s_log1pl.c: Likewise.
40188         * math/s_tanhl.c: Likewise.
40189         * misc/acct.c: Likewise.
40190         * misc/brk.c: Likewise.
40191         * misc/chflags.c: Likewise.
40192         * misc/chroot.c: Likewise.
40193         * misc/fchflags.c: Likewise.
40194         * misc/fgetxattr.c: Likewise.
40195         * misc/flistxattr.c: Likewise.
40196         * misc/fremovexattr.c: Likewise.
40197         * misc/fsetxattr.c: Likewise.
40198         * misc/fsync.c: Likewise.
40199         * misc/ftruncate.c: Likewise.
40200         * misc/futimes.c: Likewise.
40201         * misc/futimesat.c: Likewise.
40202         * misc/getdomain.c: Likewise.
40203         * misc/getdtsz.c: Likewise.
40204         * misc/gethostid.c: Likewise.
40205         * misc/gethostname.c: Likewise.
40206         * misc/getloadavg.c: Likewise.
40207         * misc/getpagesize.c: Likewise.
40208         * misc/getsysstats.c: Likewise.
40209         * misc/getxattr.c: Likewise.
40210         * misc/gtty.c: Likewise.
40211         * misc/ioctl.c: Likewise.
40212         * misc/lgetxattr.c: Likewise.
40213         * misc/listxattr.c: Likewise.
40214         * misc/llistxattr.c: Likewise.
40215         * misc/lremovexattr.c: Likewise.
40216         * misc/lsetxattr.c: Likewise.
40217         * misc/lutimes.c: Likewise.
40218         * misc/madvise.c: Likewise.
40219         * misc/mincore.c: Likewise.
40220         * misc/mlock.c: Likewise.
40221         * misc/mlockall.c: Likewise.
40222         * misc/mmap.c: Likewise.
40223         * misc/mprotect.c: Likewise.
40224         * misc/msync.c: Likewise.
40225         * misc/munlock.c: Likewise.
40226         * misc/munlockall.c: Likewise.
40227         * misc/munmap.c: Likewise.
40228         * misc/preadv.c: Likewise.
40229         * misc/preadv64.c: Likewise.
40230         * misc/ptrace.c: Likewise.
40231         * misc/pwritev.c: Likewise.
40232         * misc/pwritev64.c: Likewise.
40233         * misc/readv.c: Likewise.
40234         * misc/reboot.c: Likewise.
40235         * misc/remap_file_pages.c: Likewise.
40236         * misc/removexattr.c: Likewise.
40237         * misc/revoke.c: Likewise.
40238         * misc/select.c: Likewise.
40239         * misc/setdomain.c: Likewise.
40240         * misc/setegid.c: Likewise.
40241         * misc/seteuid.c: Likewise.
40242         * misc/sethostid.c: Likewise.
40243         * misc/sethostname.c: Likewise.
40244         * misc/setregid.c: Likewise.
40245         * misc/setreuid.c: Likewise.
40246         * misc/setxattr.c: Likewise.
40247         * misc/sstk.c: Likewise.
40248         * misc/stty.c: Likewise.
40249         * misc/swapoff.c: Likewise.
40250         * misc/swapon.c: Likewise.
40251         * misc/sync.c: Likewise.
40252         * misc/syncfs.c: Likewise.
40253         * misc/syscall.c: Likewise.
40254         * misc/truncate.c: Likewise.
40255         * misc/ualarm.c: Likewise.
40256         * misc/usleep.c: Likewise.
40257         * misc/ustat.c: Likewise.
40258         * misc/utimes.c: Likewise.
40259         * misc/vhangup.c: Likewise.
40260         * misc/writev.c: Likewise.
40261         * posix/_exit.c: Likewise.
40262         * posix/alarm.c: Likewise.
40263         * posix/execve.c: Likewise.
40264         * posix/fexecve.c: Likewise.
40265         * posix/fork.c: Likewise.
40266         * posix/fpathconf.c: Likewise.
40267         * posix/getaddrinfo.c: Likewise.
40268         * posix/getegid.c: Likewise.
40269         * posix/geteuid.c: Likewise.
40270         * posix/getgid.c: Likewise.
40271         * posix/getgroups.c: Likewise.
40272         * posix/getlogin.c: Likewise.
40273         * posix/getlogin_r.c: Likewise.
40274         * posix/getpgid.c: Likewise.
40275         * posix/getpid.c: Likewise.
40276         * posix/getppid.c: Likewise.
40277         * posix/getresgid.c: Likewise.
40278         * posix/getresuid.c: Likewise.
40279         * posix/getsid.c: Likewise.
40280         * posix/getuid.c: Likewise.
40281         * posix/glob64.c: Likewise.
40282         * posix/nanosleep.c: Likewise.
40283         * posix/pathconf.c: Likewise.
40284         * posix/pause.c: Likewise.
40285         * posix/posix_madvise.c: Likewise.
40286         * posix/pread.c: Likewise.
40287         * posix/pread64.c: Likewise.
40288         * posix/pwrite.c: Likewise.
40289         * posix/pwrite64.c: Likewise.
40290         * posix/sched_getaffinity.c: Likewise.
40291         * posix/sched_getp.c: Likewise.
40292         * posix/sched_gets.c: Likewise.
40293         * posix/sched_primax.c: Likewise.
40294         * posix/sched_primin.c: Likewise.
40295         * posix/sched_rr_gi.c: Likewise.
40296         * posix/sched_setaffinity.c: Likewise.
40297         * posix/sched_setp.c: Likewise.
40298         * posix/sched_sets.c: Likewise.
40299         * posix/sched_yield.c: Likewise.
40300         * posix/setgid.c: Likewise.
40301         * posix/setlogin.c: Likewise.
40302         * posix/setpgid.c: Likewise.
40303         * posix/setresgid.c: Likewise.
40304         * posix/setresuid.c: Likewise.
40305         * posix/setsid.c: Likewise.
40306         * posix/setuid.c: Likewise.
40307         * posix/sleep.c: Likewise.
40308         * posix/spawni.c: Likewise.
40309         * posix/sysconf.c: Likewise.
40310         * posix/times.c: Likewise.
40311         * posix/wait.c: Likewise.
40312         * posix/wait3.c: Likewise.
40313         * posix/wait4.c: Likewise.
40314         * posix/waitpid.c: Likewise.
40315         * resolv/gai_sigqueue.c: Likewise.
40316         * resource/getpriority.c: Likewise.
40317         * resource/getrlimit.c: Likewise.
40318         * resource/getrusage.c: Likewise.
40319         * resource/nice.c: Likewise.
40320         * resource/setpriority.c: Likewise.
40321         * resource/setrlimit.c: Likewise.
40322         * resource/ulimit.c: Likewise.
40323         * rt/aio_cancel.c: Likewise.
40324         * rt/aio_fsync.c: Likewise.
40325         * rt/aio_read.c: Likewise.
40326         * rt/aio_sigqueue.c: Likewise.
40327         * rt/aio_suspend.c: Likewise.
40328         * rt/aio_write.c: Likewise.
40329         * rt/clock_getres.c: Likewise.
40330         * rt/clock_gettime.c: Likewise.
40331         * rt/clock_nanosleep.c: Likewise.
40332         * rt/clock_settime.c: Likewise.
40333         * rt/lio_listio.c: Likewise.
40334         * rt/mq_close.c: Likewise.
40335         * rt/mq_getattr.c: Likewise.
40336         * rt/mq_notify.c: Likewise.
40337         * rt/mq_open.c: Likewise.
40338         * rt/mq_receive.c: Likewise.
40339         * rt/mq_send.c: Likewise.
40340         * rt/mq_setattr.c: Likewise.
40341         * rt/mq_timedreceive.c: Likewise.
40342         * rt/mq_timedsend.c: Likewise.
40343         * rt/mq_unlink.c: Likewise.
40344         * rt/shm_open.c: Likewise.
40345         * rt/shm_unlink.c: Likewise.
40346         * rt/timer_create.c: Likewise.
40347         * rt/timer_delete.c: Likewise.
40348         * rt/timer_getoverr.c: Likewise.
40349         * rt/timer_gettime.c: Likewise.
40350         * rt/timer_settime.c: Likewise.
40351         * setjmp/__longjmp.c: Likewise.
40352         * setjmp/setjmp.c: Likewise.
40353         * signal/kill.c: Likewise.
40354         * signal/killpg.c: Likewise.
40355         * signal/raise.c: Likewise.
40356         * signal/sigaction.c: Likewise.
40357         * signal/sigaltstack.c: Likewise.
40358         * signal/sigblock.c: Likewise.
40359         * signal/sigignore.c: Likewise.
40360         * signal/sigintr.c: Likewise.
40361         * signal/signal.c: Likewise.
40362         * signal/sigpause.c: Likewise.
40363         * signal/sigpending.c: Likewise.
40364         * signal/sigqueue.c: Likewise.
40365         * signal/sigreturn.c: Likewise.
40366         * signal/sigset.c: Likewise.
40367         * signal/sigsetmask.c: Likewise.
40368         * signal/sigstack.c: Likewise.
40369         * signal/sigsuspend.c: Likewise.
40370         * signal/sigtimedwait.c: Likewise.
40371         * signal/sigvec.c: Likewise.
40372         * signal/sigwait.c: Likewise.
40373         * signal/sigwaitinfo.c: Likewise.
40374         * signal/sysv_signal.c: Likewise.
40375         * socket/accept.c: Likewise.
40376         * socket/accept4.c: Likewise.
40377         * socket/bind.c: Likewise.
40378         * socket/connect.c: Likewise.
40379         * socket/getpeername.c: Likewise.
40380         * socket/getsockname.c: Likewise.
40381         * socket/getsockopt.c: Likewise.
40382         * socket/isfdtype.c: Likewise.
40383         * socket/listen.c: Likewise.
40384         * socket/recv.c: Likewise.
40385         * socket/recvfrom.c: Likewise.
40386         * socket/recvmsg.c: Likewise.
40387         * socket/send.c: Likewise.
40388         * socket/sendmsg.c: Likewise.
40389         * socket/sendto.c: Likewise.
40390         * socket/setsockopt.c: Likewise.
40391         * socket/shutdown.c: Likewise.
40392         * socket/sockatmark.c: Likewise.
40393         * socket/socket.c: Likewise.
40394         * socket/socketpair.c: Likewise.
40395         * stdio-common/ctermid.c: Likewise.
40396         * stdio-common/cuserid.c: Likewise.
40397         * stdio-common/remove.c: Likewise.
40398         * stdio-common/rename.c: Likewise.
40399         * stdio-common/renameat.c: Likewise.
40400         * stdio-common/tempname.c: Likewise.
40401         * stdlib/getcontext.c: Likewise.
40402         * stdlib/makecontext.c: Likewise.
40403         * stdlib/setcontext.c: Likewise.
40404         * stdlib/swapcontext.c: Likewise.
40405         * stdlib/system.c: Likewise.
40406         * streams/fattach.c: Likewise.
40407         * streams/fdetach.c: Likewise.
40408         * streams/getmsg.c: Likewise.
40409         * streams/getpmsg.c: Likewise.
40410         * streams/putmsg.c: Likewise.
40411         * streams/putpmsg.c: Likewise.
40412         * sysdeps/unix/bsd/getpt.c: Likewise.
40413         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40414         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40415         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40417         Likewise.
40418         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40419         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40420         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40421         * sysvipc/msgctl.c: Likewise.
40422         * sysvipc/msgget.c: Likewise.
40423         * sysvipc/msgrcv.c: Likewise.
40424         * sysvipc/msgsnd.c: Likewise.
40425         * sysvipc/semctl.c: Likewise.
40426         * sysvipc/semget.c: Likewise.
40427         * sysvipc/semop.c: Likewise.
40428         * sysvipc/semtimedop.c: Likewise.
40429         * sysvipc/shmat.c: Likewise.
40430         * sysvipc/shmctl.c: Likewise.
40431         * sysvipc/shmdt.c: Likewise.
40432         * sysvipc/shmget.c: Likewise.
40433         * termios/tcdrain.c: Likewise.
40434         * termios/tcflow.c: Likewise.
40435         * termios/tcflush.c: Likewise.
40436         * termios/tcgetattr.c: Likewise.
40437         * termios/tcgetpgrp.c: Likewise.
40438         * termios/tcsendbrk.c: Likewise.
40439         * termios/tcsetattr.c: Likewise.
40440         * termios/tcsetpgrp.c: Likewise.
40441         * time/adjtime.c: Likewise.
40442         * time/clock.c: Likewise.
40443         * time/getitimer.c: Likewise.
40444         * time/gettimeofday.c: Likewise.
40445         * time/setitimer.c: Likewise.
40446         * time/settimeofday.c: Likewise.
40447         * time/stime.c: Likewise.
40448         * time/time.c: Likewise.
40450 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40452         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40453         /usr/old/bin.
40455         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40456         instead of spaces.
40457         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40459 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40461         [BZ #14796]
40462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40463         FE_TONEAREST before applying Dekker multiplication and Knuth
40464         addition.  Clear inexact exceptions and check for exact zero
40465         results afterwards.
40466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40467         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40468         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40469         * math/libm-test.inc (fma_test): Add more tests.
40470         (fma_test_towardzero): Likewise.
40471         (fma_test_downward): Likewise.
40472         (fma_test_upward): Likewise.
40473         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40474         function.
40475         (libc_fesetround): New macro.
40476         (libc_fesetroundf): Likewise.
40477         (libc_fesetroundl): Likewise.
40478         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40479         function.
40480         (libc_fesetround_387): Likewise.
40481         (libc_fesetroundf): New macro.
40482         (libc_fesetround): Likewise.
40483         (libc_fesetroundl): Likewise.
40484         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40485         function.
40486         (libc_fesetroundf): New macro.
40487         (libc_fesetround): Likewise.
40488         (libc_fesetroundl): Likewise.
40489         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40490         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40491         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40492         libm_hidden_ver.
40493         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40494         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40495         libm_hidden_def.
40496         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40497         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40498         libm_hidden_ver.
40499         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40500         libm_hidden_def.
40502         [BZ #3439]
40503         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40504         integer constant usable in #if and use that to give value to enum
40505         constant.
40506         (FE_DIVBYZERO): Likewise.
40507         (FE_UNDERFLOW): Likewise.
40508         (FE_OVERFLOW): Likewise.
40509         (FE_INVALID): Likewise.
40510         (FE_INVALID_SNAN): Likewise.
40511         (FE_INVALID_ISI): Likewise.
40512         (FE_INVALID_IDI): Likewise.
40513         (FE_INVALID_ZDZ): Likewise.
40514         (FE_INVALID_IMZ): Likewise.
40515         (FE_INVALID_COMPARE): Likewise.
40516         (FE_INVALID_SOFTWARE): Likewise.
40517         (FE_INVALID_SQRT): Likewise.
40518         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40519         (FE_TONEAREST): Likewise.
40520         (FE_TOWARDZERO): Likewise.
40521         (FE_UPWARD): Likewise.
40522         (FE_DOWNWARD): Likewise.
40523         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40524         (FE_DIVBYZERO): Likewise.
40525         (FE_OVERFLOW): Likewise.
40526         (FE_UNDERFLOW): Likewise.
40527         (FE_INEXACT): Likewise.
40528         (FE_TONEAREST): Likewise.
40529         (FE_DOWNWARD): Likewise.
40530         (FE_UPWARD): Likewise.
40531         (FE_TOWARDZERO): Likewise.
40532         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40533         (FE_UNDERFLOW): Likewise.
40534         (FE_OVERFLOW): Likewise.
40535         (FE_DIVBYZERO): Likewise.
40536         (FE_INVALID): Likewise.
40537         (FE_TONEAREST): Likewise.
40538         (FE_TOWARDZERO): Likewise.
40539         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40540         (FE_OVERFLOW): Likewise.
40541         (FE_UNDERFLOW): Likewise.
40542         (FE_DIVBYZERO): Likewise.
40543         (FE_INEXACT): Likewise.
40544         (FE_TONEAREST): Likewise.
40545         (FE_TOWARDZERO): Likewise.
40546         (FE_UPWARD): Likewise.
40547         (FE_DOWNWARD): Likewise.
40548         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40549         (FE_DIVBYZERO): Likewise.
40550         (FE_OVERFLOW): Likewise.
40551         (FE_UNDERFLOW): Likewise.
40552         (FE_INEXACT): Likewise.
40553         (FE_TONEAREST): Likewise.
40554         (FE_DOWNWARD): Likewise.
40555         (FE_UPWARD): Likewise.
40556         (FE_TOWARDZERO): Likewise.
40558 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40560         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40562 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40564         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40565         commands.  Quote $PWD.
40566         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40567         -x" by "export".
40568         (remove_newlines): Remove.
40570 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40572         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40573         * stdlib/stdlib.h (atof): Moved to ...
40574         * include/bits/stdlib-float.h: Here.  New file.
40575         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40576         * stdlib/bits/stdlib-float.h: New file.
40577         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40578         -mno-sse -mno-mmx.
40579         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40580         <xmmintrin.h>.
40582 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40584         * conform/conformtest.pl (@headers): Add fenv.h.
40585         * conform/data/fenv.h-data: New file.
40586         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40587         include of <math/fenv.h>.
40589         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40590         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40591         && !UNIX98].  Enables tests for XOPEN2K8.
40592         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40593         POSIX2008]: Likewise.
40595         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40596         (struct rusage): Do not expect type or its members.
40598         [BZ #3439]
40599         * math/math.h (FP_NAN): Define macro to integer constant usable in
40600         #if and use that to give value to enum constant.
40601         (FP_INFINITE): Likewise.
40602         (FP_ZERO): Likewise.
40603         (FP_SUBNORMAL): Likewise.
40604         (FP_NORMAL): Likewise.
40606 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40608         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40609         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40610         arguments.
40612 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40614         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40615         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40616         autoconf-time if not.
40617         * configure.in: Remove AC_PREREQ.
40619 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40621         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40622         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40623         of the internal implementation.
40625 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40627         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40628         except include of <misc/sys/syslog.h>.
40630 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40633         function returns with a NULL context exit with zero.
40635 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40637         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40639 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40641         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40642         (run_program_cmd): This.
40643         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40644         (tst_langinfo): New variable.  Use it.
40646 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40648         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40649         floating point opcodes.
40651 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40653         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40654         variable.
40656         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40658         * sysdeps/mach/hurd/powerpc: Remove directory.
40659         * sysdeps/mach/powerpc: Likewise.
40661 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40663         * scripts/check-local-headers.sh: Ignore c++ headers.
40665 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40667         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40668         __libc_cleanup_region_start argument.
40670 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40672         [BZ #14784]
40673         [BZ #14785]
40674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40675         x * y using scaling, not as x * y + z.
40676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40677         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40678         * math/libm-test.inc (fma_test): Add more tests.
40679         (fma_test_towardzero): Likewise.
40680         (fma_test_downward): Likewise.
40681         (fma_test_upward): Likewise.
40683 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40685         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40687 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40689         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40690         New variable.
40692 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40694         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40696 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40699         Fix sort order.
40700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40701         Likewise.
40703 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40706         Fix the order of the list for glibc 2.17.
40707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40708         Likewise.
40710 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40714 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40716         [BZ #14610]
40717         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40718         for low part of x being zero before using __atanl (y).
40719         * math/libm-test.inc (atan2_test): Add another test.
40721         * manual/install.texi (Configuring and compiling): Document
40722         general use of test-wrapper and test-wrapper-env.
40723         * INSTALL: Regenerated.
40725         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40726         (__fma): Do not extract and scale down low bits on after-rounding
40727         systems when result rounded to normal precision would have normal
40728         exponent.
40729         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40730         (__fmal): Do not extract and scale down low bits on after-rounding
40731         systems when result rounded to normal precision would have normal
40732         exponent.
40733         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40734         (__fmal): Do not extract and scale down low bits on after-rounding
40735         systems when result rounded to normal precision would have normal
40736         exponent.
40737         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40738         macro.
40739         (fma_test): Add more tests.
40740         (fma_test_towardzero): Likewise.
40741         (fma_test_downward): Likewise.
40742         (fma_test_upward): Likewise.
40744 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40746         * sysdeps/i386/tininess.h: Renamed to ...
40747         * sysdeps/x86/tininess.h: This.
40748         * sysdeps/x86_64/tininess.h: Removed.
40750 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40752         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40753         input.  Use $(build-program-cmd).
40754         ($(objpfx)tst-array1-static.out): Likewise.
40755         ($(objpfx)tst-array2.out): Likewise.
40756         ($(objpfx)tst-array3.out): Likewise.
40757         ($(objpfx)tst-array4.out): Likewise.
40758         ($(objpfx)tst-array5.out): Likewise.
40759         ($(objpfx)tst-array5-static.out): Likewise.
40761 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40763         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40764         if defined.
40766         * nss/nsswitch.h (nss_interface_function): Provide new
40767         macro for use with NSS functions.
40768         * grp/initgroups.c: Use new macro.
40769         * nss/getXXbyYY.c: Likewise.
40770         * nss/getXXbyYY_r.c: Likewise.
40771         * nss/getXXent.c: Likewise.
40772         * nss/getXXent_r.c: Likewise.
40773         * sysdeps/posix/getaddrinfo.c: Likewise.
40775 2012-10-30  Andreas Jaeger  <aj@suse.de>
40777         * po/ru.po: Update Russion translation from translation project.
40779 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40781         [BZ #14152]
40782         [BZ #14783]
40783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40784         result and shift together with sticky bit instead of replicating
40785         round-to-nearest rounding.
40786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40788         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40789         missing underflow exceptions.
40790         (fma_test_towardzero): Add more tests.
40791         (fma_test_downward): Likewise.
40792         (fma_test_upward): Likewise.
40794         [BZ #14047]
40795         * sysdeps/generic/tininess.h: New file.
40796         * sysdeps/i386/tininess.h: Likewise.
40797         * sysdeps/sh/tininess.h: Likewise.
40798         * sysdeps/x86_64/tininess.h: Likewise.
40799         * stdlib/tst-strtod-underflow.c: Likewise.
40800         * stdlib/tst-tininess.c: Likewise.
40801         * stdlib/strtod_l.c: Include <tininess.h>.
40802         (round_and_return): Do not set errno for exact underflow cases.
40803         Force an underflow exception when setting errno for underflow.
40804         Determine underflow based on rounding to normal precision if
40805         TININESS_AFTER_ROUNDING.
40806         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40807         ERANGE for exact underflow cases.
40808         * stdlib/Makefile (tests): Add tst-tininess and
40809         tst-strtod-underflow.
40810         ($(objpfx)tst-tininess): Use $(link-libm).
40811         ($(objpfx)tst-strtod-underflow): Likewise.
40813 2012-10-30  Andreas Jaeger  <aj@suse.de>
40815         [BZ#14767]
40816         * elf/Makefile (tests): Remove conditional for have-initfini-array
40817         since this is now always required and the variable does not exist
40818         anymore.
40819         (tests-static): Likewise.
40820         (modules-names): Likewise.
40822         * po/eo.po: Add Esperanto translation from translation project.
40824         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40825         merged with constructor/destructor.
40826         (init_array): Likewise.
40827         * elf/tst-array2dep.c (fini_array): Likewise.
40828         (init_array): Likewise.
40830 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40832         * manual/message.texi: Delete @cartouche tags.
40834 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40836         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40837         EOPNOTSUPP.
40838         * sysdeps/mach/hurd/fsync.c: Likewise.
40840         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40841         [_POSIX_REALTIME_SIGNALS]: Change condition to
40842         [_POSIX_REALTIME_SIGNALS > 0].
40844 2012-10-27  Andreas Jaeger  <aj@suse.de>
40846         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40847         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40848         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40849         [__WORDSIZE != 64]: Likewise.
40851 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40853         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40854         *  iconvdata/tst-tables.sh: Likewise.
40856 2012-10-25  David S. Miller  <davem@davemloft.net>
40858         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40859         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40860         of strtoull.
40862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40863         ifunc-impl-list.c
40864         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40865         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40866         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40867         file.
40869 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40871         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40872         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40873         __getdirentries.
40875 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40876             Jim Blandy  <jimb@codesourcery.com>
40878         * scripts/cross-test-ssh.sh: New file.
40879         * manual/install.texi (Configuring and compiling): Document use of
40880         cross-test-ssh.sh.
40881         * INSTALL: Regenerated.
40883 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40885         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40886         EOPNOTSUPP.
40888 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40890         * Makeconfig (run-program-prefix): Fix comment.
40892 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40893             Jim Blandy  <jimb@codesourcery.com>
40895         * Makeconfig (test-wrapper): New variable,
40896         (test-wrapper-env): Likewise.
40897         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40898         (run-built-tests): Define to yes.
40899         (run-program-prefix): Use $(test-wrapper).
40900         (built-program-cmd): Likewise.
40901         * Rules (make-test-out): Use $(test-wrapper-env) and
40902         $(host-built-program-cmd).
40903         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40904         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40905         tst-pathopt.sh.
40906         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40907         $(test-wrapper-env) to tst-rtld-load-self.sh.
40908         ($(objpfx)order2.out): Use $(test-wrapper).
40909         ($(objpfx)tst-initorder.out): Likewise.
40910         ($(objpfx)tst-initorder2.out): Likewise.
40911         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40912         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40913         (test_wrapper_env): New variable.  Use it to run ld.so.
40914         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40915         Use it to run ld.so.
40916         (test_wrapper_env): Likewise.
40917         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40918         $(test-wrapper) to run-iconv-test.sh.
40919         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40920         (ICONV): Use $test_wrapper.
40921         * posix/Makefile ($(objpfx)globtest.out): Pass
40922         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40923         globtest.sh, not $(run-program-prefix).
40924         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40925         (test_wrapper): Likewise.
40926         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40927         set together with run_via_rtld_prefix.
40928         (run_program_prefix): Define in terms of test_wrapper and
40929         run_via_rtld_prefix.
40931 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40933         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40934         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40935         Targets removed.
40937         [BZ #14743]
40938         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40939         Declare __clock_getres, __clock_gettime, __clock_settime,
40940         __clock_nanosleep, and __clock_getcpuclockid.
40941         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40942         Remove librt_hidden_def (clock_gettime).
40943         * sysdeps/unix/clock_gettime.c: Likewise.
40944         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40945         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40946         * rt/clock_getres.c: Define __clock_getres as an alias.
40947         * sysdeps/posix/clock_getres.c: Likewise.
40948         * rt/clock_settime.c: Define __clock_settime as an alias.
40949         * sysdeps/unix/clock_settime.c: Likewise.
40950         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40951         * sysdeps/unix/clock_nanosleep.c: Likewise.
40952         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40953         * rt/clock-compat.c: New file.
40954         * rt/Makefile (librt-routines): Add clock-compat and move
40955         $(clock-routines) to ...
40956         (routines): ... here, new variable.
40957         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40958         Don't add get_clockfreq here.
40959         * rt/Versions (libc: GLIBC_2.17): New version set.
40960         Add clock_* symbols here.
40961         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40962         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40963         (GLIBC_2.17): Add clock_* symbols.
40964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40968         Likewise.
40969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40970         Likewise.
40971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40975         * NEWS: Mention the move.
40977         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40978         Use __open, __read, __close rather than their public counterparts.
40979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40980         (__get_clockfreq_via_cpuinfo): Likewise.
40981         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40982         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40984         * config.h.in (HAVE_IFUNC): New #undef.
40985         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40986         was successful.
40987         * configure: Regenerated.
40989 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40991         * configure.in: Move READELF check to start of file.
40992         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40993         libc_cv_asm_gnu_indirect_function in the process.
40994         * configure: Regenerated.
40996 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40998         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40999         send the output to /dev/null.
41000         (libc_cv_cc_with_libunwind): Likewise.
41001         (libc_cv_as_noexecstack): Likewise.
41002         * configure: Regenerate.
41004 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41006         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41008         * posix/globtest.sh (TMPDIR): Do not set.
41009         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41010         (testout): Likewise.
41012 2012-10-24  Andreas Jaeger  <aj@suse.de>
41014         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41015         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41016         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41017         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41018         posix_fadvise64, posix_fallocate64.
41020         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41021         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41022         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41023         Likewise.
41024         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41025         Likewise.
41026         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41029         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41030         <bits/fcntl-linux.h>.
41031         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41033         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41034         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41035         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41036         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41037         [__WORDSIZE != 64]: Likewise.
41039 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41041         * Makeconfig (run-built-tests): New variable.
41042         * Rules [$(cross-compiling) = yes]: Change condition to
41043         [$(run-built-tests) = no].
41044         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41045         to [$(run-built-tests) = yes].
41046         * elf/Makefile [$(cross-compiling) = no]: Likewise
41047         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41048         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41049         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41050         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41051         * io/Makefile [$(cross-compiling) = no]: Likewise.
41052         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41053         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41054         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41055         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41056         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41057         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41058         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41059         * string/Makefile [$(cross-compiling) = no]: Likewise.
41061         * posix/Makefile ($(objpfx)globtest.out): Pass
41062         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41063         $(rtld-installed-name).
41064         * posix/globtest.sh (elf_objpfx): Remove variable.
41065         (rtld_installed_name): Likewise.
41066         (library_path): Likewise.
41067         (run_program_prefix): New variable.  Use for running globtest
41068         binary.
41070 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41071             Joseph Myers  <joseph@codesourcery.com>
41073         * Makeconfig (host-built-program-cmd): New variable.
41074         * elf/Makefile (tst-stackguard1-ARGS): Use
41075         $(host-built-program-cmd).
41076         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41077         (tst-spawn-ARGS): Likewise.
41078         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41080 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41081             Jim Blandy  <jimb@codesourcery.com>
41083         * Makeconfig (run-via-rtld-prefix): New variable.
41084         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41085         (built-program-cmd): Likewise.
41087 2012-10-22  Andreas Jaeger  <aj@suse.de>
41089         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41090         __O_RSYNC if it exists, otherwise to O_SYNC.
41092 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41093             Joseph Myers  <joseph@codesourcery.com>
41095         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41096         /dev/null.
41097         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41098         from /dev/null
41099         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41100         /dev/null.
41102 2012-10-22  Andreas Jaeger  <aj@suse.de>
41104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41105         Define always.
41106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41109         bits/fcntl-linux.h.
41111         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41112         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41115         to __O_LARGEFILE.
41116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41117         to __O_LARGEFILE.
41119 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41120             Joseph Myers  <joseph@codesourcery.com>
41122         * config.make.in (NM): New variable.
41124 2012-10-21  Andreas Jaeger  <aj@suse.de>
41126         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41127         definitions and declarations that are provided by
41128         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41130 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41132         [BZ #14683]
41133         * elf/Makefile (tests-static): Add tst-leaks1-static.
41134         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41135         ($(objpfx)tst-leaks1-static): New rule.
41136         ($(objpfx)tst-leaks1-static-mem): Likewise.
41137         (tst-leaks1-static-ENV): New macro.
41138         * elf/dl-open.c (dl_open_worker): Check the main application
41139         only if SHARED is defined.
41140         * elf/tst-leaks1-static.c: New file.
41142 2012-10-20  Andreas Jaeger  <aj@suse.de>
41144         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41145         generic values for Linux.
41146         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41147         and declarations that are provided by <bits/fcntl-linux.h> and
41148         include <bits/fcntl-linux.h>.
41149         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41150         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41152 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41154         * io/fcntl.h: Move include of <bits/types.h> to the top and
41155         include it unconditionally.
41157 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41159         * wcsmbs/Makefile (tests-ifunc): New variable.
41160         (tests): Add $(tests-ifunc).
41161         * wcsmbs/test-wcschr-ifunc.c: New file.
41162         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41163         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41164         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41165         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41166         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41168         * string/Makefile (tests-ifunc): New variable.
41169         (tests): Add $(tests-ifunc).
41170         * string/test-memccpy.c (TEST_NAME): New macro.
41171         * string/test-memchr.c (TEST_NAME): Likewise.
41172         * string/test-memcmp.c (TEST_NAME): Likewise.
41173         * string/test-memcpy.c (TEST_NAME): Likewise.
41174         * string/test-memmem.c (TEST_NAME): Likewise.
41175         * string/test-memmove.c (TEST_NAME): Likewise.
41176         * string/test-memset.c (TEST_NAME): Likewise.
41177         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41178         * string/test-stpcpy.c (TEST_NAME): Likewise.
41179         * string/test-stpncpy.c (TEST_NAME): Likewise.
41180         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41181         * string/test-strcasestr.c (TEST_NAME): Likewise.
41182         * string/test-strcat.c (TEST_NAME): Likewise.
41183         * string/test-strchr.c (TEST_NAME): Likewise.
41184         * string/test-strcmp.c(TEST_NAME): Likewise.
41185         * string/test-strcpy.c (TEST_NAME): Likewise.
41186         * string/test-strcspn.c (TEST_NAME): Likewise.
41187         * string/test-strlen.c (TEST_NAME): Likewise.
41188         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41189         * string/test-strncmp.c (TEST_NAME): Likewise.
41190         * string/test-strncpy.c (TEST_NAME): Likewise.
41191         * string/test-strnlen.c (TEST_NAME): Likewise.
41192         * string/test-strpbrk.c (TEST_NAME): Likewise.
41193         * string/test-strrchr.c (TEST_NAME): Likewise.
41194         * string/test-strspn.c (TEST_NAME): Likewise.
41195         * string/test-strstr.c (TEST_NAME): Likewise.
41196         * string/test-bcopy-ifunc.c: New file.
41197         * string/test-bzero-ifunc.c: Likewise.
41198         * string/test-memccpy-ifunc.c: Likewise.
41199         * string/test-memchr-ifunc.c: Likewise.
41200         * string/test-memcmp-ifunc.c: Likewise.
41201         * string/test-memcpy-ifunc.c: Likewise.
41202         * string/test-memmem-ifunc.c: Likewise.
41203         * string/test-memmove-ifunc.c: Likewise.
41204         * string/test-mempcpy-ifunc.c: Likewise.
41205         * string/test-memset-ifunc.c: Likewise.
41206         * string/test-rawmemchr-ifunc.c: Likewise.
41207         * string/test-stpcpy-ifunc.c: Likewise.
41208         * string/test-stpncpy-ifunc.c: Likewise.
41209         * string/test-strcasecmp-ifunc.c: Likewise.
41210         * string/test-strcasestr-ifunc.c: Likewise.
41211         * string/test-strcat-ifunc.c: Likewise.
41212         * string/test-strchr-ifunc.c: Likewise.
41213         * string/test-strchrnul-ifunc.c: Likewise.
41214         * string/test-strcmp-ifunc.c: Likewise.
41215         * string/test-strcpy-ifunc.c: Likewise.
41216         * string/test-strcspn-ifunc.c: Likewise.
41217         * string/test-strlen-ifunc.c: Likewise.
41218         * string/test-strncasecmp-ifunc.c: Likewise.
41219         * string/test-strncat-ifunc.c: Likewise.
41220         * string/test-strncmp-ifunc.c: Likewise.
41221         * string/test-strncpy-ifunc.c: Likewise.
41222         * string/test-strnlen-ifunc.c: Likewise.
41223         * string/test-strpbrk-ifunc.c: Likewise.
41224         * string/test-strrchr-ifunc.c: Likewise.
41225         * string/test-strspn-ifunc.c: Likewise.
41226         * string/test-strstr-ifunc.c: Likewise.
41228         * debug/Makefile (tests-ifunc): New variable.
41229         (tests): Add $(tests-ifunc).
41230         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41231         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41232         * debug/test-stpcpy_chk-ifunc.c: New file.
41233         * debug/test-strcpy_chk-ifunc.c: Likewise.
41235 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41237         [BZ #13601]
41238         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41239         header is not read in.
41241 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41243         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41244         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41245         directly.  Pass built executable to script as
41246         $(built-program-cmd).
41247         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41248         $testprogram without using LD_LIBRARY_PATH and $ldso.
41250         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41251         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41252         $(rtld-installed-name).
41253         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41254         (rtld_installed_name): Likewise.
41255         (library_path): Likewise.
41256         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41257         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41258         $(run-program-prefix) to tst-tables.sh.
41259         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41260         it to run tst-table-from and tst-table-to.
41261         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41262         Pass it to tst-table.sh.
41263         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41264         $(run-program-prefix) to tst-gettext.sh.
41265         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41266         tst-translit.sh.
41267         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41268         tst-gettext2.sh.
41269         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41270         to run tst-gettext.
41271         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41272         to run tst-gettext2.
41273         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41274         to run tst-translit.
41275         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41276         $(run-program-prefix) to tst-mtrace.sh.
41277         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41278         to run tst-mtrace.
41279         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41280         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41281         $(rtld-installed-name).
41282         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41283         (rtld_installed_name): Likewise.
41284         (run_program_prefix): New variable.  Use it to run wordexp-test.
41286         * Makeconfig (ARCH): Remove all definitions.
41287         (machine): Likewise.
41288         [ARCH]: Remove conditional code.
41289         [!objdir]: Give error.
41290         [!objdir] (objpfx): Remove.
41291         [!objdir] (common-objpfx): Likewise.
41292         [!objdir] (common-objdir): Likewise.
41293         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41294         AC_CONFIG_FILES call.
41295         * configure: Regenerated.
41297         [BZ #13888]
41298         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41299         or TMPDIR.
41300         (testout): Likewise.
41302         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41303         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41304         $(rtld-installed-name).
41305         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41306         (rtld_installed_name): Likwise.
41307         (runit): Remove function.
41308         (run_getconf): New variable,  Use it for running getconf binary.
41310 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41312         [BZ #14716]
41313         * string/test-memmem.c (check_result): New function.
41314         (do_one_test): Use it.
41315         (check1): New function.
41316         (test_main): Use it.
41318 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41320         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41322 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41324         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41325         (_G_LSEEK64): Likewise.
41326         (_G_MMAP64): Likewise.
41327         (_G_FSTAT64): Likewise.
41328         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41329         (_G_LSEEK64): Likewise.
41330         (_G_MMAP64): Likewise.
41331         (_G_FSTAT64): Likewise.
41332         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41333         unconditional.  Call __mmap64 directly.
41334         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41335         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41336         __lseek64 directly.
41337         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41338         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41339         __mmap64 directly.
41340         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41341         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41342         __lseek64 directly.
41343         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41344         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41345         __lseek64 directly.
41346         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41347         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41348         __lseek64 directly.
41349         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41350         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41351         __fxstat64 directly.
41352         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41353         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41354         unconditional.
41355         (freopen64) [!_G_OPEN64]: Remove conditional code.
41356         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41357         unconditional.
41358         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41359         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41360         unconditional.
41361         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41362         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41363         unconditional.
41364         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41365         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41366         unconditional.
41367         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41368         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41369         unconditional.
41370         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41371         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41372         unconditional.
41373         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41374         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41375         unconditional.
41376         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41378 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41380         [BZ #12140]
41381         * manual/memory.texi (Malloc Tunable Parameters): Add note
41382         about free list pointers overwriting some perturb bytes.
41383         Wording suggested by Roland McGrath.
41385 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41387         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41388         (lgamma_test): Likewise.
41389         (tgamma_test): Likewise.
41391 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41393         [BZ #14700]
41394         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41395         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41397 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41399         * NEWS: Mention BZ #14716.
41400         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41401         when removing AVAILABLE1_USES_J macro.
41403 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41405         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41406         (__bswap_64): __uint64_t for unsigned 64-bit int.
41408 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41410         * include/string.h (memmem): Declare libc hidden alias.
41411         * string/memmem.c (memmem): Define libc hidden alias.
41412         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41413         __read, __close instead of open, read, close.
41415 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41418         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41419         global and hidden.
41420         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41421         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41422         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41423         Likewise.
41424         (__rawmemchr_sse2): Likewise.
41425         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41426         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41427         (__strchr_sse2): Likewise.
41428         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41429         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41430         (__strcasecmp_sse2): Likewise.
41431         (__strncasecmp_sse2): Likewise.
41432         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41433         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41434         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41435         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41436         (__strrchr_sse2): Likewise.
41437         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41438         ifunc-impl-list.c.
41439         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41440         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41441         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41442         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41443         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41444         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41445         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41446         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41447         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41448         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41449         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41450         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41451         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41452         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41453         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41454         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41455         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41456         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41457         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41458         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41459         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41460         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41461         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41462         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41463         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41464         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41465         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41466         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41467         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41468         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41470         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41471         global and hidden.
41472         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41473         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41474         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41475         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41476         Likewise.
41477         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41478         Likewise.
41479         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41480         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41481         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41482         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41483         ifunc-impl-list.c.
41484         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41485         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41486         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41487         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41488         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41489         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41490         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41491         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41492         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41493         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41494         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41495         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41496         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41497         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41498         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41499         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41500         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41501         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41502         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41503         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41504         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41505         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41506         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41507         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41508         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41509         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41510         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41511         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41512         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41513         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41514         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41515         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41516         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41517         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41518         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41519         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41520         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41521         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41522         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41523         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41524         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41526         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41527         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41528         * include/ifunc-impl-list.h: New file.
41529         * misc/ifunc-impl-list.c: Likewise.
41530         * misc/Makefile (routines): Add ifunc-impl-list.
41531         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41532         * string/test-string.h: Include <ifunc-impl-list.h>.
41533         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41534         TEST_NAME]: New variables.
41535         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41536         are defined.
41537         (test_init): Call __libc_ifunc_impl_list to initialize
41538         func_list if TEST_IFUNC and TEST_NAME are defined.
41540         * string/Makefile (strop-tests): Add bcopy and bzero.
41541         * string/test-bcopy.c: New file.
41542         * string/test-bzero.c: Likewise.
41543         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41544         defined.
41545         * string/test-memset.c: Support bzero test if TEST_BZERO is
41546         defined.
41547         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41548         __libc_memmove.
41549         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41550         __libc_memset.
41551         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41552         of memset.
41554 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41556         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41557         * configure: Regenerated.
41559         * Makeconfig (+link-static-before-libc): Don't include
41560         $(link-static-libc).
41562         * libio/libio.h (_IO_pos_t): Remove.
41564 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41566         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41567         McGrath.
41569 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41571         * crypt/crypt-entry.c: Include fips-private.h.
41572         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41573         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41574         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41575         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41577 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41579         * crypt/crypt-private.h: Include stdbool.h.
41580         (_ufc_setup_salt_r): Return bool.
41581         * crypt/crypt-entry.c: Include errno.h.
41582         (__crypt_r): Return NULL with EINVAL for bad salt.
41583         * crypt/crypt_util.c (bad_for_salt): New.
41584         (_ufc_setup_salt_r): Check that salt is long enough and within
41585         the specified alphabet.
41586         * crypt/badsalttest.c: New file.
41587         * crypt/Makefile (tests): Add it.
41588         ($(objpfx)badsalttest): New.
41590 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41592         * NEWS: Add entry for BZ #14602.
41594 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41596         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41597         type-generic.
41598         * math/libm-test.inc: Update comment listing what functions and
41599         macros are tested.
41600         (isgreater_test): New function.
41601         (isgreaterequal_test): Likewise.
41602         (isless_test): Likewise.
41603         (islessequal_test): Likewise.
41604         (islessgreater_test): Likewise.
41605         (isunordered_test): Likewise.
41606         (main): Call the new functions.
41608 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41610         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41611         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41612         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41613         * sysdeps/i386/configure: Regenerated.
41614         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41615         * sysdeps/mach/configure: Regenerated.
41616         * sysdeps/mach/hurd/configure: Regenerated.
41617         * sysdeps/powerpc/configure: Regenerated.
41618         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41619         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41620         * sysdeps/s390/s390-32/configure: Regenerated.
41621         * sysdeps/s390/s390-64/configure: Regenerated.
41622         * sysdeps/sh/configure: Regenerated.
41623         * sysdeps/sparc/configure: Regenerated.
41624         * sysdeps/unix/sysv/linux/configure: Regenerated.
41625         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41626         * sysdeps/x86_64/configure: Regenerated.
41628         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41629         defined.  Don't check if MAP is NULL.
41631 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41633         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41634         (_G_stat64): Likewise.
41635         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41636         (_G_stat64): Likewise.
41637         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41638         instead of struct _G_stat64.
41639         * libio/fileops.c (mmap_remap_check): Likewise.
41640         (decide_maybe_mmap): Likewise.
41641         (_IO_new_file_seekoff): Likewise.
41642         (_IO_file_stat): Likewise.
41643         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41644         _G_off64_t.
41645         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41646         instead of struct _G_stat64.
41647         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41649 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41651         [BZ #14602]
41652         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41653         Replace with ...
41654         (CHECK_EOL): New macro.
41655         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41656         CHECK_EOL.
41657         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41658         Replace with CHECK_EOL.
41659         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41660         Replace with CHECK_EOL.
41662 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41664         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41665         type-generic.
41666         * math/libm-test.inc: Update comment listing what functions and
41667         macros are tested.
41668         (finite_test): New function.
41669         (isinf_test): Likewise.
41670         (isnan_test): Likewise.
41671         (fpclassify_test): Test subnormal input.
41672         (isfinite_test): Likewise.
41673         (isnormal_test): Likewise.
41674         (main): Call the new functions.
41676 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41678         [BZ #14660]
41679         * Makerules (%.dynsym): Force C locale when running
41680         $(OBJDUMP) --dynamic-syms.
41682 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41684         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41685         <stdint.h>.
41687 2012-10-06  David S. Miller  <davem@davemloft.net>
41689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41690         upper 32-bits of the length value in %o2 since we use branch-on-register
41691         tests which consider the entire 64-bit register.
41693 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41695         * string/test-strstr.c (check2): Add a test for page boundary.
41697 2012-10-05  David S. Miller  <davem@davemloft.net>
41699         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41700         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41701         file.
41702         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41703         sysdep_routines.
41704         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41705         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41706         and bzero when HWCAP_SPARC_CRYPTO is present.
41708 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41710         [BZ #14602]
41711         * string/test-strstr.c (check2): New function.
41712         (test_main): Call check2.
41714         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41715         and bug-strchr1.
41716         * string/bug-strcasestr1.c (do_test): Moved to ...
41717         * string/test-strcasestr.c (check1): Here.  New function.
41718         (do_one_test): Break out result checking code into ...
41719         (check_result): This.  New function.
41720         (do_one_test): Call check_result.
41721         (test_main): Call check1.
41722         * string/bug-strchr1.c (do_test): Moved to ...
41723         * string/test-strchr.c (check1): Here.  New function.
41724         (do_one_test): Break out result checking code into ...
41725         (check_result): This.  New function.
41726         (do_one_test): Call check_result.
41727         (test_main): Call check1.
41728         * string/bug-strstr1.c (main): Moved to ...
41729         * string/test-strstr.c (check1): Here.  New function.
41730         (do_one_test): Break out result checking code into ...
41731         (check_result): This.  New function.
41732         (do_one_test): Call check_result.
41733         (test_main): Call check1.
41734         * string/bug-strcasestr1.c: Removed.
41735         * string/bug-strchr1.c: Likewise.
41736         * string/bug-strstr1.c: Likewise.
41738         * elf/Makefile (dl-routines): Add hwcaps.
41739         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41740         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41741         (_dl_important_hwcaps): Moved to ...
41742         * elf/dl-hwcaps.c: Here.  New file.
41743         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41745         [BZ #14557]
41746         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41747         if IS_IN_rtld isn't defined.
41749         * elf/dl-support.c (_dl_sysinfo_map): New.
41750         Include "get-dynamic-info.h" and "setup-vdso.h".
41751         (_dl_non_dynamic_init): Call setup_vdso.
41752         * elf/dynamic-link.h: Don't include <assert.h>.
41753         (elf_get_dynamic_info): Moved to ...
41754         * elf/get-dynamic-info.h: Here.  New file.
41755         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41756         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41757         * elf/setup-vdso.h: Here.  New file.
41758         * elf/rtld.c: Include "setup-vdso.h".
41759         (dl_main): Call setup_vdso.
41761 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41763         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41764         creal in comment listing functions tested.  List finite, isinf,
41765         isnan, isless, islessequal, isgreater, isgreaterequal,
41766         islessgreater, isunordered, lgamma_r and pow10 as functions and
41767         macros not tested.  Mention which functions not tested are aliases
41768         for other functions.  Fix typo.  Note that signs of NaNs are not
41769         tested.
41771         * scripts/config.guess: Update from config.git.
41772         * scripts/config.sub: Likewise.
41774 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41776         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41777         * misc/madvise.c (madvise): Renamed to __madvise.
41778         Make madvise a weak alias.
41779         * include/sys/mman.h: Declare __madvise.
41780         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41781         * sysdeps/unix/syscalls.list
41782         (madvise): Make __madvise the strong name, and madvise a weak alias.
41783         * sysdeps/unix/sysv/linux/syscalls.list
41784         (madvise, mmap): Remove redundant entries.
41785         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41786         * malloc/malloc.c (mtrim): Likewise.
41787         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41789 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41791         * sysdeps/mach/hurd/dl-cache.c: File removed.
41792         * config.h.in (USE_LDCONFIG): New #undef.
41793         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41794         * configure: Regenerated.
41795         * elf/Makefile (dl-routines): Add dl-cache only under
41796         [$(use-ldconfig) = yes].
41797         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41798         cache on [USE_LDCONFIG].
41799         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41800         [USE_LDCONFIG].
41801         * elf/rtld.c (dl_main): Likewise.
41803 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41805         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41806         _SC_LEVEL4_CACHE_LINESIZE.
41808 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41810         * sysdeps/unix/bsd/confstr.h: File removed.
41812 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41814         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41815         sys/sdt-config.h.
41817 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41819         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41820         Make 'mapoff' field ElfW(Off) rather than off_t.
41822 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41824         * nscd/Makefile: Remove nscd-cflags and all its users.
41825         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41826         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41828         [BZ #10631]
41829         * malloc.c (malloc_printerr): Clarify error message.
41831 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41833         [BZ #14648]
41834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41835         Set bit_FMA_Usable if FMA is supported.
41836         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41837         macro.
41838         (bit_FMA4_Usable): Updated.
41839         (index_FMA_Usable): New macro.
41840         (CPUID_FMA): Likewise
41841         (HAS_FMA): Defined with bit_FMA_Usable.
41843 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41845         * bits/types.h (__swblk_t): Type removed.
41846         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41847         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41848         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41849         (__SWBLK_T_TYPE): Likewise.
41850         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41851         (__SWBLK_T_TYPE): Likewise.
41852         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41853         (__SWBLK_T_TYPE): Likewise.
41854         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41855         (__SWBLK_T_TYPE): Likewise.
41857 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41858             Honza Horak <hhorak@redhat.com>
41860         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41861         (xdr_mapname): Use YPMAXMAP as maxsize.
41862         (xdr_peername): Use YPMAXPEER as maxsize.
41863         (xdr_keydat): Use YPAXRECORD as maxsize.
41864         (xdr_valdat): Use YPMAXRECORD as maxsize.
41866 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41868         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41870         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41871         * csu/init-first.c: ... here.
41872         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41873         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41874         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41875         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41876         * sysdeps/i386/init-first.c: File removed.
41877         * sysdeps/sh/init-first.c: File removed.
41879 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41881         [BZ #14645]
41882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41883         if x * y might underflow to zero and z is zero.
41884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41885         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41886         * math/libm-test.inc (min_subnorm_value): New variable.
41887         (fma_test): Add more tests.
41888         (fma_test_towardzero): Likewise.
41889         (fma_test_downward): Likewise
41890         (fma_test_upward): Likewise.
41891         (initialize): Set min_subnorm_value.
41893 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41895         [BZ #14638]
41896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41897         0 + 0.
41898         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41899         mode for addition resulting in exact zero.
41900         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41902         exact 0 + 0.
41903         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41904         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41905         * math/libm-test.inc (fma_test): Add more tests.
41906         (fma_test_towardzero): New function.
41907         (fma_test_downward): Likewise.
41908         (fma_test_upward): Likewise.
41909         (main): Call the new functions.
41911 2012-09-28  David S. Miller  <davem@davemloft.net>
41913         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41915 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41917         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41918         instead of SIGALRM.
41920         * sysdeps/gnu/_G_config.h: Moved to ...
41921         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41922         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41923         * sysdeps/generic/_G_config.h: ... here.
41925         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41927         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41929         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41930         Conditionalize target on [libnss_test1.so-version].
41932         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41934         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41935         (elfobjdir): Move out of conditionals.
41937         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41938         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41939         (__nss_lookup_function): Conditionalize label remove_from_tree on
41940         [!DO_STATIC_NSS || SHARED], matching its only use.
41942 2012-09-28  David S. Miller  <davem@davemloft.net>
41944         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41945         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41946         file.
41947         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41948         sysdep_routines.
41949         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41951         when HWCAP_SPARC_CRYPTO is present.
41953 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41955         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41957 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41959         [BZ #6530]
41960         * stdio-common/vfprintf.c (process_string_arg): Revert
41961         2000-07-22 change.
41963 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41965         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41966         for testcase.
41967         * stdio-common/tst-sprintf.c: Include <locale.h>
41968         (main): Test sprintf's handling of incomplete multibyte
41969         characters.
41971 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41973         * elf/dl-runtime.c (VERSYMIDX): Removed.
41974         * elf/dl-version.c (VERSYMIDX): Likewise.
41975         * elf/do-rel.h (VERSYMIDX): Likewise.
41976         (VALIDX): Likewise.
41977         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41978         * elf/rtld.c (VALIDX): Likewise.
41979         (ADDRIDX): Likewise.
41980         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41981         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41982         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41983         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41984         (VALIDX): Likewise.
41985         (ADDRIDX): Likewise.
41987 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41989         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41991 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41993         [BZ #11438]
41994         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41995         to global scope.
41996         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41997         addresses are in the same scope as 192.0.2/24.
41998         * posix/gai.conf: Document new scope table defaults.
42000 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42002         [BZ #5298]
42003         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42004         for ftell.  Compute offsets from write pointers instead.
42005         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42007 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42009         [BZ #14543]
42010         * libio/Makefile (tests): New test case tst-fseek.
42011         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42012         combination works in wide mode.
42013         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42014         state when the external buffer state changes.
42016 2012-09-27  David S. Miller  <davem@davemloft.net>
42018         [BZ #14376]
42019         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42020         pass reloc->r_addend in as the 'high' argument to
42021         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42025 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42027         * rt/tst-aio2.c: Include <pthread.h>.
42028         * rt/tst-aio3.c: Likewise.
42030 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42032         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42034 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42036         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42037         contents on [SHARED].
42039 2012-09-26  Marek Polacek  <polacek@redhat.com>
42041         [BZ #14530]
42042         [BZ #13741]
42043         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42044         for C++ and GCC <4.3 as well as for non GCC compilers.
42046 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42050 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42052         * Makefile.in (all, install): Declare with .PHONY.
42053         Reported by Michael Hope <michael.hope@linaro.org>.
42055 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42057         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42058         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42059         system header.
42060         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42061         Likewise.
42062         (sydep_routines): Add the new and the internal functions.
42063         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42064         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42066         (GLIBC_2.17): Add the new function.
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42068         (GLIBC_2.17): Likewise.
42069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42070         (GLIBC_2.17): Likewise.
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42072         (GLIBC_2.17): Likewise.
42073         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42075 2012-09-25  Alan Modra  <amodra@gmail.com>
42077         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42078         Add release barrier before setting once_control to say
42079         initialisation is done.  Add hints on lwarx.  Use macro in
42080         place of isync.
42081         (clear_once_control): Add release barrier.
42083 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42085         [BZ #13629]
42086         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42087         specially.
42088         * math/s_clog10.c (__clog10): Likewise.
42089         * math/s_clog10f.c (__clog10f): Likewise.
42090         * math/s_clog10l.c (__clog10l): Likewise.
42091         * math/s_clogf.c (__clogf): Likewise.
42092         * math/s_clogl.c (__clogl): Likewise.
42093         * math/Makefile (libm-calls): Add x2y2m1.
42094         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42095         (__x2y2m1): Likewise.
42096         (__x2y2m1l): Likewise.
42097         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42098         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42100         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42101         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42102         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42103         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42104         * sysdeps/i386/fpu/libm-test-ulps: Update.
42105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42107         [BZ #14621]
42108         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42109         int as type of variable DEPTH.
42110         (glob): Use size_t instead of int as type of variables NEWCOUNT
42111         and OLD_PATHC.
42113 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42115         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42116         Add s_sincosf-sse2.
42117         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42118         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42119         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42120         macros for using routine as __sincosf_ia32.
42121         Use macro for function declaration and weak_alias.
42122         * sysdeps/i386/fpu/libm-test-ulps: Update.
42124         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42127         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42128         subnormal argument.
42129         * math/s_cexpf.c (__cexpf): Likewise.
42130         * math/s_csinf.c (__csinf): Likewise.
42131         * math/s_csinhf.c (__csinhf): Likewise.
42132         * math/s_ctanf.c (__ctanf): Likewise.
42133         * math/s_ctanhf.c (__ctanhf): Likewise.
42134         * math/s_ccosh.c (__ccoshf): Likewise.
42135         * math/s_cexp.c (__cexpl): Likewise.
42136         * math/s_csin.c (__csin): Likewise.
42137         * math/s_csinh.c (__csinh): Likewise.
42138         * math/s_ctan.c (__ctan): Likewise.
42139         * math/s_ctanh.c (ctanh): Likewise.
42140         * math/s_ccoshl.c (__ccoshl): Likewise.
42141         * math/s_cexpl.c (__cexpl): Likewise.
42142         * math/s_csinl.c (__csinl): Likewise.
42143         * math/s_csinhl.c (__csinhl): Likewise.
42144         * math/s_ctanl.c (__ctanl): Likewise.
42145         * math/s_ctanhl.c (__ctanhl): Likewise.
42147 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42149         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42150         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42151         (_IO_off_t): Define to __off_t, not _G_off_t.
42152         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42153         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42154         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42155         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42156         type of __dummy and __dummy2 fields.
42157         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42158         (_G_ssize_t): Likewise.
42159         (_G_off_t): Likewise.
42160         (_G_pid_t): Likewise.
42161         (_G_uid_t): Likewise.
42162         (_G_wchar_t): Likewise.
42163         (_G_wint_t): Likewise.
42164         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42165         (_G_ssize_t): Likewise.
42166         (_G_off_t): Likewise.
42167         (_G_pid_t): Likewise.
42168         (_G_uid_t): Likewise.
42169         (_G_wchar_t): Likewise.
42170         (_G_wint_t): Likewise.
42171         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42172         (_G_ssize_t): Likewise.
42173         (_G_off_t): Likewise.
42174         (_G_pid_t): Likewise.
42175         (_G_uid_t): Likewise.
42176         (_G_wchar_t): Likewise.
42177         (_G_wint_t): Likewise.
42179 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42181         * malloc/arena.c: Include malloc-sysdep.h.
42182         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42183         is sufficient to shrink the heap or an unmap is needed.
42184         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42185         new function check_may_shrink_heap.
42186         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42187         new function check_may_shrink_heap.
42189 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42191         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42192         comments.
42194 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42196         * catgets/test-gencat.sh: Add "set -e".
42197         * elf/tst-pathopt.sh: Likewise.
42198         * grp/tst_fgetgrent.sh: Likewise.
42199         * iconvdata/run-iconv-test.sh: Likewise.
42200         * intl/tst-gettext.sh: Likewise.
42201         * intl/tst-gettext2.sh: Likewise.
42202         * intl/tst-gettext4.sh: Likewise.
42203         * intl/tst-gettext6.sh: Likewise.
42204         * intl/tst-translit.sh: Likewise.
42205         * io/ftwtest-sh: Likewise.
42206         * libio/test-freopen.sh: Likewise.
42207         * malloc/tst-mtrace.sh: Likewise.
42208         * posix/globtest.sh: Likewise.
42209         * posix/tst-getconf.sh: Likewise.
42210         * posix/wordexp-tst.sh: Likewise.
42211         * stdio-common/tst-printf.sh: Likewise.
42212         * stdio-common/tst-unbputc.sh: Likewise.
42213         * stdlib/tst-fmtmsg.sh: Likewise.
42214         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42215         * catgets/Makefile: Do not specify -e option when running
42216         testsuite shell scripts.
42217         * elf/Makefile: Likewise.
42218         * grp/Makefile: Likewise.
42219         * iconvdata/Makefile: Likewise.
42220         * intl/Makefile: Likewise.
42221         * io/Makefile: Likewise.
42222         * libio/Makefile: Likewise.
42223         * malloc/Makefile: Likewise.
42224         * posix/Makefile: Likewise.
42225         * stdio-common/Makefile: Likewise.
42226         * stdlib/Makefile: Likewise.
42227         * sysdeps/x86_64/Makefile: Likewise.
42229         * io/ftwtest-sh: Add copyright header.
42230         * posix/globtest.sh: Likewise.
42231         * posix/tst-getconf.sh: Likewise.
42232         * posix/wordexp-tst.sh: Likewise.
42233         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42235 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42237         [BZ #13679]
42238         * Makeconfig (+link): Defined as $(+link-static) if
42239         $(build-shared) isn't yes.
42240         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42241         isn't yes.
42242         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42244         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42246         [BZ #14562]
42247         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42248         new chunk size with MALLOC_ALIGN_MASK.
42250 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42252         [BZ #5044]
42253         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42254         <rounding-mode.h>.
42255         (__printf_fphex): Determine rounding using get_rounding_mode and
42256         round_away.
42257         * stdio-common/tst-printf-round.c (struct hex_test): New
42258         structure.
42259         (hex_tests): New variable.
42260         (test_hex_in_one_mode): New function.
42261         (do_test): Also run tests for hex float output.
42263 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42265         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42266         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42267         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42268         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42269         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42270         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42271         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42272         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42274 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42276         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42277         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42278         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42279         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42281 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42283         [BZ #14579]
42284         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42285         mode only.
42286         * elf/tst-rtld-load-self.sh: New test.
42287         * elf/Makefile: Run it.
42289 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42291         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42292         (tst-writev-ENV): Remove.
42293         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42295 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42297         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42299 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42301         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42302         unconditional.
42303         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42304         Likewise.
42305         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42306         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42307         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42308         Likewise.
42310 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42312         [BZ #14587]
42313         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42314         * config.make.in (have-cpp-asm-debuginfo): Removed.
42315         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42316         * configure: Regenerated.
42318 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42320         [BZ #5044]
42321         * stdio-common/printf_fp.c: Include <stdbool.h> and
42322         <rounding-mode.h>.
42323         (___printf_fp): Determine rounding using get_rounding_mode and
42324         round_away.
42325         * stdio-common/tst-printf-round.c: New file.
42326         * stdio-common/Makefile (tests): Add tst-printf-round.
42327         (link-libm): New variable.
42328         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42330 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42332         [BZ #14576]
42333         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42334         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42335         Likewise.
42336         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42337         Likewise.
42339 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42341         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42342         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42343         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42344         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42346 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42348         [BZ #14518]
42349         * include/rounding-mode.h: New file.
42350         * sysdeps/generic/get-rounding-mode.h: Likewise.
42351         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42352         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42353         (MAX_VALUE): New macro.
42354         (MIN_VALUE): Likewise.
42355         (overflow_value): New function.
42356         (underflow_value): Likewise.
42357         (round_and_return): Use overflow_value and underflow_value to
42358         determine return values in overflow and underflow cases.  Use
42359         round_away to determine rounding depending on rounding mode.
42360         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42361         determine return values in overflow and underflow cases.
42362         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42363         (struct test_results): New structure.
42364         (struct test): Use struct test_results to store expected results
42365         for all rounding modes.
42366         (TEST): Include expected results for all rounding modes.
42367         (test_in_one_mode): New function.
42368         (do_test): Use test_in_one_mode to compute and check results.
42369         Check results for all rounding modes.
42370         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42371         $(link-libm).
42373 2012-12-09  Allan McRae  <allan@archlinux.org>
42375         * sysdeps/i386/fpu/libm-test-ulps: Update
42377 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42379         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42380         (_G_int32_t): Likewise.
42381         (_G_uint16_t): Likewise.
42382         (_G_uint32_t): Likewise.
42383         (_G_HAVE_BOOL): Likewise.
42384         (_G_HAVE_ATEXIT): Likewise.
42385         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42386         (_G_HAVE_IO_FILE_OPEN): Likewise.
42387         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42388         (_G_int32_t): Likewise.
42389         (_G_uint16_t): Likewise.
42390         (_G_uint32_t): Likewise.
42391         (_G_HAVE_BOOL): Likewise.
42392         (_G_HAVE_ATEXIT): Likewise.
42393         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42394         (_G_HAVE_IO_FILE_OPEN): Likewise.
42395         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42396         (_G_int32_t): Likewise.
42397         (_G_uint16_t): Likewise.
42398         (_G_uint32_t): Likewise.
42399         (_G_HAVE_BOOL): Likewise.
42400         (_G_HAVE_ATEXIT): Likewise.
42401         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42402         (_G_HAVE_IO_FILE_OPEN): Likewise.
42404 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42406         * csu/libc-tls.c: Update copyright years.
42408 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42410         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42411         [!_G_USING_THUNKS]: Remove conditional code.
42412         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42413         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42415         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42416         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42417         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42418         (_G_VTABLE_LABEL_PREFIX): Likewise.
42419         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42420         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42421         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42422         (_G_VTABLE_LABEL_PREFIX): Likewise.
42423         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42424         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42425         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42426         (_G_VTABLE_LABEL_PREFIX): Likewise.
42427         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42429 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42431         * libio/Makefile: Include ../Makeconfig before tests.
42432         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42433         only if $(build-shared) is yes.
42435         * iconv/gconv_db.c: Update copyright years.
42437 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42439         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42440         unwind info if defined PIC. Fix special cases description.
42441         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42443         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42444         DP_HI_MASK entry.
42445         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42447 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42449         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42451         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42452         is NULL.
42454         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42455         (LDLIBS-tst-chk4): This.
42456         (LDFLAGS-tst-chk5): Renamed to ...
42457         (LDLIBS-tst-chk5): This.
42458         (LDFLAGS-tst-chk6): Renamed to ...
42459         (LDLIBS-tst-chk6): This.
42460         (LDFLAGS-tst-lfschk4): Renamed to ...
42461         (LDLIBS-tst-lfschk4): This.
42462         (LDFLAGS-tst-lfschk5): Renamed to ...
42463         (LDLIBS-tst-lfschk5): This.
42464         (LDFLAGS-tst-lfschk6): Renamed to ...
42465         (LDLIBS-tst-lfschk6): This.
42467         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42468         on $(common-objpfx)soversions.mk.
42470 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42472         [BZ #10014]
42473         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42474         example host name.
42476 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42478         * malloc/arena.c (arena_get_retry): New function that gets
42479         another arena for the caller to try its request on.
42480         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42481         current arena cannot fulfill the request.
42482         (__libc_memalign): Likewise.
42483         (__libc_memalign): Likewise.
42484         (__libc_pvalloc): Likewise.
42485         (__libc_calloc): Likewise.
42487 2012-09-05  John Tobey  <john.tobey@gmail.com>
42489         [BZ #13542]
42490         * manual/arith.texi (Operations on Complex): Fix description
42491         of carg branch cut.
42493 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42495         [BZ #10014]
42496         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42497         host name.
42499         [BZ #10038]
42500         * manual/memory.texi (Memory): Make order of menu items match
42501         order of sections.
42503 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42505         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42506         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42507         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42509 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42511         * csu/libc-tls.c (static_dtv): Renamed to ...
42512         (_dl_static_dtv): This.  Make it global.
42513         (_dl_initial_dtv): Removed.
42514         (__libc_setup_tls): Updated.
42515         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42516         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42517         DL_INITIAL_DTV.
42519 2012-09-06  Petr Machata  <pmachata@redhat.com>
42521         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42522         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42523         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42524         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42526 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42528         [BZ #14545]
42529         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42530         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42531         freeing dtv[-1].
42533 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42535         [BZ #14544]
42536         * Makeconfig (link-static-before-libc): Replace $(+prector)
42537         with $(+prectorT).
42538         (link-static-after-libc): Replace $(+postctor) with
42539         $(+postctorT).
42540         (link-bounded): Replace $(+prector)/$(+postctor) with
42541         $(+prectorT)/$(+postctorT).
42542         (+prectorT): New macro.
42543         (+postctorT): Likewise.
42545 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42547         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42548         (round_str): Handle values above the maximum for IBM long double
42549         as inexact.
42550         * stdlib/tst-strtod-round.c (tests): Regenerated.
42552 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42554         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42555         assembler flag.
42556         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42557         zarch_nohighgprs around the zarch optimized routines.
42558         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42559         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42560         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42561         for zarch.
42563 2012-09-05  David S. Miller  <davem@davemloft.net>
42565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42567         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42568         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42569         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42570         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42571         entries.
42573 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42575         * malloc/arena.c: Fold copyright years.
42576         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42578 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42580         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42582 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42584         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42586 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42588         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42589         change internal state upon failure.
42591 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42593         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42594         * malloc/memusage.c (mmap): Likewise.
42595         (mmap64, mremap): Likewise.  Adjust name in comment.
42597 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42599         * libio/fileops.c: Fix typos in comments.
42600         * libio/oldfileops.c: Likewise.
42601         * libio/wfileops.c: Likewise.
42603 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42605         [BZ #1349]
42606         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42607         (tst-malloc-usable-ENV): Set environment for test case.
42608         * malloc/hooks.c (malloc_check_get_size): New function to get
42609         requested size.
42610         * malloc/malloc.c (musable): Use malloc_check_get_size.
42611         * malloc/tst-malloc-usable.c: New test case.
42613 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42615         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42617 2012-09-05  Allan McRae  <allan@archlinux.org>
42619         [BZ #13966]
42620         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42621         determine header location.
42622         * configure: Regenerated.
42624 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42626         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42627         float format.
42628         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42629         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42630         format.
42631         (test): Regenerate.
42633 2012-09-04  David S. Miller  <davem@davemloft.net>
42635         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42636         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42637         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42639 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42641         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42642         failures.
42644         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42646 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42648         [BZ #9914]
42649         * libio/iogetdelim.c: Include <limits.h>.
42650         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42651         + len + 1 would overflow.
42653 2012-09-03  Andreas Jaeger  <aj@suse.de>
42655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42656         * sysdeps/i386/fpu/libm-test-ulps: Update.
42658 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42660         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42661         Add s_sinf-sse2, s_conf-sse2.
42663         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42664         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42665         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42666         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42668         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42669         for using routine as __sinf_ia32.
42670         Use macro for function declaration and weak_alias.
42671         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42672         for using routine as __cosf_ia32.
42673         Use macro for function declaration and weak_alias.
42675         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42676         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42678         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42679         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42682         * math/libm-test.inc (cos_test): Add more test cases.
42683         (sin_test): Likewise.
42684         (sincos_test): Likewise.
42686 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42688         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42689         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42690         hidden.
42691         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42693 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42695         [BZ #14538]
42696         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42697         first element of the GOT.
42698         (elf_machine_load_address): Return the difference between
42699         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42701 2012-09-01  Allan McRae  <allan@archlinux.org>
42703         [BZ #13412]
42704         * configure.in (AWK): Require gawk version 3.0 or later.
42705         * configure: Regenerated.
42707 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42709         * sysdeps/unix/sysv/linux/kernel-features.h
42710         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42711         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42712         [__NR_clock_getres]: Make code unconditional.
42713         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42714         (clock_getcpuclockid): Remove code left unreachable by removal of
42715         conditionals.
42716         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42717         code unconditional.
42718         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42719         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42720         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42721         Make code unconditional.
42722         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42723         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42724         * sysdeps/unix/sysv/linux/clock_settime.c
42725         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42726         conditional code.
42727         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42728         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42730 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42732         [BZ #14476]
42733         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42734         scripts/test-installation.pl.
42736         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42737         and $ld_so_version if it is set.
42739 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42741         [BZ #14516]
42742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42743         failure if reading from procfs failed.
42744         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42746 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42748         * sysdeps/unix/sysv/linux/kernel-features.h
42749         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42750         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42751         Remove conditional code.
42752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42753         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42754         Remove conditional code.
42755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42756         * sysdeps/unix/sysv/linux/i386/fxstat.c
42757         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42758         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42759         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42760         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42761         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42762         * sysdeps/unix/sysv/linux/i386/lxstat.c
42763         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42764         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42765         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42766         Remove conditional code.
42767         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42768         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42769         Remove conditional code.
42770         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42771         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42772         <kernel-features.h>.
42773         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42774         Remove.
42775         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42776         Remove conditional code.
42777         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42778         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42779         Remove conditional.
42781 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42783         [BZ #5400]
42784         * NEWS: Add fixed bug number.
42786 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42788         [BZ #14519]
42789         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42790         underflowing exponent in case of negative sign.
42791         * stdlib/tst-strtod-round-data: Add more tests.
42792         * stdlib/tst-strtod-round.c (tests): Regenerated.
42794         [BZ #3479]
42795         * stdlib/strtod_l.c (NDIG): Remove.
42796         (HEXNDIG): Likewise.
42797         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42798         smallest representable value.
42799         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42800         lie within an exact representation of 1/2 ulp of the result.
42801         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42802         unconditionally.
42803         (TENS_P9_IDX): Define unconditionally.
42804         (TENS_P9_SIZE): Likewise.
42805         (TENS_P10_IDX): Likewise.
42806         (TENS_P10_SIZE): Likewise.
42807         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42808         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42809         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42810         entries for 10^2^13 and 10^2^14.
42811         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42812         (TENS_P13_IDX): Define.
42813         (TENS_P13_SIZE): Likewise.
42814         (TENS_P14_IDX): Likewise.
42815         (TENS_P14_SIZE): Likewise.
42816         (_fpioconst_pow10): Change array size to
42817         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42818         unconditional.
42819         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42820         1024]: Add entries for 10^2^13 and 10^2^14.
42821         [LAST_POW10 > _LAST_POW10]: Remove #error.
42822         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42823         (_fpioconst_pow10): Change array size to
42824         FPIOCONST_POW10_ARRAY_SIZE.
42825         * stdlib/gen-fpioconst.c: New file.
42826         * stdlib/gen-tst-strtod-round.c: Likewise.
42827         * stdlib/tst-strtod-round-data: Likewise.
42828         * stdlib/tst-strtod-round.c: Likewise.
42829         * stdlib/Makefile (tests): Add tst-strtod-round.
42831         [BZ #14459]
42832         * stdlib/strtod_l.c: Include <stdint.h>.
42833         (NDEBUG): Do not define.
42834         (round_and_return): Change EXPONENT parameter to type intmax_t.
42835         Rearrange calculations to avoid internal overflow possibilities.
42836         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42837         Rearrange calculations to avoid internal overflow possibilities.
42838         Assert that number fits inside MPNSIZE limbs.
42839         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42840         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42841         calculations and add assertions to avoid internal overflow
42842         possibilities.  Add casts to avoid signed/unsigned operations.
42843         * stdlib/tst-strtod-overflow.c: New file.
42844         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42846 2012-08-25  Marek Polacek  <polacek@redhat.com>
42848         * time/time.h: Fix some typos in comments.
42850 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42852         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42853         * posix/tst-rfc3484-2.c: Likewise.
42854         * posix/tst-rfc3484-3.c: Likewise.
42856 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42858         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42859         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42861 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42863         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42864         #include of fxstatat64.c.
42866 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42868         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42869         * shadow/getspent_r.c: Likewise.
42870         * shadow/getspnam.c: Likewise.
42871         * shadow/getspnam_r.c: Likewise.
42872         * gshadow/getsgent.c: Likewise.
42873         * gshadow/getsgent_r.c: Likewise.
42874         * gshadow/getsgnam.c: Likewise.
42875         * gshadow/getsgnam_r.c: Likewise.
42876         * inet/getnetbyad.c: Likewise.
42877         * inet/getnetbyad_r.c: Likewise.
42878         * inet/getnetbynm.c: Likewise.
42879         * inet/getnetbynm_r.c: Likewise.
42880         * inet/getnetent.c: Likewise.
42881         * inet/getnetent_r.c: Likewise.
42882         * inet/getproto.c: Likewise.
42883         * inet/getproto_r.c: Likewise.
42884         * inet/getprtent.c: Likewise.
42885         * inet/getprtent_r.c: Likewise.
42886         * inet/getprtname.c: Likewise.
42887         * inet/getprtname_r.c: Likewise.
42888         * inet/getrpcbyname.c: Likewise.
42889         * inet/getrpcbyname_r.c: Likewise.
42890         * inet/getrpcbynumber.c: Likewise.
42891         * inet/getrpcbynumber_r.c: Likewise.
42892         * inet/getrpcent.c: Likewise.
42893         * inet/getrpcent_r.c: Likewise.
42894         * inet/getaliasent.c: Likewise.
42895         * inet/getaliasent_r.c: Likewise.
42896         * inet/getaliasname.c: Likewise.
42897         * inet/getaliasname_r.c: Likewise.
42898         * nscd/getgrgid_r.c: Likewise.
42899         * nscd/getgrnam_r.c: Likewise.
42900         * nscd/gethstbyad_r.c: Likewise.
42901         * nscd/gethstbynm3_r.c: Likewise.
42902         * nscd/getpwnam_r.c: Likewise.
42903         * nscd/getpwuid_r.c: Likewise.
42904         * nscd/getsrvbynm_r.c: Likewise.
42905         * nscd/getsrvbypt_r.c: Likewise.
42906         * nscd/gai.c: Likewise.
42908         * configure.in (build_nscd): New substituted variable, set
42909         by --disable-build-nscd and defaults to $use_nscd.
42910         * configure: Regenerated.
42911         * config.make.in (build-nscd): New substituted variable.
42912         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42913         Change conditional to require [$(build-nscd) = yes] as well.
42914         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42916         [BZ# 13696]
42917         * configure.in (use_nscd): New substituted variable, set by
42918         --disable-nscd.  If enabled, define USE_NSCD.
42919         * configure: Regenerated.
42920         * config.h.in: Add USE_NSCD.
42921         * config.make.in (use-nscd): New substituted variable.
42922         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42923         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42924         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42925         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42926         (CFLAGS-getgrnam_r.c): Likewise.
42927         (CFLAGS-initgroups.c): Likewise.
42928         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42929         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42930         Variables removed.
42931         * inet/getnetgrent_r.c
42932         (nscd_setnetgrent): New function, broken out of ...
42933         (setnetgrent): ... here.  Call it.
42934         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42935         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42936         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42937         * nscd/Makefile (routines, aux): Move definitions after include of
42938         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42939         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42940         Conditionalize on [USE_NSCD].
42941         (is_nscd, nscd_init_cb): Likewise.
42942         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42943         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42944         * nss/nss_db/db-init.c: Likewise.
42945         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42946         [USE_NSCD].
42947         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42948         (make_request): Use it.
42949         (cache_valid_p): New function.
42950         (__check_pf): Use it.
42951         * NEWS: Add item for --disable-nscd.
42953 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42955         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42956         to support sed >= 4.2.1-20-ga9bf076.
42957         * configure: Regenerated.
42959 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42961         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42962         Conditionalize whole body on [IREL].
42964 2012-08-22  Jeff Law <law@redhat.com>
42966         [BZ #14505]
42967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42968         if the family is PF_UNSPEC.
42970 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42972         * Makerules (lib-version): Rename from V.
42973         (install-lib-nosubdir): Change V to lib-version.
42975 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42977         [BZ #14252]
42978         * powerpc32/power6/wcschr.c: New file.
42979         * powerpc32/power6/wcscpy.c: New file.
42980         * powerpc32/power6/wcsrchr.c: New file.
42981         * powerpc64/power6/wcschr.c: New file.
42982         * powerpc64/power6/wcscpy.c: New file.
42983         * powerpc64/power6/wcsrchr.c: New file.
42985 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42987         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42988         (two_way_short_needle): Use it.
42989         * string/strstr.c (AVAILABLE1_USES_J): Define.
42990         * string/strcasestr.c: Likewise.
42992         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42993         array references.
42994         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42996         [BZ #11607]
42997         * NEWS: Add an entry.
42998         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42999         define their defaults.
43000         (two_way_short_needle): Detect end-of-string on-the-fly.
43001         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43002         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43003         * string/bug-strcasestr1.c: New test.
43004         * string/Makefile: Run it.
43006 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43008         [BZ #11607]
43009         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43010         the first character.
43012 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43014         * csu/elf-init.c (__libc_csu_irel): Function removed.
43015         * csu/libc-start.c (apply_irel): New function.
43016         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43018 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43020         * sysdeps/unix/sysv/linux/kernel-features.h
43021         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43022         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43023         <kernel-features.h>.
43024         [__NR_fadvise64_64]: Make code unconditional.
43025         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43026         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43027         !__NR_fadvise64_64)]: Likewise.
43028         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43029         !__NR_fadvise64_64))]: Likewise.
43030         [__NR_fadvise64]: Make code unconditional.
43031         [!__NR_fadvise64]: Remove conditional code.
43032         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43033         <kernel-features.h>.
43034         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43035         unconditional.
43036         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43037         conditional code.
43038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43039         not include <kernel-features.h>.
43040         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43041         unconditional.
43042         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43043         conditional code.
43044         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43045         include <kernel-features.h>.
43046         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43047         unconditional.
43048         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43049         conditional code.
43051 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43053         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43054         slight instruction rearrangements per scrollpipe analysis.
43055         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43057 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43059         * manual/syslog.texi (syslog; vsyslog, closelog):
43060         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43061         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43063         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43064         DSOCAPS to match condition on defining it.
43066 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43068         * sysdeps/unix/sysv/linux/kernel-features.h
43069         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43071         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43072         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43074         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43075         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43077         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43078         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43080         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43081         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43083         * sysdeps/unix/sysv/linux/kernel-features.h
43084         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43085         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43086         unconditional.
43087         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43088         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43089         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43090         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43091         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43092         Make code unconditional.
43093         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43094         (__mmap64) [!__NR_mmap2]: Likewise.
43095         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43096         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43097         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43098         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43099         [__NR_mmap2]: Make code unconditional.
43100         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43101         (__mmap64) [!__NR_mmap2]: Likewise.
43103 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43105         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43107 2012-08-18  Andreas Jaeger  <aj@suse.de>
43109         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43111 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43113         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43114         * include/unistd.h (__have_sock_cloexec): Likewise.
43115         (__have_pipe2): Likewise.
43116         (__have_dup3): Likewise.
43118 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43120         [BZ #9685]
43121         * include/unistd.h (__have_pipe2): Change define into an extern int.
43122         (__have_dup3): Likewise.
43123         * socket/have_sock_cloexec.c: Include fcntl.h.
43124         (__have_pipe2): New variable.
43125         (__have_dup3): Likewise.
43127 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43129         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43131 2012-08-17  Marek Polacek  <polacek@redhat.com>
43133         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43134         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43136 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43138         * configure.in: Add AC_SUBST for sysheaders.
43139         * configure: Regenerated.
43140         * config.make.in (sysheaders): New substituted variable.
43142         * sysdeps/unix/mkfifo.c: Moved ...
43143         * sysdeps/posix/mkfifo.c: ... here.
43144         * sysdeps/unix/mkfifoat.c: Moved ...
43145         * sysdeps/posix/mkfifoat.c: ... here.
43147         * sysdeps/unix/utime.c: Moved ...
43148         * sysdeps/posix/utime.c: ... here.
43150         * sysdeps/unix/time.c: Moved ...
43151         * sysdeps/posix/time.c: ... here.
43152         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43153         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43155         * sysdeps/unix/nice.c: Moved ...
43156         * sysdeps/posix/nice.c: ... here.
43158         * sysdeps/unix/alarm.c: Moved ...
43159         * sysdeps/posix/alarm.c: ... here.
43161         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43163 2012-08-17  Jeff Law <law@redhat.com>
43165         * intl/Makefile (codeset_mo): New variable.
43166         ($(codeset_mo)): New target.
43167         (tst-codeset.out): Depend on that.  Remove explicit rule.
43168         (tst-gettext3.out, tst-gettext5.out): Likewise.
43169         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43170         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43171         * intl/tst-codeset.sh: Remove.
43172         * intl/tst-gettext3.sh: Likewise.
43173         * intl/tst-gettext5.sh: Likewise.
43175 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43177         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43178         * sysdeps/unix/syscalls.list: ... here.
43180         * sysdeps/posix/getaddrinfo.c
43181         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43182         (gaiconf_init, gaiconf_reload): Use them.
43183         [!_STATBUF_ST_NSEC]
43184         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43185         Define using time_t rather than struct timespec.
43187         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43188         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43189         Macros removed.
43190         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43191         [!NO_THREADS].
43192         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43193         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43194         Likewise.
43196         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43197         __libc_cleanup_push argument.
43199         * bits/param.h: New file.
43200         * misc/sys/param.h: New file.
43201         * include/sys/param.h: New file.
43202         * misc/Makefile (headers): Add bits/param.h.
43203         * sysdeps/generic/sys/param.h: File removed.
43204         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43205         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43206         * sysdeps/mach/hurd/bits/param.h: New file.
43207         * sysdeps/mach/hurd/sys/param.h: File removed.
43209         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43210         last change.
43212         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43213         [_IO_MTSAFE_IO].
43214         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43215         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43216         New macros.
43218         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43219         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43220         rather than -D_IO_MTSAFE_IO conditionally.
43221         * stdio-common/Makefile (CPPFLAGS): Likewise.
43222         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43223         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43224         Use $(libio-mtsafe).
43225         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43226         of -D_IO_MTSAFE_IO.
43227         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43228         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43229         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43230         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43231         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43232         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43233         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43234         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43235         (CFLAGS-fread_u_chk.c): Likewise.
43236         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43237         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43238         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43239         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43240         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43241         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43242         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43243         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43244         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43246         * libio/Makefile: Test [$(libc-reentrant) = yes]
43247         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43249         * Makeconfig
43250         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43251         * sysdeps/pthread/configure: File removed.
43252         * sysdeps/pthread/Makeconfig: New file.
43253         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43254         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43256 2012-08-16  Gary Benson  <gbenson@redhat.com>
43258         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43259         unmapping the first object in a namespace.
43261 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43263         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43264         (__internal_setnetgrent): ... this.  Add internal_function to
43265         definition.  Add libc_hidden_def.
43266         (setnetgrent): Update caller.
43267         (internal_endnetgrent): Renamed to ...
43268         (__internal_endnetgrent): ... this.  Add internal_function to
43269         definition.  Add libc_hidden_def.
43270         (endnetgrent): Update caller.
43271         (internal_getnetgrent_r): Renamed to ...
43272         (__internal_getnetgrent_r): ... this.  Add internal_function to
43273         definition.  Add libc_hidden_def.
43274         (__getnetgrent_r): Update caller.
43275         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43277 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43279         * stdlib/longlong.h: Update from GCC.
43281 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43283         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43284         on _QL, which is set by umul_ppmm but never used.
43285         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43286         variables, which are set by GMP macros but never used.
43287         * stdio-common/_itowa.c (_itowa): Likewise.
43288         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43289         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43291 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43293         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43294         struct La_sh_regs is not constant.
43295         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43296         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43297         and struct La_sparc64_regs are not constant.
43299 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43301         * sysdeps/unix/sysv/linux/kernel-features.h
43302         (__ASSUME_POSIX_TIMERS): Remove.
43303         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43304         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43305         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43306         Make code unconditional.
43307         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43308         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43309         Make code unconditional.
43310         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43311         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43312         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43313         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43314         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43315         Make code unconditional.
43316         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43317         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43318         (__libc_missing_posix_timers): Remove.
43320 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43322         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43323         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43325         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43327         * elf/dl-sym.c: Include <stdlib.h>.
43329         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43330         constants, which avoids warnings in 32-bit builds.
43332         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43333         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43335         * misc/lseek.c: File moved to ...
43336         * io/lseek.c: ... here.
43338         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43340         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43341         shifting LEN more than 31 bits at once.
43343 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43345         [BZ #14195]
43346         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43347         segmentation fault for a case of two empty input strings.
43348         * string/test-strncasecmp.c (check1): Renamed to...
43349         (bz12205): ...this.
43350         (bz14195): Add new testcase for two empty input strings and N > 0.
43351         (test_main): Call new testcase, adapt for renamed function.
43353 2012-08-15  Andreas Jaeger  <aj@suse.de>
43355         [BZ #14090]
43356         * crypt/md5test2.c: New test, based on test supplied by Serge
43357         Belyshev <belyshev@depni.sinp.msu.ru>.
43358         * crypt/Makefile (xtests): Add md5test-giant..
43359         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43361 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43363         [BZ #14090]
43364         * crypt/md5.c (md5_process_block): Don't assume the buffer
43365         length is less than 2**32.
43366         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43367         length is less than 2**64.
43369 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43371         * string/str-two-way.h: Include <sys/param.h>.
43372         (MAX): Macro removed.
43374         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43375         Move #define and #undef of memmove to just before and after
43376         including <string.h>.
43378         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43379         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43380         and after including <string.h>.  Move declarations of
43381         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43382         to before #include "string/memmove.c".
43384         * include/dirent.h: Declare __getdirentries.
43386         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43387         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43389 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43391         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43392         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43393         * sysdeps/i386/configure: Regenerated.
43394         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43395         STABS_CURRENT_FILE, and STABS_FUN.
43396         (END): Remove call to STABS_FUN_END.
43397         (STABS_CURRENT_FILE1): Delete.
43398         (STABS_CURRENT_FILE): Likewise.
43399         (STABS_FUN): Likewise.
43400         (STABS_FUN_END): Likewise.
43401         (STABS_FUN2): Likewise.
43402         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43403         * sysdeps/x86_64/configure: Regenerated.
43405 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43407         * elf/dl-open.c: Include <atomic.h>.
43408         * elf/dl-lookup.c: Likewise.
43410 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43412         * sysdeps/unix/sysv/linux/kernel-features.h
43413         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43414         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43415         unconditionally.
43416         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43417         unconditionally.
43418         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43419         condition on __ASSUME_CLONE_THREAD_FLAGS.
43421 2012-08-14  Andreas Jaeger  <aj@suse.de>
43423         * sysdeps/i386/fpu/libm-test-ulps: Update.
43425 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43427         * include/atomic.h (atomic_exchange_and_add): Split into ...
43428         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43429         New atomic macros.
43431 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43435 2012-08-13  Jeff Law <law@redhat.com>
43437         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43438         null byte in the output string.
43440 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43442         * sysdeps/unix/sysv/linux/kernel-features.h
43443         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43444         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43445         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43446         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43447         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43448         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43449         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43451 2012-08-09  Jeff Law <law@redhat.com>
43453         [BZ #13939]
43454         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43455         When avoid_arena is set, don't retry in the that arena.  Pick the
43456         next one, whatever it might be.
43457         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43458         (arena_lock): Pass in new parameter to arena_get2.
43459         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43460         arena_get2.
43461         (__libc_malloc): Unify retrying after main arena failure with
43462         __libc_memalign version.
43463         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43465 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43467         [BZ #14166]
43468         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43469         to __redirect_strstr.
43470         (__strstr_sse42): Use typeof __redirect_strstr.
43471         (__strstr_ia32): Likewise.
43472         (__libc_strstr): New prototype.
43473         (strstr): Renamed to ...
43474         (__libc_strstr): This.
43475         (strstr): New strong alias of __libc_strstr.
43476         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43477         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43478         __redirect_time.
43479         Include <time.h>.
43480         (__libc_time): New prototype.
43481         (time_ifunc): Replace time with __libc_time.
43482         (time): New strong alias and hidden definition of __libc_time.
43483         (__GI_time): Remove strong alias.
43484         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43485         Include <stddef.h>.
43486         (memmove): Redefined to __redirect_memmove.
43487         (__memmove_sse2): Use typeof __redirect_memmove.
43488         (__memmove_ssse3): Likewise.
43489         (__memmove_ssse3_back): Likewise.
43490         (__libc_memmove): New prototype.
43491         (memmove): Renamed to ...
43492         (__libc_memmove): This.
43493         (memmove): New strong alias of __libc_memmove.
43495 2012-08-08  Mark Salter  <msalter@redhat.com>
43497         * elf/elf.h
43498         (R_MN10300_TLS_GD): Define.
43499         (R_MN10300_TLS_LD): Likewise.
43500         (R_MN10300_TLS_LDO): Likewise.
43501         (R_MN10300_TLS_GOTIE): Likewise.
43502         (R_MN10300_TLS_IE): Likewise.
43503         (R_MN10300_TLS_LE): Likewise.
43504         (R_MN10300_TLS_DTPMOD): Likewise.
43505         (R_MN10300_TLS_DTPOFF): Likewise.
43506         (R_MN10300_TLS_TPOFF): Likewise.
43507         (R_MN10300_SYM_DIFF): Likewise.
43508         (R_MN10300_ALIGN): Likewise.
43509         (R_MN10300_NUM): Update.
43511 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43513         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43514         Remove.
43516 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43518         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43520         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43521         sysdeps/unix -> sysdeps/posix move.
43522         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43524 2012-08-07      Allan McRae     <allan@archlinux.org>
43526         [BZ #14303]
43527         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43528         (SUNOS_CPP): Likewise.
43529         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43530         not found.
43531         (open_input): Call CPP using execvp.
43533 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43535         * sysdeps/unix/sysv/linux/kernel-features.h
43536         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43537         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43538         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43539         (__ASSUME_WAITID_SYSCALL): Likewise.
43540         * sysdeps/unix/sysv/linux/dl-execstack.c
43541         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43542         code unconditional.
43543         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43544         conditional code.
43545         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43546         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43547         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43548         code.
43549         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43550         unconditional.
43551         [__ASSUME_WAITID_SYSCALL]: Likewise.
43552         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43554 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43556         * sysdeps/unix/closedir.c: Renamed to ...
43557         * sysdeps/posix/closedir.c: ... here.
43558         * sysdeps/unix/dirfd.c: Renamed to ...
43559         * sysdeps/posix/dirfd.c: ... here.
43560         * sysdeps/unix/dirstream.h: Renamed to ...
43561         * sysdeps/posix/dirstream.h: ... here.
43562         * sysdeps/unix/fdopendir.c: Renamed to ...
43563         * sysdeps/posix/fdopendir.c: ... here.
43564         * sysdeps/unix/opendir.c: Renamed to ...
43565         * sysdeps/posix/opendir.c: ... here.
43566         * sysdeps/unix/readdir.c: Renamed to ...
43567         * sysdeps/posix/readdir.c: ... here.
43568         * sysdeps/unix/readdir_r.c: Renamed to ...
43569         * sysdeps/posix/readdir_r.c: ... here.
43570         * sysdeps/unix/rewinddir.c: Renamed to ...
43571         * sysdeps/posix/rewinddir.c: ... here.
43572         * sysdeps/unix/seekdir.c: Renamed to ...
43573         * sysdeps/posix/seekdir.c: ... here.
43574         * sysdeps/unix/telldir.c: Renamed to ...
43575         * sysdeps/posix/telldir.c: ... here.
43576         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43577         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43578         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43579         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43581         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43582         * bits/fcntl.h: ... here.
43584         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43585         not 0.
43586         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43587         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43588         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43589         (struct flock): Move l_start, l_len to the beginning.
43590         Use __pid_t for l_pid.
43591         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43592         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43593         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43594         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43595         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43596         [__USE_LARGEFILE64] (struct flock64): New type.
43597         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43599         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43600         * bits/dirent.h: ... here.
43602         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43603         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43605 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43608         Change from 2.6.0 to 2.6.16.
43609         * sysdeps/unix/sysv/linux/configure: Regenerated.
43610         * sysdeps/unix/sysv/linux/kernel-features.h
43611         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43612         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43613         version.
43614         (__ASSUME_UTIMES): Likewise.
43615         (__ASSUME_CLONE_STOPPED): Remove.
43616         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43617         architectures, not kernel version.
43618         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43619         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43620         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43621         (__ASSUME_WAITID_SYSCALL): Likewise.
43622         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43623         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43624         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43625         refer to older versions.
43627 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43629         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43630         Define alphasort64 as an alias.
43631         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43632         Define versionsort64 as an alias.
43633         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43634         Define scandir64 as an alias.
43635         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43636         Define scandirat64 as an alias.
43637         * dirent/alphasort64.c (alphasort64):
43638         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43639         * dirent/versionsort64.c: Likewise.
43640         * dirent/scandir64.c: Likewise.
43641         * dirent/scandirat64.c: Likewise.
43642         * sysdeps/wordsize-64/alphasort.c: File removed.
43643         * sysdeps/wordsize-64/alphasort64.c: File removed.
43644         * sysdeps/wordsize-64/scandir.c: File removed.
43645         * sysdeps/wordsize-64/scandir64.c: File removed.
43646         * sysdeps/wordsize-64/scandirat.c: File removed.
43647         * sysdeps/wordsize-64/scandirat64.c: File removed.
43648         * sysdeps/wordsize-64/versionsort.c: File removed.
43649         * sysdeps/wordsize-64/versionsort64.c: File removed.
43650         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43651         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43652         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43653         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43654         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43655         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43656         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43657         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43659         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43661         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43663         [defined __arch64__ || defined __sparcv9]
43664         (__INO_T_MATCHES_INO64_T): New macro.
43665         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43666         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43667         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43668         * sysdeps/unix/sysv/linux/bits/dirent.h
43669         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43670         (_DIRENT_MATCHES_DIRENT64): New macro.
43672         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43673         Define lockf64 as an alias.
43674         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43675         Define fseeko64 as an alias.
43676         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43677         Define ftello64 as an alias.
43678         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43679         Define _IO_fgetpos64 and fgetpos64 as aliases.
43680         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43681         Define _IO_fsetpos64 and fsetpos64 as aliases.
43682         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43683         Conditionalize body on this.
43684         * libio/fseeko64.c: Likewise.
43685         * libio/ftello64.c: Likewise.
43686         * libio/iofgetpos64.c: Likewise.
43687         * libio/iofsetpos64.c: Likewise.
43688         * sysdeps/wordsize-64/lockf.c: File removed.
43689         * sysdeps/wordsize-64/lockf64.c: File removed.
43690         * sysdeps/wordsize-64/fseeko.c: File removed.
43691         * sysdeps/wordsize-64/fseeko64.c: File removed.
43692         * sysdeps/wordsize-64/ftello.c: File removed.
43693         * sysdeps/wordsize-64/ftello64.c: File removed.
43694         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43695         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43696         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43697         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43698         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43699         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43700         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43702         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43704         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43705         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43706         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43707         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43709         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43711         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43713         [defined __arch64__ || defined __sparcv9]
43714         (__OFF_T_MATCHES_OFF64_T): New macro.
43715         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43716         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43717         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43718         (__OFF_T_MATCHES_OFF64_T): New macro.
43720 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43722         * stdlib/secure-getenv.c (__secure_getenv): Replace
43723         GLIBC_2_16 with GLIBC_2_17.
43725 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43727         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43728         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43730 2012-08-03  David S. Miller  <davem@davemloft.net>
43732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43734 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43737         Remove.
43738         (__ASSUME_CORRECT_SI_PID): Likewise.
43739         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43740         (__ASSUME_TMPFS_NAME): Likewise.
43741         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43742         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43743         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43744         (HAVE_AUX_SECURE): Make definition unconditional.
43745         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43746         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43748 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43750         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43751         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43752         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43753         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43754         __eloop_threshold instead of SYMLOOP_MAX.
43756         * sysdeps/generic/eloop-threshold.h: New file.
43757         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43758         of MAXSYMLINKS.
43759         * elf/chroot_canon.c (chroot_canon): Likewise.
43761 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43763         [BZ #13717]
43764         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43765         Change to 2.6.0 everywhere.
43766         * sysdeps/unix/sysv/linux/configure: Regenerated.
43767         * sysdeps/unix/sysv/linux/kernel-features.h
43768         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43769         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43770         kernel versions.
43771         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43772         (__ASSUME_FUTEX_REQUEUE): Remove.
43773         (__ASSUME_STATFS64): Define unconditionally.
43774         (__ASSUME_AT_SECURE): Likewise.
43775         (__ASSUME_CORRECT_SI_PID): Likewise.
43776         (__ASSUME_TGKILL): Define without depending on kernel version for
43777         i386.
43778         (__ASSUME_UTIMES): Likewise.
43779         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43780         kernel version.
43781         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43782         (__ASSUME_TMPFS_NAME): Likewise.
43783         * README: Update reference to Linux kernel versions.
43785 2012-08-02  Marek Polacek  <polacek@redhat.com>
43787         [BZ# 14150]
43788         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43789         libc_cv_asm_type_prefix with %.
43790         * configure: Regenerated.
43791         * include/libc-symbols.h: Remove comment about
43792         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43793         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43794         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43795         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43796         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43797         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43798         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43799         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43800         * elf/tst-unique2mod1.c: Likewise.
43801         * elf/tst-unique1mod2.c: Likewise.
43802         * elf/tst-unique1mod1.c: Likewise.
43803         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43804         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43805         Replace ASM_TYPE_DIRECTIVE with .type.
43806         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43807         * sysdeps/i386/sysdep.h: Likewise.
43808         * sysdeps/x86_64/sysdep.h: Likewise.
43809         * sysdeps/sh/sysdep.h: Likewise.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43811         Do not define ASM_TYPE_DIRECTIVE.
43812         * sysdeps/powerpc/sysdep.h: Likewise.
43813         * sysdeps/powerpc/powerpc32/sysdep.h:
43814         Replace ASM_TYPE_DIRECTIVE with .type.
43815         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43816         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43817         * sysdeps/i386/fpu/e_powf.S: Likewise.
43818         * sysdeps/i386/fpu/e_expl.S: Likewise.
43819         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43820         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43821         * sysdeps/i386/fpu/e_pow.S: Likewise.
43822         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43823         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43824         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43825         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43826         * sysdeps/i386/fpu/e_log2.S: Likewise.
43827         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43828         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43829         * sysdeps/i386/fpu/e_powl.S: Likewise.
43830         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43831         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43832         * sysdeps/i386/fpu/e_logl.S: Likewise.
43833         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43834         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43835         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43836         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43837         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43838         * sysdeps/i386/fpu/e_log.S: Likewise.
43839         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43840         * sysdeps/i386/fpu/e_logf.S: Likewise.
43841         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43842         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43843         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43844         * sysdeps/i386/fpu/e_log10.S: Likewise.
43845         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43846         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43847         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43848         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43849         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43850         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43851         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43852         * sysdeps/i386/i686/strtok.S: Likewise.
43853         * sysdeps/i386/i386-mcount.S: Likewise.
43854         * sysdeps/i386/strtok.S: Likewise.
43855         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43856         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43857         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43858         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43859         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43860         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43861         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43862         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43863         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43864         * sysdeps/x86_64/_mcount.S: Likewise.
43865         * sysdeps/x86_64/strtok.S: Likewise.
43866         * sysdeps/sh/_mcount.S: Likewise.
43868 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43870         * libio/iofopen.c: Include <fcntl.h>.
43871         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43872         (_IO_fopen64, fopen64): Define as aliases.
43873         * libio/iofopen64.c: Include <fcntl.h>.
43874         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43875         Conditionalize body on this.
43876         * sysdeps/wordsize-64/iofopen.c: File removed.
43877         * sysdeps/wordsize-64/iofopen64.c: File removed.
43879 2012-08-01  Marek Polacek  <polacek@redhat.com>
43881         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43882         Use dlfcn directly instead of a variable.
43883         (binfmt-subdir): Do not define.
43884         (dlfcn): Likewise.
43886 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43889         Remove all definitions.
43890         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43891         <kernel-features.h>.
43892         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43893         (miss_F_GETOWN_EX): Remove all definitions.
43894         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43895         macro definition.
43896         [!__ASSUME_FCNTL64]: Remove conditional code.
43897         [__ASSUME_FCNTL64]: Make code unconditional.
43898         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43899         <kernel-features.h>.
43900         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43901         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43902         (lockf64) [__NR_fcntl64]: Make code unconditional.
43903         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43905         * sysdeps/unix/sysv/linux/kernel-features.h
43906         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43907         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43908         Make code unconditional.
43909         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43910         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43912         [__NR_vfork]: Make code unconditional.
43913         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43914         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43916         [__NR_vfork]: Make code unconditional.
43917         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43918         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43920 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43922         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43923         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43925         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43926         Define mkstemp64 as an alias.
43927         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43928         Define mkstemps64 as an alias.
43929         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43930         Define mkostemp64 as an alias.
43931         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43932         Define mkostemps64 as an alias.
43933         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43934         Conditionalize body on this.
43935         * misc/mkostemp64.c: Likewise.
43936         * misc/mkostemps64.c: Likewise.
43937         * misc/mkstemps64.c: Likewise.
43938         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43939         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43940         * sysdeps/wordsize-64/mkostemp.c: File removed.
43941         * sysdeps/wordsize-64/mkstemp.c: File removed.
43942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43943         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43944         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43945         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43947         [BZ #14138]
43948         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43949         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43950         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43951         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43953         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43954         compat_symbol macros from <shlib-compat.h> rather than the underlying
43955         default_symbol_version and symbol_version macros, so that DEFAULT
43956         lines in shlib-versions are respected.
43957         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43959 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43961         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43962         Declare with warn_unused_result.
43963         (setgid, setregid, setegid, setresgid): Likewise.
43964         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43965         Likewise.
43966         * WUR-REPORT: Remove set*id functions.
43968 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43970         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43972 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43974         [BZ #10191]
43975         * include/sys/socket.h (__libc_accept, __libc_accept4):
43976         Add attribute_hidden.
43977         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43979         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43980         use of PTR_MANGLE.
43981         * inet/getnetgrent_r.c (setup): Likewise.
43983         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43985 2012-07-31  David S. Miller  <davem@davemloft.net>
43987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43989 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43991         [BZ #13629]
43992         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43993         value between 1.0 and 2.0 and smaller part has absolute value less
43994         than 1.0.
43995         * math/s_clog10.c (__clog10): Likewise.
43996         * math/s_clog10f.c (__clog10f): Likewise.
43997         * math/s_clog10l.c (__clog10l): Likewise.
43998         * math/s_clogf.c (__clogf): Likewise.
43999         * math/s_clogl.c (__clogl): Likewise.
44000         * math/libm-test.inc (clog_test): Add more tests.
44001         (clog10_test): Likewise.
44002         * sysdeps/i386/fpu/libm-test-ulps: Update.
44003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44005 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44007         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44008         Exit with zero in case no suitable GID is found, and write a
44009         message to standard error.
44011 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44013         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44014         rather than to 1.
44015         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44016         (MAXPATHLEN): Removed.
44017         (NOGROUP, NODEV): New macros.
44018         (setbit, clrbit, isset, isclr): New macros.
44019         (howmany, roundup, powerof2): New macros.
44020         (DEV_BSIZE): New macro.
44022         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44023         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44025         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44026         definition on [!__NO_LONG_DOUBLE_MATH].
44028         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44029         PTR_MANGLE and PTR_DEMANGLE.
44031         * socket/accept4.c (accept4): Rename to __libc_accept4.
44032         Define accept4 as a weak alias.
44034         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44035         on [_DIRENT_HAVE_D_TYPE].
44036         * io/ftw.c (ftw_dir): Likewise.
44038         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44040         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44042         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44043         Use the BSD numbers rather than the arbitrary ones we had.
44044         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44045         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44046         (SIGXCPU, SIGXFSZ): New macros.
44047         (_NSIG): Now 32.
44049         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44050         initializer on [_LIBC_REENTRANT].
44052         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44053         definitions inside [_POSIX_MAPPED_FILES].
44055         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44057         * dirent/opendir.c: Include <fcntl.h>.
44059         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44060         (__libc_getspecific): Likewise.
44061         (__libc_key_create): Likewise.
44063         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44064         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44065         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44066         (tmpfile64): Define as alias.
44067         * sysdeps/wordsize-64/tmpfile.c: File removed.
44068         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44069         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44070         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44072         * stdio-common/vfscanf.c: Include <stdbool.h>.
44073         * nss/makedb.c: Likewise.
44074         * stdio-common/_i18n_number.h: Likewise.
44075         * argp/argp-help.c: Likewise.
44076         * posix/wordexp.c: Likewise.
44077         * sysdeps/posix/spawni.c: Likewise.
44078         * nss/nss_files/files-initgroups.c: Likewise.
44079         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44080         * nss/nss_files/files-initgroups.c: Likewise.
44081         * nss/nss_db/db-netgrp.c: Likewise.
44082         * nss/nss_db/db-initgroups.c: Likewise.
44083         * io/fchmodat.c: Include <sys/stat.h>.
44085         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44086         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44088         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44089         [HAVE_MMAP].
44091         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44092         Add multiple inclusion protection.
44094 2012-07-27  David S. Miller  <davem@davemloft.net>
44096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44098 2012-07-27  Gary Benson  <gbenson@redhat.com>
44100         [BZ #14298]
44101         * elf/rtld.c: Include <stap-probe.h>.
44102         (dl_main): Added static probes "init_start" and "init_complete".
44103         * elf/dl-load.c: Include <stap-probe.h>.
44104         (lose): Take new parameter "nsid".
44105         Added static probe "map_failed".
44106         (_dl_map_object_from_fd): Pass namespace id to lose.
44107         Added static probe "map_start".
44108         (open_verify): Pass namespace id to lose.
44109         * elf/dl-open.c: Include <stap-probe.h>.
44110         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44111         and "reloc_complete".
44112         * elf/dl-close.c: Include <stap-probe.h>.
44113         (_dl_close_worker): Added static probes "unmap_start" and
44114         "unmap_complete".
44115         * elf/rtld-debugger-interface.txt: New file documenting the above.
44117 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44119         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44120         rather than a string variable.
44121         * sunrpc/rpc_main.c (h_output): Likewise.
44122         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44124 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44126         * inet/check_native.c: New file.
44128 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44130         [BZ #13629]
44131         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44132         if larger part has absolute value 1.0.
44133         * math/s_clog10.c (__clog10): Likewise.
44134         * math/s_clog10f.c (__clog10f): Likewise.
44135         * math/s_clog10l.c (__clog10l): Likewise.
44136         * math/s_clogf.c (__clogf): Likewise.
44137         * math/s_clogl.c (__clogl): Likewise.
44138         * math/libm-test.inc (clog_test): Add more tests.
44139         (clog10_test): Likewise.
44140         * sysdeps/i386/fpu/libm-test-ulps: Update.
44141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44143         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44144         (pltexit): Likewise.
44145         (La_regs): Likewise.
44146         (La_retval): Likewise.
44147         (int_retval): Likewise.
44148         Update #error for removed macros to refer only to definitions in
44149         tst-audit.h.
44150         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44151         macro.
44152         (pltexit): Likewise.
44153         (La_regs): Likewise.
44154         (La_retval): Likewise.
44155         (int_retval): Likewise.
44156         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44157         macro.
44158         (pltexit): Likewise.
44159         (La_regs): Likewise.
44160         (La_retval): Likewise.
44161         (int_retval): Likewise.
44162         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44163         macro.
44164         (pltexit): Likewise.
44165         (La_regs): Likewise.
44166         (La_retval): Likewise.
44167         (int_retval): Likewise.
44168         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44169         macro.
44170         (pltexit): Likewise.
44171         (La_regs): Likewise.
44172         (La_retval): Likewise.
44173         (int_retval): Likewise.
44174         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44175         macro.
44176         (pltexit): Likewise.
44177         (La_regs): Likewise.
44178         (La_retval): Likewise.
44179         (int_retval): Likewise.
44180         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44181         macro.
44182         (pltexit): Likewise.
44183         (La_regs): Likewise.
44184         (La_retval): Likewise.
44185         (int_retval): Likewise.
44186         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44187         macro definitions in tst-audit.h.
44188         * sysdeps/i386/tst-audit.h: New file.
44189         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44190         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44191         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44192         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44193         * sysdeps/sh/tst-audit.h: Likewise.
44194         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44195         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44196         * sysdeps/x86_64/tst-audit.h: Likewise.
44198 2012-07-26  Andreas Jaeger  <aj@suse.de>
44200         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44201         ptrace.
44203         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44204         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44205         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44206         PTRACE_O_MASK.
44207         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44208         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44209         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44211         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44212         value.
44214         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44215         _sigsys.
44216         (si_call_addr, si_syscall, si_arch): Define new macro.
44217         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44218         _sigsys.
44219         (si_call_addr, si_syscall, si_arch): Define new marcro.
44220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44221         _sigsys.
44222         (si_call_addr, si_syscall, si_arch): Define new macro.
44223         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44224         _sigsys.
44225         (si_call_addr, si_syscall, si_arch): Define new macro.
44227 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44229         [BZ #13717]
44230         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44231         Change to 2.4.21 where previously 2.4.1.
44232         * sysdeps/unix/sysv/linux/configure: Regenerated.
44233         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44234         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44235         Linux kernel version.
44236         (__ASSUME_STD_AUXV): Remove.
44237         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44238         kernel version.
44239         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44240         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44241         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44242         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44243         (__ASSUME_NETLINK_SUPPORT): Likewise.
44244         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44245         (__no_netlink_support): Remove conditional definition.
44246         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44247         Remove.
44248         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44249         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44250         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44251         (if_nameindex_ioctl): Remove.
44252         (if_nameindex_netlink): Do not handle __no_netlink_support.
44253         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44254         code.
44255         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44256         Remove conditional code.
44257         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44258         code.
44259         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44260         unconditional.
44261         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44262         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44263         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44264         Remove.
44265         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44266         [!__ASSUME_STD_AUXV]: Remove conditional code.
44267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44268         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44269         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44271         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44272         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44273         code.
44274         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44276         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44277         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44278         conditional code.
44279         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44281         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44282         code.
44283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44284         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44285         conditional code.
44286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44287         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44288         code unconditional.
44289         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44290         conditional code.
44291         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44292         unconditional.
44293         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44294         conditional code.
44295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44296         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44297         unconditional.
44298         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44299         conditional code.
44300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44301         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44302         code unconditional.
44303         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44304         conditional code.
44305         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44306         unconditional.
44307         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44308         conditional code.
44309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44310         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44311         code unconditional.
44312         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44313         conditional code.
44314         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44315         unconditional.
44316         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44317         conditional code.
44319 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44321         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44322         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44323         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44324         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44325         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44326         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44327         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44328         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44329         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44330         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44331         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44332         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44333         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44334         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44335         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44336         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44337         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44338         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44339         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44341         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44342         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44343         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44345 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44347         * Versions.def: Add GLIBC_2.17.
44348         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44349         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44350         Introduce __libc_secure_getenv.
44351         * stdlib/Versions (2.17): Add secure_getenv
44352         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44353         * stdlib/secure-getenv.c: Rename __secure_getenv to
44354         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44355         symbol __secure_getenv for GLIBC_2.0.
44356         * stdlib/tst-secure-getenv.c: New.
44357         * stdlib/Makefile (tests): Add testcase.
44358         * manual/startup.texi (Environment Access): Document
44359         secure_getenv.
44360         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44361         __libc_secure_getenv.
44362         * inet/ruserpass.c (ruserpass): Likewise.
44363         * malloc/mtrace.c (mtrace): Likewise.
44364         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44365         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44366         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44367         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44368         HAVE_SECURE_GETENV.
44369         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44370         __secure_getenv to __libc_secure_getenv.
44371         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44373         Likewise.
44374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44375         Likewise.
44376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44378         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44384 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44386         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44387         (struct La_i86_retval): Likewise.
44388         (struct La_x86_64_regs): Likewise.
44389         (struct La_x86_64_retval): Likewise.
44390         (struct La_x32_regs): Likewise.
44391         (struct La_x32_retval): Likewise.
44392         (struct La_ppc32_regs): Likewise.
44393         (struct La_ppc32_retval): Likewise.
44394         (struct La_ppc64_regs): Likewise.
44395         (struct La_ppc64_retval): Likewise.
44396         (struct La_sh_regs): Likewise.
44397         (struct La_sh_retval): Likewise.
44398         (struct La_s390_32_regs): Likewise.
44399         (struct La_s390_32_retval): Likewise.
44400         (struct La_s390_64_regs): Likewise.
44401         (struct La_s390_64_retval): Likewise.
44402         (struct La_sparc32_regs): Likewise.
44403         (struct La_sparc32_retval): Likewise.
44404         (struct La_sparc64_regs): Likewise.
44405         (struct La_sparc64_retval): Likewise.
44406         (struct audit_ifaces): Remove architecture-specific pltenter and
44407         pltexit members.
44408         * sysdeps/i386/ldsodefs.h: New file.
44409         * sysdeps/powerpc/ldsodefs.h: Likewise.
44410         * sysdeps/s390/ldsodefs.h: Likewise.
44411         * sysdeps/sh/ldsodefs.h: Likewise.
44412         * sysdeps/sparc/ldsodefs.h: Likewise.
44413         * sysdeps/x86_64/ldsodefs.h: Likewise.
44415 2012-07-25  Marek Polacek  <polacek@redhat.com>
44417         [BZ #6808]
44418         * math/libm-test.inc (yn_test): Add another test.
44419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44420         to ERANGE when the result is +-Inf.
44421         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44422         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44423         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44424         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44426 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44428         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44429         equal to 0.
44430         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44431         clock_t.
44432         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44434 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44436         * configure.in <sysdeps resolving>: Correct printing
44437         Implies_before.
44438         * configure: Regenerate.
44440 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44442         * math/w_ilogb.c: Include <limits.h>.
44443         * math/w_ilogbl.c: Likewise.
44445 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44447         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44448         va_copy.  Document allowing for unavailable va_copy only as
44449         pre-C99 compatibility.
44450         * manual/string.texi (Copying and Concatenation): Use va_copy
44451         instead of __va_copy in concat example.
44453 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44455         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44456         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44457         it if not null.
44459         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44460         with O_NOLINK passed to __file_name_lookup.
44462         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44463         with O_NOLINK passed to __file_name_lookup.
44465         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44466         negative N or less than NGIDS.
44468         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44469         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44470         enough.  Use memcpy instead of strncpy.
44472 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44474         * elf/Makefile (check-data): Remove.
44475         (localplt.data): New vpath directive.
44476         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44477         instead of $(check-data).
44478         * scripts/data/localplt-generic.data: Move to ...
44479         * sysdeps/generic/localplt.data: ... here.
44480         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44481         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44482         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44484         ... here.
44485         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44487         ... here.
44488         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44490         ... here.
44491         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44493         ... here.
44494         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44496         ... here.
44497         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44499         ... here.
44501 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44503         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44504         PPC32 and PPC64 files.
44505         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44506         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44508 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44510         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44511         __makecontext_ret to ...
44512         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44513         ... here and call exit if uc_link is NULL.  New file.
44514         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44515         __makecontext_ret.S.
44516         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44517         __makecontext_ret to ...
44518         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44519         ... here and call exit if uc_link is NULL.  New file.
44520         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44521         __makecontext_ret.S.
44523 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44525         * elf/elf.h (R_390_IRELATIVE): New definition.
44526         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44527         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44528         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44529         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44530         (elf_machine_lazy_rel): Likewise.
44531         * sysdeps/s390/dl-irel.h: New file.
44532         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44533         * sysdeps/s390/s390-64/memset.S: New asm code.
44534         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44535         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44536         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44537         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44538         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44539         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44540         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44541         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44542         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44543         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44544         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44545         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44546         * sysdeps/s390/s390-32/memset.S: New asm code.
44547         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44549 2012-07-17  Marek Polacek  <polacek@redhat.com>
44551         [BZ #14349]
44552         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44553         * sysdeps/s390/s390-64/configure.in: Likewise.
44554         * sysdeps/sparc/configure.in: Likewise.
44555         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44556         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44557         * sysdeps/i386/configure.in: Likewise.
44558         * sysdeps/x86_64/configure.in: Likewise.
44559         * sysdeps/sh/configure.in: Likewise.
44560         * sysdeps/s390/s390-32/configure: Regenerated.
44561         * sysdeps/s390/s390-64/configure: Likewise.
44562         * sysdeps/x86_64/configure: Likewise.
44563         * sysdeps/sh/configure: Likewise.
44564         * sysdeps/powerpc/powerpc64/configure: Likewise.
44565         * sysdeps/powerpc/powerpc32/configure: Likewise.
44566         * sysdeps/sparc/configure: Likwise.
44567         * sysdeps/i386/configure: Likewise.
44569         * elf/dl-open.c: Comment fixes.
44571 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44573         * Makefile [CXX] (check-data): Remove.
44574         [CXX] (c++-types.data): New vpath directive.
44575         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44576         vpath.  Do not allow for C++ type data being missing.
44577         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44578         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44579         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44580         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44581         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44582         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44583         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44585         ... here.
44586         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44588         ... here.
44589         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44591         ... here.
44592         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44594         ... here.
44595         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44597         ... here.
44598         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44600         ... here.
44601         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44603         ... here.
44604         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44607         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44608         definitions to architecture-specific files.
44609         (TLS_IE): Likewise.
44610         (TLS_LD): Likewise.
44611         (TLS_GD): Likewise.
44612         * sysdeps/i386/tls-macros.h: New file.
44613         * sysdeps/powerpc/tls-macros.h: Likewise.
44614         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44615         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44616         * sysdeps/sh/tls-macros.h: Likewise.
44617         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44618         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44619         * sysdeps/x86_64/tls-macros.h: Likewise.
44621 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44623         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44624         zero value for regular exit case.
44626         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44627         (__start_context): Preserve zero value for regular exit case.
44629 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44630             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44632         * manual/setjmp.texi (setcontext): Clarify normal process
44633         termination when uc_link is the null pointer.
44634         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44635         exit call.
44637 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44639         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44640         preprocessor.  Test for each exception mask separately.
44642 2012-07-16  Andreas Jaeger  <aj@suse.de>
44644         * po/ru.po: Update from translation team.
44646 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44648         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44649         equal to 0.
44650         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44651         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44652         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44653         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44654         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44656 2012-07-13  Andreas Jaeger  <aj@suse.de>
44658         * po/fr.po: Update from translation team.
44660 2012-07-12  Marek Polacek  <polacek@redhat.com>
44662         [BZ #14173]
44663         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44664         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44665         loop condition.
44667 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44669         [BZ #13717]
44670         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44671         Change to 2.4.1 where previously 2.4.0.
44672         * sysdeps/unix/sysv/linux/configure: Regenerated.
44673         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44674         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44675         version.
44676         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44677         (__ASSUME_AT_CLKTCK): Remove.
44678         (__ASSUME_AT_PAGESIZE): Likewise.
44679         (__ASSUME_AT_XID): Likewise.
44680         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44681         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44682         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44683         unconditionally.
44684         (HAVE_AUX_PAGESIZE): Likewise.
44685         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44686         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44687         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44689 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44691         [BZ #14307]
44692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44693         the temporary buffer used to invoke __gethostbyname2_r,
44694         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44695         host_data / struct gaih_addrtuple.
44696         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44697         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44698         header file nss/nsswitch.h.
44699         * nss/nsswitch.h (global scope): Add definition of implementation
44700         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44701         resolv/nss_dns/dns-host.c).
44703 2012-07-11  Andreas Jaeger  <aj@suse.de>
44705         * po/fr.po: Update from translation team.
44707         * po/sv.po: Update from translation team
44708         * po/fr.po: Another update from translation team.
44710 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44712         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44713         for subnormals or multiply small sinh result by itself.
44714         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44717 2012-07-11  David S. Miller  <davem@davemloft.net>
44719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44721 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44723         [BZ #14347]
44724         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44725         (INTERNAL_MARK): Shift it here.
44727 2012-07-10  Marek Polacek  <polacek@redhat.com>
44729         [BZ #14151]
44730         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44731         libc_cv_asm_global_directive with .globl.
44732         * configure: Regenerated.
44733         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44734         with .globl.
44735         * sysdeps/i386/configure: Regenerated.
44736         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44737         with .globl.
44738         * sysdeps/x86_64/configure: Regenerated.
44739         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44740         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44741         * elf/tst-unique2mod2.c: Likewise.
44742         * elf/tst-unique2mod1.c: Likewise.
44743         * elf/tst-unique1mod2.c: Likewise.
44744         * elf/tst-unique1mod1.c: Likewise.
44745         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44746         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44747         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44748         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44749         * sysdeps/mach/sysdep.h: Likewise.
44750         * sysdeps/i386/sysdep.h: Likewise.
44751         * sysdeps/i386/i386-mcount.S: Likewise.
44752         * sysdeps/x86_64/_mcount.S: Likewise.
44753         * sysdeps/x86_64/sysdep.h: Likewise.
44754         * sysdeps/sh/_mcount.S: Likewise.
44755         * sysdeps/sh/sysdep.h: Likewise.
44756         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44757         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44758         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44759         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44760         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44761         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44762         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44763         * locale/localeinfo.h: Likewise.
44764         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44765         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44767 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44769         [BZ #14336]
44770         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44771         system".
44772         * manual/message.texi (The Uniforum approach): Likewise.
44773         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44774         (glibc iconv Implementation): Likewise.
44776 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44778         [BZ #14337]
44779         * math/s_clog.c (__clog): Avoid scaling a value down where that
44780         could result in underflow.
44781         * math/s_clog10.c (__clog10): Likewise.
44782         * math/s_clog10f.c (__clog10f): Likewise.
44783         * math/s_clog10l.c (__clog10l): Likewise.
44784         * math/s_clogf.c (__clogf): Likewise.
44785         * math/s_clogl.c (__clogl): Likewise.
44786         * math/libm-test.inc (clog_test): Add more tests.
44787         (clog10_test): Likewise.
44788         * sysdeps/i386/fpu/libm-test-ulps: Update.
44789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44791 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44793         [BZ #14283]
44794         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44795         by 7 not 8 to examine high bit of fractional part.
44797         [BZ #14042]
44798         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44799         for call to __mcount_internal.
44800         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44801         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44802         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44804 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44806         [BZ #14154]
44807         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44808         approximation for values within 0x1p-13f of an odd multiple of
44809         pi/4.
44810         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44811         exception.  Add more tests.
44812         * sysdeps/i386/fpu/libm-test-ulps: Update.
44814         [BZ #6778]
44815         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44816         inputs and return -1 for them.  Do not check for +Inf in case not
44817         reachable for +Inf.
44818         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44819         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44820         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44821         and return -1 for them.  Do not check for +Inf in case not
44822         reachable for +Inf.
44823         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44824         define.
44825         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44826         and return -1 for them.  Do not check for +Inf in case not
44827         reachable for +Inf.
44828         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44829         spurious underflow.
44830         * sysdeps/i386/fpu/libm-test-ulps: Update.
44831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44833 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44835         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44837 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44839         [BZ #14157]
44840         [BZ #14331]
44841         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44842         could result in spurious underflow.  Scale down values above
44843         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44844         * math/s_csqrtf.c (__csqrtf): Likewise.
44845         * math/s_csqrtl.c (__csqrtl): Likewise.
44846         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44847         spurious underflow.
44848         * sysdeps/i386/fpu/libm-test-ulps: Update.
44849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44851 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44853         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44854         xopen-msg.sed.
44855         * catgets/xopen-msg.awk: New file.
44856         * catgets/xopen-msg.sed: Removed.
44858         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44859         po2text.sed.
44860         * intl/po2test.awk: New file.
44861         * intl/po2test.sed: Removed.
44863 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44865         [BZ #14328]
44866         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44867         or multiply small sinh result by itself.
44868         * math/s_ctanf.c (__ctanf): Likewise.
44869         * math/s_ctanh.c (__ctanh): Likewise.
44870         * math/s_ctanhf.c (__ctanhf): Likewise.
44871         * math/s_ctanhl.c (__ctanhl): Likewise.
44872         * math/s_ctanl.c (__ctanl): Likewise.
44873         * math/libm-test.inc (ctan_test_tonearest): New function.
44874         (ctan_test_towardzero): Likewise.
44875         (ctan_test_downward): Likewise.
44876         (ctan_test_upward): Likewise.
44877         (ctanh_test_tonearest): Likewise.
44878         (ctanh_test_towardzero): Likewise.
44879         (ctanh_test_downward): Likewise.
44880         (ctanh_test_upward): Likewise.
44881         (main): Call these new functions.
44882         * sysdeps/i386/fpu/libm-test-ulps: Update.
44883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44885 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44887         * .gitignore: Delete /ports entry.
44889 2012-07-03  Andreas Jaeger  <aj@suse.de>
44891         * po/bg.po: Update from translation team.
44892         * po/cs.po: Likewise.
44893         * po/de.po: Likewise.
44894         * po/hr.po: Likewise.
44895         * po/nl.pl: Likewise.
44896         * po/pl.po: Likewise.
44897         * po/vi.po: Likewise.
44899 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44901         * Makeconfig [!+link] (+link-before-libc): New variable.
44902         [!+link] (+link-after-libc): Likewise.
44903         [!+link] (+link-tests): Likewise.
44904         [!+link] (+link): Define in terms of $(+link-before-libc) and
44905         $(+link-after-libc).
44906         [!+link-static] (+link-static-before-libc): New variable.
44907         [!+link-static] (+link-static-after-libc): Likewise.
44908         [!+link-static] (+link-static-tests): Likewise.
44909         [!+link-static] (+link-static): Define in terms of
44910         $(+link-static-before-libc) and $(+link-static-after-libc).
44911         [build-shared] (link-libc-before-gnulib): New variable.
44912         [build-shared] (link-libc-tests): Likewise.
44913         [build-shared] (link-libc): Define in terms of
44914         $(link-libc-before-gnulib).
44915         [!build-shared] (link-libc-tests): New variable.
44916         (link-libc-static-tests): New variable.
44917         [!gnulib] (gnulib-arch): New variable.
44918         [!gnulib] (gnulib-tests): Likewise.
44919         [!gnulib] (static-gnulib-arch): Likewise.
44920         [!gnulib] (static-gnulib-tests): Likewise.
44921         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44922         Define with "=" instead of ":=".
44923         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44924         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44925         * Rules (binaries-all-notests): New variable.
44926         (binaries-all-tests): Likewise.
44927         (binaries-static-notests): Likewise.
44928         (binaries-static-tests): Likewise.
44929         (binaries-all): Define using $(binaries-all-notests) and
44930         $(binaries-all-tests).
44931         (binaries-static): Define using $(binaries-static-notests) and
44932         $(binaries-static-tests).
44933         (binaries-shared-tests): New variable.
44934         (binaries-shared-notests): Likewise.
44935         (binaries-shared): Remove variable.
44936         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44937         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44938         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44939         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44940         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44941         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44942         * elf/Makefile (sln-modules): New variable.
44943         (extra-objs): Add $(sln-modules:=.o).
44944         (ldconfig-modules): Add static-stubs.
44945         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44946         * elf/static-stubs.c: New file.
44948         [BZ #14283]
44949         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44950         by 7 not 8 to examine high bit of fractional part.  Use volatile
44951         variables when splitting into final array of floats if
44952         __FLT_EVAL_METHOD__ != 0.
44953         * math/libm-test.inc (cos_test): Add another test.
44954         (sin_test): Likewise.
44955         * sysdeps/i386/fpu/libm-test-ulps: Update.
44957         [BZ #14273]
44958         * math/libm-test.inc (cosh_test): Add more tests.
44960         * version.h (RELEASE): Set to "development".
44961         (VERSION): Set to "2.16.90".
44963 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44965         * NEWS: Update copyright. Remove last-updated date.
44966         Mention math library bug fixes and timezone data changes.
44967         * README: Mention GNU/Hurd, x32, and HPPA support status.
44969 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44971         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44973 2012-06-27  Andreas Jaeger  <aj@suse.de>
44975         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44977 2012-06-25  Andreas Jaeger  <aj@suse.de>
44979         * sysdeps/s390/fpu/libm-test-ulps: Update.
44981 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44982             Thomas Schwinge  <thomas@codesourcery.com>
44984         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44985         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44986         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44987         fanotify_mark.
44989 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44991         * sysdeps/mach/start.c: Remove file.
44992         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44993         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44994         * sysdeps/sh/init-first.c: Likewise.
44996         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44997         registers for frame unwinding purposes, add CFI directives.
44998         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44999         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45000         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45001         Likewise.
45003         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45004         __fortify_fail returning.
45005         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45007         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45008         sysdeps/sh/____longjmp_chk.S.
45009         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45010         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45011         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45012         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45014         * sysdeps/sh/abort-instr.h: New file.
45015         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45016         process in case exit returns.
45018         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45019         initialize the GOT register before use.
45021         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45022         calculation of ARGC > 4.
45024         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45025         meaningful names to some local labels.
45027 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45028             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45030         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45031         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45032         (__arch_compare_and_exchange_val_16_acq): Likewise.
45033         (__arch_compare_and_exchange_val_32_acq): Likewise.
45034         (atomic_exchange_and_add): Fix gUSA sequence.
45035         (atomic_add): Likewise.
45036         (atomic_add_negative): Likewise.
45037         (atomic_add_zero): Likewise.
45038         (atomic_bit_test_set): Likewise.
45040 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45042         [BZ #13579]
45043         * include/link.h (struct link_map): Add l_free_initfini.
45044         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45045         l_initfini.
45046         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45047         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45048         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45049         set.
45051 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45053         * configure.in: Use AC_LANG_SOURCE.
45054         * configure: Regenerate.
45056 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45058         * configure.in (libc_cv_localstatedir): New substituted variable.
45059         * configure: Regenerated.
45060         * config.make.in (localstatedir): New variable, substituted from
45061         libc_cv_localstatedir.
45062         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45063         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45064         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45065         * sysdeps/gnu/configure: Regenerated.
45067 2012-06-21  Jeff Law  <law@redhat.com>
45069         [BZ #14277]
45070         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45071         free.  Simplify list management for _LIBC case.
45073 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45075         [BZ #14273]
45076         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45077         Clear sign bit of 64-bit integer value before comparing against
45078         overflow value.
45080         * sysdeps/mach/configure: Regenerated.
45082 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45084         [BZ #14278]
45085         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45087 2012-06-21  Jeff Law  <law@redhat.com>
45089         [BZ #13882]
45090         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45091         uint16_t for elements in the "seen" array to avoid char overflows.
45092         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45093         * elf/dl-open.c (dl_open_worker): Likewise.
45095 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45097         * scripts/list-sources.sh: Scan PORTS for translations.
45098         * po/libc.pot: Regenerated.
45100 2012-06-21  Andreas Jaeger  <aj@suse.de>
45102         [BZ #12194]
45103         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45104         warning.
45105         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45106         * bits/byteswap-16.h (__bswap_16): Likewise.
45107         * bits/byteswap.h (__bswap_constant_16): Likewise.
45109 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45111         [BZ #14117]
45112         * sysdeps/i386/fpu_control.h: Removed.
45113         * sysdeps/x86_64/fpu_control.h: Moved to ...
45114         * sysdeps/x86/fpu_control.h: Here.
45116         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45117         (_FPU_SETCW): Likewise.
45119 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45121         [BZ #14117]
45122         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45123         * sysdeps/x86/fpu/bits/mathinline.h: This.
45124         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45126         [BZ #14050]
45127         [BZ #14117]
45128         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45129         functions if __x86_64__ is defined.
45131 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45133         * string/endian.h: Add !__ASSEMBLER__ condition for including
45134         conversion interfaces.
45136 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45138         [BZ #14241]
45139         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45140         of ABS(x) in calculating zero to negative powers other than odd
45141         integers.
45142         * math/libm-test.inc (pow_test): Add more tests.
45144 2012-06-15  Andreas Jaeger  <aj@suse.de>
45146         * manual/contrib.texi (Contributors): Update entry of Liubov
45147         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45148         Machado Filho.
45150 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45152         * string/string.h: Add __wur to GNU version of strerror_r.
45154 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45156         [BZ #14229]
45157         * string/Makefile (tests): Add tst-strtok_r.
45158         * string/tst-strtok_r.c: New file.
45159         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45160         RAX_LP/RDX_LP on SAVE_PTR.
45162 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45164         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45166 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45168         * libm_test.inc (csqrt_test): Allow more spurious underflow
45169         exceptions.
45170         (j0_test): Likewise.
45171         (j1_test): Likewise.
45172         (y0_test): Likewise.
45173         (y1_test): Likewise.
45175 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45177         * po/Makefile (libc.pot): Use UTF-8 charset.
45179 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45181         [BZ #14210]
45182         Suppress sign-conversion warning from FD_SET.
45183         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45184         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45185         not unsigned long int.
45186         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45188 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45190         [BZ #14050]
45191         [BZ #14117]
45192         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45193         __extern_always_inline instead of __extern_inline.
45194         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45195         (__signbit): Likewise.
45196         (__signbitl): Support C++ namespace.
45197         (lrintf): New inline function.
45198         (lrint): Likewise.
45199         (llrintf): Likewise.
45200         (llrint): Likewise.
45201         (fmaxf): Likewise.
45202         (fmax): Likewise.
45203         (fminf): Likewise.
45204         (fmin): Likewise.
45205         (rint): Likewise.
45206         (rintf): Likewise.
45207         (ceil): Likewise.
45208         (ceilf): Likewise.
45209         (floor): Likewise.
45210         (floorf): Likewise.
45211         (nearbyint): Likewise.
45212         (nearbyintf): Likewise.
45214 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45217         non-default versions.
45219 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45221         [BZ #14218]
45222         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45224 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45226         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45227         (FE_UPWARD, FE_DOWNWARD): Don't define.
45228         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45229         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45231         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45232         reading it.
45233         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45234         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45236 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45238         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45239         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45240         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45241         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45243 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45245         [BZ #14117]
45246         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45247         * sysdeps/i386/fpu/Implies: New file.
45248         * sysdeps/x86_64/fpu/Implies: Likewise.
45249         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45250         * sysdeps/x86/fpu/bits/fenv.h: This.
45252         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45253         __SSE_MATH__.
45255 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45257         [BZ #14134]
45258         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45259         character 0xffff that matches the last element of the
45260         conversion table.
45262 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45264         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45265         fmodl commit.
45267 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45269         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45270         values higher than 25.6283.
45272 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45274         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45275         subnormal exponent extraction and add some __builtin_expect.
45276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45277         Fix for subnormal mantissa calculation.
45279 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45281         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45282         cpu2 is -1 and errno is not ENOSYS.
45284 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45286         [BZ #14117]
45287         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45288         * sysdeps/x86/bits/string.h: This.
45289         * sysdeps/x86_64/bits/string.h: Removed.
45291         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45292         if not compiling for x86-64, but compiling for >= i486.
45294         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45295         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45297         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45298         New macro from Linux kernel 3.4.0.
45299         (FP_XSTATE_MAGIC2): Likewise.
45300         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45301         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45302         (struct _fpx_sw_bytes): New struct.
45303         (struct _xsave_hdr): Likewise.
45304         (struct _ymmh_state): Likewise.
45305         (struct _xstate): Likewise.
45307         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45308         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45309         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45310         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45311         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45312         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45314         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45315         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45316         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45317         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45318         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45319         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45321 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45323         [BZ #13743]
45324         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45325         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45326         (sysdep_headers): Include sys/platform/ppc.h.
45327         * sysdeps/powerpc/test-gettimebase.c: Test for
45328         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45329         * manual/Makefile (appendices): Include platform.texi.
45330         * manual/contrib.texi (Contributors): Update @node pointers.
45331         * manual/maint.texi (Maintenance): Likewise.
45332         (Platform): New node.
45333         * manual/platform.texi: New file.  Document the new features.
45335 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45336             Jakub Jelinek  <jakub@redhat.com>
45338         [BZ #14188]
45339         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45340         where __builtin_expect is unavailable.
45342 2012-06-03  David S. Miller  <davem@davemloft.net>
45344         * stdlib/longlong.h: Updated from GCC.
45346 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45348         [BZ #14042]
45349         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45350         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45351         __mcount_internal.
45352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45353         (GLIBC_2.16): Likewise.
45355 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45357         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45359 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45362         (default-abi): New variable.
45363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45364         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45365         variable.
45366         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45367         Likewise.
45368         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45369         Likewise.
45370         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45371         Likewise.
45373         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45374         definition.  Document in comment.
45376 2012-06-01  David S. Miller  <davem@davemloft.net>
45378         * stdlib/longlong.h: Updated from GCC.
45380 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45382         [BZ #14117]
45383         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45384         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45385         sys/debugreg.h sys/io.h here.
45386         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45387         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45388         sys/io.h.
45389         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45390         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45391         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45392         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45393         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45394         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45396         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45397         Define only if __x86_64__ is defined.
45399 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45401         [BZ #14048]
45402         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45403         Use int64_t for variable i.
45404         * math/libm-test.inc (fmod_test): Add more tests.
45406         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45407         z computation is not scheduled after fetestexcept.
45408         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45409         Use math_force_eval instead of asm to ensure calculation scheduled
45410         before exception test.
45411         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45412         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45414 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45417         computation is not scheduled after fetestexcept.
45419 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45421         [BZ #14117]
45422         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45423         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45425 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45427         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45428         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45430 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45432         [BZ #14117]
45433         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45434         <bits/wordsize.h>.
45435         (__WCHAR_MIN): Support __WORDSIZE == 64.
45436         (__WCHAR_MAX): Likewise.
45438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45439         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45441         [BZ #14183]
45442         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45443         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45445         [BZ #14117]
45446         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45447         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45449         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45450         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45452         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45453         Defined to 1 if __x86_64__ isn't defined.
45454         (_STAT_VER_LINUX_OLD): New.
45455         (st_atime): Remove duplicate.
45456         (st_mtime): Likewise.
45457         (st_ctime): Likewise.
45459 2012-05-31  David S. Miller  <davem@davemloft.net>
45461         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45462         entries.
45464 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45466         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45467         gen-libm-test.pl.
45469         [BZ #14132]
45470         * elf/dl-reloc.c: Include <_itoa.h>.
45471         (_dl_reloc_bad_type): Remove use of INTUSE.
45472         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45473         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45474         * stdio-common/psiginfo.c (psiginfo): Likewise.
45475         * stdio-common/psignal.c (psignal): Likewise.
45476         * string/strsignal.c (strsignal): Likewise.
45477         * include/signal.h (_sys_siglist): Declare hidden proto.
45478         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45479         INTVARDEF with libc_hidden_data_def.
45480         * stdio-common/itoa-udigits.c: Likewise.
45481         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45482         (_itoa_lower_digits_internal): Remove declaration.
45483         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45484         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45485         (_sys_sigabbrev_internal): Remove aliases.
45486         (_sys_siglist): Define hidden alias.
45488 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45490         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45491         bits/sysctl.h.
45493 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45495         [BZ #14117]
45496         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45497         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45499         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45500         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45501         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45502         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45503         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45504         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45506         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45507         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45508         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45510         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45511         with __addr.
45512         (insw): Likewise.
45513         (insl): Likewise.
45514         (outsb): Likewise.
45515         (outsw): Likewise.
45516         (outsl): Likewise.
45518         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45519         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45520         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45522         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45523         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45524         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45525         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45526         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45527         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45529         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45530         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45532         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45533         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45535         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45537         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45539         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45540         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45541         to ...
45542         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45544         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45545         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45546         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45548         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45549         for x86-64.
45550         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45552 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45554         * math/math.h (M_El): Use two more decimal places.
45555         (M_LOG2El): Likewise.
45556         (M_LOG10El): Likewise.
45557         (M_LN2l): Likewise.
45558         (M_LN10l): Likewise.
45559         (M_PIl): Likewise.
45560         (M_PI_2l): Likewise.
45561         (M_PI_4l): Likewise.
45562         (M_1_PIl): Likewise.
45563         (M_2_PIl): Likewise.
45564         (M_2_SQRTPIl): Likewise.
45565         (M_SQRT2l): Likewise.
45566         (M_SQRT1_2l): Likewise.
45568 2012-05-31  David S. Miller  <davem@davemloft.net>
45570         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45571         values between float registers.
45572         * sysdeps/sparc/sparc64/memset.S: Likewise.
45573         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45575 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45577         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45578         -D_FORTIFY_SOURCE=1.
45579         (CPPFLAGS-tst-longjmp_chk.c): Define.
45580         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45581         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45582         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45583         CFLAGS-tst-wchar-h.c.
45585 2012-05-31  Marek Polacek  <polacek@redhat.com>
45587         [BZ #14132]
45588         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45589         __endmntent_internal): Remove declaration.
45590         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45591         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45592         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45594 2012-05-30  David S. Miller  <davem@davemloft.net>
45596         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45597         (___Q_simulate_exceptions): Use real FP ops rather than writing
45598         into the %fsr.
45599         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45600         Likewise.
45602 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45604         [BZ #14117]
45605         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45606         * sysdeps/x86/bits/xtitypes.h: This.
45608         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45609         * sysdeps/x86/bits/wordsize.h: This.
45611         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45612         * sysdeps/x86/bits/huge_vall.h: This.
45614         * sysdeps/i386/bits/select.h: Removed.
45615         * sysdeps/x86_64/bits/select.h: Renamed to ...
45616         * sysdeps/x86/bits/select.h: This.
45618         * sysdeps/i386/bits/setjmp.h: Removed.
45619         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45620         * sysdeps/x86/bits/setjmp.h: This.
45622         * sysdeps/i386/bits/mathdef.h: Removed.
45623         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45624         * sysdeps/x86/bits/mathdef.h: This.
45626 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45628         [BZ #14132]
45629         * include/sys/socket.h (__connect_internal)
45630         (__libc_sa_len_internal): Remove declaration.
45631         (__connect, __libc_sa_len): Declare hidden_proto.
45632         (SA_LEN): Remove use of INTUSE.
45633         * socket/connect.c: Add libc_hidden_def.
45634         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45635         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45636         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45637         alias.
45638         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45639         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45640         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45641         of adding _internal alias.
45643 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45645         [BZ #14117]
45646         * sysdeps/i386/bits/link.h: Removed.
45647         * sysdeps/i386/bits/linkmap.h: Likewise.
45648         * sysdeps/x86_64/bits/link.h: Renamed to ...
45649         * sysdeps/x86/bits/link.h: This.
45650         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45651         * sysdeps/x86/bits/linkmap.h: This.
45653         * sysdeps/i386/bits/endian.h: Removed.
45654         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45655         * sysdeps/x86/bits/endian.h: This.
45657         * sysdeps/i386/bits/byteswap.h: Removed.
45658         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45659         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45660         * sysdeps/x86/bits/byteswap.h: This.
45661         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45662         * sysdeps/x86/bits/byteswap-16.h: This.
45663         * sysdeps/i386/Implies: Add x86.
45664         * sysdeps/x86_64/Implies: Likewise.
45666 2012-05-30  David S. Miller  <davem@davemloft.net>
45668         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45669         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45670         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45671         (FP_TRAPPING_EXCEPTIONS): Define.
45672         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45673         (FP_TRAPPING_EXCEPTIONS): Define.
45674         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45675         subnormals only when inexact has been signalled or underflow
45676         exceptions are enabled.
45677         (_FP_PACK_CANONICAL): Likewise.
45679 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45681         [BZ #14183]
45682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45683         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45685 2012-05-30  Richard Henderson  <rth@twiddle.net>
45687         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45688         with #ifndef NOT_IN_libc.
45690         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45691         marked to avoid plt entry.
45693 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45695         [BZ #14112]
45696         * Makeconfig (default-abi): New macro.
45697         (abi-includes): Likewise.
45698         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45699         $(abi-$(default-abi)-lib-soname) for soname if defined.
45700         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45701         abi-variants.
45702         * Makefile (installed-stubs): Likewise.
45703         * include/stubs-biarch.h: Removed.
45704         * scripts/lib-names.awk: Only handle one library at a time.
45705         * scripts/soversions.awk: Remove WORDSIZE support.
45706         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45707         entries.
45708         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45709         Removed.
45710         (syscall-list-default-condition): Likewise.
45711         (syscall-list-default-condition): Likewise.
45712         (syscall-list-includes): Likewise.
45713         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45714         syscall-list-* with abi-*.  Handle undefined abi-variants.
45715         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45716         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45717         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45718         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45719         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45720         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45721         Removed.
45722         (syscall-list-32-options): Likewise.
45723         (syscall-list-32-condition): Likewise.
45724         (syscall-list-64-options): Likewise.
45725         (syscall-list-64-condition): Likewise.
45726         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45727         macro.
45728         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45729         Renamed to ...
45730         (abi-*): This.
45731         (abi-64-ld-soname): New macro.
45732         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45733         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45734         Renamed to ...
45735         (abi-*): This.
45736         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45737         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45739 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45741         * sysdeps/unix/sysv/linux/kernel-features.h
45742         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45743         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45744         include <kernel-features.h>.
45745         [!__NR_ftruncate64]: Remove conditional code.
45746         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45747         [__NR_ftruncate64]: Make code unconditional.
45748         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45749         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45750         include <kernel-features.h>.
45751         [!__NR_ftruncate64]: Remove conditional code.
45752         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45753         [__NR_ftruncate64]: Make code unconditional.
45754         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45756         include <kernel-features.h>.
45757         [!__NR_ftruncate64]: Remove conditional code.
45758         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45759         [__NR_ftruncate64]: Make code unconditional.
45760         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45762         include <kernel-features.h>.
45763         [!__NR_ftruncate64]: Remove conditional code.
45764         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45765         [__NR_ftruncate64]: Make code unconditional.
45766         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45768         * configure.in (libc_cv_fpie): Weaken to a compile test using
45769         LIBC_TRY_CC_OPTION.
45770         * configure: Regenerated.
45772 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45778         Refreshed.
45779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45785         Refreshed.
45787 2012-05-27  David S. Miller  <davem@davemloft.net>
45789         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45790         (___Q_zero): New.
45791         (__Q_simulate_exceptions): Return void.  Change to simulate
45792         exceptions by writing into the %fsr.
45793         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45794         (__Qp_handle_exceptions): Likewise.
45795         (numbers): Delete.
45796         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45797         __Qp_handle_exceptions.
45798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45799         __Qp_handle_exceptions.
45800         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45801         as unused and give dummy FP_RND_NEAREST initializer.
45802         (FP_INHIBIT_RESULTS): Define.
45803         (___Q_simulate_exceptions): Update declaration.
45804         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45805         formatting.
45806         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45807         as unused and give dummy FP_RND_NEAREST initializer.
45808         (__Qp_handle_exceptions): Update declaration.
45809         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45810         formatting.
45812 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45814         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45815         the temporary FPU control word.
45816         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45817         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45818         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45819         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45820         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45821         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45822         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45823         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45824         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45825         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45826         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45828 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45830         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45831         fields.
45833 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45835         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45836         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45837         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45838         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45839         Likewise.
45840         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45841         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45842         Likewise.
45844 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45846         * po/h.po: Update from translation team.
45848 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45850         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45852         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45853         handling of denormals.
45854         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45855         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45856         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45857         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45858         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45860         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45861         Likewise.
45863 2012-05-26  Marek Polacek  <polacek@redhat.com>
45865         [BZ #14152]
45866         * math/libm-test.inc (fma_test): Don't always expect underflow
45867         exception.
45869 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45871         [BZ #12416]
45872         * elf/tst-execstack.c: Include stackinfo.h.
45873         (do_test): Adjust test case to ensure that pthread_getattr_np
45874         behaviour remains the same after marking stack executable.
45876 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45878         * sysdeps/unix/sysv/linux/kernel-features.h
45879         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45880         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45881         kernel-features.h.
45882         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45883         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45884         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45885         kernel-features.h.
45886         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45887         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45889 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45891         * configure.in: Define the default includes to being none.
45892         * configure: Regenerated.
45894 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45896         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45897         * sysdeps/x86_64/setjmp.S: Likewise.
45898         * sysdeps/i386/bsd-setjmp.S: Likewise.
45899         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45900         * sysdeps/i386/setjmp.S: Likewise.
45901         * sysdeps/i386/__longjmp.S: Likewise.
45902         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45903         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45905         * include/stap-probe.h: New file.
45906         * configure.in: Handle --enable-systemtap.
45907         * configure: Regenerated.
45908         * config.h.in (USE_STAP_PROBE): New #undef.
45909         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45910         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45911         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45913 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45915         [BZ #13717]
45916         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45917         to 2.4.0 where earlier.
45918         * sysdeps/unix/sysv/linux/configure: Regenerated.
45919         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45920         <kernel-features.h>.
45921         [__ASSUME_32BITUIDS]: Make code unconditional.
45922         [!__ASSUME_32BITUIDS]: Remove conditional code.
45923         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45924         <kernel-features.h>.
45925         [__ASSUME_32BITUIDS]: Make code unconditional.
45926         [!__ASSUME_32BITUIDS]: Remove conditional code.
45927         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45928         [__ASSUME_32BITUIDS]: Make code unconditional.
45929         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45930         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45931         <kernel-features.h>.
45932         [__ASSUME_32BITUIDS]: Make code unconditional.
45933         [!__ASSUME_32BITUIDS]: Remove conditional code.
45934         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45935         <kernel-features.h>.
45936         [__ASSUME_32BITUIDS]: Make code unconditional.
45937         [!__ASSUME_32BITUIDS]: Remove conditional code.
45938         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45939         <kernel-features.h>.
45940         [__ASSUME_32BITUIDS]: Make code unconditional.
45941         [!__ASSUME_32BITUIDS]: Remove conditional code.
45942         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45943         <kernel-features.h>.
45944         [__ASSUME_32BITUIDS]: Make code unconditional.
45945         [!__ASSUME_32BITUIDS]: Remove conditional code.
45946         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45947         <kernel-features.h>.
45948         [__ASSUME_32BITUIDS]: Make code unconditional.
45949         [!__ASSUME_32BITUIDS]: Remove conditional code.
45950         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45951         <kernel-features.h>.
45952         [__ASSUME_32BITUIDS]: Make code unconditional.
45953         [!__ASSUME_32BITUIDS]: Remove conditional code.
45954         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45955         <kernel-features.h>.
45956         [__ASSUME_32BITUIDS]: Make code unconditional.
45957         [!__ASSUME_32BITUIDS]: Remove conditional code.
45958         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45959         <kernel-features.h>.
45960         [__ASSUME_32BITUIDS]: Make code unconditional.
45961         [!__ASSUME_32BITUIDS]: Remove conditional code.
45962         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45963         <kernel-features.h>.
45964         [__ASSUME_32BITUIDS]: Make code unconditional.
45965         [!__ASSUME_32BITUIDS]: Remove conditional code.
45966         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45967         <kernel-features.h>.
45968         [__ASSUME_32BITUIDS]: Make code unconditional.
45969         [!__ASSUME_32BITUIDS]: Remove conditional code.
45970         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45971         <kernel-features.h>.
45972         [__NR_setresgid] (__setresgid): Do not declare.
45973         [__ASSUME_32BITUIDS]: Make code unconditional.
45974         [!__ASSUME_32BITUIDS]: Remove conditional code.
45975         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45976         <kernel-features.h>.
45977         [__NR_setresuid] (__setresuid): Do not declare.
45978         [__ASSUME_32BITUIDS]: Make code unconditional.
45979         [!__ASSUME_32BITUIDS]: Remove conditional code.
45980         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45981         <kernel-features.h>.
45982         [__ASSUME_32BITUIDS]: Make code unconditional.
45983         [!__ASSUME_32BITUIDS]: Remove conditional code.
45984         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45985         <kernel-features.h>.
45986         [__ASSUME_32BITUIDS]: Make code unconditional.
45987         [!__ASSUME_32BITUIDS]: Remove conditional code.
45988         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45989         <kernel-features.h>.
45990         [__ASSUME_32BITUIDS]: Make code unconditional.
45991         [!__ASSUME_32BITUIDS]: Remove conditional code.
45992         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45993         <kernel-features.h>.
45994         [__ASSUME_32BITUIDS]: Make code unconditional.
45995         [!__ASSUME_32BITUIDS]: Remove conditional code.
45996         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45997         <kernel-features.h>.
45998         [__ASSUME_32BITUIDS]: Make code unconditional.
45999         [!__ASSUME_32BITUIDS]: Remove conditional code.
46000         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46001         <kernel-features.h>.
46002         [__ASSUME_32BITUIDS]: Make code unconditional.
46003         [!__ASSUME_32BITUIDS]: Remove conditional code.
46004         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46005         <kernel-features.h>.
46006         [__ASSUME_32BITUIDS]: Make code unconditional.
46007         [!__ASSUME_32BITUIDS]: Remove conditional code.
46008         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46009         <kernel-features.h>.
46010         [__ASSUME_32BITUIDS]: Make code unconditional.
46011         [!__ASSUME_32BITUIDS]: Remove conditional code.
46012         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46013         <kernel-features.h>.
46014         [__ASSUME_32BITUIDS]: Make code unconditional.
46015         [!__ASSUME_32BITUIDS]: Remove conditional code.
46016         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46017         <kernel-features.h>.
46018         [__ASSUME_32BITUIDS]: Make code unconditional.
46019         [!__ASSUME_32BITUIDS]: Remove conditional code.
46020         * sysdeps/unix/sysv/linux/kernel-features.h
46021         (__ASSUME_SETRESUID_SYSCALL): Remove.
46022         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46023         (__ASSUME_32BITUIDS): Likewise.
46024         (__ASSUME_LDT_WORKS): Likewise.
46025         (__ASSUME_O_DIRECTORY): Likewise.
46026         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46027         architecture but not kernel version.
46028         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46029         (__ASSUME_MMAP2_SYSCALL): Likewise.
46030         (__ASSUME_STAT64_SYSCALL): Likewise.
46031         (__ASSUME_IPC64): Likewise.
46032         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46033         <kernel-features.h>.
46034         [__ASSUME_32BITUIDS]: Make code unconditional.
46035         [!__ASSUME_32BITUIDS]: Remove conditional code.
46036         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46037         <kernel-features.h>.
46038         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46039         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46040         132096]: Remove conditional code.
46041         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46042         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46043         <kernel-features.h>.
46044         [__ASSUME_32BITUIDS]: Make code unconditional.
46045         [!__ASSUME_32BITUIDS]: Remove conditional code.
46046         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46047         <kernel-features.h>.
46048         [__ASSUME_32BITUIDS]: Make code unconditional.
46049         [!__ASSUME_32BITUIDS]: Remove conditional code.
46050         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46051         <kernel-features.h>.
46052         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46053         unconditional.
46054         (__setresgid): Do not declare.
46055         [__ASSUME_32BITUIDS]: Make code unconditional.
46056         [!__ASSUME_32BITUIDS]: Remove conditional code.
46057         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46058         <kernel-features.h>.
46059         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46060         unconditional.
46061         (__setresuid): Do not declare.
46062         [__ASSUME_32BITUIDS]: Make code unconditional.
46063         [!__ASSUME_32BITUIDS]: Remove conditional code.
46064         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46065         <kernel-features.h>.
46066         [__ASSUME_32BITUIDS]: Make code unconditional.
46067         [!__ASSUME_32BITUIDS]: Remove conditional code.
46068         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46069         <kernel-features.h>.
46070         [__ASSUME_32BITUIDS]: Make code unconditional.
46071         [!__ASSUME_32BITUIDS]: Remove conditional code.
46073 2012-05-25  Richard Henderson  <rth@twiddle.net>
46075         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46076         dl_hwcap to ifunc resolver.
46077         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46078         elf_ifunc_invoke.
46079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46080         dl_hwcap to ifunc resolver.
46081         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46083 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46085         [BZ #14153]
46086         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46087         for |x| <= 2**-26, not 2**-57.
46088         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46089         exception.
46091 2012-05-24  Jeff Law  <law@redhat.com>
46093         * stdio-common/Makefile (tests): Add bug25.
46094         * stdio-common/bug25.c: New test.
46096 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46098         [BZ #13576]
46099         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46100         multiple of MALLOC_ALIGNMENT in size.
46101         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46103 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46105         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46106         Require >= 256.
46107         (FILENAME_MAX): Use macro-int-constant.
46108         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46109         (_IOFBF): Use macro-int-constant.
46110         (_IOLBF): Likewise.
46111         (_IONBF): Likewise.
46112         (SEEK_CUR): Likewise.
46113         (SEEK_END): Likewise.
46114         (SEEK_SET): Likewise.
46115         (TMP_MAX): Likewise.
46116         (EOF): Use macro-int-constant.  Require < 0.
46117         (NULL): Use macro-constant.  Require == 0.
46118         (stdin): Require type to be FILE *.
46119         (stdout): Likewise.
46120         (stderr): Likewise.
46121         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46122         macro-int-constant.
46123         (EXIT_SUCCESS): Likewise.
46124         (NULL): Use macro-constant.  Require == 0.
46125         (RAND_MAX): Use macro-int-constant.
46126         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46127         [C99-based standards] (strtof): Require function.
46128         [C99-based standards] (strtold): Likewise.
46129         [C99-based standards] (strtoll): Likewise.
46130         [C99-based standards] (strtoull): Likewise.
46131         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46132         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46133         [ISO || ISO99 || ISO11] (math.h): Likewise.
46134         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46135         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46136         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46138 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46140         [BZ #14132]
46141         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46142         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46143         * intl/dgettext.c (DCGETTEXT): Likewise.
46144         * intl/gettext.c (DCGETTEXT): Likewise.
46145         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46146         * posix/regex_internal.h (gettext): Likewise.
46147         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46148         Remove declaration.
46149         * include/argz.h (__argz_count_internal)
46150         (__argz_stringify_internal): Remove declaration.
46151         (__argz_count, __argz_stringify): Declare hidden proto.
46152         * intl/dcgettext.c: Remove use of INTDEF.
46153         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46154         * string/argz-stringify.c: Likewise.
46155         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46156         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46157         Declare hidden proto.
46158         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46159         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46160         Declare hidden proto.
46161         * include/stdio.h (__asprintf_internal): Don't declare.
46162         (__asprintf): Don't define as macro.  Declare hidden proto.
46163         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46164         (__fsetlocking): Declare hidden proto.
46165         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46166         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46167         hidden proto.
46168         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46169         (_IO_setlinebuf): Remove use of INTUSE.
46170         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46171         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46172         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46173         Remove declaration.
46174         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46175         (_IO_do_flush): Remove use of INTUSE.
46176         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46177         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46178         (_IO_adjust_column, _IO_least_wmarker)
46179         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46180         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46181         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46182         (_IO_default_doallocate, _IO_wdefault_doallocate)
46183         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46184         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46185         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46186         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46187         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46188         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46189         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46190         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46191         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46192         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46193         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46194         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46195         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46196         proto.
46197         (_IO_flush_all_internal, _IO_adjust_column_internal)
46198         (_IO_default_uflow_internal, _IO_default_finish_internal)
46199         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46200         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46201         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46202         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46203         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46204         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46205         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46206         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46207         (_IO_file_close_internal, _IO_file_close_it_internal)
46208         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46209         (_IO_file_init_internal, _IO_file_attach_internal)
46210         (_IO_file_fopen_internal, _IO_file_read_internal)
46211         (_IO_file_sync_internal, _IO_file_seek_internal)
46212         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46213         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46214         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46215         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46216         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46217         (_IO_list_all_internal, _IO_link_in_internal)
46218         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46219         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46220         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46221         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46222         (_IO_do_write_internal, _IO_padn_internal)
46223         (_IO_getline_info_internal, _IO_getline_internal)
46224         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46225         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46226         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46227         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46228         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46229         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46230         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46231         with libc_hidden_ver, remove use of INTUSE.
46232         * libio/genops.c: Likewise.
46233         * libio/freopen.c: Likewise.
46234         * libio/freopen64.c: Likewise.
46235         * libio/iofclose.c: Likewise.
46236         * libio/iofdopen.c: Likewise.
46237         * libio/iofflush.c: Likewise.
46238         * libio/iofflush_u.c: Likewise.
46239         * libio/iofgets.c: Likewise.
46240         * libio/iofgets_u.c: Likewise.
46241         * libio/iofopen.c: Likewise.
46242         * libio/iofopncook.c: Likewise.
46243         * libio/iofread.c: Likewise.
46244         * libio/iofread_u.c: Likewise.
46245         * libio/ioftell.c: Likewise.
46246         * libio/iofwrite.c: Likewise.
46247         * libio/iogetline.c: Likewise.
46248         * libio/iogets.c: Likewise.
46249         * libio/iogetwline.c: Likewise.
46250         * libio/iopadn.c: Likewise.
46251         * libio/iopopen.c: Likewise.
46252         * libio/ioseekoff.c: Likewise.
46253         * libio/ioseekpos.c: Likewise.
46254         * libio/iosetbuffer.c: Likewise.
46255         * libio/iosetvbuf.c: Likewise.
46256         * libio/ioungetc.c: Likewise.
46257         * libio/ioungetwc.c: Likewise.
46258         * libio/iovdprintf.c: Likewise.
46259         * libio/iovsprintf.c: Likewise.
46260         * libio/iovsscanf.c: Likewise.
46261         * libio/memstream.c: Likewise.
46262         * libio/obprintf.c: Likewise.
46263         * libio/oldfileops.c: Likewise.
46264         * libio/oldiofclose.c: Likewise.
46265         * libio/oldiofdopen.c: Likewise.
46266         * libio/oldiofopen.c: Likewise.
46267         * libio/oldiopopen.c: Likewise.
46268         * libio/oldstdfiles.c: Likewise.
46269         * libio/putc.c: Likewise.
46270         * libio/setbuf.c: Likewise.
46271         * libio/setlinebuf.c: Likewise.
46272         * libio/stdfiles.c: Likewise.
46273         * libio/strops.c: Likewise.
46274         * libio/vasprintf.c: Likewise.
46275         * libio/vscanf.c: Likewise.
46276         * libio/vsnprintf.c: Likewise.
46277         * libio/vswprintf.c: Likewise.
46278         * libio/wfiledoalloc.c: Likewise.
46279         * libio/wfileops.c: Likewise.
46280         * libio/wgenops.c: Likewise.
46281         * libio/wmemstream.c: Likewise.
46282         * libio/wstrops.c: Likewise.
46283         * libio/__fpurge.c: Likewise.
46284         * libio/__fsetlocking.c: Likewise.
46285         * assert/assert.c: Likewise.
46286         * debug/fgets_chk.c: Likewise.
46287         * debug/fgets_u_chk.c: Likewise.
46288         * debug/fread_chk.c: Likewise.
46289         * debug/fread_u_chk.c: Likewise.
46290         * debug/gets_chk.c: Likewise.
46291         * debug/obprintf_chk.c: Likewise.
46292         * debug/vasprintf_chk.c: Likewise.
46293         * debug/vdprintf_chk.c: Likewise.
46294         * debug/vsnprintf_chk.c: Likewise.
46295         * debug/vsprintf_chk.c: Likewise.
46296         * malloc/mtrace.c: Likewise.
46297         * misc/error.c: Likewise.
46298         * misc/syslog.c: Likewise.
46299         * stdio-common/asprintf.c: Likewise.
46300         * stdio-common/fxprintf.c: Likewise.
46301         * stdio-common/getw.c: Likewise.
46302         * stdio-common/isoc99_fscanf.c: Likewise.
46303         * stdio-common/isoc99_scanf.c: Likewise.
46304         * stdio-common/isoc99_vfscanf.c: Likewise.
46305         * stdio-common/isoc99_vscanf.c: Likewise.
46306         * stdio-common/isoc99_vsscanf.c: Likewise.
46307         * stdio-common/printf-prs.c: Likewise.
46308         * stdio-common/printf_fp.c: Likewise.
46309         * stdio-common/printf_fphex.c: Likewise.
46310         * stdio-common/printf_size.c: Likewise.
46311         * stdio-common/putw.c: Likewise.
46312         * stdio-common/scanf.c: Likewise.
46313         * stdio-common/sprintf.c: Likewise.
46314         * stdio-common/tmpfile.c: Likewise.
46315         * stdio-common/vfprintf.c: Likewise.
46316         * stdio-common/vfscanf.c: Likewise.
46317         * stdlib/strfmon_l.c: Likewise.
46318         * sunrpc/openchild.c: Likewise.
46319         * sunrpc/xdr_stdio.c: Likewise.
46320         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46321         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46323 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46325         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46327         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46328         in the third column, to generate for the shared library an IFUNC
46329         that uses _dl_vdso_vsym.
46330         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46331         * Makeconfig (object-suffixes-noshared): New variable.
46333         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46334         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46335         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46336         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46338         [BZ #14132]
46339         * include/sys/time.h (__gettimeofday): Remove macro.
46340         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46341         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46342         Remove INTDEF.
46343         (__gettimeofday): Add libc_hidden_def.
46344         (gettimeofday): Add libc_hidden_weak.
46345         * sysdeps/mach/gettimeofday.c: Likewise.
46346         * sysdeps/posix/gettimeofday.c: Likewise.
46347         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46348         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46349         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46350         (__gettimeofday_internal): Remove strong_alias.
46351         (__gettimeofday): Add libc_hidden_def.
46352         (gettimeofday): Add libc_hidden_weak.
46353         * sysdeps/unix/syscalls.list (gettimeofday):
46354         Remove __gettimeofday_internal alias.
46356 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46357             H.J. Lu  <hongjiu.lu@intel.com>
46359         [BZ #12495]
46360         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46361         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46362         (largebin_index_32_big): New.
46363         (largebin_index): Use it for 16-byte alignment.
46364         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46365         correction with front_misalign.
46367 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46371         Likewise.
46372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46373         Likewise.
46374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46375         Likewise.
46376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46377         Likewise.
46378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46379         Likewise.
46380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46381         Likewise.
46382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46383         Likewise.
46384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46385         Likewise.
46386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46387         Likewise.
46388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46389         Likewise.
46390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46391         Likewise.
46392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46393         Likewise.
46395         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46396         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46398 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46400         [BZ #10846]
46401         [BZ #14036]
46402         * math/libm-test.inc (exp_test): Add test from bug 14036.
46403         (pow_test): Add test from bug 10846.
46405         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46406         and other flags.
46407         (special_function): Do not include flags in test name.
46408         (parse_args): Likewise.
46409         * sysdeps/i386/fpu/libm-test-ulps: Update.
46410         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46411         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46412         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46415         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46416         exceptions.
46417         * math/libm-test.inc ("Philosophy"): Update comment about
46418         exception testing.
46419         (UNDERFLOW_EXCEPTION): New macro.
46420         (UNDERFLOW_EXCEPTION_OK): Likewise.
46421         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46422         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46423         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46424         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46425         (INVALID_EXCEPTION_OK): Update value.
46426         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46427         (OVERFLOW_EXCEPTION_OK): Likewise.
46428         (IGNORE_ZERO_INF_SIGN): Likewise.
46429         (test_exceptions): Handle underflow exceptions.
46430         (acos_test): Update for underflow exception expectations.
46431         (cexp_test): Likewise.
46432         (clog_test): Likewise.
46433         (clog10_test): Likewise.
46434         (csqrt_test): Likewise.
46435         (ctan_test): Likewise.
46436         (ctanh_test): Likewise.
46437         (exp_test): Likewise.
46438         (exp10_test): Likewise.
46439         (exp2_test): Likewise.
46440         (expm1_test): Likewise.
46441         (fma_test): Likewise.
46442         (j0_test): Likewise.
46443         (jn_test): Likewise.
46444         (nexttoward_test): Likewise.
46445         (pow_test): Likewise.
46446         (scalbn_test): Likewise.
46447         (scalbln_test): Likewise.
46448         (tan_test): Likewise.
46449         (y1_test): Likewise.
46450         * sysdeps/i386/fpu/libm-test-ulps: Update.
46451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46453 2012-05-23  David S. Miller  <davem@davemloft.net>
46455         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46456         (__libc_sigaction): Remove unused local variables.
46458 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46460         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46462 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46464         mktime: avoid signed integer overflow
46465         * time/mktime.c (__mktime_internal): Do not mishandle the case
46466         where diff == INT_MIN.
46468         mktime: simplify computation of average
46469         * time/mktime.c (ranged_convert): Use new time_t_avg function
46470         instead of rolling our own (probably-slower) code.
46472         mktime: do not assume signed right shift propagates sign bit
46473         * time/mktime.c (isdst_differ): New static function.
46474         (__mktime_internal): No need to normalize tm_isdst now.
46475         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46476         tm_isdst values.
46478         mktime: merge another wrapv change from gnulib
46479         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46480         from some compilers.
46482         mktime: remove incorrect attempt at unusual arithmetics
46483         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46484         The code didn't really work on such machines anyway.
46485         (TYPE_MINIMUM): Assume two's complement.
46486         (twos_complement_arithmetic): Verify that long_int and time_t
46487         are two's complement (or unsigned, in the latter case).
46489         mktime: check signed shifts on long_int and time_t, too
46490         * time/mktime.c (SHR): Check that shifts work as desired
46491         on the types long_int and time_t too, as SHR is used on
46492         such types.
46494         mktime: do not assume 'long' is wide enough
46495         * time/mktime.c (verify): Move decl up.
46496         (long_int): New type.
46497         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46498         to remove assumption in the code that 'long' is wide enough to
46499         store year values.  This assumption is not true on x32 and on
46500         some non-glibc platforms.
46502         mktime: merge wrapv change from gnulib
46503         * time/mktime.c (WRAPV): New macro.
46504         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46505         (guess_time_tm, __mktime_internal): Do not assume that signed
46506         integer overflow wraps around; modern compilers generate code
46507         where this assumption is no longer valid.
46509 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46511         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46512         Replace "jmp L(pseudo_end)" with "ret".
46513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46514         Likewise.
46516 2012-05-23  Andreas Jaeger  <aj@suse.de>
46518         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46519         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46521 2012-05-23  Andreas Jaeger  <aj@suse.de>
46522             Maximilian Attems  <max@stro.at>
46524         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46525         New macros.
46527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46529         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46530         code so that pseudo_end is just ret and the stack pointer is
46531         correct also for static library in error case.
46533 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46535         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46536         move to syscalls.list.
46537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46542         * manual/install.texi (Running make install): Do not mention Linux
46543         kernel version for which pt_chown is not needed.
46544         (Linux): Do not mention problems with nscd with 2.0 kernels.
46545         * INSTALL: Regenerated.
46547 2012-05-23  Andreas Jaeger  <aj@suse.de>
46549         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46550         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46551         macro.
46552         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46553         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46554         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46555         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46556         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46557         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46558         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46559         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46560         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46561         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46562         * sysdeps/unix/sysv/linux/bits/in.h
46563         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46565 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46567         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46568         (PREPARE_VERSION): Just use assert instead, it will be elided
46569         under [NDEBUG] anyway.
46571 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46573         * sysdeps/unix/sysv/linux/Makefile: Include
46574         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46575         (sysdep_routines): Remove sysctl.
46576         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46577         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46578         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46579         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46580         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46582 2012-05-22  Andreas Jaeger  <aj@suse.de>
46584         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46585         that pseudo_end is just ret and the stack pointer is correct also
46586         for static library in error case.
46588 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46590         [BZ #14122]
46591         * nss/nsswitch.c (defconfig_entries): New variable.
46592         (__nss_database_lookup): Don't leak defconfig entries.
46593         (nss_parse_service_list): Don't leak on error paths.
46594         (free_database_entries): New function.
46595         (free_defconfig): New function.
46596         (free_mem): Move common code to free_database_entries.
46598 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46600         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46601         Add arch_prctl.
46602         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46604         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46605         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46607         New macro.
46608         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46609         (INTERNAL_SYSCALL_TYPES): Likewise.
46610         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46611         (LOAD_REGS_TYPES_[1-6]): Likewise.
46612         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46613         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46615 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46617         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46618         copysignl for GLIBC_2_0.
46619         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46620         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46622         logbl for GLIBC_2_0.
46623         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46624         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46626 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46628         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46629         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46631         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46632         Use "neg %eax".
46634         * time/mktime.c: Update copyright years.
46636 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46638         mktime: merge comment-quoting-style change from gnulib
46639         * time/mktime.c: Quote 'like this' in comments.
46640         The GNU coding standards suggest that we no longer quote `like this',
46641         as "`" and "'" are typically rendered asymmetrically nowadays.
46642         The typical gnulib style is to quote 'like this' when quoting
46643         code, and "like this" when quoting English.
46645         * time/mktime.c (compile-command): Add "-I.".
46647         mktime: merge mktime-internal.h change from gnulib
46648         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46650         mktime: merge time_r change from gnulib
46651         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46653         mktime: merge DEBUG change from gnulib
46654         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46655         case system <time.h> has a #define.
46657         mktime: merge <sys/types.h> change from gnulib
46658         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46659         since <time.t> is now guaranteed to define time_t.
46661         mktime: merge HAVE_CONFIG_H change from gnulib
46662         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46664 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46667         Use "neg %eax".
46669         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46670         __rlim_t cast.
46671         (struct rusage): Use anonymous union to pad each field to
46672         __syscall_slong_t.
46674 2012-05-21  David S. Miller  <davem@davemloft.net>
46676         * Makefules (o-iterator): Remove .s cases.
46677         (compile-command.s): Delete.
46678         (COMPILE.s): Delete.
46679         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46681 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46683         * configure.in (libc_cv_predef_stack_protector): Only consider
46684         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46685         * configure: Regenerated.
46687 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46690         New macro.  Use R*LP on int and pointer.
46691         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46692         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46693         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46694         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46696         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46697         [__WORDSIZE_TIME64_COMPAT32] instead of
46698         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46699         (struct utmp): Likewise.
46700         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46701         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46702         Renamed to ...
46703         (__WORDSIZE_TIME64_COMPAT32): This.
46704         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46705         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46706         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46707         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46708         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46709         (__WORDSIZE_TIME64_COMPAT32): New macro.
46711 2012-05-21  Andreas Jaeger  <aj@suse.de>
46713         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46714         only if [SHARED]. Add prototype for __wcschr_ia32.
46716 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46718         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46719         of %rbp unmolested in the jmp_buf while mangling the low bits.
46720         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46721         unmolested high bits of %rbp while demangling the low bits.
46722         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46724 2012-05-21  Andreas Jaeger  <aj@suse.de>
46726         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46727         * sunrpc/svc_simple.c: Use it for registerrpc.
46728         * sunrpc/xcrypt.c: Use it for passwd2des.
46730         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46732 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46734         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46735         Don't define if [__SYSCALL_WORDSIZE != 32].
46736         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46737         New macro.
46739 2012-05-21  Bruno Haible  <bruno@clisp.org>
46740             Andreas Jaeger  <aj@suse.de>
46742         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46743         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46744         inptr and inend for must_buffer_ch.
46745         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46746         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46747         * stdio-common/Makefile (tests): Remove bug15.
46748         (bug15-ENV): Remove macro.
46749         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46750         anymore.
46752 2012-05-19  Andreas Jaeger  <aj@suse.de>
46753             Roland McGrath  <roland@hack.frob.com>
46755         * manual/contrib.texi: Completely rewritten. It contains now an
46756         alphabetical list of contributors and their contributions.
46758 2012-05-21  Richard Henderson  <rth@twiddle.net>
46760         * misc/getauxval.c (__getauxval): Use unsigned long int.
46761         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46762         (getauxval): Use unsigned long int.
46764 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46766         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46768 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46770         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46771         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46772         __alignof__ (long double).
46774 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46778 2012-05-20  Richard Henderson  <rth@twiddle.net>
46780         * misc/getauxval.c: New file.
46781         * misc/sys/auxv.h: New file.
46782         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46783         (routines): Add getauxval.
46784         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46785         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46786         * elf/dl-sysdep.c (_dl_auxv): Remove.
46787         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46788         * elf/dl-support.c (_dl_auxv): New variable.
46789         (_dl_aux_init): Initialize it.
46790         * manual/startup.texi (Auxiliary Vector): New node.
46791         * sysdeps/generic/bits/hwcap.h: New file.
46792         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46793         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46794         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46795         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46796         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46799         Update.
46800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46809 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46813 2012-05-19  David S. Miller  <davem@davemloft.net>
46815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46817 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46819         [BZ #14123]
46820         * math/s_ccosh.c: Include <float.h>
46821         (__ccosh): Avoid internal overflow calculating sinh and cosh
46822         values before multiplying by sin and cos values.
46823         * math/s_ccoshf.c: Likewise.
46824         * math/s_ccoshl.c: Likewise.
46825         * math/s_csin.c: Likewise.
46826         * math/s_csinf.c: Likewise.
46827         * math/s_csinl.c: Likewise.
46828         * math/s_csinh.c: Likewise.
46829         * math/s_csinhf.c: Likewise.
46830         * math/s_csinhl.c: Likewise.
46831         * math/libm-test.inc (ccos_test): Add more tests.
46832         (ccosh_test): Likewise.
46833         (csin_test): Likewise.
46834         (csinh_test): Likewise.
46835         * sysdeps/i386/fpu/libm-test-ulps: Update.
46836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46838 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46840         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46841         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46843         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46845 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46847         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46848         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46849         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46850         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46851         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46852         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46853         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46854         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46855         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46856         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46857         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46858         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46859         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46860         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46861         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46862         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46863         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46864         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46865         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46866         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46867         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46868         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46869         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46870         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46871         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46872         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46873         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46874         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46875         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46876         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46877         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46879 2012-05-18  Andreas Jaeger  <aj@suse.de>
46881         * csu/.gitignore: Delete.
46883 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46885         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46886         (timex): Use __syscall_slong_t.
46888 2012-05-18  Andreas Jaeger  <aj@suse.de>
46889             Carlos O'Donell  <carlos_odonell@mentor.com>
46891         * manual/install.texi (Configuring and compiling): Update
46892         description about files modified in the source directory.
46893         * INSTALL: Regenerated.
46895 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46897         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46898         value.  Use "or" to set return value to -1.
46899         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46900         negate return value.
46902 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46904         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46905         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46906         failure if the compiler has Graphite support disabled.
46907         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46908         Likewise.
46909         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46910         (CFLAGS-memmove.c): Likewise.
46911         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46912         Likewise.
46914 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46916         * sysdeps/x86_64/x32/_itoa.h: New file.
46918         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46919         getdents system call only if kernel and user dirents have the
46920         same d_ino and d_off.
46922         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46923         LLONG_MAX != LONG_MAX.
46924         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46925         (_fitoa_word): Likewise.
46927         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46928         years.
46929         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46930         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46931         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46933         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46934         include <bits/wordsize.h>.  Check __x86_64__ instead of
46935         __WORDSIZE.
46936         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46937         if __x86_64__ is defined.  Use anonymous union on fpstate.
46939         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46940         anonymous union.
46942 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46944         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46945         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46946         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46947         Refer to _rtld_local_ro instead of _rtld_global_ro.
46948         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46949         Likewise.
46950         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46951         Likewise.
46952         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46953         Likewise.
46954         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46955         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46956         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46958         * sysdeps/powerpc/powerpc32/dl-machine.c
46959         (__elf_machine_runtime_setup) [PROF]: Don't reference
46960         _dl_prof_resolve.
46962 2012-05-18  Andreas Jaeger  <aj@suse.de>
46964         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46965         function only available for GCCs before 3.4 since GCC 3.4
46966         introduced a builtin.
46967         (lrint): Likewise.
46968         (llrintf): Likewise.
46969         (llrint): Likewise.
46970         (fmaxf): Likewise.
46971         (fmax): Likewise.
46972         (fminf): Likewise.
46973         (fmin): Likewise.
46974         (rint): Likewise.
46975         (rintf): Likewise.
46976         (nearbyint): Likewise.
46977         (nearbyintf): Likewise.
46978         (ceil): Likewise.
46979         (ceilf): Likewise.
46980         (floor): Likewise.
46981         (floorf): Likewise.
46983 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46985         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46986         on both fields and cast pointer to __syscall_ulong_t.
46988         * bits/types.h (__fsword_t): New type.
46989         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46990         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46991         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46992         (__FSWORD_T_TYPE): Likewise.
46993         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46994         (__FSWORD_T_TYPE): Likewise.
46995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46996         (__FSWORD_T_TYPE): Likewise.
46997         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46998         (__FSWORD_T_TYPE): Likewise.
46999         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47000         __SWORD_TYPE with __fsword_t.
47001         (statfs64): Likewise.
47003 2012-05-17  David S. Miller  <davem@davemloft.net>
47005         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47007 2012-05-17  Andreas Jaeger  <aj@suse.de>
47009         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47010         warning.
47012 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47014         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47016 2012-05-17  Andreas Jaeger  <aj@suse.de>
47018         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47019         when it is used.
47021 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47023         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47025 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47027         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47028         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47030 2012-05-17  Andreas Jaeger  <aj@suse.de>
47031             Carlos O'Donell  <carlos_odonell@mentor.com>
47033         [BZ #14059]
47034         * sysdeps/x86_64/multiarch/init-arch.h
47035         (bit_YMM_Usable): Rename to...
47036         (bit_AVX_Usable): ... this.
47037         (bit_FMA4_Usable): New macro.
47038         (bit_XMM_state): New macro.
47039         (bit_YMM_state): New macro.
47040         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47041         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47042         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47043         (CPUID_OSXSAVE): New macro.
47044         (CPUID_AVX): New macro.
47045         (CPUID_FMA4): New macro.
47046         (index_YMM_Usable): Rename to...
47047         (index_AVX_Usable): ... this.
47048         (HAS_AVX): Use HAS_ARCH_FEATURE.
47049         (HAS_FMA4): Likewise.
47050         (HAS_YMM_USABLE): Remove.
47051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47052         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47053         are present.
47054         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47055         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47056         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47057         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47058         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47060 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47062         * math/libm-test.c: Support platforms without multiple rounding modes.
47063         * math/bug-nextafter.c: Support platforms without FP exceptions.
47064         * math/bug-nexttoward.c: Likewise.
47065         * math/test-fenv.c: Likewise.
47066         * math/test-misc.c: Likewise.
47067         * stdlib/bug-getcontext.c: Likewise.
47069 2012-05-17  Andreas Jaeger  <aj@suse.de>
47071         * manual/examples/search.c (critter_cmp): Change signature to
47072         avoid warnings.
47073         * manual/string.texi (Collation Functions): Likewise.
47075 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47077         * bits/types.h: Fold copyright years.
47078         * bits/typesizes.h: Likewise.
47079         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47080         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47083         * time/time.h: Likewise.
47085 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47087         [BZ #208]
47088         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47089         in instead of returning them.  Return void.
47090         (__libc_mallinfo): Accumulate over all arenas.
47091         (__malloc_stats): Adjust for change in int_mallinfo interface.
47093 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47095         [BZ #10375]
47096         * configure.in (NM): Add AC_CHECK_TOOL for it.
47097         (libc_extra_cflags): New substituted variable.
47098         Check for -fstack-protector being used implicitly.
47099         * configure: Regenerated.
47100         * config.make.in (config-extra-cflags): New variable,
47101         gets @libc_extra_cflags@.
47102         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47104         [BZ #10375]
47105         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47106         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47107         * configure: Regenerated.
47108         * config.make.in (CPPUNDEFS): New substituted variable.
47109         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47110         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47111         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47113 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47115         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47116         (mq_attr): Use __syscall_slong_t.
47118 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47120         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47121         Check __x86_64__ instead of __WORDSIZE.
47122         (_STAT_VER_LINUX): Likewise.
47123         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47124         __syscall_ulong_t and __syscall_slong_t.
47125         (stat64): Likewise.
47127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47129         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47131 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47133         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47137         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47138         __syscall_ulong_t.
47140         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47141         include <bits/wordsize.h>.  Check __x86_64__ instead of
47142         __WORDSIZE.
47143         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47144         defined.
47145         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47147         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47148         include <bits/wordsize.h>.  Check __x86_64__ instead of
47149         __WORDSIZE.
47150         (user_regs_struct): Use "__extension__ unsigned long long"
47151         instead of "unsigned long" if __x86_64__ is defined.
47152         (user): Likewise.  Pad after pointer field if __ILP32__ is
47153         defined.
47155 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47157         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47158         versions 5 to 9.
47159         * configure: Regenerated.
47160         * manual/install.texi (texinfo): Increase version requirement to
47161         4.5 or later.
47162         * INSTALL: Regenerated.
47164         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47166 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47168         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47170         * sysdeps/x86_64/x32/ffs.c: New file.
47172         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47173         __syscall_ulong_t.
47174         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47175         defined.  Use __syscall_ulong_t.
47176         (shminfo): Use __syscall_ulong_t.
47177         (shm_info): Likewise.
47179         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47180         __syscall_ulong_t.
47182         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47183         <bits/wordsize.h>.
47184         (msgqnum_t): Use __syscall_ulong_t.
47185         (msglen_t): Likewise.
47186         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47187         __syscall_ulong_t.
47189         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47190         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47192         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47194         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47195         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47197         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47198         __syscall_slong_t.
47200         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47201         include <bits/wordsize.h>.  Check __x86_64__ instead of
47202         __WORDSIZE.
47204         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47205         "unsigned long long int" if __x86_64__ is defined.
47206         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47208         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47209         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47210         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47212         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47213         <stdint.h>.
47214         (GET_PC): Cast to uintptr_t first.
47215         (GET_FRAME): Likewise.
47216         (GET_STACK): Likewise.
47218         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47219         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47220         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47221         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47222         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47223         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47224         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47225         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47226         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47227         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47228         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47229         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47230         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47231         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47232         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47233         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47234         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47235         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47236         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47237         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47238         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47239         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47240         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47241         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47242         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47244         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47245         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47246         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47248 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47250         * Makerules (+depfiles): Also collect depfiles from .oS in
47251         $(extra-objs).
47252         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47253         .oS, $(libnldbl-routines)).
47255         * Makerules (native-compile-mkdep-flags): Define.
47256         * sunrpc/Makefile (extra-objs): Add $(addprefix
47257         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47258         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47259         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47260         calling $(make-target-directory).
47262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47264         * bits/types.h (__snseconds_t): Removed.
47265         * time/time.h (struct timespec): Replace __snseconds_t with
47266         __syscall_slong_t.
47267         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47268         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47269         Likewise.
47270         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47271         (__SNSECONDS_T_TYPE): Likewise.
47272         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47273         (__SNSECONDS_T_TYPE): Likewise.
47274         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47275         (__SNSECONDS_T_TYPE): Likewise.
47277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47279         * sysdeps/mach/hurd/bits/typesizes.h
47280         (__SYSCALL_SLONG_TYPE): New macro.
47281         (__SYSCALL_ULONG_TYPE): Likewise.
47283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47285         * bits/types.h (__syscall_slong_t): New type.
47286         (__syscall_ulong_t): Likewise.
47288         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47289         (__SYSCALL_ULONG_TYPE): Likewise.
47290         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47291         (__SYSCALL_SLONG_TYPE): Likewise.
47292         (__SYSCALL_ULONG_TYPE): Likewise.
47293         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47294         (__SYSCALL_SLONG_TYPE): Likewise.
47295         (__SYSCALL_ULONG_TYPE): Likewise.
47296         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47297         (__SYSCALL_SLONG_TYPE): Likewise.
47298         (__SYSCALL_ULONG_TYPE): Likewise.
47300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47302         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47303         Add sigaltstack-offsets.sym.
47304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47305         <sigaltstack-offsets.h>.
47306         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47307         longjmp_msg pointer.
47308         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47309         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47310         signal stack.
47311         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47313 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47315         * elf/stackguard-macros.h: Remove file.
47316         * sysdeps/generic/stackguard-macros.h: New file.
47317         * sysdeps/i386/stackguard-macros.h: Likewise.
47318         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47319         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47320         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47321         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47322         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47323         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47324         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47325         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47326         <elf/stackguard-macros.h>.
47328         [BZ #14109]
47329         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47330         __aligned__ in attribute.
47331         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47332         (gregset_t): Likewise.
47334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47336         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47337         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47338         * sysdeps/x86_64/x32/Implies-after: New file.
47340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47342         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47343         and access return value for _dl_profile_fixup.  Use R10_LP to
47344         load frame size.
47346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47348         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47352         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47353         * sysdeps/x86_64/x32/sysdep.h: New file.
47355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47357         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47358         * sysdeps/x86_64/setjmp.S: Likewise.
47360 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47362         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47363         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47364         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47365         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47366         remove unused global constant.
47368 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47370         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47371         include of <not-cancel.h>.
47373 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47375         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47377 2012-05-15  Jeff Law  <law@redhat.com>
47378             Andreas Jaeger  <aj@suse.de>
47380         [BZ #13594]
47381         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47382         out from...
47383         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47384         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47385         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47386         code changing __hst_map_handle.map.
47388 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47390         * configure.in (sysnames): Look for Implies-before and Implies-after
47391         files.
47392         * configure: Regenerated.
47394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47396         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47397         8-byte data alignment with LP_SIZE alignment.
47399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47401         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47402         into R10_LP.
47404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47406         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47410         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47411         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47413         Likewise.
47414         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47418         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47419         (stackinfo_sub_sp): Likewise.
47421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47423         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47424         RAX_LP.
47426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47428         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47429         into R*_LP.
47431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47433         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47434         sizes into R*_LP.
47436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47438         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47442         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47443         into R11_LP and load __x86_64_shared_cache_size_half into
47444         R8_LP.
47446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47448         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47449         R8_LP.
47451 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47454         logb for POWER7.
47455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47456         logbf for POWER7.
47457         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47458         logbl for POWER7.
47459         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47460         powerpc32/power7/fpu/s_logb.c via #include.
47461         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47462         powerpc32/power7/fpu/s_logbf.c via #include.
47463         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47464         powerpc32/power7/fpu/s_logbl.c via #include.
47466 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47468         * README.libm: Remove file.
47470 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47472         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47473         count for x32.  Use R*_LP and omit operand-size suffix.
47475 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47477         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47478         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47479         * sysdeps/x86_64/x32/shlib-versions: New file.
47481 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47483         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47484         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47485         Use _dl_fatal_printf instead.
47487 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47489         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47490         set if not set by the user.  Do not allow for being unset.
47491         * sysdeps/unix/sysv/linux/configure: Regenerated.
47493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47495         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47496         the `q' suffix from lea and replace .quad with ASM_ADDR.
47498 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47501         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47502         instead of $17.
47503         (PTR_DEMANGLE): Likewise.
47505 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47507         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47508         (LP_OP): Likewise.
47509         (ASM_ADDR): Likewise.
47510         (RAX_LP): Likewise.
47511         (RBP_LP): Likewise.
47512         (RBX_LP): Likewise.
47513         (RCX_LP): Likewise.
47514         (RDI_LP): Likewise.
47515         (RSI_LP): Likewise.
47516         (RSP_LP): Likewise.
47517         (R8_LP): Likewise.
47518         (R9_LP): Likewise.
47519         (R10_LP): Likewise.
47520         (R10_LP): Likewise.
47521         (R11_LP): Likewise.
47522         (R12_LP): Likewise.
47523         (R13_LP): Likewise.
47524         (R14_LP): Likewise.
47525         (R15_LP): Likewise.
47527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47529         * sysdeps/x86_64/x32/dl-machine.h: New file.
47531 2012-05-14  Andreas Jaeger  <aj@suse.de>
47533         * manual/Makefile (subdir): Remove export of subdir.
47534         (all): Remove target.
47535         (.PHONY): Remove all from list.
47536         (mkinstalldirs): Remove.
47537         (.PHONY): Remove installdirs from list.
47538         ($(inst_infodir)/libc.info): Use make-target-directory.
47539         (installdirs): Remove.
47540         (subdir_%): Remove.
47541         (glibc-targets): Remove.
47542         (lib): Remove.
47543         (stubs): Remove.
47544         ($(objpfx)stubs ../po/manual.pot): Remove.
47545         ($(objpfx)stamp%): Remove.
47546         (make-target-directory): Remove.
47547         (subdir_install): Remove.
47548         (routines): Remove.
47549         (aux): Remove.
47550         (sources): Remove.
47551         (objects): Remove.
47552         (headers): Remove.
47554         [BZ #13750]
47555         * manual/.gitignore: Remove, it's not needed anymore.
47556         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47557         all files in it.
47558         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47559         directory.
47560         (texis): Renamed to $(objpfx)texis.
47561         (texis-path): New, contains path to generated files.
47562         (chapters.%): Use texis-path for complete path, add extra argument
47563         libc-texinfo.sh.
47564         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47565         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47566         (summary,texi, stamp-summary): Use complete path of
47567         files. Generate files in build dir.
47568         (dir-add.texi): Build in build dir.
47569         (libm-err.texi,stamp-libm-err): Likewise.
47570         (version.texi, stamp-version): Likewise.
47571         (.%c.texi): Likewise.
47572         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47573         (mostlyclean): Remove target.
47574         (realclean): Remove target.
47575         (generated): Add new variable with contents from mostlyclean and
47576         realclean, remove entries duplicated in common-mostlyclean, add
47577         stamp-libm-err and stamp-version.
47578         (generated-dirs): Add libc directory.
47579         ($(inst_infodir)/libc.info): Install files from build dir.
47581         * manual/install.texi (Configuring and compiling): Adjust since
47582         the info files are not part of the tar ball anymore.
47584 2012-05-14  Andreas Jaeger  <aj@suse.de>
47586         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47587         variable.
47589 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47591         [BZ #13717]
47592         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47593         to 2.2.0 where earlier.
47594         * sysdeps/unix/sysv/linux/configure: Regenerated.
47595         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47596         Remove conditional code.
47597         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47598         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47599         Remove conditional code.
47600         [!__NR_lchown]: Likewise.
47601         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47602         [__NR_lchown]: Likewise.
47603         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47604         comment referencing __ASSUME_LCHOWN_SYSCALL.
47605         * sysdeps/unix/sysv/linux/i386/sigaction.c
47606         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47607         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47608         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47609         Remove conditional code.
47610         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47611         (__protocol_available): Remove #if 0 code.
47612         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47613         conditional code.
47614         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47615         * sysdeps/unix/sysv/linux/kernel-features.h
47616         (__ASSUME_GETCWD_SYSCALL): Don't define.
47617         (__ASSUME_REALTIME_SIGNALS): Likewise.
47618         (__ASSUME_PREAD_SYSCALL): Likewise.
47619         (__ASSUME_PWRITE_SYSCALL): Likewise.
47620         (__ASSUME_POLL_SYSCALL): Likewise.
47621         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47622         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47623         non-SPARC.
47624         (__ASSUME_SIOCGIFNAME): Don't define.
47625         (__ASSUME_MSG_NOSIGNAL): Likewise.
47626         (__ASSUME_SENDFILE): Define unconditionally.
47627         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47628         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47629         conditional code.
47630         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47631         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47632         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47633         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47634         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47635         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47636         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47638         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47639         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47641         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47642         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47644         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47647         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47648         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47650         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47653         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47654         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47656         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47659         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47660         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47661         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47662         Remove conditional code.
47663         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47664         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47665         Remove conditional code.
47666         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47667         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47668         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47669         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47670         Remove conditional code.
47671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47672         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47673         Remove conditional code.
47674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47675         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47676         Remove conditional code.
47677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47678         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47679         Remove conditional code.
47680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47681         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47682         Remove conditional code.
47683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47684         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47687         * sysdeps/unix/sysv/linux/sigaction.c
47688         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47689         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47690         * sysdeps/unix/sysv/linux/sigpending.c
47691         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47692         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47693         * sysdeps/unix/sysv/linux/sigprocmask.c
47694         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47695         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47696         * sysdeps/unix/sysv/linux/sigsuspend.c
47697         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47698         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47699         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47700         (__libc_missing_rt_sigs): Remove.
47701         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47702         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47703         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47704         Remove conditional code.
47705         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47706         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47707         return 1.
47708         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47709         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47710         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47711         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47713 2012-05-14  Andreas Jaeger  <aj@suse.de>
47715         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47716         it's not used in glibc.
47717         (__coshm1): Likewise.
47718         (__acosh1p): Likewise.
47719         (__sgn): Likewise.
47721         * manual/string.texi (Copying and Concatenation): Add missing
47722         variable in concat example.
47723         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47725 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47727         [BZ #14103]
47728         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47729         __builtin_clzl with __builtin_clzll.
47731 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47733         [BZ #14104]
47734         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47735         libc_freeres_ptr.
47737 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47739         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47740         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47741         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47742         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47744 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47746         * NEWS: Update ia64 info.
47748 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47750         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47751         used as bcopy.
47753 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47755         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47756         * sysdeps/unix/syscalls.list (dup3): Likewise.
47757         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47758         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47760 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47762         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47763         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47765 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47767         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47768         thread pointer.
47769         (TLS_IE): Use mov/add instead of movq/addq to load thread
47770         pointer.
47771         (TLS_GD_PREFIX): New.
47772         (TLS_GD): Use it.
47774 2012-05-11  David S. Miller  <davem@davemloft.net>
47776         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47777         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47778         (_FPU_SETCW): Likewise.
47780 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47782         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47783         is 32-byte aligned.
47785 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47787         [BZ #11837]
47788         * iconvdata/gb18030.c: Update tables.
47789         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47790         characters specially.
47791         (BODY for TO_LOOP): Add encoding of missing ranges.
47793 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47795         [BZ #13673]
47796         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47797         * sysdeps/mach/hurd/dup3.c: Likewise.
47798         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47799         * sysdeps/powerpc/memmove.c:: Likewise.
47801 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47803         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47804         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47806 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47808         * elf/elf.h (R_X86_64_RELATIVE64): New.
47809         (R_X86_64_NUM): Updated.
47810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47811         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47812         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47813         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47814         tst-quad1pie tst-quad2pie
47815         (modules-names): Add tst-quadmod1 tst-quadmod2.
47816         ($(objpfx)tst-quad1): New dependency.
47817         ($(objpfx)tst-quad2): Likewise.
47818         ($(objpfx)tst-quad1pie): Likewise.
47819         ($(objpfx)tst-quad2pie): Likewise.
47820         * sysdeps/x86_64/tst-quad1.c: New file.
47821         * sysdeps/x86_64/tst-quad1pie.c: New file.
47822         * sysdeps/x86_64/tst-quad2.c: Likewise.
47823         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47824         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47825         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47826         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47827         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47831         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47832         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47833         * streams/stropts.h (t_scalar_t): Define type.
47835         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47836         (_PATH_PRESERVE): Set to "/var/lib".
47837         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47839         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47840         instead of int.
47842         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47843         if __dir_mkfile succeeded.
47845         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47846         checking for _hurd_dtablesize.  Unlock it right after having
47847         finished _hurd_dtable allocation.
47849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47851         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47852         * sysdeps/mach/hurd/configure: Regenerated.
47853         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47854         special-casing to...
47855         * sysdeps/gnu/configure.in: ... this new file.
47856         * sysdeps/unix/sysv/linux/configure: Regenerated.
47857         * sysdeps/gnu/configure: New generated file.
47859         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47860         for Linux: use nsec instead of usec, as well as:
47861         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47862         members of type struct timespec.
47863         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47864         New macros.
47865         (struct stat64): Likewise.
47866         (_STATBUF_ST_NSEC): New macro.
47867         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47869         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47870         __strtoul_internal rather than strtoul.
47872 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47874         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47875         and reject them.
47877 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47879         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47880         which preserves existing values.
47881         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47883 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47885         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47886         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47887         greater than FD_SETSIZE.
47889 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47891         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47892         allocated, call __vm_protect to finish enabling the existing space, and
47893         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47894         allocate the remainder.
47896 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47898         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47899         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47903         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47904         sysdeps/mach/hurd/readlink.c.
47906         * posix/tst-sysconf.c (posix_options): Only use
47907         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47908         _POSIX_SYNCHRONIZED_IO when they are defined
47909         * sysdeps/mach/hurd/bits/posix_opt.h:
47910         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47911         (_XOPEN_REALTIME): Undefine macro.
47912         (_XOPEN_REALTIME_THREADS): Undefine macro.
47913         (_XOPEN_SHM): Undefine macro.
47914         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47915         macro to -1.
47916         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47917         macro to -1.
47918         (_POSIX_ASYNC_IO): Undefine macro.
47919         (_POSIX_PRIORITIZED_IO): Undefine macro.
47920         (_POSIX_SPIN_LOCKS): Define macro to -1.
47922         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47923         SA_NODEFER, SA_RESETHAND.
47924         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47925         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47926         F_DUPFD_CLOEXEC.
47928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47930         * elf/Makefile (pldd-modules): Define unconditionally.
47932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47934         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47938         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47939         Return ENOENT when name is empty.
47940         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47944         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47946         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47948 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47950         Fix mlock in all cases except non-readable pages.
47951         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47952         instead of VM_PROT_ALL as parameter to __vm_wire function.
47954         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47955         (__mkdir): When path is `/', just fail with EEXIST.
47956         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47958 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47960         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47961         <sys/uio.h> (for writev).
47962         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47963         and <sys/param.h> (for MIN).
47965 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47967         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47968         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47969         if interrupted.
47971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47973         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47974         Depend on against $(link-rpcuserlibs).
47976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47978         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47979         (__libc_stack_end): Do not use attribute_relro.
47980         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47981         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47982         to libthread-provided value.
47983         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47984         attribute_relro.
47986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47988         [BZ #3748]
47989         * bits/libc-lock.h (__libc_once_get): New macro.
47990         * sysdeps/mach/bits/libc-lock.h: Likewise.
47991         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47992         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47993         instead of using implementation details.
47995         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47996         * libio/freopen.c: Likewise.
47997         * libio/freopen64.c: Likewise.
47998         * misc/syslog.c: Likewise.
47999         * nscd/connections.c: Likewise.
48000         * nscd/netgroupcache.c: Likewise.
48001         * sysdeps/posix/getcwd.c: Likewise.
48003 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48005         * math/w_ilogbf.c: Add #include <limits.h>.
48007 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48009         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48010         path instead of returning without unlocking.
48012         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48013         immediate-write ioctls.
48014         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48018         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48019         __builtin_frame_address instead of making assumptions about the
48020         location of the return address relative to DATA.  Force early load of
48021         the return address.
48022         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48023         __builtin_frame_address.
48025         dup3 for GNU Hurd.
48026         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48027         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48028         implement dup3 and do some further code clean-ups.
48029         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48030         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48032 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48034         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48036         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48037         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48038         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48039         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48040         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48041         d->port.lock.
48043         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48044         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48045         when handler == SIG_ERR, not when handler != SIG_ERR.
48047 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48049         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48050         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48051         definitions.
48053         accept4 for GNU Hurd.
48054         * include/sys/socket.h (__libc_accept4): New prototype.
48055         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48056         to implement __libc_accept4.
48057         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48058         __libc_accept4.
48059         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48061         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48062         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48063         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48064         signal-defines.sym.
48066 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48068         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48070 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48072         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48073         assertion on O_CLOEXEC flag.
48074         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48075         * hurd/intern-fd.c: Likewise.
48076         * hurd/port2fd.c: Likewise.
48078 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48080         [BZ #3906]
48081         * bits/in.h (IPV6_PKTINFO): Define new macro.
48082         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48084 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48086         [BZ #13954]
48087         [BZ #13955]
48088         [BZ #13956]
48089         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48090         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48091         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48092         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48093         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48094         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48095         * math/libm-test.inc (logb_test) : Additional logb tests.
48097 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48098             Andreas Jaeger  <aj@suse.de>
48100         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48101         * configure: Regenerated.
48102         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48103         * config.make.in (link-obsolete-rpc): New substituted variable.
48104         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48105         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48106         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48107         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48108         so that libc.a contains the symbols.
48109         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48110         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48111         * sunrpc/auth_none.c: Likewise.
48112         * sunrpc/auth_unix.c: Likewise.
48113         * sunrpc/authdes_prot.c: Likewise.
48114         * sunrpc/authuxprot.c: Likewise.
48115         * sunrpc/clnt_gen.c: Likewise.
48116         * sunrpc/clnt_perr.c: Likewise.
48117         * sunrpc/clnt_raw.c: Likewise.
48118         * sunrpc/clnt_simp.c: Likewise.
48119         * sunrpc/clnt_tcp.c: Likewise.
48120         * sunrpc/clnt_udp.c: Likewise.
48121         * sunrpc/clnt_unix.c: Likewise.
48122         * sunrpc/des_crypt.c: Likewise.
48123         * sunrpc/des_soft.c: Likewise.
48124         * sunrpc/get_myaddr.c: Likewise.
48125         * sunrpc/key_call.c: Likewise.
48126         * sunrpc/key_prot.c: Likewise.
48127         * sunrpc/netname.c: Likewise.
48128         * sunrpc/pm_getmaps.c: Likewise.
48129         * sunrpc/pm_getport.c: Likewise.
48130         * sunrpc/pmap_clnt.c: Likewise.
48131         * sunrpc/pmap_prot.c: Likewise.
48132         * sunrpc/pmap_prot2.c: Likewise.
48133         * sunrpc/pmap_rmt.c: Likewise.
48134         * sunrpc/publickey.c: Likewise.
48135         * sunrpc/rpc_cmsg.c: Likewise.
48136         * sunrpc/rpc_common.c: Likewise.
48137         * sunrpc/rpc_dtable.c: Likewise.
48138         * sunrpc/rpc_prot.c: Likewise.
48139         * sunrpc/rpc_thread.c: Likewise.
48140         * sunrpc/rtime.c: Likewise.
48141         * sunrpc/svc.c: Likewise.
48142         * sunrpc/svc_auth.c: Likewise.
48143         * sunrpc/svc_raw.c: Likewise.
48144         * sunrpc/svc_run.c: Likewise.
48145         * sunrpc/svc_tcp.c: Likewise.
48146         * sunrpc/svc_udp.c: Likewise.
48147         * sunrpc/svc_unix.c: Likewise.
48148         * sunrpc/svcauth_des.c: Likewise.
48149         * sunrpc/xcrypt.c: Likewise.
48150         * sunrpc/xdr.c: Likewise.
48151         * sunrpc/xdr_array.c: Likewise.
48152         * sunrpc/xdr_float.c: Likewise.
48153         * sunrpc/xdr_intXX_t.c: Likewise.
48154         * sunrpc/xdr_mem.c: Likewise.
48155         * sunrpc/xdr_rec.c: Likewise.
48156         * sunrpc/xdr_ref.c: Likewise.
48157         * sunrpc/xdr_sizeof.c: Likewise.
48158         * sunrpc/xdr_stdio.c: Likewise.
48160 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48162         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48163         change.  Update copyright years.
48165 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48167         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48169 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48170             Joseph Myers  <joseph@codesourcery.com>
48171             Paul Pluzhnikov  <ppluzhnikov@google.com>
48173         [BZ #14012]
48174         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48175         requiring rpcgen.
48176         [cross-compiling] (extra-libs): Likewise.
48177         [cross-compiling] (extra-libs-others): Likewise.
48178         [cross-compiling] (librpcsvc-routines): Likewise.
48179         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48180         [cross-compiling] (omit-deps): Likewise.
48181         (sunrpc-CPPFLAGS): New variable.
48182         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48183         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48184         (cross-rpcgen-objs): New variable.
48185         (extra-objs): Append $(cross-rpcgen-objs).
48186         ($(cross-rpcgen-objs)): New rule.
48187         ($(objpfx)cross-rpcgen): Likewise.
48188         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48189         comment.
48190         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48191         ($(objpfx)x%.stmp): Likewise.
48192         * sunrpc/proto.h [IS_IN_build] (_): Define.
48193         [IS_IN_build] (_libc_intl_domainname): Likewise.
48195 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48197         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48198         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48199         and R_X86_64_TPOFF64.
48201 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48203         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48204         sysdeps/unix/sysv/syscalls.list.
48205         (stime): Likewise.
48206         (utime): Likewise.
48207         * sysdeps/unix/sysv/syscalls.list: Remove file.
48209 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48211         [BZ #3440]
48212         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48213         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48214         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48215         (__LC_IDENTIFICATION): Make these macros useful in #if
48216         expressions, as required by C99.
48218 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48220         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48221         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48222         after this.
48224 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48226         * stdlib/longlong.h: Updated from GCC.
48228 2012-05-09  Andreas Jaeger  <aj@suse.de>
48230         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48231         default is first entry.
48232         (run_mode): Set type.
48233         (main): Remove informal message about syslog.
48234         (options): Fix typo.
48236         [BZ #14053]
48237         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48238         to asm.
48239         (lrint): Likewise.
48240         (llrintf): Likewise.
48241         (llrint): Likewise.
48242         (rint): Likewise.
48243         (rintf): Likewise.
48244         (nearbyint): Likewise.
48245         (nearbyintf): Likewise.
48247 2012-05-09  Andreas Jaeger  <aj@suse.de>
48248             Pedro Alves  <palves@redhat.com>
48250         * nscd/nscd.c (run_mode): Use enum.
48251         (main): Cleanup coding style issue.
48253 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48254             Andreas Jaeger  <aj@suse.de>
48256         * nscd/nscd.c (go_background): Replaced with...
48257         (run_mode): ... this.
48258         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48259         (options): Add -F --foreground.
48260         (main): Implement it.
48261         (parse_opt): Parse it.
48263 2012-05-09  Andreas Jaeger  <aj@suse.de>
48265         [BZ #14083]
48266         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48267         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48268         -Wconversion warning.
48269         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48270         Likewise.
48272 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48274         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48275         == 0.
48276         (LC_ALL): Use macro-int-constant.
48277         (LC_COLLATE): Likewise.
48278         (LC_CTYPE): Likewise.
48279         (LC_MESSAGES): Likewise.
48280         (LC_MONETARY): Likewise.
48281         (LC_NUMERIC): Likewise.
48282         (LC_TIME): Likewise.
48283         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48284         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48285         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48286         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48287         Specify type.
48288         [C99-based standards] (float_t): Expect type.
48289         [C99-based standards] (double_t): Expect type.
48290         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48291         type.
48292         [C99-based standards] (HUGE_VALL): Likewise.
48293         [C99-based standards] (INFINITY): Likewise.
48294         [C99-based standards] (NAN): Likewise.
48295         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48296         [C99-based standards] (FP_NAN): Likewise.
48297         [C99-based standards] (FP_NORMAL): Likewise.
48298         [C99-based standards] (FP_SUBNORMAL): Likewise.
48299         [C99-based standards] (FP_ZERO): Likewise.
48300         [C99-based standards] (FP_FAST_FMA): Use
48301         optional-macro-int-constant.  Specify type.  Require == 1.
48302         [C99-based standards] (FP_FAST_FMAF): Likewise.
48303         [C99-based standards] (FP_FAST_FMAL): Likewise.
48304         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48305         [C99-based standards] (FP_ILOGBNAN): Likewise.
48306         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48307         Specify type.
48308         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48309         [C99-based standards] (math_errhandling): Specify type.
48310         [ISO99 || ISO11] (signgam): Do not allow.
48311         [non-C99-based standards] (copysignf): Do not allow.
48312         [non-C99-based standards] (exp2f): Likewise.
48313         [non-C99-based standards] (log2f): Likewise.
48314         [non-C99-based standards] (modff): Allow.
48315         [non-C99-based standards] (erff): Do not allow.
48316         [non-C99-based standards] (erfcf): Likewise.
48317         [non-C99-based standards] (gammaf): Likewise.
48318         [non-C99-based standards] (hypotf): Likewise.
48319         [non-C99-based standards] (j0f): Likewise.
48320         [non-C99-based standards] (j1f): Likewise.
48321         [non-C99-based standards] (jnf): Likewise.
48322         [non-C99-based standards] (lgammaf): Likewise.
48323         [non-C99-based standards] (tgammaf): Likewise.
48324         [non-C99-based standards] (y0f): Likewise.
48325         [non-C99-based standards] (y1f): Likewise.
48326         [non-C99-based standards] (ynf): Likewise.
48327         [non-C99-based standards] (isnanf): Likewise.
48328         [non-C99-based standards] (acoshf): Likewise.
48329         [non-C99-based standards] (asinhf): Likewise.
48330         [non-C99-based standards] (atanhf): Likewise.
48331         [non-C99-based standards] (cbrtf): Likewise.
48332         [non-C99-based standards] (expm1f): Likewise.
48333         [non-C99-based standards] (ilogbf): Likewise.
48334         [non-C99-based standards] (log1pf): Likewise.
48335         [non-C99-based standards] (logbf): Likewise.
48336         [non-C99-based standards] (nextafterf): Likewise.
48337         [non-C99-based standards] (remainderf): Likewise.
48338         [non-C99-based standards] (rintf): Likewise.
48339         [non-C99-based standards] (scalbf): Likewise.
48340         [non-C99-based standards] (copysignl): Likewise.
48341         [non-C99-based standards] (exp2l): Likewise.
48342         [non-C99-based standards] (log2l): Likewise.
48343         [non-C99-based standards] (modfl): Allow.
48344         [non-C99-based standards] (erfl): Do not allow.
48345         [non-C99-based standards] (erfcl): Likewise.
48346         [non-C99-based standards] (gammal): Likewise.
48347         [non-C99-based standards] (hypotl): Likewise.
48348         [non-C99-based standards] (j0l): Likewise.
48349         [non-C99-based standards] (j1l): Likewise.
48350         [non-C99-based standards] (jnl): Likewise.
48351         [non-C99-based standards] (lgammal): Likewise.
48352         [non-C99-based standards] (tgammal): Likewise.
48353         [non-C99-based standards] (y0l): Likewise.
48354         [non-C99-based standards] (y1l): Likewise.
48355         [non-C99-based standards] (ynl): Likewise.
48356         [non-C99-based standards] (isnanl): Likewise.
48357         [non-C99-based standards] (acoshl): Likewise.
48358         [non-C99-based standards] (asinhl): Likewise.
48359         [non-C99-based standards] (atanhl): Likewise.
48360         [non-C99-based standards] (cbrtl): Likewise.
48361         [non-C99-based standards] (expm1l): Likewise.
48362         [non-C99-based standards] (ilogbl): Likewise.
48363         [non-C99-based standards] (log1pl): Likewise.
48364         [non-C99-based standards] (logbl): Likewise.
48365         [non-C99-based standards] (nextafterl): Likewise.
48366         [non-C99-based standards] (remainderl): Likewise.
48367         [non-C99-based standards] (rintl): Likewise.
48368         [non-C99-based standards] (scalbl): Likewise.
48369         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48370         [non-C99-based standards] (FP_*): Do not allow.
48371         [C99-based standards] (FP_*): Change to
48372         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48373         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48374         allow.
48375         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48376         (SIG_ERR): Likewise.
48377         [X/Open-based standards] (SIG_HOLD): Likewise.
48378         (SIG_IGN): Likewise.
48379         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48380         positive value.
48381         (SIGFPE): Likewise.
48382         (SIGILL): Likewise.
48383         (SIGINT): Likewise.
48384         (SIGSEGV): Likewise.
48385         (SIGTER): Likewise.
48386         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48387         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48388         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48389         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48390         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48391         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48392         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48393         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48394         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48395         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48396         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48397         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48398         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48399         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48400         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48401         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48402         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48403         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48404         [X/Open-based standards] (SIGTRAP): Likewise.
48405         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48406         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48407         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48408         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48409         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48410         allow.
48412 2012-05-08  Ian Wienand  <ianw@vmware.com>
48414         [BZ #14080]
48415         * time/tzset.c (__tzset_parse_tz): Update default rules for
48416         daylight time changes in the Energy Policy Act of 2005.
48418 2012-05-09  Andreas Jaeger  <aj@suse.de>
48420         [BZ #13983]
48421         * elf/ldconfig.c (parse_conf): Change string to make clear that
48422         ldconfig only issued a warning if ld.so.conf does not exist.
48424 2012-05-08  David S. Miller  <davem@davemloft.net>
48426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48427         movxtod instead of popping the value on the stack.
48429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48431 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48433         * config.h.in: Add HAVE_ARM_PCS_VFP.
48435 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48437         [BZ #13979]
48438         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48439         checking but the checks are disabled for any reason.
48441 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48443         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48444         and ELF64_R_TYPE with ELFW(R_TYPE).
48446 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48448         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48449         (ulimit): Likewise.
48451         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48452         (settimeofday): Likewise.
48454 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48456         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48457         a struct th_u2 inside the union, and move tu_block/tu_code into
48458         a new th_u3 union of tu_block/tu_code inside of that.  Move
48459         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48460         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48461         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48462         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48463         (th_stuff): Change to th_u1.tu_stuff.
48464         (th_data): Define.
48465         (th_msg): Change to th_u1.th_u2.tu_data.
48467 2012-05-07  David S. Miller  <davem@davemloft.net>
48469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48471         [BZ #14074]
48472         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48473         (SETUP_PIC_REG): Use it.
48474         (SETUP_PIC_REG_LEAF): Use it.
48476 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48478         [BZ #13885]
48479         [BZ #13923]
48480         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48481         USE_AS_EXPM1L.
48482         (EXPL_FINITE): Likewise.
48483         (FLDLOG): Likewise.
48484         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48485         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48486         e_expl.S.
48487         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48488         USE_AS_EXPM1L.
48489         (EXPL_FINITE): Likewise.
48490         (FLDLOG): Likewise.
48491         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48492         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48493         e_expl.S.
48494         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48495         test of -max_value argument for long double.
48496         * sysdeps/i386/fpu/libm-test-ulps: Update.
48497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48499 2012-05-06  David S. Miller  <davem@davemloft.net>
48501         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48502         quad soft-float symbols whose references which are compiler
48503         generated.
48504         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48506 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48508         [BZ #13884]
48509         [BZ #13914]
48510         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48511         USE_AS_EXP10L.
48512         (EXPL_FINITE): Likewise.
48513         (FLDLOG): Likewise.
48514         (c0): Likewise.
48515         (c1): Likewise.
48516         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48517         Adjust comments for base varying.
48518         (__expl_finite): Change alias to EXPL_FINITE.
48519         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48520         e_expl.S.
48521         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48522         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48524         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48525         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48526         USE_AS_EXP10L.
48527         (EXPL_FINITE): Likewise.
48528         (FLDLOG): Likewise.
48529         (c0): Likewise.
48530         (c1): Likewise.
48531         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48532         Adjust comments for base varying.
48533         (__expl_finite): Change alias to EXPL_FINITE.
48534         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48535         tests for bugs.
48536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48538         [BZ #14064]
48539         * math/libm-test.inc (check_float_internal): Correct ulp
48540         calculation for subnormal expected results.
48542 2012-05-06  Andreas Jaeger  <aj@suse.de>
48544         * Makeconfig (+math-flags): New, set to -frounding-math.
48545         (+cflags): Add +math-flags so that all of glibc gets compiled with
48546         it.
48548         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48550 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48552         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48553         Disable one test.
48555         [BZ #13787]
48556         [BZ #13922]
48557         [BZ #14036]
48558         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48559         (__ieee754_expl): Allow for and saturate large arguments.
48560         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48561         (u_threshold): Likewise.
48562         (__exp): Call __ieee754_exp before checking for overflow and
48563         underflow.
48564         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48565         (u_threshold): Likewise.
48566         (__expf): Call __ieee754_expf before checking for overflow and
48567         underflow.
48568         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48569         (u_threshold): Likewise.
48570         (__expl): Call __ieee754_expl before checking for overflow and
48571         underflow.
48572         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48573         (__ieee754_expl): Allow for and saturate large arguments.
48574         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48575         missing overflow exception on overflow.
48576         (expm1_test): Do not allow missing overflow exception on overflow.
48578         * sysdeps/i386/fpu/e_expl.c: Move to ...
48579         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48580         rather than using inline asm.
48581         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48582         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48583         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48585         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48586         (nice): Likewise.
48587         (poll): Likewise.
48588         (signal): Likewise.
48589         (time): Likewise.
48590         (times): Likewise.
48592 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48594         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48595         sysdeps/unix/common/syscalls.list.
48596         (fchmod): Likewise.
48597         (fchown): Likewise.
48598         (ftruncate): Likewise.
48599         (getrusage): Likewise.
48600         (gettimeofday): Likewise.
48601         (setpgid): Likewise.
48602         (setregid): Likewise.
48603         (setreuid): Likewise.
48604         (sigaction): Likewise.
48605         (truncate): Likewise.
48606         (vhangup): Likewise.
48607         * sysdeps/unix/common/syscalls.list: Remove file.
48608         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48609         * sysdeps/unix/sysv/linux/Implies: Likewise.
48611 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48613         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48615         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48616         Moved to ...
48617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48618         Here.
48619         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48620         to ...
48621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48622         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48623         to ...
48624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48625         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48626         to ...
48627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48628         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48629         to ...
48630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48631         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48632         to ...
48633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48634         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48635         to ...
48636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48637         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48638         to ...
48639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48640         Here.
48641         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48642         to ...
48643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48644         Here.
48645         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48646         to ...
48647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48648         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48649         Moved to ...
48650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48651         Here.
48652         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48653         to ...
48654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48656 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48658         * sysdeps/unix/common/bits/dirent.h: Remove file.
48659         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48661         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48662         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48663         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48664         * sysdeps/unix/bsd/isatty.c: Likewise.
48665         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48666         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48667         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48669 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48671         [BZ #13563]
48672         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48673         long double comparison inaccuracies.
48674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48677 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48679         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48680         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48682 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48684         [BZ #14049]
48685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48686         nonzero digits before rounding a hex value.
48687         * stdlib/tst-strtod.c (tests): Add another test.
48689 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48691         * sysdeps/s390/fpu/libm-test-ulps: Update.
48693 2012-05-03  Andreas Jaeger  <aj@suse.de>
48695         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48696         does not get optimized out.
48697         (malloc_opt_barrier): New.
48699 2012-05-03  Andreas Jaeger  <aj@suse.de>
48700             Roland McGrath  <roland@hack.frob.com>
48702         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48703         intermediate file deletion.
48704         (generated): Add .symlist files.
48706 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48708         [BZ #13775]
48709         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48710         Redirect under this condition.
48711         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48712         [__USE_GNU] (__dprintf_chk): Not under this condition.
48713         [__USE_GNU] (__vdprintf_chk): Likewise.
48714         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48715         under this condition.
48716         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48717         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48718         [__USE_XOPEN2K8] (vdprintf): Likewise.
48719         [__USE_GNU] (__dprintf_chk): Not under this condition.
48720         [__USE_GNU] (__vdprintf_chk): Likewise.
48721         [__USE_GNU] (dprintf): Likewise.
48722         [__USE_GNU] (vdprintf): Likewise.
48724 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48726         * elf/Makefile (common-generated): Set this instead of generated for
48727         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48728         $(all-built-dso)-derived lists.
48730 2012-05-03  Andreas Jaeger  <aj@suse.de>
48732         * sysdeps/i386/fpu/libm-test-ulps: Update.
48734         * FAQ: Removed.
48735         * FAQ.in: Likewise.
48736         * scripts/gen-FAQ.pl: Likewise.
48737         * manual/install.texi (Installation): Point to online location of
48738         FAQ.
48739         * Makefile (files-for-dist): Remove FAQ.
48740         (FAQ): Remove.
48742 2012-05-02  Allan McRae  <allan@archlinux.org>
48744         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48745         (LDFLAGS-reldepmod5.so): Likewise.
48746         (LDFLAGS-reldep6mod1.so): Likewise.
48747         (LDFLAGS-reldep6mod4.so): Likewise.
48748         (LDFLAGS-reldep8mod3.so): Likewise.
48749         (LDFLAGS-unload4mod1.so): Likewise.
48750         (LDFLAGS-unload4mod2.so): Likewise.
48751         (LDFLAGS-tst-initorder): Likewise.
48752         (LDFLAGS-tst-initordera2.so): Likewise.
48753         (LDFLAGS-tst-initordera3.so): Likewise.
48754         (LDFLAGS-tst-initordera4.so): Likewise.
48755         (LDFLAGS-tst-initorderb2.so): Likewise.
48756         (LDFLAGS-noload): Likewise.
48757         (LDFLAGS-next): Likewise.
48758         (LDFLAGS-order2mod1.so): Likewise.
48759         (LDFLAGS-order2mod2.so): Likewise.
48760         (LDFLAGS-tst-initorder2): Likewise.
48761         (LDFLAGS-tst-initorder2a.so): Likewise.
48762         (LDFLAGS-tst-initorder2b.so): Likewise.
48763         (LDFLAGS-tst-initorder2c.so): Likewise.
48764         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48766 2012-05-02  David S. Miller  <davem@davemloft.net>
48768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48770 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48772         [BZ #14055]
48773         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48775 2012-05-02  Andreas Jaeger  <aj@suse.de>
48777         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48778         since we manipulate rounding mode.
48779         (CPPFLAGS-test-idouble.c): Likewise.
48780         (CPPFLAGS-test-ifloat.c): Likewise.
48781         (CFLAGS-test-ldouble.c): Likewise.
48782         (CFLAGS-test-double.c): Likewise.
48783         (CFLAGS-test-float.c): Likewise.
48784         (CFLAGS-test-misc.c): Likewise.
48785         (CFLAGS-test-test-fenv.c): Likewise.
48787 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48789         [BZ #2550]
48790         [BZ #2570]
48791         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48792         comparisons to determine direction to adjust input.
48794 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48796         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48797         output to the target.
48799         * scripts/localplt.awk: New file.
48800         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48801         (check-localplt-CFLAGS): Variable removed.
48802         ($(all-built-dso:=.jmprel)): New static pattern rule.
48803         (generated): Add those targets.
48804         (localplt-built-dso): New variable.
48805         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48807         * elf/check-localplt.c: File removed.
48809         * scripts/check-execstack.awk: New file.
48810         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48811         (check-execstack-CFLAGS): Variable removed.
48812         ($(objpfx)check-execstack.h): Target removed.
48813         ($(objpfx)execstack-default): New target.
48814         (generated): Add that instead of check-execstack.h.
48815         ($(all-built-dso:=.phdr)): New static pattern rule.
48816         (generated): Add those targets.
48817         * elf/check-execstack.c: File removed.
48819         * scripts/check-textrel.awk: New file.
48820         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48821         (check-textrel-CFLAGS): Variable removed.
48822         (all-built-dso): Use := to define.o
48823         ($(all-built-dso:=.dyn)): New static pattern rule.
48824         (generated): Add those targets.
48825         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48826         * config.make.in (READELF): New substituted variable.
48827         * elf/check-textrel.c: File removed.
48829 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48831         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48832         allow.
48833         * conform/data/ctype.h-data [C99-based standards] (isblank):
48834         Expect function.
48835         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48836         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48837         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48838         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48839         Specify type.  Require positive value.
48840         (EILSEQ): Likewise.
48841         (ERANGE): Likewise.
48842         [ISO || POSIX] (EILSEQ): Do not expect.
48843         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48844         Specify type.  Require positive value.
48845         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48846         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48847         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48848         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48849         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48850         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48851         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48852         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48853         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48854         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48855         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48856         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48857         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48858         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48859         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48860         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48861         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48862         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48863         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48864         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48865         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48866         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48867         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48868         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48869         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48870         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48871         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48872         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48873         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48874         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48875         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48876         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48877         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48878         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48879         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48880         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48881         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48882         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48883         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48884         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48885         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48886         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48887         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48888         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48889         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48890         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48891         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48892         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48893         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48894         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48895         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48896         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48897         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48898         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48899         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48900         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48901         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48902         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48903         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48904         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48905         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48906         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48907         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48908         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48909         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48910         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48911         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48912         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48913         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48914         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48915         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48916         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48917         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48918         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48919         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48920         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48921         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48922         Require >= 2.
48923         (FLT_ROUNDS): Expect as macro, not constant.
48924         (FLT_MANT_DIG): Use macro-int-constant.
48925         (DBL_MANT_DIG): Likewise.
48926         (LDBL_MANT_DIG): Likewise.
48927         (FLT_DIG): Likewise.
48928         (DBL_DIG): Likewise.
48929         (LDBL_DIG): Likewise.
48930         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48931         (DBL_MIN_EXP): Likewise.
48932         (LDBL_MIN_EXP): Likewise.
48933         (FLT_MAX_EXP): Use macro-int-constant.
48934         (DBL_MAX_EXP): Likewise.
48935         (LDBL_MAX_EXP): Likewise.
48936         (FLT_MAX_10_EXP): Likewise.
48937         (DBL_MAX_10_EXP): Likewise.
48938         (LDBL_MAX_10_EXP): Likewise.
48939         (FLT_MAX): Use macro-constant.
48940         (DBL_MAX): Likewise.
48941         (LDBL_MAX): Likewise.
48942         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48943         (DBL_EPSILON): Likewise.
48944         (LDBL_EPSILON): Likewise.
48945         (FLT_MIN): Likewise.
48946         (DBL_MIN): Likewise.
48947         (LDBL_MIN): Likewise.
48948         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48949         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48950         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48951         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48952         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48953         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48954         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48955         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48956         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48957         [ISO11] (FLT_TRUE_MIN): Likewise.
48958         [ISO11] (LDBL_TRUE_MIN): Likewise.
48959         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48960         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48961         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48962         (SCHAR_MAX): Likewise.
48963         (UCHAR_MAX): Likewise.
48964         (CHAR_MIN): Likewise.
48965         (CHAR_MAX): Likewise.
48966         (MB_LEN_MAX): Use macro-int-constant.
48967         (SHRT_MIN): Use macro-int-constant.  Specify type.
48968         (SHRT_MAX): Likewise.
48969         (USHRT_MAX): Likewise.
48970         (INT_MAX): Likewise.
48971         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48972         bound negative.
48973         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48974         bound with "U".
48975         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48976         bound with "L".
48977         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48978         bound negative.  Suffix upper bound with "L".
48979         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48980         bound with "UL".
48981         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48982         Specify type.
48983         [C99-based standards] (LLONG_MAX): Likewise.
48984         [C99-based standards] (ULLONG_MAX): Likewise.
48985         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48986         == 0.
48987         [ISO11] (max_align_t): Require type.
48988         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48990         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48991         from $CFLAGS, without defining away __attribute__ calls.
48992         (checknamespace): Use $CFLAGS_namespace.
48994         * conform/conformtest.pl (@keywords): Only include C99 keywords
48995         for standards based on C99 or C11.
48997         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48998         Disable tests.
48999         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49000         UNIX98]: Likewise.
49002         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49003         usability of symbols in #if.
49005         * conform/conformtest.pl: If macro or constant types start
49006         "promoted:", expect the symbol to be of the following type
49007         promoted by the integer promotions.
49009         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49010         in one place.  Also handle "macro-constant".
49012         * conform/conformtest.pl: Only accept expected macro values with
49013         "==".  Parse all "macro" lines in one place.
49014         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49016         * conform/conformtest.pl: Handle braced types on "constant" lines
49017         instead of handling "typed-constant".
49018         * conform/data/signal.h-data: Use "constant" instead of
49019         "typed-constant".
49021         * conform/conformtest.pl: Handle "optional-" at start of lines in
49022         one place rather than duplicating several cases.  Handle each
49023         format of "macro" line with initial "optional-".
49025         * conform/conformtest.pl: Only accept expected constant or
49026         optional-constant values with "==".  Parse all "constant" lines in
49027         one place.  Parse all "optional-constant" lines in one place.
49028         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49029         * conform/data/fmtmsg.h-data: Likewise.
49030         * conform/data/netinet/in.h-data: Likewise.
49031         * conform/data/tar.h-data: Likewise.
49032         * conform/data/limits.h-data: Use "==" form on "constant" and
49033         "optional-constant" lines.
49035         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49036         Use -std=c99 for XOPEN2K.
49037         (@knownproblems): Remove.
49038         (newtoken): Don't check %isknown.
49040         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49041         Do not expect macro.
49042         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49043         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49044         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49045         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49046         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49047         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49048         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49049         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49050         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49051         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49052         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49053         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49054         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49055         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49056         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49057         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49058         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49059         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49060         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49061         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49062         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49063         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49064         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49065         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49066         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49067         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49068         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49069         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49070         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49071         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49072         [XPG3] (acosh): Likewise.
49073         [XPG3] (asinh): Likewise.
49074         [XPG3] (atanh): Likewise.
49075         [XPG3] (cbrt): Likewise.
49076         [XPG3] (expm1): Likewise.
49077         [XPG3] (ilogb): Likewise.
49078         [XPG3] (log1p): Likewise.
49079         [XPG3] (logb): Likewise.
49080         [XPG3] (nextafter): Likewise.
49081         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49082         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49083         [XPG3] (remainder): Likewise.
49084         [XPG3] (rint): Likewise.
49085         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49086         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49087         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49088         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49089         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49090         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49091         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49092         [UNIX98 || XOPEN2K] (scalb): Expect.
49093         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49094         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49095         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49096         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49097         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49098         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49099         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49100         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49101         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49102         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49103         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49104         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49105         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49106         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49107         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49108         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49109         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49110         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49111         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49112         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49113         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49114         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49115         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49116         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49117         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49118         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49119         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49120         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49121         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49122         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49123         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49124         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49125         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49126         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49127         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49128         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49129         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49130         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49131         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49132         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49133         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49134         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49135         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49136         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49137         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49138         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49139         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49140         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49141         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49142         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49143         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49144         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49145         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49146         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49147         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49148         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49149         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49150         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49151         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49152         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49153         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49154         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49155         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49156         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49157         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49158         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49159         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49160         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49161         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49162         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49163         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49164         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49165         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49166         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49167         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49168         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49169         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49170         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49171         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49172         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49173         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49174         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49175         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49176         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49177         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49178         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49179         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49180         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49181         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49182         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49183         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49184         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49185         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49186         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49187         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49188         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49189         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49190         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49191         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49192         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49193         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49194         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49195         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49196         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49197         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49198         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49199         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49200         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49201         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49202         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49203         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49204         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49205         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49206         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49207         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49208         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49209         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49210         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49211         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49212         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49213         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49214         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49215         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49216         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49217         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49218         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49219         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49220         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49221         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49222         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49223         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49224         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49225         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49226         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49227         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49228         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49229         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49231         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49232         _XOPEN_SOURCE_EXTENDED for XPG4.
49234         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49236         * Makeconfig (localtime): Remove variable.
49237         (inst_localtime-file): Likewise.
49239 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49242         Update.
49243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49244         Update.
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49246         Update.
49247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49248         Update.
49249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49250         Update.
49251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49252         Update.
49253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49254         Update.
49255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49256         Update.
49257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49258         Update.
49260 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49262         [BZ #2550]
49263         [BZ #2570]
49264         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49265         comparisons to determine direction to adjust input.
49266         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49267         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49268         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49269         Likewise.
49270         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49271         Likewise.
49272         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49273         Likewise.
49274         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49275         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49276         Likewise.
49277         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49278         Likewise.
49279         * math/libm-test.inc (nexttoward_test): Add more tests.
49281 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49283         [BZ #14040]
49284         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49285         in version GLIBC_2.1, not GLIBC_2.0.
49286         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49287         Likewise.
49289 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49291         [BZ #13942]
49292         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49293         (1 - x) * (1 + x).
49294         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49295         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49296         * math/libm-test.inc (acos_test): Add more tests.
49297         (asin_test): Likewise.
49298         * sysdeps/i386/fpu/libm-test-ulps: Update.
49299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49301         [BZ #14034]
49302         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49303         of square root.
49304         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49305         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49306         * math/libm-test.inc (acos_test_tonearest): New function.
49307         (acos_test_towardzero): Likewise.
49308         (acos_test_downward): Likewise.
49309         (acos_test_upward): Likewise.
49310         (asin_test_tonearest): Likewise.
49311         (asin_test_towardzero): Likewise.
49312         (asin_test_downward): Likewise.
49313         (asin_test_upward): Likewise.
49314         (main): Call the new functions.
49315         * sysdeps/i386/fpu/libm-test-ulps: Update.
49316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49318         [BZ #13884]
49319         [BZ #13924]
49320         * math/e_exp10.c: Include <float.h>.
49321         (__ieee754_exp10): Handle underflow here rather than multiplying
49322         large negative argument by M_LN10.
49323         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49324         of __ieee754_expf.
49325         * math/e_exp10l.c: Include <float.h>.
49326         (__ieee754_exp10l): Handle underflow here rather than multiplying
49327         large negative argument by M_LN10l.
49328         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49329         spurious overflow exception on underflow.
49331 2012-04-29  Marek Polacek  <polacek@redhat.com>
49333         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49334         (__fortify_function): New macro.
49335         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49336         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49337         __extern_always_inline.
49338         * libio/bits/stdio2.h: Likewise.
49339         * libio/bits/stdio.h: Likewise.
49340         * string/string.h: Likewise.
49341         * string/bits/string3.h: Likewise.
49342         * include/stdio.h: Likewise.
49343         * stdlib/bits/stdlib.h: Likewise.
49344         * stdlib/stdlib.h: Likewise.
49345         * rt/bits/mqueue2.h: Likewise.
49346         * rt/mqueue.h: Likewise.
49347         * posix/bits/unistd.h: Likewise.
49348         * posix/unistd.h: Likewise.
49349         * io/bits/poll2.h: Likewise.
49350         * io/bits/fcntl2.h: Likewise.
49351         * io/fcntl.h: Likewise.
49352         * io/sys/poll.h: Likewise.
49353         * misc/bits/syslog.h: Likewise.
49354         * misc/bits/syslog-ldbl.h: Likewise.
49355         * misc/sys/syslog.h: Likewise.
49356         * socket/bits/socket2.h: Likewise.
49357         * socket/sys/socket.h: Likewise.
49358         * debug/tst-chk1.c: Likewise.
49359         * wcsmbs/bits/wchar2.h: Likewise.
49360         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49361         * wcsmbs/wchar.h: Likewise.
49363 2012-04-29  Andreas Jaeger  <aj@suse.de>
49365         * Makerules (tests): Remove enable-check-abi protection.
49366         (check-abi-warn): Remove.
49367         (check-abi-%): Remove check-abi-warn usage.
49369         * configure.in: Remove check-abi configure option.
49370         * configure: Regenerated.
49371         * config.make.in (enable-check-abi): Remove.
49373 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49375         [BZ #14033]
49376         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49377         double functions to double *_finite functions.
49379         [BZ #13941]
49380         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49381         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49382         LDBL_MIN_EXP.
49383         * stdio-common/Makefile (tests): Add tst-sprintf3.
49384         * stdio-common/tst-sprintf3.c: New file.
49386         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49387         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49389 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49391         * conform/conformtest.pl: Remove duplicate typed-constant
49392         handling.
49394 2012-04-28  David S. Miller  <davem@davemloft.net>
49396         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49397         (check-abi-%): Remove AWK script prerequisite and explicit
49398         abilist directory.
49399         (check-abi): Rewrite to just diff the symlist with the abilist.
49400         (config-tls, config-abi-config): Delete, no longer used.
49401         (update-abi-%): Remove AWK script and explicit abilist directory.
49402         (update-abi): Rewrite to simply compare and conditionally copy the
49403         symlist and the sysdep abilist file.  Remove update-abi-config
49404         checks.
49405         * abilist/ld.abilist: Remove.
49406         * abilist/libBrokenLocale.abilist: Remove.
49407         * abilist/libanl.abilist: Remove.
49408         * abilist/libcrypt.abilist: Remove.
49409         * abilist/libdl.abilist: Remove.
49410         * abilist/librt.abilist: Remove.
49411         * abilist/libthread_db.abilist: Remove.
49412         * abilist/libutil.abilist: Remove.
49413         * scripts/extract-abilist.awk: Remove.
49414         * scripts/merge-abilist.awk: Remove.
49415         * sysdeps/generic/libcidn.abilist: New file.
49416         * sysdeps/generic/libnss_compat.abilist: New file.
49417         * sysdeps/generic/libnss_db.abilist: New file.
49418         * sysdeps/generic/libnss_dns.abilist: New file.
49419         * sysdeps/generic/libnss_files.abilist: New file.
49420         * sysdeps/generic/libnss_hesiod.abilist: New file.
49421         * sysdeps/generic/libnss_nis.abilist: New file.
49422         * sysdeps/generic/libnss_nisplus.abilist: New file.
49423         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49424         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49425         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49426         file.
49427         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49428         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49429         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49430         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49431         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49432         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49433         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49434         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49435         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49436         file.
49437         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49438         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49439         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49440         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49441         file.
49442         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49443         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49444         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49445         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49446         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49447         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49448         file.
49449         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49450         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49451         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49452         file.
49453         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49455         New file.
49456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49457         New file.
49458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49459         New file.
49460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49461         New file.
49462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49463         New file.
49464         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49465         New file.
49466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49467         New file.
49468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49469         New file.
49470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49471         New file.
49472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49473         New file.
49474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49475         New file.
49476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49477         New file.
49478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49479         New file.
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49481         file.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49483         New file.
49484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49485         New file.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49487         file.
49488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49489         New file.
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49491         New file.
49492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49493         file.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49495         New file.
49496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49497         New file.
49498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49499         New file.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49501         New file.
49502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49503         New file.
49504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49505         New file.
49506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49508         file.
49509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49510         New file.
49511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49512         file.
49513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49514         file.
49515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49516         file.
49517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49518         file.
49519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49520         file.
49521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49522         New file.
49523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49524         file.
49525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49526         file.
49527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49528         New file.
49529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49530         file.
49531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49533         file.
49534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49535         New file.
49536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49537         file.
49538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49539         file.
49540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49541         file.
49542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49543         file.
49544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49545         file.
49546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49547         New file.
49548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49549         file.
49550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49551         file.
49552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49553         New file.
49554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49555         file.
49556         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49557         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49558         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49559         file.
49560         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49561         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49562         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49563         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49564         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49565         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49566         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49567         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49568         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49569         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49572         file.
49573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49574         New file.
49575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49576         file.
49577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49578         file.
49579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49580         file.
49581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49582         file.
49583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49584         file.
49585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49586         New file.
49587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49588         New file.
49589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49590         file.
49591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49592         New file.
49593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49594         file.
49595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49597         file.
49598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49599         New file.
49600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49601         file.
49602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49603         file.
49604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49605         file.
49606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49607         file.
49608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49609         file.
49610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49611         New file.
49612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49613         New file.
49614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49615         file.
49616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49617         New file.
49618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49619         file.
49621 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49623         * conform/conformtest.pl: Fix typo in handling typed-constant from
49624         allow-header.
49626 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49628         * README: Cut down references to pre-2.6 Linux kernels and
49629         Linuxthreads.  Update lists of configurations in libc and ports
49630         and sort alphabetically.  Say "or newer" with Linux kernel version
49631         requirements.
49633         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49635 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49637         [BZ #887]
49638         * math/libm-test.inc (logb_test_downward): New test to expose
49639         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49640         rounding mode.
49642 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49644         [BZ #14027]
49645         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49646         to be done.
49647         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49648         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49650 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49652         * sysdeps/unix/i386/brk.S: Remove file.
49653         * sysdeps/unix/i386/dl-brk.S: Likewise.
49654         * sysdeps/unix/i386/pipe.S: Likewise.
49655         * sysdeps/unix/i386/sigreturn.S: Likewise.
49656         * sysdeps/unix/i386/syscall.S: Likewise.
49657         * sysdeps/unix/i386/vfork.S: Likewise.
49658         * sysdeps/unix/i386/wait.S: Likewise.
49660         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49661         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49663         * configure.in (arm*-none*): Do not allow without
49664         --enable-hacker-mode.
49665         (netbsd*): Remove case setting base_os.
49666         (386bsd*): Likewise.
49667         (freebsd*): Likewise.
49668         (bsdi*): Likewise.
49669         (osf*): Likewise.
49670         (sunos*): Likewise.
49671         (ultrix*): Likewise.
49672         (newsos*): Likewise.
49673         (dynix*): Likewise.
49674         (*bsd*): Likewise.
49675         (sysv*): Likewise.
49676         (isc*): Likewise.
49677         (esix*): Likewise.
49678         (sco*): Likewise.
49679         (minix*): Likewise.
49680         (irix4*): Likewise.
49681         (irix6*): Likewise.
49682         (solaris[2-9]*): Likewise.
49683         (none): Likewise.
49684         * configure: Regenerated.
49686 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49688         [BZ #11521]
49689         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49690         overflow or cancellation in calculating denominator.
49691         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49692         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49693         down expression to avoid unexpected rounding in newer GCCs.
49694         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49696 2012-04-26  David S. Miller  <davem@davemloft.net>
49698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49699         long-double compat symbols.
49700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49714 2012-04-25  David S. Miller  <davem@davemloft.net>
49716         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49717         HWCAP_* values only after the memory barriers have been defined.
49718         (atomic_full_barrier): Define.
49719         (atomic_read_barrier): Define.
49720         (atomic_write_barrier): Define.
49722 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49724         * shlib-versions: Add libgcc_s version information.
49725         * sysdeps/generic/libgcc_s.h: Remove.
49726         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49727         libgcc_s.h.
49728         * sysdeps/gnu/unwind-resume.c: Likewise.
49729         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49731 2012-04-25  David S. Miller  <davem@davemloft.net>
49733         * sysdeps/unix/sparc/brk.S: Delete.
49734         * sysdeps/unix/sparc/dl-brk.S: Delete.
49735         * sysdeps/unix/sparc/pipe.S: Delete.
49736         * sysdeps/unix/sparc/sysdep.S: Delete.
49737         * sysdeps/unix/sparc/sysdep.h: Delete.
49738         * sysdeps/unix/sparc/vfork.S: Delete.
49739         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49740         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49741         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49742         (ret_ERRVAL, r0, r1, MOVE): Define.
49743         (JUMPTARGET): Remove.
49744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49745         sysdeps/unix/sparc/sysdep.h
49746         (ENTRY, END): Remove.
49747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49749 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49751         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49752         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49753         -DIS_IN_build.
49755         * timezone/README: Update upstream location and email address for
49756         tzcode and tzdata.
49757         * timezone/zdump.c: Update from tzcode 2012b.
49758         * timezone/zic.c: Likewise.
49760         * configure.in (libc_cv_as_needed): Remove test.
49761         * configure: Regenerated.
49762         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49763         conditional definition.
49764         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49765         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49766         * config.make.in (have-as-needed): Remove variable.
49768 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49769             Paul Pluzhnikov  <ppluzhnikov@google.com>
49771         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49772         strings correctly.
49774 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49776         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49777         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49778         * sysdeps/sh/strlen.S: Likewise.
49780 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49782         * sysdeps/unix/fork.S: Remove file.
49783         * sysdeps/unix/i386/fork.S: Likewise.
49784         * sysdeps/unix/sparc/fork.S: Likewise.
49786         * sysdeps/unix/system.c: Remove file.
49787         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49789         * sysdeps/unix/getegid.S: Remove file.
49790         * sysdeps/unix/geteuid.S: Likewise.
49792 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49794         * scripts/check-localplt.awk: New file.
49795         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49796         of diff.
49797         * scripts/data/localplt-generic.data: Add a comment.
49799         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49800         NODE when __dir_mkfile failed.
49801         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49802         Reported by Ludovic Courtès <ludo@gnu.org>.
49804 2012-04-24  Andreas Jaeger  <aj@suse.de>
49806         * Makerules (common-clean): Also remove gen-as-const-headers
49807         files.
49809 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49811         * Makerules (native-compile): Do not change working directory for
49812         build.  Use $(OUTPUT_OPTION) in command.
49813         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49815 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49817         [BZ #13886]
49818         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49819         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49820         * math/libm-test.inc (floor_test): Add more tests.
49821         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49823 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49825         * sysdeps/unix/getdents.c: Remove file.
49826         * sysdeps/unix/sysv/getdents.c: Likewise.
49827         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49829         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49830         sysdeps/unix/mman/syscalls.list.
49831         (mmap): Likewise.
49832         (mprotect): Likewise.
49833         (msync): Likewise.
49834         (munmap): Likewise.
49835         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49836         * sysdeps/unix/mman/syscalls.list: Remove.
49837         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49839         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49840         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49841         * configure: Regenerated.
49842         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49843         $(libgcc_s_suffix).
49844         * config.make.in (libgcc_s_suffix): Remove variable.
49846 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49848         * sysdeps/unix/sysv/gethostname.c: Move to ...
49849         * sysdeps/posix/gethostname.c: ... here.
49851         * sysdeps/unix/execve.S: Remove file.
49853         * sysdeps/unix/_exit.S: Remove file.
49855 2012-04-23  Andreas Jaeger  <aj@suse.de>
49857         [BZ #13739]
49858         * manual/Makefile: Remove make dist support, there's no
49859         need for a stand-alone documentation tar ball.
49860         (TEXI2DVI): Define always, it's not in Makeconfig.
49861         (dist): Removed.
49862         (tar-it): Removed.
49863         (edition): Removed.
49864         (glibc-doc-$(edition).tar): Removed
49865         (%.Z): Removed.
49866         (%.gz): Removed.
49867         (%.uu): Removed.
49868         (ETAGS): Remove, it's in Makeconfig.
49869         (move-if-change): Remove, it's in Makeconfig.
49871 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49873         [BZ #13970]
49874         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49875         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49876         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49877         (strtod_l, strtof_l, strtold_l): Remove __wur.
49878         It is not necessarily an error to ignore strtol's return value.
49879         One can reliably look at the stored endptr to decide whether
49880         the number had valid syntax.
49882 2012-04-21  Andreas Jaeger  <aj@suse.de>
49884         [BZ #13739]
49885         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49887 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49889         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49890         * sysdeps/unix/sysv/Versions: Remove file.
49892 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49894         [BZ #13927]
49895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49897 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49899         [BZ #7064]
49900         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49901         version from __vm86.
49903 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49905         * sysdeps/unix/common/lxstat.c: Remove file.
49906         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49908         * sysdeps/unix/sysv/Makefile: Remove file.
49910         * sysdeps/unix/sysv/direct.h: Remove file.
49912         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49913         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49914         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49915         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49916         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49917         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49918         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49920         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49922         * sysdeps/unix/xmknod.c: Remove file.
49923         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49925         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49927         * sysdeps/unix/sysv/i386/time.S: Remove file.
49929         * sysdeps/unix/fxstat.c: Remove file.
49930         * sysdeps/unix/xstat.c: Likewise.
49931         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49933         * sysdeps/unix/sysv/sigaction.c: Remove file.
49935         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49936         (sysdep_headers): Remove variable.
49937         [termio.h not in sysdep_headers] (generated): Likewise.
49938         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49939         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49940         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49941         * sysdeps/unix/sysv/tcflow.c: Likewise.
49942         * sysdeps/unix/sysv/tcflush.c: Likewise.
49943         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49944         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49945         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49946         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49947         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49949         * sysdeps/unix/siglist.c: Remove file.
49951         * sysdeps/unix/getppid.S: Remove file.
49953         * sysdeps/unix/mkdir.c: Remove file.
49954         * sysdeps/unix/rmdir.c: Likewise.
49956 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49958         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49959         ERR_MAX value.
49960         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49961         errlist-compat value.
49963 2012-04-18  David S. Miller  <davem@davemloft.net>
49965         * sysdeps/generic/memcopy.h (reg_char): Delete.
49966         * debug/strcat_chk.c: Use char, not reg_char.
49967         * debug/strcpy_chk.c: Likewise.
49968         * debug/strncat_chk.c: Likewise.
49969         * debug/strncpy_chk.c: Likewise.
49970         * string/memchr.c: Likewise.
49971         * string/memrchr.c: Likewise.
49972         * string/rawmemchr.c: Likewise.
49973         * string/strcat.c: Likewise.
49974         * string/strchr.c: Likewise.
49975         * string/strchrnul.c: Likewise.
49976         * string/strcmp.c: Likewise.
49977         * string/strcpy.c: Likewise.
49978         * string/strncat.c: Likewise.
49979         * string/strncmp.c: Likewise.
49980         * string/strncpy.c: Likewise.
49982 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49984         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49985         __builtin_memcopy is called when src and dest ranges are known to not
49986         overlap.
49988 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49990         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49991         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49992         fwd_align_merge macro call.
49993         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49994         bwd_align_merge macro call.
49995         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49997 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49999         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50000         bwd_align_merge macros.
50001         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50002         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50003         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50005 2012-04-18  David S. Miller  <davem@davemloft.net>
50007         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50009 2012-04-18  Andreas Jaeger  <aj@suse.de>
50011         [BZ# 6794]
50012         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50013         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50014         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50016         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50017         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50018         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50020         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50021         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50022         Adjust for changed ldbl-128 files.
50024         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50025         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50026         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50028 2012-04-17  David S. Miller  <davem@davemloft.net>
50030         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50032 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50034         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50035         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50036         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50037         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50038         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50039         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50041 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50043         [BZ #6794]
50044         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50045         * math/libm-test.inc: Add ilogb errno and exception tests.
50046         * math/w_ilogb.c: New file: ilogb wrapper.
50047         * math/w_ilogbf.c: New file: ilogbf wrapper.
50048         * math/w_ilogbl.c: New file: ilogbl wrapper.
50049         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50050         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50051         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50052         exception being thrown with 0.0 as argument.
50053         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50054         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50055         exception being thrown with 0.0 as argument.
50056         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50057         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50058         exception being thrown with 0.0 as argument.
50059         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50060         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50061         exception being thrown with 0.0 as argument.
50062         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50063         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50064         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50065         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50066         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50067         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50068         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50069         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50070         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50072 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50074         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50075         with altivec.
50077 2012-04-16  Marek Polacek  <polacek@redhat.com>
50079         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50081 2012-04-16  Marek Polacek  <polacek@redhat.com>
50083         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50084         operands of fdivp instruction.
50086 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50088         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50089         * elf/tst-auditmod3b.c: Likewise.
50090         * elf/tst-auditmod4b.c: Likewise.
50091         * elf/tst-auditmod5b.c: Likewise.
50092         * elf/tst-auditmod6b.c: Likewise.
50093         * elf/tst-auditmod6c.c: Likewise.
50094         * elf/tst-auditmod7b.c: Likewise.
50095         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50096         * sysdeps/x86_64/preconfigure.in: Likewise.
50097         * sysdeps/x86_64/preconfigure: Regenerated.
50099 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50101         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50102         __ILP32__.
50104 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50107         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50109 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50111         [BZ #13973]
50112         * locale/iso-639.def: Fix gl language name. Spotted by
50113         Yaron Shahrabani.
50115 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50117         [BZ #2074]
50118         * libio/libio.h (__io_write_fn): Update comment.
50120 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50122         [BZ #2074]
50123         * stdio.texi (Hook Functions): The user provided writer function
50124         is not allowed to return -1.
50126 2012-04-11  David S. Miller  <davem@davemloft.net>
50128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50130 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50132         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50133         Add a leading slash to rtkaio.
50135 2012-04-11  Jim Meyering  <meyering@redhat.com>
50137         [BZ #11959]
50138         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50139         It is not necessarily an error to ignore fwrite's return
50140         value.  One can reliably use ferror to test for errors after
50141         the fact.
50143 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50145         * bits/types.h (__snseconds_t): New type.
50146         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50148         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50150         (__SNSECONDS_T_TYPE): Likewise.
50151         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50152         (__SNSECONDS_T_TYPE): Likewise.
50153         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50154         (__SNSECONDS_T_TYPE): Likewise.
50156 2012-04-10  Andreas Jaeger  <aj@suse.de>
50158         [BZ #2636]
50159         * manual/time.texi (Processor Time): Return type of times is
50160         elapsed real time since an arbitrary point in the past.
50161         (CPU Time): Move CLK_TCK from here...
50162         (Processor Time): ...to here.  Correct description.
50163         * manual/conf.texi (Constants for Sysconf): Correct description of
50164         _SC_CLK_TCK.
50166 2012-04-10  David S. Miller  <davem@davemloft.net>
50168         [BZ #13967]
50169         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50170         where the is a gap between DT_REL(A) and DT_JMPREL.
50172 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50174         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50175         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50176         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50178 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50180         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50181         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50182         (dl_main): Handle --inhibit-cache.
50183         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50184         _dl_inhibit_cache.
50185         * elf/dl-load.c (_dl_map_object): Use it.
50186         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50188 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50190         [BZ #13872]
50191         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50192         (__ieee754_powl): Saturate large exponents rather than testing for
50193         overflow of y*log2(x).
50194         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50195         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50196         exceptions.
50198         [BZ #11521]
50199         * math/s_ctan.c: Include <float.h>.
50200         (__ctan): Avoid internal overflow or cancellation in calculating
50201         denominator.
50202         * math/s_ctanf.c: Likewise.
50203         * math/s_ctanl.c: Likewise.
50204         * math/s_ctanh.c: Likewise.
50205         * math/s_ctanhf.c: Likewise.
50206         * math/s_ctanhl.c: Likewise.
50207         * math/libm-test.inc (ctan_test): Add more tests.
50208         (ctanh_test): Likewise.
50209         * sysdeps/i386/fpu/libm-test-ulps: Update.
50210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50212 2012-04-09  Andreas Jaeger  <aj@suse.de>
50214         [BZ #6894]
50215         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50216         is an optional BSD extension.
50218         [BZ #10254]
50219         * manual/stdio.texi (Opening Streams): Document additional fopen
50220         parameters.
50222 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50224         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50225         %eax without telling the compiler.
50227 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50229         [BZ # 13963]
50230         * manual/install.texi: Use sourceware.org.
50232 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50234         [BZ #13873]
50235         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50236         (__ieee754_pow): Generate overflow and underflow using huge*huge
50237         and tiny*tiny rather than just returning constant infinity or zero
50238         for large exponents.
50239         * math/libm-test.inc (pow_test): Require overflow exceptions for
50240         applicable cases of large exponents.
50242         [BZ #706]
50243         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50244         (__ieee754_pow): Use iterative multiplication algorithm only for
50245         integer exponents with absolute value below 1024.  Check for odd
50246         integer exponents when using algorithm for real exponents.
50247         * math/libm-test.inc (pow_test): Add more tests.
50248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50250 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50252         [BZ #13705]
50253         * math/libm-test.inc (exp_test): Do not allow overflow exception
50254         on underflow test.
50256 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50258         [BZ #13705]
50259         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50260         instead of __kernel_standard_f.
50262 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50264         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50265         * sysdeps/x86_64/memset_chk.S: Likewise.
50267 2012-04-08  Andreas Jaeger  <aj@suse.de>
50269         [BZ #10153]
50270         * manual/startup.texi (Environment Access): Describe return value
50271         for putenv and setenv.
50273         [BZ #6895]
50274         * manual/filesys.texi (Directory Entries): Add description for
50275         DT_LNK.
50277         [BZ #6890]
50278         * manual/filesys.texi (Directory Entries): Clarify that it's file
50279         system not operating system in the description of DT_UNKNOWN.
50281         [BZ #6578]
50282         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50284 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50286         [BZ #6649]
50287         * manual/llio.texi (Opening and Closing Files): Add cross
50288         reference to explain mode argument.
50290 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50292         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50293         * sysdeps/x86_64/memset_chk.S: Likewise.
50295 2012-04-07  David S. Miller  <davem@davemloft.net>
50297         * elf/elf.h (R_SPARC_WDISP10): Define.
50298         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50299         R_SPARC_SIZE32.
50300         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50301         R_SPARC_SIZE64 and R_SPARC_H34.
50303 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50305         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50306         conditions and remove no longer applicable assertion.
50308 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50310         * bits/byteswap.h: Include <features.h>.
50311         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50312         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50314 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50316         * bits/byteswap.h (__bswap_16): Removed.
50317         Include <bits/byteswap-16.h> to get __bswap_16.
50318         * sysdeps/i386/bits/byteswap.h: Likewise.
50319         * sysdeps/s390/bits/byteswap.h: Likewise.
50320         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50321         * bits/byteswap-16.h: New file.
50322         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50323         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50324         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50325         * string/Makefile (headers): Add bits/byteswap-16.h.
50327 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50329         [BZ #13895]
50330         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50331         extra indirection.
50332         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50333         * nss/tst-nss-static.c: New.
50335 2012-04-06  Robert Millan  <rmh@gnu.org>
50337         [BZ #6486]
50338         * manual/llio.texi (File Position Primitive): lseek
50339         refers to WHENCE when it really means OFFSET.
50341 2012-04-06  Andreas Jaeger  <aj@suse.de>
50343         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50344         strncmp declarations.
50346         * abilist/libc.abilist: Add __poll and __ppoll.
50348 2012-04-05  David S. Miller  <davem@davemloft.net>
50350         * scripts/check-local-headers.sh: Accept a host triplet in the
50351         path matched by the exclude regexp.
50353         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50354         definition.
50355         * sysdeps/powerpc/powerpc32/dl-machine.h
50356         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50357         * sysdeps/s390/s390-32/dl-machine.h
50358         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50359         * sysdeps/sparc/sparc32/dl-machine.h
50360         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50361         * sysdeps/sparc/sparc64/dl-machine.h
50362         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50364         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50365         lazy binding.
50366         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50367         undefined symbol errors.
50369         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50370         DT_NEEDED entries.
50372 2012-04-05  Michael Matz  <matz@suse.de>
50374         [BZ #13592]
50375         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50377 2012-04-05  Andreas Jaeger  <aj@suse.de>
50379         [BZ #13908]
50380         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50381         comment.
50383 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50385         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50386         which ROUND is no valid rounding mode.
50388 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50390         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50391         read again.
50392         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50394 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50396         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50397         an exception using FPU order intentionally.
50399 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50401         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50402         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50403         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50404         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50406 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50408         [BZ #12340]
50409         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50410         EINVAL when BUFLEN is too smal.
50412 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50414         [BZ #13553]
50415         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50416         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50418 2012-04-03  Andreas Jaeger  <aj@suse.de>
50420         [BZ #13938]
50421         * manual/setjmp.texi (System V contexts): Fix sentence.
50423         [BZ #13926]
50424         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50425         New macro for this case.
50426         [!__GNUC__] (__bswap_64): New inline function for this case.
50427         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50428         * bits/byteswap.h: Likewise.
50429         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50430         ull, guard with __GLIBC_HAVE_LONG_LONG.
50432         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50433         __GLIBC_HAVE_LONG_LONG.
50435         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50436         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50438 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50440         [BZ #13691]
50441         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50442         inptr and inend, rather than using last_ch.
50444 2012-04-02  David S. Miller  <davem@davemloft.net>
50446         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50447         * stdio-common/printf-parse.h (read_int): Change return type to
50448         'int', return -1 on INT_MAX overflow.
50449         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50450         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50451         overflows INT_MAX.  Check for overflow of in-format-string precision
50452         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50453         SIZE_MAX not INT_MAX for integer overflow test.
50454         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50455         skip the construct in the format string but do not record anything.
50456         * stdio-common/bug22.c: Adjust to test both width/prevision
50457         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50458         explicitly for proper errno values.
50460 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50462         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50463         CHAR_MAX.
50464         * string/test-strcmp.c [! WIDE]: Likewise.
50465         * time/tst-mktime2.c: Likewise for INT_MAX.
50466         * string/test-string.h: #include <sys/param.h> for MIN.
50468         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50469         * sysdeps/i386/init-first.c (init): Likewise.
50470         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50471         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50472         * sysdeps/sh/init-first.c (init): Likewise.
50474 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50476         * po/ru.po: Update from translation team.
50477         * po/vi.po: Likewise.
50479 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50481         * resolv/nss_dns/dns-host.c: Merge copyright years.
50483 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50485         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50486         Optimize memcpy with prefetch if
50487         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50488         src, dst pointers have unequal 16 byte alignments.
50490 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50492         [BZ #13928]
50493         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50494         from a CNAME entry and return the minimum ttl for the query.
50495         (gaih_getanswer_slice): Likewise.
50497 2012-03-30  Jeff Law  <law@redhat.com>
50499         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50500         due to long keys.
50501         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50502         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50504         * resolv/nss_dns/dns-host.c: Update copyright year.
50506 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50508         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50509         requests to save a system call.  Fix check that all bytes are sent.
50511         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50512         comments for sendmmsg.
50514 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50516         [BZ #13691]
50517         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50518         with only 1 character between 0x0041 and 0x01b0.
50519         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50520         * wcsmbs/tst-mbsnrtowcs.c: New file.
50522 2012-03-29  David S. Miller  <davem@davemloft.net>
50524         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50525         small copies by hand.
50527 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50529         [BZ #13761]
50530         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50531         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50532         group memberships.
50534 2012-03-28  David S. Miller  <davem@davemloft.net>
50536         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50537         that branches into memcpy.
50538         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50541         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50543         bits.
50544         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50545         implementation too.
50546         * sysdeps/sparc/mempcpy.S: New file.
50548         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50549         the IFUNC routine in the libc case.
50550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50552         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50553         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50554         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50555         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50556         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50557         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50558         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50559         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50561         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50562         loop to 256 bytes instead of 64 bytes and fix test signedness.
50564         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50565         * sysdeps/sparc/sparc32/Makefile: rather than here...
50566         * sysdeps/sparc/sparc64/Makefile: and here.
50568 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50570         * malloc/mallocbug.c: Avoid warnings about unused variables.
50572 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50574         [BZ #13760]
50575         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50576         in the right place. Discard and retry query if response is
50577         larger than input buffer size.
50579 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50581         [BZ #369]
50582         [BZ #2678]
50583         [BZ #3866]
50584         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50585         x for large integer exponent.
50586         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50587         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50588         sign of result as needed afterwards.
50589         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50590         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50591         result for underflowing pow the same as for overflow.
50592         (__kernel_standard_l): Handle powl overflow and underflow here
50593         rather than calling __kernel_standard.
50594         * math/libm-test.inc (pow_test): Add more tests.
50596         [BZ #3868]
50597         [BZ #13879]
50598         [BZ #13910]
50599         [BZ #13911]
50600         [BZ #13912]
50601         [BZ #13913]
50602         [BZ #13915]
50603         [BZ #13916]
50604         [BZ #13917]
50605         [BZ #13918]
50606         [BZ #13919]
50607         [BZ #13920]
50608         [BZ #13921]
50609         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50610         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50611         (__kernel_standard_l): New function.
50612         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50613         __kernel_standard.
50614         * math/w_acosl.c (__acosl): Likewise.
50615         * math/w_asinl.c (__asinl): Likewise.
50616         * math/w_atan2l.c (__atan2l): Likewise.
50617         * math/w_atanhl.c (__atanhl): Likewise.
50618         * math/w_coshl.c (__coshl): Likewise.
50619         * math/w_exp10l.c (__exp10l): Likewise.
50620         * math/w_exp2l.c (__exp2l): Likewise.
50621         * math/w_fmodl.c (__fmodl): Likewise.
50622         * math/w_hypotl.c (__hypotl): Likewise.
50623         * math/w_j0l.c (__j0l, __y0l): Likewise.
50624         * math/w_j1l.c (__j1l, __y1l): Likewise.
50625         * math/w_jnl.c (__jnl, __ynl): Likewise.
50626         * math/w_lgammal.c (__lgammal): Likewise.
50627         * math/w_log10l.c (__log10l): Likewise.
50628         * math/w_log2l.c (__log2l): Likewise.
50629         * math/w_logl.c (__logl): Likewise.
50630         * math/w_powl.c (__powl): Likewise.
50631         * math/w_remainderl.c (__remainderl): Likewise.
50632         * math/w_scalbl.c (sysv_scalbl): Likewise.
50633         * math/w_sinhl.c (__sinhl): Likewise.
50634         * math/w_sqrtl.c (__sqrtl): Likewise.
50635         * math/w_tgammal.c (__tgammal): Likewise.
50636         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50637         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50638         * math/libm-test.inc (acos_test): Add more tests.
50639         (acosh_test): Likewise.
50640         (asin_test): Likewise.
50641         (atanh_test): Likewise.
50642         (exp_test): Likewise.
50643         (exp10_test): Likewise.
50644         (exp2_test): Likewise.
50645         (expm1_test): Likewise.
50646         (lgamma_test): Likewise.
50647         (log_test): Likewise.
50648         (log10_test): Likewise.
50649         (log1p_test): Likewise.
50650         (log2_test): Likewise.
50651         (pow_test): Do not allow some spurious overflow exceptions.
50652         (sqrt_test): Add more tests.
50653         (tgamma_test): Likewise.
50654         (y0_test): Likewise.
50655         (y1_test): Likewise.
50656         (yn_test): Likewise.
50658 2012-03-27  Anton Blanchard  <anton@samba.org>
50660         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50661         MAP_HUGETLB.
50662         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50663         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50664         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50666 2012-03-27  David S. Miller  <davem@davemloft.net>
50668         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50670         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50671         have-as-vis3 check.
50673 2012-03-27  Andreas Jaeger  <aj@suse.de>
50675         * sysdeps/x86_64/elf/configure.in: Moved to ...
50676         * sysdeps/x86_64/configure.in: ... here.
50677         * sysdeps/x86_64/elf/start.S: Moved to ...
50678         * sysdeps/x86_64/start.S: ... here.
50679         * sysdeps/x86_64/elf/configure: Delete.
50681         * sysdeps/x86_64/configure.in: Merge contents from
50682         sysdeps/i386/configure.in (without i686 check).
50684         * sysdeps/i386/elf/Versions: Merge into ...
50685         * sysdeps/i386/Versions: ... this.
50686         * sysdeps/i386/elf/Versions: Delete file.
50687         * sysdeps/i386/elf/start.S: Moved to ...
50688         * sysdeps/i386/start.S: ...here.
50689         * sysdeps/i386/elf/configure.in: Merge into...
50690         * sysdeps/i386/configure.in: ...here.
50691         * sysdeps/i386/elf/configure.in: Delete file.
50692         * sysdeps/i386/elf/configure: Delete file.
50694         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50695         * debug/backtracesyms.c: ... here.
50696         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50697         * debug/backtracesymsfd.c: ... here.
50698         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50699         * sysdeps/generic/ifunc-sel.h: ... here.
50701         * sysdeps/unix/i386/start.c: Delete file.
50702         * sysdeps/unix/sparc/start.c: Delete file.
50703         * sysdeps/unix/start.c: Delete file.
50705         * sysdeps/sh/elf/configure.in: Moved to ...
50706         * sysdeps/sh/configure.in: ... here.
50707         * sysdeps/sh/elf/start.S: Moved to ...
50708         * sysdeps/sh/start.S: ... here.
50709         * sysdeps/sh/elf/configure: Delete file.
50711         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50712         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50713         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50714         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50715         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50716         * sysdeps/powerpc/powerpc64/start.S: here.
50717         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50718         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50719         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50720         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50721         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50723         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50724         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50725         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50726         * sysdeps/powerpc/powerpc32/start.S: ... here.
50727         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50728         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50729         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50731         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50732         * sysdeps/powerpc/ifunc-sel.h: ... here.
50733         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50734         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50736         * sysdeps/sparc/elf/configure.in: Moved to ...
50737         * sysdeps/sparc/configure.in: ... here.
50738         * sysdeps/sparc/elf/configure: Delete file.
50739         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50740         * sysdeps/sparc/sparc32/start.S: ... here.
50741         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50742         * sysdeps/sparc/sparc64/start.S: ... here.
50743         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50744         * sysdeps/sparc/sparc32/Makefile: ... this.
50745         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50746         * sysdeps/sparc/sparc64/Makefile: ... this.
50748         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50749         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50750         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50751         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50752         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50753         * sysdeps/s390/s390-32/setjmp.S: ... here.
50754         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50755         * sysdeps/s390/s390-32/configure.in: ... here.
50756         * sysdeps/s390/s390-32/elf/configure: Delete file.
50757         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50758         * sysdeps/s390/s390-32/start.S: ... here.
50760         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50761         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50762         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50763         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50764         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50765         * sysdeps/s390/s390-64/setjmp.S: ... here.
50766         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50767         * sysdeps/s390/s390-64/configure.in: ... here
50768         * sysdeps/s390/s390-64/elf/configure: Delete file.
50769         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50770         * sysdeps/s390/s390-64/start.S: ... here.
50771         * sysdeps/s390/s390-64/elf/configure: Delete.
50773         * configure.in: Remove support for elf directories in sysdeps.
50775         * configure: Regenerated.
50776         * sysdeps/i386/configure: Regenerated.
50777         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50778         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50779         * sysdeps/s390/s390-32/configure: Regenerated.
50780         * sysdeps/s390/s390-64/configure: Regenerated.
50781         * sysdeps/sh/configure: Regenerated.
50782         * sysdeps/sparc/configure: Regenerated.
50783         * sysdeps/x86_64/configure: Regenerated.
50785 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50789         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50790         denormal result into account.
50792 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50794         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50795         Reported by Allan McRae <allan@archlinux.org>.
50797 2012-03-23  Jeff Law  <law@redhat.com>
50799         * nss/getnssent.c (__nss_getent): Fix typo.
50801 2012-03-23  David S. Miller  <davem@davemloft.net>
50803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50805 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50807         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50808         to pad to uint64_t for each field.
50809         (dl_tls_index): Replace unsigned long with uint64_t.
50811 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50812         Paul Pluzhnikov  <ppluzhnikov@google.com>
50814         [BZ #6528]
50815         * grp/Makefile (otherlibs): Don't set it.
50816         * inet/Makefile (otherlibs): Likewise.
50817         * login/Makefile (otherlibs): Likewise.
50818         * nscd/Makefile (otherlibs): Likewise.
50819         * posix/Makefile (otherlibs): Likewise.
50820         * pwd/Makefile (otherlibs): Likewise.
50821         * rt/Makefile (otherlibs): Likewise.
50822         * sunrpc/Makefile (otherlibs): Likewise.
50823         * nss/Makefile (otherlibs): Likewise.
50824         Add libnss_files to routines and static-only-routines.
50825         ($(objpfx)getent): Remove rule.
50826         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50827         static-only-routines.
50829 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50831         [BZ #13892]
50832         * math/s_cexp.c: Include <float.h>.
50833         (__cexp): Handle exp result overflowing not necessarily
50834         overflowing both real and imaginary parts of result.
50835         * math/s_cexpf.c: Likewise.
50836         * math/s_cexpl.c: Likewise.
50837         * math/libm-test.inc (cexp_test): Add more tests.
50838         * sysdeps/i386/fpu/libm-test-ulps: Update.
50839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50841 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50843         * include/link.h (ELFW): New macro.
50844         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50845         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50847 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50849         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50850         with uint64_t.
50852 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50854         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50855         declaration.
50856         (struct La_x32_retval): Likewise.
50858 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50860         * sysdeps/x86_64/preconfigure.in: New file.
50861         * sysdeps/x86_64/preconfigure: New generated file.
50863 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50865         [BZ #13824]
50866         * math/e_exp2l.c: Include <float.h>.
50867         (__ieee754_exp2l): Handle overflow and underflow cases
50868         separately.  Only pass fractional part of argument to
50869         __ieee754_expl.
50870         * math/libm-test.inc (exp2_test): Add more tests.
50872         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50873         negating x to take absolute value.
50874         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50875         Likewise.
50876         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50877         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50878         Likewise.
50879         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50880         computing low part if x was negated.
50881         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50883 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50885         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50886         la_x32_gnu_pltexit.
50887         (pltexit): Cast int_retval to ptrdiff_t.
50888         * elf/tst-auditmod3b.c: Likewise.
50889         * elf/tst-auditmod4b.c: Likewise.
50890         * elf/tst-auditmod5b.c: Likewise.
50891         * elf/tst-auditmod6b.c: Likewise.
50892         * elf/tst-auditmod6c.c: Likewise.
50893         * elf/tst-auditmod7b.c: Likewise.
50895         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50896         and x32_gnu_pltexit.
50898         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50899         __ELF_NATIVE_CLASS.
50900         (La_x32_regs): New macro.
50901         (La_x32_retval): Likewise.
50902         (la_x32_gnu_pltenter): New function prototype.
50903         (la_x32_gnu_pltexit): Likewise.
50905 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50907         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50908         exponent.
50910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50912         * configure.in (libc_cv_cc_nofma): Check for option to disable
50913         generation of FMA instructions.
50914         * configure: Regenerate.
50915         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50916         * sysdeps/ieee754/dbl-64/Makefile: New file.
50917         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50918         Remove brandred-fma4.
50919         (CFLAGS-brandred-fma4.c): Remove.
50920         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50921         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50922         define.
50923         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50924         define.
50926 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50928         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50929         LLONG_MAX != LONG_MAX.
50930         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50931         (_fitoa_word): Likewise.
50932         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50933         LLONG_MAX != LONG_MAX.
50934         * stdio-common/_itowa.h: Include <_itoa.h>.
50935         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50936         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50937         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50938         only if not defined.
50939         (_ITOA_WORD_TYPE): Likewise.
50940         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50941         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50943 2012-03-21  David S. Miller  <davem@davemloft.net>
50945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50947 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50949         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50950         of x86_64 when setting libc_cv_slibdir, libdir and
50951         libc_cv_localedir.
50952         * sysdeps/unix/sysv/linux/configure: Regenerated.
50954 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50956         * manual/lang.texi (Old Varargs): Remove section.
50957         (How Variadic): Update menu.
50958         (va_start): Do not mention varargs.h.
50960 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50961             Joseph Myers  <joseph@codesourcery.com>
50963         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50964         link test.
50965         * configure: Regenerated.
50967 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50969         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50970         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50971         conformtest.pl
50973 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50975         * NOTES: Remove.
50976         * Makefile (files-for-dist): Remove NOTES.
50977         (NOTES): Remove rule.
50978         * README: Don't refer to NOTES.
50979         * manual/creature.texi: Don't include macros.texi.
50980         * manual/intro.texi (creature.texi): Remove comment referring to
50981         NOTES.
50983         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50984         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50985         * configure: Regenerated.
50986         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50987         LIBC_TRY_CC_OPTION.
50988         (libc_cv_as_i686): Likewise.
50989         (libc_cv_cc_avx): Likewise.
50990         (libc_cv_cc_sse2avx): Likewise.
50991         (libc_cv_cc_fma4): Likewise.
50992         (libc_cv_cc_novzeroupper): Likewise.
50993         * sysdeps/i386/configure: Regenerated.
50995         [BZ #13883]
50996         * sysdeps/i386/fpu/s_cexp.S: Remove.
50997         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50998         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50999         * math/libm-test.inc (cexp_test): Add more tests.
51000         * sysdeps/i386/fpu/libm-test-ulps: Update.
51001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51003 2012-03-21  Allan McRae  <allan@archlinux.org>
51005         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51007 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51009         [BZ #13871]
51010         * math/w_exp2.c: Do not include <float.h>.
51011         (o_threshold, u_threshold): Remove.
51012         (__exp2): Calculate result before checking finiteness and calling
51013         __kernel_standard.
51014         * math/w_exp2f.c: Likewise.
51015         * math/w_exp2l.c: Likewise.
51016         * math/libm-test.inc (exp2_test): Require overflow exception for
51017         1e6 input.
51019         [BZ #3866]
51020         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51021         range of signed 64-bit integers before using fistpll.  Remove
51022         checks for whether integers fit in mantissa bits.
51023         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51024         the range of signed 32-bit integers before using fistpl.  Remove
51025         checks for whether integers fit in mantissa bits.
51026         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51027         (__ieee754_powl): Test for y outside the range of signed 64-bit
51028         integers before using fistpll.  Reduce 64-bit values to 63-bit
51029         ones as needed.
51030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51031         divide-by-zero is raised for zero to large negative powers.
51032         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51033         (__ieee754_powl): Test for y outside the range of signed 64-bit
51034         integers before using fistpll.  Reduce 64-bit values to 63-bit
51035         ones as needed.
51036         * math/libm-test.inc (pow_test): Add more tests.
51038 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51040         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51041         <stdio-common/_itoa.h>.
51042         * debug/segfault.c: Likewise.
51043         * elf/dl-cache.c: Likewise.
51044         * elf/dl-minimal.c: Likewise.
51045         * elf/dl-misc.c: Likewise.
51046         * elf/dl-sysdep.c: Likewise.
51047         * elf/dl-version.c: Likewise.
51048         * elf/rtld.c: Likewise.
51049         * hurd/hurdsock.c: Likewise.
51050         * hurd/lookup-retry.c: Likewise.
51051         * malloc/malloc.c: Likewise.
51052         * malloc/mtrace.c: Likewise.
51053         * nscd/nscd_getgr_r.c: Likewise.
51054         * nscd/nscd_getpw_r.c: Likewise.
51055         * nscd/nscd_getserv_r.c: Likewise.
51056         * posix/getopt_init.c: Likewise.
51057         * posix/wordexp.c: Likewise.
51058         * stdio-common/_itoa.c: Likewise.
51059         * stdio-common/printf_fphex.c: Likewise.
51060         * stdio-common/vfprintf.c: Likewise.
51061         * string/_strerror.c: Likewise.
51062         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51063         * sysdeps/i386/i686/hp-timing.h: Likewise.
51064         * sysdeps/mach/_strerror.c: Likewise.
51065         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51066         * sysdeps/mach/hurd/sethostid.c: Likewise.
51067         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51068         * sysdeps/mach/xpg-strerror.c: Likewise.
51069         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51070         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51071         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51072         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51073         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51074         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51075         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51076         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51077         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51078         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51079         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51080         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51081         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51082         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51083         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51084         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51085         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51086         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51087         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51088         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51089         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51091         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51093         * stdio-common/_itoa.h: Moved to ...
51094         * sysdeps/generic/_itoa.h: Here.
51096         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51098         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51099         instead of "_itoa.h" and "_itowa.h".
51100         * stdio-common/vfprintf.: Likewise.
51102 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51104         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51105         <bits/wordsize.h>.
51106         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51107         (__signbit): Likwise.
51108         (llrintf): Likwise.
51109         (llrint): Likwise.
51111 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51113         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51114         __WORDSIZE != 64.
51116 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51118         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51119         OVERFLOW_EXCEPTION_OK.
51120         * math/libm-test.inc ("Philosophy"): Update comment about
51121         exception testing.
51122         (OVERFLOW_EXCEPTION): Define.
51123         (OVERFLOW_EXCEPTION_OK): Likewise.
51124         (INVALID_EXCEPTION_OK): Renumber.
51125         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51126         (IGNORE_ZERO_INF_SIGN): Likewise.
51127         (test_exceptions): Handle FE_OVERFLOW.
51128         (exp10_test): Expect overflow exceptions.
51129         (exp2_test): Likewise.
51130         (expm1_test): Likewise.
51131         (nextafter_test): Likewise.
51132         (pow_test): Likewise.
51133         (scalbn_test): Likewise.
51134         (scalbln_test): Likewise.
51136 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51138         * sysdeps/x86_64/bits/atomic.h
51139         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51140         64bit integer.
51141         (atomic_exchange_acq): Likewise.
51142         (__arch_exchange_and_add_body): Likewise.
51143         (__arch_add_body): Likewise.
51144         (atomic_add_negative): Likewise.
51145         (atomic_add_zero): Likewise.
51147 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51149         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51150         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51152 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51154         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51155         Check __x86_64__ instead of __WORDSIZE.
51157 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51159         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51161 2012-03-19  David S. Miller  <davem@davemloft.net>
51163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51165         * sysdeps/sparc/fpu/fenv_private.h: New file.
51166         * sysdeps/sparc/fpu/math_private.h: Use it.
51167         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51168         Remove.
51169         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51170         (libc_feholdexcept_setroundl): Remove.
51171         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51172         Remove.
51173         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51174         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51176 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51178         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51179         int64_t instead of long int.
51180         (INSERT_WORDS64): Likwise.
51182 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51184         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51185         _Unwind_GetCFA return to _Unwind_Ptr first.
51187 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51189         [BZ #13629]
51190         * math/s_clog.c: Include <float.h>.
51191         (__clog): Scale large or subnormal inputs.
51192         * math/s_clogf.c: Likewise.
51193         * math/s_clogl.c: Likewise.
51194         * math/s_clog10.c: Include <float.h>.
51195         (M_LOG10_2): Define.
51196         (__clog10): Scale large or subnormal inputs.
51197         * math/s_clog10f.c: Likewise.
51198         * math/s_clog10l.c: Likewise.
51199         * math/libm-test.inc (clog_test): Add more tests.
51200         (clog10_test): Likewise.
51201         * sysdeps/i386/fpu/libm-test-ulps: Update.
51202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51204         [BZ #11451]
51205         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51206         x and y.
51207         * math/libm-test.inc (atan2_test): Add another test.
51209         * Makerules (common-objdir-compile): Remove.
51210         * sysdeps/unix/Makefile (config-generated): Do not add
51211         $(unix-generated) to variable.
51212         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51213         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51214         Remove rule.
51215         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51216         Likewise.
51217         [generic bits/local_lim.h] (before-compile): Do not append to
51218         variable.
51219         [generic bits/local_lim.h] (common-generated): Likewise.
51220         [generic sys/param.h] (before-compile): Do not append to variable.
51221         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51222         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51223         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51224         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51225         include.
51226         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51227         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51228         [generic sys/param.h] ($(addprefix
51229         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51230         [generic sys/param.h] (common-generated): Do not append to
51231         variable.
51232         [generic sys/param.h] (sysdep_headers): Likewise.
51233         [generic bits/errno.h] (before-compile): Do not append to
51234         variable.
51235         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51236         rule.
51237         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51238         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51239         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51240         [generic bits/errno.h] (common-generated): Do not append to
51241         variable.
51242         [generic bits/ioctls.h] (before-compile): Do not append to
51243         variable.
51244         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51245         rule.
51246         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51247         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51248         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51249         rule.
51250         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51251         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51252         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51253         [generic bits/ioctls.h] (common-generated): Do not append to
51254         variable.
51255         [generic sys/syscall.h] (syscall.h): Remove variable.
51256         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51257         rule.
51258         [generic sys/syscall.h] (before-compile): Do not append to
51259         variable.
51260         [generic sys/syscall.h] (common-generated): Likewise.
51261         * sysdeps/unix/errnos-tmpl.c: Remove file.
51262         * sysdeps/unix/errnos.awk: Likewise.
51263         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51264         * sysdeps/unix/ioctls.awk: Likewise.
51265         * sysdeps/unix/mk-local_lim.c: Likewise.
51266         * sysdeps/unix/snarf-ioctls: Likewise.
51268 2012-03-19  Richard Henderson  <rth@twiddle.net>
51270         * sysdeps/i386/fpu/fenv_private.h: New file.
51271         * sysdeps/i386/fpu/math_private.h: Use it.
51272         (math_opt_barrier, math_force_eval): Remove.
51273         (libc_feholdexcept_setround_53bit): Remove.
51274         (libc_feupdateenv_53bit): Remove.
51275         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51276         (math_opt_barrier, math_force_eval): Remove.
51277         (libc_feholdexcept): Remove.
51278         (libc_feholdexcept_setround): Remove.
51279         (libc_fetestexcept, libc_fesetenv): Remove.
51280         (libc_feupdateenv_test): Remove.
51281         (libc_feupdateenv, libc_feholdsetround): Remove.
51282         (libc_feresetround): Remove.
51284         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51285         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51287         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51288         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51289         (libc_feupdateenv_testl): New.
51290         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51291         (libc_feupdateenv_testf): New.
51292         (libc_feupdateenv): Use libc_feupdateenv_test.
51293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51294         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51296         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51297         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51298         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51299         (libc_feresetround_noex): New.
51300         (libc_feresetround_noexf): New.
51301         (libc_feresetround_noexl): New.
51302         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51303         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51304         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51305         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51306         SET_RESTORE_ROUND.
51307         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51309         (__cos): Likewise.
51310         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51311         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51312         SET_RESTORE_ROUND_NOEX.
51313         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51314         SET_RESTORE_ROUND_NOEXF.
51315         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51316         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51317         (libc_feholdsetroundf): New.
51318         (libc_feresetround, libc_feresetroundf): New.
51320         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51321         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51322         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51324         * sysdeps/generic/math_private.h: Include <fenv.h>.
51325         (default_libc_feholdexcept): New.
51326         (default_libc_feholdexcept_setround): New.
51327         (default_libc_fesetenv, default_libc_feupdateenv): New.
51328         (libc_feholdexcept): Only define if undefined.
51329         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51330         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51331         (libc_feholdexcept_setroundl): Likewise.
51332         (libc_feholdexcept_setround_53bit): Likewise.
51333         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51334         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51335         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51336         (libc_feupdateenv_53bit): Likewise.
51337         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51338         (libc_feholdexcept): Convert from macro to inline function.
51339         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51340         (libc_fesetenv, libc_feupdateenv): Likewise.
51342         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51343         not previously defined.
51344         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51345         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51346         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51347         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51348         * sysdeps/ieee754/flt-32/math_private.h: New file.
51349         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51350         math_private.h below SET_FLOAT_WORD.
51351         (__isnan, __isinf_ns, __finite): Remove.
51352         (__isnanf, __isinf_nsf, __finitef): Remove.
51354 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51358 2012-03-17  David S. Miller  <davem@davemloft.net>
51360         [BZ #6471]
51361         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51362         for 2.16.
51364 2012-03-16  David S. Miller  <davem@davemloft.net>
51366         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51367         warnings.
51369         [BZ #6471]
51370         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51371         properly.
51372         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51373         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51374         sysdep_routines when subdir is sysvipc.
51375         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51376         __getshmlba helper.
51378         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51380 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51382         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51383         [__LP64__].
51385 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51387         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51388         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51389         (__lround): Renamed to ...
51390         (__llround): This.  Replace long int with long long int.
51391         Define lround functions as aliases of llround functions.
51392         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51394 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51396         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51397         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51398         adresses to uintptr_t.  Replace "long int" and "unsigned long
51399         int" with "greg_t" on va_arg.
51401 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51403         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51404         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51406         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51407         Move e_machine check before EI_CLASS check.  Handle x32
51408         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51409         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51410         SKIP_EM_IA_64 and include
51411         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51413         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51414         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51415         (add_system_dir): New macro.
51417         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51418         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51420 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51422         [BZ #2551]
51423         [BZ #2552]
51424         [BZ #2553]
51425         [BZ #2554]
51426         [BZ #2562]
51427         [BZ #2563]
51428         [BZ #2565]
51429         [BZ #2566]
51430         [BZ #2576]
51431         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51432         (y0): Likewise.
51433         * math/w_j0f.c (j0f): Likewise.
51434         (y0f): Likewise.
51435         * math/w_j0l.c (__j0l): Likewise.
51436         (__y0l): Likewise.
51437         * math/w_j1.c (j1): Likewise.
51438         (y1): Likewise.
51439         * math/w_j1f.c (j1f): Likewise.
51440         (y1f): Likewise.
51441         * math/w_j1l.c (__j1l): Likewise.
51442         (__y1l): Likewise.
51443         * math/w_jn.c (jn): Likewise.
51444         (yn): Likewise.
51445         * math/w_jnf.c (jnf): Likewise.
51446         (ynf): Likewise.
51447         * math/w_jnl.c (__jnl): Likewise.
51448         (__ynl): Likewise.
51449         * math/libm-test.inc (j0_test): Add more tests.
51450         (j1_test): Likewise.
51451         (jn_test): Likewise.  Add trailing semicolon to existing test.
51452         (y0_test): Likewise.
51453         (y1_test): Likewise.
51454         * sysdeps/i386/fpu/libm-test-ulps: Update.
51455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51457         [BZ #13851]
51458         [BZ #13854]
51459         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51460         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51461         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51462         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51463         (__tanl): Set errno for infinite argument.
51464         * sysdeps/i386/fpu/mptan.c: Remove.
51465         * sysdeps/i386/fpu/s_tan.S: Likewise.
51466         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51467         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51468         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51469         * math/libm-test.inc (tan_test): Add more tests and enable more
51470         tests for double and long double.
51471         * sysdeps/i386/fpu/libm-test-ulps: Update.
51472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51474 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51476         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51477         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51479 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51481         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51482         * configure.in: Use it for both main tree and add-ons.
51483         * configure: Regenerated.
51485 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51487         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51489 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51491         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51492         in comment.
51494         [BZ #13851]
51495         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51496         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51497         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51498         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51499         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51500         infinite argument.
51501         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51502         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51503         != 0 for prec == 2.
51504         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51505         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51506         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51507         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51508         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51509         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51510         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51511         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51512         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51513         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51514         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51515         * math/libm-test.inc (cos_test): Add more tests and enable more
51516         tests for long double.
51517         (sin_test): Likewise.
51518         (sincos_test): Likewise.
51519         * sysdeps/i386/fpu/libm-test-ulps: Update.
51520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51522 2012-03-16  David S. Miller  <davem@davemloft.net>
51524         * sysdeps/sparc/fpu/math_private.h: New file.
51526 2012-03-15  David S. Miller  <davem@davemloft.net>
51528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51529         file.
51530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51532         file.
51533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51539         sysdep routines.
51540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51542         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51543         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51545         * sysdeps/sparc/sparc-ifunc.h: New file.
51546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51547         sparc-ifunc.h
51548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51550         Likewise.
51551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51552         Likewise.
51553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51557         Likewise.
51558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51563         Likewise.
51564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51565         Likewise.
51566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51570         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51572         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51573         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51584         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51586         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51587         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51588         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51589         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51591 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51593         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51594         scaling.
51595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51597 2012-03-15  Andreas Jaeger  <aj@suse.de>
51599         [BZ #13852]
51600         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51601         ieee754/flt-32 implementation for sin, cos and sincos.
51602         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51603         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51604         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51605         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51606         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51607         ieee754/flt-32 implementation for tan.
51609         * math/libm-test.inc (cos_test): Enable some large input tests for
51610         float as well
51611         (sin_test): Likewise.
51612         (sincos_test): Likewise.
51613         (tan_test): Add tests for large input.
51615         * sysdeps/i386/fpu/libm-test-ulps: Update.
51617 2012-03-15  Andreas Jaeger  <aj@suse.de>
51619         [BZ #13658]
51620         * math/libm-test.inc (cos_test): Add more test cases.
51621         (sin_test): Likewise.
51622         (sincos_test): Likewise.
51624 2012-03-15  Andreas Jaeger  <aj@suse.de>
51626         [BZ #13837]
51627         * math/libm-test.inc (cos_test): Add a test case for large input
51628         value.
51629         (sin_test): Likewise.
51630         (sincos_test): Likewise.
51632 2012-03-15  Andreas Jaeger  <aj@suse.de>
51633             Joseph Myers  <joseph@codesourcery.com>
51635         [BZ #13658]
51636         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51637         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51638         * sysdeps/i386/fpu/branred.c: Likewise.
51639         * sysdeps/i386/fpu/dosincos.c: Likewise.
51640         * sysdeps/i386/fpu/mpa.c: Likewise.
51641         * sysdeps/i386/fpu/s_cos.S: Likewise.
51642         * sysdeps/i386/fpu/s_sin.S: Likewise.
51643         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51644         * sysdeps/i386/fpu/sincos32.c: Likewise.
51646         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51647         Define.
51648         (libc_feupdateenv_53bit): Define.
51649         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51650         Define.
51651         (libc_feupdateenv_53bit): Define.
51653         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51654         53 bit (without extend i386 double precision).
51656         * math/libm-test.inc (sincos_test): Add tests for large input.
51657         (sin): Likewise.
51658         (cos): Likewise.
51660         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51662 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51666 2012-03-15  David S. Miller  <davem@davemloft.net>
51668         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51669         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51670         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51671         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51682         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51684         file.
51685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51687         file.
51688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51690         file.
51691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51693         file.
51694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51695         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51696         fmin/fmax sysdep routines.
51697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51699 2012-03-14  David S. Miller  <davem@davemloft.net>
51701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51705         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51706         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51707         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51708         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51718         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51721         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51722         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51724         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51726         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51727         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51728         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51729         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51730         routines.
51731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51732         file.
51733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51735         file.
51736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51738         file.
51739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51741         file.
51742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51744         file.
51745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51747         file.
51748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51749         file.
51750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51751         file.
51752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51753         file.
51754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51755         New file.
51756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51757         file.
51758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51759         file.
51760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51762         file.
51763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51765         file.
51766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51768         file.
51769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51771         VIS3 routines.
51773         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51774         New file.
51776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51778         * sysdeps/sparc/configure.in: New file.
51779         * sysdeps/sparc/configure: Generate.
51780         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51781         * configure: Regenerate.
51782         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51783         * config.make.in (have-as-vis3): New.
51784         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51785         available use -Av9d instead of -Av9a.
51786         * sysdeps/sparc/sparc64/Makefile: Likewise.
51787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51789         New file.
51790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51791         file.
51792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51793         New file.
51794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51795         file.
51796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51799         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51800         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51802         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51803         fzeros/fnegs to load 0x80000000 into a float register instead of
51804         using the stack.
51805         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51807 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51810         bits/syscall.h.
51811         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51812         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51813         ($(inst_includedir)/bits/syscall.h): Remove rule.
51814         ($(objpfx)bits/syscall.d): Include instead of
51815         $(objpfx)syscall-list.d.
51816         (generated): Change syscall-list.h and syscall-list.d to
51817         bits/syscall.h and bits/syscall.d.
51819 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51821         [BZ #13846]
51822         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51824 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51826         [BZ #13841]
51827         * math/s_csqrt.c: Include <float.h>.
51828         (__csqrt): Scale large or subnormal inputs.
51829         * math/s_csqrtf.c: Likewise.
51830         * math/s_csqrtl.c: Likewise.
51831         * math/libm-test.inc (csqrt_test): Add more tests.
51832         * sysdeps/i386/fpu/libm-test-ulps: Update.
51833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51835         [BZ #13840]
51836         * math/libm-test.inc (hypot_test): Add more tests.
51838 2012-03-13  David S. Miller  <davem@davemloft.net>
51840         [BZ #13840]
51841         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51842         double-precision for the calculation instead of scaling.
51844 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51846         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51847         manipulate bits before adding and subtracting TWO52[sx].
51848         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51849         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51850         Likewise.
51851         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51853 2012-03-13  David S. Miller  <davem@davemloft.net>
51855         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51856         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51858         rtld-global-offsets.h
51859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51861         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51862         large parameters.
51864         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51866         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51867         'err' in the ifdef scope in which it is actually used.
51869         * nss/nss_db/db-init.c: Include string.h
51871 2012-03-12  David S. Miller  <davem@davemloft.net>
51873         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51874         masking out of the most significant byte of random value used.
51875         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51876         Fix coding style in previous change.
51878         * sysdeps/unix/sysv/linux/kernel-features.h
51879         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51880         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51881         expression.
51882         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51883         later.
51885 2012-03-11  David S. Miller  <davem@davemloft.net>
51887         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51888         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51889         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51890         for 'resultvar' otherwise things get truncated on 64-bit.
51892         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51893         Fix masking out of the most significant byte of random value used.
51895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51897 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51901 2012-03-09  David S. Miller  <davem@davemloft.net>
51903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51904         variables with appropriate CPP guards.
51905         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51906         from the frame pointer, not the stack pointer.  Correct layout
51907         comments.  Fix test on resulting framesize and the management of
51908         the outregs buffer for pltexit.  Preserve floating point return
51909         values across _dl_call_pltexit call.
51910         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51911         framesize and the management of the outregs buffer for pltexit.
51912         Preserve floating point return values across _dl_call_pltexit
51913         call.
51914         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51915         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51916         (la_sparc64_gnu_pltexit): New functions.
51917         (print_exit): Fix format string for return register value.
51919 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51921         * sunrpc/Makefile (others): Add rpcgen.
51922         ($(objpfx)rpcgen): Remove special build rule and dependency on
51923         libc.
51924         * sunrpc/rpcgen.c: New file.
51926 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51928         [BZ #13673]
51929         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51930         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51931         * sysdeps/i386/crti.S: Likewise.
51932         * sysdeps/i386/crtn.S: Likewise.
51933         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51934         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51935         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51936         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51937         * sysdeps/sh/crti.S: Likewise.
51938         * sysdeps/sh/crtn.S: Likewise.
51939         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51941         [BZ #13673]
51942         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51943         with URL.
51944         * locale/programs/locfile-kw.gperf: Likewise.
51945         * locale/programs/charmap-kw.h: Regenerated.
51946         * locale/programs/locfile-kw.h: Likewise.
51948         [BZ #13673]
51949         * intl/plural.y: Replace FSF snail mail address with URL.
51950         * intl/plural.c: Regenerated.
51952 2012-03-09  Richard Henderson  <rth@twiddle.net>
51954         * include/math_private.h: Remove file.
51955         * math/math_private.h: Move file ...
51956         * sysdeps/generic/math_private.h: ... here.
51958         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51959         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51960         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51962         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51963         and <math_private.h>.
51964         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51965         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51966         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51967         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51968         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51969         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51970         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51972         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51973         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51974         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51975         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51976         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51977         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51978         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51979         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51980         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51981         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51982         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51983         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51984         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51985         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51986         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51988         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51989         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51990         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51991         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51993         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51994         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51995         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51996         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51997         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51998         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51999         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52000         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52001         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52002         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52003         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52004         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52005         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52006         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52007         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52008         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52009         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52010         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52011         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52012         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52013         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52014         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52015         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52016         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52017         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52018         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52019         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52020         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52021         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52022         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52023         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52024         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52025         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52026         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52027         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52028         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52029         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52030         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52031         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52032         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52033         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52034         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52035         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52036         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52037         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52038         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52041         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52042         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52043         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52044         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52045         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52046         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52047         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52048         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52049         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52050         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52051         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52052         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52053         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52054         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52055         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52056         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52057         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52058         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52059         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52060         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52061         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52062         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52063         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52064         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52065         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52066         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52067         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52068         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52069         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52070         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52071         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52072         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52073         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52074         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52075         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52076         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52077         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52078         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52079         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52080         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52081         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52082         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52083         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52084         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52085         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52086         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52087         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52088         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52089         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52090         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52091         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52092         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52093         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52094         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52095         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52096         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52097         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52098         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52099         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52100         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52101         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52102         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52103         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52104         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52105         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52106         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52107         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52108         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52109         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52110         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52111         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52112         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52113         * sysdeps/ieee754/k_standard.c: Likewise.
52114         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52115         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52116         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52117         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52118         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52119         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52120         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52121         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52122         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52123         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52124         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52125         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52126         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52127         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52128         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52129         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52130         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52131         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52132         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52133         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52134         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52135         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52136         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52137         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52138         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52139         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52140         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52141         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52142         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52143         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52144         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52145         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52146         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52147         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52148         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52149         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52150         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52151         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52152         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52153         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52154         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52155         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52156         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52157         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52158         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52159         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52160         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52161         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52162         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52163         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52164         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52165         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52166         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52167         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52168         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52169         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52170         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52171         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52172         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52173         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52174         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52175         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52176         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52177         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52178         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52179         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52180         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52181         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52182         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52183         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52184         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52185         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52186         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52187         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52188         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52190         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52191         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52192         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52193         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52194         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52198         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52201         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52202         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52204         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52205         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52213         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52214         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52217         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52218         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52221         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52222         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52223         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52224         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52228         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52229         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52232         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52233         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52234         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52235         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52236         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52237         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52238         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52241         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52242         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52245         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52246         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52247         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52248         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52249         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52250         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52251         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52252         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52253         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52254         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52255         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52257         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52258         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52259         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52260         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52261         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52262         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52263         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52264         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52265         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52266         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52267         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52268         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52269         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52270         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52271         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52272         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52273         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52274         * sysdeps/ieee754/s_lib_version.c: Likewise.
52275         * sysdeps/ieee754/s_matherr.c: Likewise.
52276         * sysdeps/ieee754/s_signgam.c: Likewise.
52277         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52278         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52279         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52280         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52281         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52282         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52283         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52284         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52285         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52286         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52287         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52288         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52289         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52290         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52291         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52292         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52293         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52294         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52295         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52296         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52297         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52299 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52301         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52302         * sunrpc/rpc_main.c: Likewise.
52303         * sunrpc/rpc_svcout.c: Likewise.
52305 2012-03-09  David S. Miller  <davem@davemloft.net>
52307         * include/math_private.h: New file.
52309 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52311         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52312         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52313         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52314         from <bits/socket_type.h>.
52315         (enum __socket_type): Don't define here.
52316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52318         bits/socket_type.h.
52320         [BZ #13566]
52321         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52322         checking __USE_GNU.
52324         * Makerules ($(inst_includedir)/%.h): New rule.
52325         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52326         (install-others): Remove variable setting.
52327         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52329 2012-03-08  Richard Henderson  <rth@twiddle.net>
52331         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52332         from macro to inline function; merge with the
52333         !__LIBC_INTERNAL_MATH_INLINES version.
52334         (__ieee754_sqrtf): Likewise.
52336         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52337         to inline function.
52338         (__rintf, __floor, __floorf): Likewise.
52340         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52341         macro to inline function.
52342         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52344         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52345         not <math/math_private.h>.
52347 2012-03-08  David S. Miller  <davem@davemloft.net>
52349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52350         copyright year.
52351         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52353 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52355         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52356         normalization.
52357         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52358         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52360 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52362         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52363         be defined individually, they must be defined as a block.  Define
52364         S for printing a string instead of hidint the different by using a
52365         macro for adding the 'l'.
52366         * stdio-common/tst-fphex-wide.c: Adjust.
52368 2012-03-07  Marek Polacek  <polacek@redhat.com>
52370         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52372 2012-03-08  Marek Polacek  <polacek@redhat.com>
52374         [BZ #13806]
52375         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52376         * stdio-common/tst-fphex.c: Define a few macros to make the
52377         test reusable.  Use them.
52378         * stdio-common/tst-fphex-wide.c: New file.
52380 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52382         [BZ #6911]
52383         * manual/macros.texi (gnusystems): New macro.
52384         (nongnusystems): Likewise.
52385         (gnulinuxhurdsystems): Likewise.
52386         (gnuhurdsystems): Likewise..
52387         (gnulinuxsystems): Likewise.
52388         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52389         variants of the GNU system, not "GNU system".
52390         * manual/conf.texi: Likewise.
52391         * manual/errno.texi: Likewise.  Update example of errno macro
52392         expansion.
52393         * manual/filesys.texi: Likewise.
52394         (getumask): Document as specific to GNU/Hurd.
52395         * manual/install.texi: Likewise.  Reword some references to
52396         GNU/Linux.
52397         * manual/intro.texi: Likewise.
52398         * manual/io.texi: Likewise.
52399         (File Name Portability): Detail which constraints are inapplicable
52400         to all GNU systems and which are only inapplicable to GNU/Hurd.
52401         * manual/job.texi: Likewise.
52402         * manual/llio.texi: Likewise.
52403         (O_NOCTTY): Document as present on GNU/Linux.
52404         * manual/maint.texi: Likewise.
52405         * manual/memory.texi: Likewise.
52406         * manual/pattern.texi: Likewise.
52407         * manual/pipe.texi: Likewise.
52408         * manual/process.texi: Likewise.
52409         * manual/resource.texi: Likewise.
52410         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52411         child on GNU/Hurd.
52412         * manual/setjmp.texi: Likewise.
52413         * manual/signal.texi: Likewise.
52414         * manual/startup.texi: Likewise.
52415         * manual/stdio.texi: Likewise.
52416         * manual/terminal.texi: Likewise.
52417         (ONLCR): Document as POSIX.
52418         (OXTABS): Document availability on GNU/Linux as XTABS.
52419         (ONOEOT): Document availability separately from other bits.
52420         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52421         * manual/time.texi: Likewise.
52422         * manual/users.texi: Likewise.
52423         * INSTALL: Regenerated.
52424         * sysdeps/gnu/errlist.c: Regenerated.
52426         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52427         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52428         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52429         puts.
52430         * configure: Regenerated.
52432 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52434         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52435         default includes instead of AC_HEADER_CHECK.
52436         * sysdeps/i386/configure: Regenerated.
52438         [BZ #10716]
52439         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52440         * math/s_cacoshf.c (__cacoshf): Likewise.
52441         * math/s_cacoshl.c (__cacoshl): Likewise.
52442         * math/s_casinh.c (__casinh): Set signs of result from argument.
52443         * math/s_casinhf.c (__casinhf): Likewise.
52444         * math/s_casinhl.c (__casinhl): Likewise.
52445         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52446         (casinh_test): Add more tests.
52447         * sysdeps/i386/fpu/libm-test-ulps: Update.
52448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52450 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52452         * po/zh_TW.po: Update from translation team.
52454         * login/Makefile (distribute): Remove variable.
52455         * catgets/Makefile: Likewise.
52456         * mach/Makefile: Likewise.
52457         * malloc/Makefile: Likewise.
52458         * misc/Makefile: Likewise.
52459         * iconv/Makefile: Likewise.
52460         * nscd/Makefile: Likewise.
52461         * hurd/Makefile: Likewise.
52462         * manual/Makefile: Likewise.
52463         * locale/Makefile: Likewise.
52464         * intl/Makefile: Likewise.
52465         * conform/Makefile: Likewise.
52466         * nss/Makefile: Likewise.
52467         * time/Makefile: Likewise.
52468         * soft-fp/Makefile: Likewise.
52469         * dirent/Makefile: Likewise.
52470         * gmon/Makefile: Likewise.
52471         * po/Makefile: Likewise.
52472         * rt/Makefile: Likewise.
52473         * socket/Makefile: Likewise.
52474         * math/Makefile: Likewise.
52475         * signal/Makefile: Likewise.
52476         * debug/Makefile: Likewise.
52477         * elf/Makefile: Likewise.
52478         * timezone/Makefile: Likewise.
52479         * stdlib/Makefile: Likewise.
52480         * iconvdata/Makefile: Likewise.
52481         * sunrpc/Makefile: Likewise.
52482         * io/Makefile: Likewise.
52483         * argp/Makefile: Likewise.
52484         * inet/Makefile: Likewise.
52485         * hesiod/Makefile: Likewise.
52486         * grp/Makefile: Likewise.
52487         * csu/Makefile: Likewise.
52488         * wctype/Makefile: Likewise.
52489         * crypt/Makefile: Likewise.
52490         * libio/Makefile: Likewise.
52491         * string/Makefile: Likewise.
52492         * nis/Makefile: Likewise.
52493         * resolv/Makefile: Likewise.
52494         * stdio-common/Makefile: Likewise.
52495         * wcsmbs/Makefile: Likewise.
52496         * dlfcn/Makefile: Likewise.
52497         * posix/Makefile: Likewise.
52499         [BZ #6959]
52500         * timezone/Makefile: Don't install timezone files, just the programs
52501         and scripts.
52503 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52505         * nss/databases.def: Add missing gshadow entry.
52507         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52509 2012-03-06  Marek Polacek  <polacek@redhat.com>
52511         [BZ #13726]
52512         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52513         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52514         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52515         * stdio-common/tst-long-dbl-fphex.c: New file.
52517 2012-03-06  David S. Miller  <davem@davemloft.net>
52519         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52520         (set_obp_int): New function.
52521         (get_obp_int): New function.
52522         (__get_clockfreq_via_dev_openprom): Likewise.
52523         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52524         Avoid unused variable warnings on 'val' and use builtin_expect.
52525         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52526         __builtin_expect.
52527         (INLINE_CLONE_SYSCALL): Likewise.
52529 2012-03-05  David S. Miller  <davem@davemloft.net>
52531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52533 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52537         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52538         only for |x| >= 40.
52539         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52541 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52543         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52544         Replace gettimeofday with __vdso_gettimeofday.
52546         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52547         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52548         __vdso_clock_gettime and __vdso_getcpu.
52550         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52551         time with __vdso_time.
52553 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52555         * manual/lang.texi (size_t): Note types to which size_t may be
52556         equivalent with the GNU C Library, but do not describe when
52557         differences between them are significant.
52559 2012-03-05  Andreas Jaeger  <aj@suse.de>
52561         * sysdeps/i386/fpu/libm-test-ulps: Update.
52563 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52565         [BZ #3976]
52566         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52567         (__ieee754_pow): Save and restore rounding mode and use
52568         round-to-nearest for main computations.
52569         * math/libm-test.inc (pow_test_tonearest): New function.
52570         (pow_test_towardzero): Likewise.
52571         (pow_test_downward): Likewise.
52572         (pow_test_upward): Likewise.
52573         (main): Call the new functions.
52574         * sysdeps/i386/fpu/libm-test-ulps: Update.
52575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52577         [BZ #3976]
52578         * math/libm-test.inc (cosh_test_tonearest): New function.
52579         (cosh_test_towardzero): Likewise.
52580         (cosh_test_downward): Likewise.
52581         (cosh_test_upward): Likewise.
52582         (sinh_test_tonearest): Likewise.
52583         (sinh_test_towardzero): Likewise.
52584         (sinh_test_downward): Likewise.
52585         (sinh_test_upward): Likewise.
52586         (main): Call the new functions.
52587         * sysdeps/i386/fpu/libm-test-ulps: Update.
52588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52590 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52592         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52593         default stack guard is set in last bytes.
52594         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52596 2012-03-05  Kees Cook  <keescook@chromium.org>
52598         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52600         [BZ #13656]
52601         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52602         possibly allocate from heap instead of stack.
52603         * stdio-common/bug-vfprintf-nargs.c: New file.
52604         * stdio-common/Makefile (tests): Add nargs overflow test.
52606 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52610 2012-03-03  Marek Polacek  <polacek@redhat.com>
52612         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52613         * math/math_private.h: Likewise.
52614         * stdlib/tst-strtod.c: Likewise.
52615         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52616         * sysdeps/x86_64/bits/atomic.h: Likewise.
52618 2012-03-02  David S. Miller  <davem@davemloft.net>
52620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52624         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52625         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52626         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52627         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52629 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52631         [BZ #13792]
52632         * manual/examples/README: New file, says the example source files
52633         can be used under GPL>=2.
52634         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52635         line containing just "*/".
52636         * manual/examples/add.c: Add copyright header (GPL>=2).
52637         * manual/examples/argp-ex1.c: Likewise.
52638         * manual/examples/argp-ex2.c: Likewise.
52639         * manual/examples/argp-ex3.c: Likewise.
52640         * manual/examples/argp-ex4.c: Likewise.
52641         * manual/examples/atexit.c: Likewise.
52642         * manual/examples/db.c: Likewise.
52643         * manual/examples/dir.c: Likewise.
52644         * manual/examples/dir2.c: Likewise.
52645         * manual/examples/execinfo.c: Likewise.
52646         * manual/examples/filecli.c: Likewise.
52647         * manual/examples/filesrv.c: Likewise.
52648         * manual/examples/fmtmsgexpl.c: Likewise.
52649         * manual/examples/genpass.c: Likewise.
52650         * manual/examples/inetcli.c: Likewise.
52651         * manual/examples/inetsrv.c: Likewise.
52652         * manual/examples/isockad.c: Likewise.
52653         * manual/examples/longopt.c: Likewise.
52654         * manual/examples/memopen.c: Likewise.
52655         * manual/examples/memstrm.c: Likewise.
52656         * manual/examples/mkfsock.c: Likewise.
52657         * manual/examples/mkisock.c: Likewise.
52658         * manual/examples/mygetpass.c: Likewise.
52659         * manual/examples/pipe.c: Likewise.
52660         * manual/examples/popen.c: Likewise.
52661         * manual/examples/rprintf.c: Likewise.
52662         * manual/examples/search.c: Likewise.
52663         * manual/examples/select.c: Likewise.
52664         * manual/examples/setjmp.c: Likewise.
52665         * manual/examples/sigh1.c: Likewise.
52666         * manual/examples/sigusr.c: Likewise.
52667         * manual/examples/stpcpy.c: Likewise.
52668         * manual/examples/strdupa.c: Likewise.
52669         * manual/examples/strftim.c: Likewise.
52670         * manual/examples/strncat.c: Likewise.
52671         * manual/examples/subopt.c: Likewise.
52672         * manual/examples/swapcontext.c: Likewise.
52673         * manual/examples/termios.c: Likewise.
52674         * manual/examples/testopt.c: Likewise.
52675         * manual/examples/testpass.c: Likewise.
52676         * manual/examples/timeval_subtract.c: Likewise.
52678         [BZ #13792]
52679         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52680         function to ...
52681         * manual/timeval_subtract.c.texi: ... here, new file.
52683 2012-03-02  David S. Miller  <davem@davemloft.net>
52685         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52687 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52689         [BZ #3976]
52690         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52691         (__sin): Save and restore rounding mode and use round-to-nearest
52692         for all computations.
52693         (__cos): Save and restore rounding mode and use round-to-nearest
52694         for all computations.
52695         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52696         <fenv.h>.
52697         (tan): Save and restore rounding mode and use round-to-nearest for
52698         all computations.
52699         * math/libm-test.inc (cos_test_tonearest): New function.
52700         (cos_test_towardzero): Likewise.
52701         (cos_test_downward): Likewise.
52702         (cos_test_upward): Likewise.
52703         (sin_test_tonearest): Likewise.
52704         (sin_test_towardzero): Likewise.
52705         (sin_test_downward): Likewise.
52706         (sin_test_upward): Likewise.
52707         (tan_test_tonearest): Likewise.
52708         (tan_test_towardzero): Likewise.
52709         (tan_test_downward): Likewise.
52710         (tan_test_upward): Likewise.
52711         (main): Call the new functions.
52712         * sysdeps/i386/fpu/libm-test-ulps: Update.
52713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52715         [BZ #10135]
52716         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52717         small n, then large n, before computing and testing k+n.
52718         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52719         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52720         Likewise.
52721         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52722         Likewise.
52723         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52724         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52725         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52726         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52727         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52728         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52729         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52730         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52731         * math/libm-test.inc (scalbn_test): Add more tests.
52732         (scalbln_test): Likewise.
52734         * manual/filesys.texi (mode_t): Describe constraints on size and
52735         signedness, not exact equivalence to a particular type.
52736         (ino_t): Likewise.
52737         (ino64_t): Likewise.
52738         (dev_t): Likewise.
52739         (nlink_t): Likewise.
52740         (blkcnt_t): Likewise.
52741         (blkcnt64_t): Likewise.
52742         * manual/llio.texi (off_t): Likewise.
52744         [BZ #3976]
52745         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52746         (__ieee754_exp): Save and restore rounding mode and use
52747         round-to-nearest for all computations.
52748         * math/libm-test.inc (exp_test_tonearest): New function.
52749         (exp_test_towardzero): Likewise.
52750         (exp_test_downward): Likewise.
52751         (exp_test_upward): Likewise.
52752         (main): Call the new functions.
52753         * sysdeps/i386/fpu/libm-test-ulps: Update.
52754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52756 2012-03-01  Chris Demetriou  <cgd@google.com>
52758         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52759         have predictable order.
52761 2012-03-01  David S. Miller  <davem@davemloft.net>
52763         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52765         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52766         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52767         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52768         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52770         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52771         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52772         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52774         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52775         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52776         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52777         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52778         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52782         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52783         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52784         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52786         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52787         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52788         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52789         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52790         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52791         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52792         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52793         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52794         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52795         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52796         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52797         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52799         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52800         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52802         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52803         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52804         * sysdeps/sparc/elf/configure: Regenerated.
52806 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52808         * configure.in (AS, LD): Require binutils 2.20 or later.
52809         * configure: Regenerated.
52810         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52811         as required minimum version.
52812         * INSTALL: Regenerated.
52814         [BZ #2541]
52815         [BZ #4108]
52816         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52817         before squaring exponent.
52818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52819         bottom long double and 27 bits of top long double before squaring
52820         exponent.
52821         * math/libm-test.inc (erfc_test): Add more tests.
52822         * sysdeps/i386/fpu/libm-test-ulps: Update.
52823         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52826 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52828         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52829         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52830         containing bit-fields.
52831         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52832         * soft-fp/single.h (_FP_UNION_S): Likewise.
52833         * soft-fp/double.h (_FP_UNION_D): Likewise.
52835 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52837         [BZ #13786]
52838         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52839         not include ../strcmp.S.
52840         [USE_AS_STRNCASECMP_L]: Likewise.
52841         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52842         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52843         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52844         (__strncasecmp_l_ia32): Define as alias to
52845         __strncasecmp_l_nonascii.
52847         [BZ #5794]
52848         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52849         * sysdeps/i386/fpu/libm-test-ulps: Update.
52850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52852         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52855 2012-02-29  Jeff Law  <law@redhat.com>
52857         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52858         out of bounds read.
52860 2012-02-29  Marek Polacek  <polacek@redhat.com>
52862         [BZ #13706]
52863         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52864         * elf/Makefile: Add rules to run tst-unused-dep.out.
52866 2012-02-28  David S. Miller  <davem@davemloft.net>
52868         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52869         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52870         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52871         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52872         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52873         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52875 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52877         * math/libm-test.inc (llround_test): Move one test from
52878         lround_test.  Use TEST_f_L in moved test.
52879         (lround_test): Move misplaced test to llround_test.  Add testcase
52880         from bug 2561.
52882 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52884         * sysdeps/x86_64/fpu/e_expf.S: New file.
52885         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52887 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52889         [BZ #13637]
52890         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52891         of remain_len that may cause incomplete multi-byte character and
52892         false match.
52893         * posix/bug-regex33.c: New file.
52894         * posix/Makefile (tests): Add bug-regex33.
52896 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52898         * manual/macros.texi: New file.
52899         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52900         * manual/libc.texinfo: Include macros.texi.
52901         * manual/creatute.texi: Likewise.
52902         * manual/install.texi: Likewise.
52903         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52904         @glibcadj{} in references to the GNU C Library.
52905         * manual/charset.texi: Likewise.
52906         * manual/conf.texi: Likewise.
52907         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52908         when not using those macros.
52909         * manual/creature.texi: Likewise.
52910         * manual/crypt.texi: Likewise.
52911         * manual/errno.texi: Likewise.
52912         * manual/filesys.texi: Likewise.
52913         * manual/header.texi: Likewise.
52914         * manual/install.texi: Likewise.
52915         * manual/intro.texi: Likewise.
52916         * manual/io.texi: Likewise.
52917         * manual/job.texi: Likewise.
52918         * manual/lang.texi: Likewise.
52919         * manual/libc.texiinfo: Likewise.
52920         * manual/llio.texi: Likewise.
52921         * manual/locale.texi: Likewise.
52922         * manual/maint.texi: Likewise.
52923         * manual/math.texi: Likewise.
52924         * manual/memory.texi: Likewise.
52925         * manual/message.texi: Likewise.
52926         * manual/nss.texi: Likewise.
52927         * manual/pattern.texi: Likewise.
52928         * manual/process.texi: Likewise.
52929         * manual/resource.texi: Likewise.
52930         * manual/search.texi: Likewise.
52931         * manual/setjmp.texi: Likewise.
52932         * manual/signal.texi: Likewise.
52933         * manual/socket.texi: Likewise.
52934         * manual/startup.texi: Likewise.
52935         * manual/stdio.texi: Likewise.
52936         * manual/string.texi: Likewise.
52937         * manual/sysinfo.texi: Likewise.
52938         * manual/syslog.texi: Likewise.
52939         * manual/terminal.texi: Likewise.
52940         * manual/time.texi: Likewise.
52941         * manual/users.texi: Likewise.
52942         * INSTALL: Regenerated.
52943         * NOTES: Regenerated.
52944         * sysdeps/gnu/errlist.c: Regenerated.
52946 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52948         * include/dirent.h: Include <dirstream.h> before
52949         <dirent/dirent.h>.
52951 2012-02-28  David S. Miller  <davem@davemloft.net>
52953         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52954         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52955         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52956         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52958 2012-02-27  David S. Miller  <davem@davemloft.net>
52960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52962         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52963         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52966         frame pointer instead of stack pointer relative arg slot.
52967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52968         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52969         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52971 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52973         [BZ #3992]
52974         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52976 2012-02-27  David S. Miller  <davem@davemloft.net>
52978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52982         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52983         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52984         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52985         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52987 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52989         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52990         later.  Allow versions 5-9.
52991         * configure: Regenerated.
52992         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52993         required minimum version and 4.6 as recommended version.  Do not
52994         mention bugs in GCC 2.7 and 2.8.
52995         * INSTALL: Regenerated.
52997 2012-02-27  David S. Miller  <davem@davemloft.net>
52999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53003         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53004         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53005         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53006         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53008         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53009         manipulate bits before adding and subtracting TWO112[sx].
53010         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53012 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53014         [BZ #13775]
53015         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53016         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53017         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53018         being in POSIX, because they are in 1003.1-2008.
53020         * rt/tst-aio.c: Include <fcntl.h>.
53021         * rt/tst-aio7.c: Likewise.
53022         * rt/tst-aio64.c: Likewise.
53024         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53026 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53028         * manual/install.texi (--with-headers): Describe headers as
53029         interface headers, not private headers.
53030         (Specific advice for GNU/Linux systems): Describe use of headers
53031         from "make headers_install", not private headers from older
53032         kernels.
53033         * INSTALL: Regenerated.
53034         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53035         Change to 2.6.19.
53036         * sysdeps/unix/sysv/linux/configure: Regenerated.
53038         * manual/llio.texi (fclean): Remove documentation.
53040         * manual/Makefile (libc-texi-generated): New variable.  Include
53041         version.texi.
53042         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53043         $(libc-texi-generated), not duplicated list of files.
53044         (version.texi, stamp-version): New rules.
53045         (realclean): Remove $(libc-texi-generated), not individual files
53046         from that list.  Do not remove dir-add.texinfo.
53047         * manual/libc.texinfo: Comment out uses of edition numbers and
53048         references to printed manual.  Remove last-updated dates.
53049         (EDITION): Comment out.
53050         (ISBN): Likewise.
53051         (VERSION, UPDATED): Remove.
53052         (version.texi): Include.
53054 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53056         * sysdeps/posix/spawni.c: Include <signal.h>.
53057         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53058         * sysdeps/pthread/aio_fsync.c: Likewise.
53060 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53062         * conform/Makefile (tests): Run only when not cross-compiling and
53063         when fast-check is not defined.
53065         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53066         * conform/data/limits.h-data: Fixes for POSIX2008.
53067         * conform/run-conformtest.sh: Run all tests.
53068         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53069         headers.
53070         * include/bits/dlfcn.h: Likewise.
53071         * include/langinfo.h: Likewise.
53072         * include/monetary.h: Likewise.
53073         * include/sys/poll.h: Likewise.
53075         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53076         for __USE_GNU.
53077         * posix/spawn.h: Define __need_sigset_t.
53078         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53079         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53080         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53081         to get sigevent_t only.
53082         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53083         only for __USE_GNU.
53084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53085         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53086         process_vm_writev only for __USE_GNU.
53087         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53089         * conform/Makefile: For now ignore errors from run-conformtest.
53090         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53091         POSIX to avoid namespace pollution.  Don't prepend headers.
53092         * conform/data/aio.h-data: Fixes for POSIX testing.
53093         * conform/data/fcntl.h-data: Likewise.
53094         * conform/data/glob.h-data: Likewise.
53095         * conform/data/grp.h-data: Likewise.
53096         * conform/data/pthread.h-data: Likewise.
53097         * conform/data/pwd.h-data: Likewise.
53098         * conform/data/signal.h-data: Likewise.
53099         * conform/data/spawn.h-data: Likewise.
53100         * conform/data/stdio.h-data: Likewise.
53101         * conform/data/stdlib.h-data: Likewise.
53102         * conform/data/stropts.h-data: Likewise.
53103         * conform/data/sys/mman.h-data: Likewise.
53104         * conform/data/sys/stat.h-data: Likewise.
53105         * conform/data/sys/types.h-data: Likewise.
53106         * conform/data/sys/wait.h-data: Likewise.
53107         * conform/data/time.h-data: Likewise.
53108         * conform/data/unistd.h-data: Likewise.
53109         * conform/data/utime.h-data: Likewise.
53111         * io/sys/stat.h: fchmod was always in POSIX.
53112         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53113         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53114         * rt/aio.h: Define __need_timespec before including <time.h>.
53115         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53116         struct.  Add forward declaration of pthread_attr_t and use it in
53117         sigevent.
53118         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53120         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53121         always remove CLK_TCK definition.
53123 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53125         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53127 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53129         * conform/run-conformtest.sh: New file.
53130         * conform/Makefile: Run run-conformtest for tests.
53131         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53132         support.
53134         * conform/data/uchar.h-data: New file.
53135         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53136         * conform/data/arpa/inet.h-data: Likewise.
53137         * conform/data/assert.h-data: Likewise.
53138         * conform/data/complex.h-data: Likewise.
53139         * conform/data/cpio.h-data: Likewise.
53140         * conform/data/ctype.h-data: Likewise.
53141         * conform/data/dirent.h-data: Likewise.
53142         * conform/data/dlfcn.h-data: Likewise.
53143         * conform/data/errno.h-data: Likewise.
53144         * conform/data/fcntl.h-data: Likewise.
53145         * conform/data/float.h-data: Likewise.
53146         * conform/data/fmtmsg.h-data: Likewise.
53147         * conform/data/fnmatch.h-data: Likewise.
53148         * conform/data/ftw.h-data: Likewise.
53149         * conform/data/glob.h-data: Likewise.
53150         * conform/data/grp.h-data: Likewise.
53151         * conform/data/iconv.h-data: Likewise.
53152         * conform/data/inttypes.h-data: Likewise.
53153         * conform/data/langinfo.h-data: Likewise.
53154         * conform/data/libgen.h-data: Likewise.
53155         * conform/data/limits.h-data: Likewise.
53156         * conform/data/locale.h-data: Likewise.
53157         * conform/data/math.h-data: Likewise.
53158         * conform/data/monetary.h-data: Likewise.
53159         * conform/data/mqueue.h-data: Likewise.
53160         * conform/data/ndbm.h-data: Likewise.
53161         * conform/data/net/if.h-data: Likewise.
53162         * conform/data/netdb.h-data: Likewise.
53163         * conform/data/netinet/in.h-data: Likewise.
53164         * conform/data/nl_types.h-data: Likewise.
53165         * conform/data/poll.h-data: Likewise.
53166         * conform/data/pthread.h-data: Likewise.
53167         * conform/data/pwd.h-data: Likewise.
53168         * conform/data/regex.h-data: Likewise.
53169         * conform/data/sched.h-data: Likewise.
53170         * conform/data/search.h-data: Likewise.
53171         * conform/data/semaphore.h-data: Likewise.
53172         * conform/data/setjmp.h-data: Likewise.
53173         * conform/data/signal.h-data: Likewise.
53174         * conform/data/spawn.h-data: Likewise.
53175         * conform/data/stdarg.h-data: Likewise.
53176         * conform/data/stdio.h-data: Likewise.
53177         * conform/data/stdlib.h-data: Likewise.
53178         * conform/data/string.h-data: Likewise.
53179         * conform/data/strings.h-data: Likewise.
53180         * conform/data/stropts.h-data: Likewise.
53181         * conform/data/sys/ipc.h-data: Likewise.
53182         * conform/data/sys/mman.h-data: Likewise.
53183         * conform/data/sys/msg.h-data: Likewise.
53184         * conform/data/sys/resource.h-data: Likewise.
53185         * conform/data/sys/select.h-data: Likewise.
53186         * conform/data/sys/sem.h-data: Likewise.
53187         * conform/data/sys/shm.h-data: Likewise.
53188         * conform/data/sys/socket.h-data: Likewise.
53189         * conform/data/sys/stat.h-data: Likewise.
53190         * conform/data/sys/statvfs.h-data: Likewise.
53191         * conform/data/sys/time.h-data: Likewise.
53192         * conform/data/sys/timeb.h-data: Likewise.
53193         * conform/data/sys/times.h-data: Likewise.
53194         * conform/data/sys/types.h-data: Likewise.
53195         * conform/data/sys/uio.h-data: Likewise.
53196         * conform/data/sys/un.h-data: Likewise.
53197         * conform/data/sys/utsname.h-data: Likewise.
53198         * conform/data/sys/wait.h-data: Likewise.
53199         * conform/data/syslog.h-data: Likewise.
53200         * conform/data/tar.h-data: Likewise.
53201         * conform/data/termios.h-data: Likewise.
53202         * conform/data/utime.h-data: Likewise.
53203         * conform/data/utmpx.h-data: Likewise.
53204         * conform/data/varargs.h-data: Likewise.
53205         * conform/data/wchar.h-data: Likewise.
53206         * conform/data/wctype.h-data: Likewise.
53207         * conform/data/wordexp.h-data: Likewise.
53209         * include/stropts.h: New file.
53210         * include/uchar.h: New file.
53211         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53212         * include/assert.h: Likewise.
53213         * include/ctype.h: Likewise.
53214         * include/dirent.h: Likewise.
53215         * include/dlfcn.h: Likewise.
53216         * include/fcntl.h: Likewise.
53217         * include/fnmatch.h: Likewise.
53218         * include/glob.h: Likewise.
53219         * include/grp.h: Likewise.
53220         * include/libio.h: Likewise.
53221         * include/locale.h: Likewise.
53222         * include/math.h: Likewise.
53223         * include/net/if.h: Likewise.
53224         * include/netdb.h: Likewise.
53225         * include/netinet/in.h: Likewise.
53226         * include/pthread.h: Likewise.
53227         * include/pwd.h: Likewise.
53228         * include/regex.h: Likewise.
53229         * include/sched.h: Likewise.
53230         * include/search.h: Likewise.
53231         * include/setjmp.h: Likewise.
53232         * include/signal.h: Likewise.
53233         * include/stdio.h: Likewise.
53234         * include/stdlib.h: Likewise.
53235         * include/string.h: Likewise.
53236         * include/sys/cdefs.h: Likewise.
53237         * include/sys/mman.h: Likewise.
53238         * include/sys/msg.h: Likewise.
53239         * include/sys/resource.h: Likewise.
53240         * include/sys/select.h: Likewise.
53241         * include/sys/socket.h: Likewise.
53242         * include/sys/stat.h: Likewise.
53243         * include/sys/statvfs.h: Likewise.
53244         * include/sys/time.h: Likewise.
53245         * include/sys/times.h: Likewise.
53246         * include/sys/uio.h: Likewise.
53247         * include/sys/utsname.h: Likewise.
53248         * include/sys/wait.h: Likewise.
53249         * include/termios.h: Likewise.
53250         * include/time.h: Likewise.
53251         * include/ulimit.h: Likewise.
53252         * include/unistd.h: Likewise.
53253         * include/utime.h: Likewise.
53254         * include/wchar.h: Likewise.
53255         * include/wctype.h: Likewise.
53256         * include/wordexp.h: Likewise.
53258         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53260         * time/time.h: TIME_UTC must be a macro.
53261         Make timespec_get available for ISO C11 only as well.
53263 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53265         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53266         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53268 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53270         * configure.in: Use -o not -a in test for unsupported multi-arch.
53272 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53274         * manual/texinfo.tex: Update to version 2012-01-19.16.
53276 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53278         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53280 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53282         [BZ #13738]
53283         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53284         * manual/fdl-1.3.texi: New file.
53285         * manual/fdl-1.1.texi: File removed.
53287         [BZ #13738]
53288         * manual/libc.texinfo (FDL_VERSION): New @set.
53289         Use it for mention of FDL in cover text.
53290         (Documentation License): Use it in @include file name.
53292 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53293             Roland McGrath  <roland@hack.frob.com>
53295         [BZ #5461]
53296         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53297         (not LONG_LONG_MAX and LONG_LONG_MIN.
53298         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53299         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53300         name.
53301         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53303 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53305         [BZ #2547]
53306         [BZ #11365]
53307         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53308         manipulate bits before adding and subtracting TWO23[sx].
53309         * math/libm-test.inc (nearbyint_test): Add more tests.
53311 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53313         [BZ #2548]
53314         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53315         bits before adding and subtracting TWO23[sx].
53316         * math/libm-test.inc (rint_test): Add more tests.
53317         (rint_test_tonearest): Likewise.
53318         (rint_test_towardzero): Likewise.
53319         (rint_test_downward): Likewise.
53320         (rint_test_upward: Likewise.
53322 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53324         [BZ #10110]
53325         * include/stdc-predef.h: New file.  Extracted from features.h.
53326         * include/features.h: Include stdc-predef.h.
53327         * Makefile (headers): Add stdc-predef.h.
53328         * CONFORMANCE (Compiler limitations): Update.
53330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53332         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53334 2012-02-21  David S. Miller  <davem@davemloft.net>
53336         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53337         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53339 2012-02-20  David S. Miller  <davem@davemloft.net>
53341         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53342         using a normal save/restore sequence, rather than allocating a
53343         dummy stack frame just to store a frame pointer and restore.
53344         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53346 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53348         * manual/install.texi: Fix stray word in line-wrapped comment.
53350 2012-02-20  David S. Miller  <davem@davemloft.net>
53352         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53353         both binutils and gcc support GOTDATA.
53355         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53356         "rd %pc" in the PIC register setup sequences.
53358         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53359         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53360         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53361         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53362         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53363         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53364         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53365         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53367         (SYSCALL_ERROR_HANDLER): Likewise.
53368         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53369         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53371         (SYSCALL_ERROR_HANDLER): Likewise.
53373         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53374         (HAVE_GCC_GOTDATA): New.
53375         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53376         relocation support in both binutils and gcc.
53377         * sysdeps/sparc/elf/configure: Regenerate.
53379         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53380         * sysdeps/sparc/sparc32/elf/configure: Delete.
53381         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53382         * sysdeps/sparc/sparc64/elf/configure: Delete.
53383         * sysdeps/sparc/elf/configure.in: New file.
53384         * sysdeps/sparc/elf/configure: Generate.
53386         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53387         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53388         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53389         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53390         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53392 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53394         * manual/install.texi: Do not mention specific glibc version
53395         numbers.
53396         * manual/libc.texinfo (VERSION, UPDATED): Update.
53397         (@copying): Use @copyright{} and range of years.
53399 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53401         [BZ #13695]
53402         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53403         [crti.S not in sysdirs] (generated): Do not append.
53404         [crti.S not in sysdirs] (omit-deps): Likewise.
53405         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53406         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53407         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53408         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53409         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53410         Likewise.
53411         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53412         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53413         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53414         * csu/defs.awk: Remove file.
53415         * sysdeps/generic/initfini.c: Likewise.
53416         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53417         variable.
53418         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53419         Likewise.
53421 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53423         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53424         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53425         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53426         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53427         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53428         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53429         <bits/epoll.h>.
53430         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53431         (__EPOLL_PACKED): Define to empty if not defined by
53432         <bits/epoll.h>.
53433         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53435         bits/epoll.h.
53437 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53439         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53440         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53441         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53442         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53443         <bits/timerfd.h>.
53444         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53446         bits/timerfd.h.
53448 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53450         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53451         in C locale.
53452         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53453         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53454         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53457 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53459         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53460         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53462 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53464         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53465         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53466         defined.
53467         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53468         Likewise.
53469         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53470         entry for 2.16.
53472 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53474         * math/w_acos.c: Use non-signaling floating-point comparisons.
53475         * math/w_acosf.c: Likewise.
53476         * math/w_acosh.c: Likewise.
53477         * math/w_acoshf.c: Likewise.
53478         * math/w_acoshl.c: Likewise.
53479         * math/w_acosl.c: Likewise.
53480         * math/w_asin.c: Likewise.
53481         * math/w_asinf.c: Likewise.
53482         * math/w_asinl.c: Likewise.
53483         * math/w_atanh.c: Likewise.
53484         * math/w_atanhf.c: Likewise.
53485         * math/w_atanhl.c: Likewise.
53486         * math/w_exp2.c: Likewise.
53487         * math/w_exp2f.c: Likewise.
53488         * math/w_exp2l.c: Likewise.
53489         * math/w_j0.c: Likewise.
53490         * math/w_j0f.c: Likewise.
53491         * math/w_j0l.c: Likewise.
53492         * math/w_j1.c: Likewise.
53493         * math/w_j1f.c: Likewise.
53494         * math/w_j1l.c: Likewise.
53495         * math/w_jn.c: Likewise.
53496         * math/w_jnf.c: Likewise.
53497         * math/w_log.c: Likewise.
53498         * math/w_log10.c: Likewise.
53499         * math/w_log10f.c: Likewise.
53500         * math/w_log10l.c: Likewise.
53501         * math/w_log2.c: Likewise.
53502         * math/w_log2f.c: Likewise.
53503         * math/w_log2l.c: Likewise.
53504         * math/w_logf.c: Likewise.
53505         * math/w_logl.c: Likewise.
53506         * math/w_sqrt.c: Likewise.
53507         * math/w_sqrtf.c: Likewise.
53508         * math/w_sqrtl.c: Likewise.
53509         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53510         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53511         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53512         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53513         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53515 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53517         [BZ #9739]
53518         * manual/string.texi (strnlen): Use correct parameter name in
53519         equivalent expression.
53521 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53523         [BZ #11174]
53524         * manual/users.texi (seteuid): Consistently use neweuid for
53525         argument name.
53527 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53529         [BZ #13704]
53530         * manual/nss.texi (Services in the NSS configuration): Correct
53531         list of services in example configuration file.
53533 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53535         [BZ #11322]
53536         * manual/arith.texi: Remove statements about negative zero
53537         behaving identically to zero.
53539 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53541         [BZ #5993]
53542         * manual/install.texi: Do not document upgrading from libc5.
53544 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53546         [BZ #4596]
53547         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53549 2012-02-18  David S. Miller  <davem@davemloft.net>
53551         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53552         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53553         %o7 across the call.
53554         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53555         instead.
53556         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53557         SETUP_PIC_REG_LEAF.
53558         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53559         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53560         * sysdeps/sparc/crtn.S: Likewise.
53562 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53564         * aout/Makefile: Remove.
53566 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53568         [BZ #13058]
53569         * manual/examples/argp-ex1.c (main): Format definition in GNU
53570         style.
53571         * manual/examples/argp-ex2.c (main): Likewise.
53572         * manual/examples/argp-ex3.c (main): Likewise.
53573         * manual/examples/argp-ex4.c (main): Likewise.
53574         * manual/examples/longopt.c (main): Use new-style prototype
53575         definition.
53576         * manual/examples/strncat.c (main): Specify return type and use
53577         (void) for arguments.
53578         * manual/examples/subopt.c (main): Use char **argv argument.
53580 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53582         [BZ #5077]
53583         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53584         rounding modes.
53586 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53588         [BZ #6907]
53589         * manual/string.texi (strchr): Change when strchrnul is
53590         recommended.
53592 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53594         [BZ #174]
53595         * manual/locale.texi (setlocale): Document LOCPATH.
53597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53599         [BZ #10210]
53600         * manual/process.texi (execle): Move @dots{} before last argument.
53602 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53604         [BZ #12047]
53605         * manual/charset.texi (Generic Charset Conversion): Fix typo
53606         (LC_TYPE -> LC_CTYPE).
53608 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53610         [BZ #5805]
53611         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53612         (scalbnf): Likewise.
53613         (scalbnl): Likewise.
53614         (scalbln): Likewise.
53615         (scalblnf): Likewise.
53616         (scalblnl): Likewise.
53617         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53618         (vwarnx): Likewise.
53619         (verr): Likewise.
53620         (verrx): Likewise.
53621         * manual/filesys.texi (telldir): Use braces around return type.
53622         * manual/llio.texi (mmap): Add space after comma.
53623         (mmap64): Likewise.
53624         * manual/math.texi (jn): Use @var{} on parameter names.
53625         (jnf): Likewise.
53626         (jnl): Likewise.
53627         (yn): Likewise.
53628         (ynf): Likewise.
53629         (ynl): Likewise.
53630         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53631         line.
53632         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53633         "...".
53634         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53635         (sched_get_priority_max): Likewise.
53636         * manual/signal.texi (sigvec): Add space after comma.
53637         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53638         names.
53639         (if_indextoname): Likewise.
53640         (if_freenameindex): Likewise.
53641         (sendto): Use ',' instead of '.' in prototype.
53642         * manual/startup.texi (syscall): Use @dots{} instead of literal
53643         "...".
53644         * manual/stdio.texi (__fpending): Separate initial words of
53645         paragraph from @deftypefun line.
53646         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53647         "...".
53648         (vsyslog): Use @var{} on parameter names.
53649         * manual/terminal.texi (stty): Use @var{} on parameter names.
53650         * manual/users.texi (getutmp): Use @var{} on parameter names.
53651         (getutmpx): Likewise.
53653 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53655         [BZ #6884]
53656         * manual/stdio.texi (fopen): Fix typos in description of
53657         ",ccs=STRING".
53659 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53661         [BZ #4026]
53662         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53663         get clock_id definition.
53665 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53667         [BZ #4822]
53668         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53669         (madvise): Cast every argument to void on its own.
53671 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53673         [BZ #9902]
53674         * manual/startup.texi (Exit Status): Fix typo.
53676 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53678         [BZ #10140]
53679         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53680         * manual/examples/argp-ex2.c: Likewise.
53681         * manual/examples/argp-ex3.c: Likewise.
53683 2012-02-16  Richard Henderson  <rth@redhat.com>
53685         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53686         * sysdeps/s390/s390-32/initfini.c: Remove.
53687         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53688         * sysdeps/s390/s390-64/initfini.c: Remove.
53690 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53692         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53693         compiler output for sysdeps/generic/initfini.c.
53694         * sysdeps/sh/elf/initfini.c: Remove file.
53696 2012-02-16  David S. Miller  <davem@davemloft.net>
53698         [BZ #11494]
53699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53701         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53702         * sysdeps/sparc/crti.S: New file.
53703         * sysdeps/sparc/crtn.S: New file.
53704         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53705         * sysdeps/sparc/sparc64/Makefile: Likewise.
53707 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53709         [BZ #3335]
53710         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53712 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53714         [BZ #4822]
53715         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53717         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53718         (write, read, close): Likewise.
53719         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53721 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53723         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53724         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53725         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53726         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53727         <bits/signalfd.h>.
53728         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53730         bits/signalfd.h.
53732 2012-02-14  Marek Polacek  <polacek@redhat.com>
53734         * sysdeps/x86_64/crti.S: New file.
53735         * sysdeps/x86_64/crtn.S: New file.
53736         * sysdeps/x86_64/elf/initfini.c: Remove file.
53738 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53740         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53741         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53742         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53743         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53744         <bits/inotify.h>.
53745         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53747         bits/inotify.h.
53749 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53751         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53752         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53753         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53754         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53755         <bits/eventfd.h>.
53756         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53758         bits/eventfd.h.
53760 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53762         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53763         __feraiseexcept instead of feraiseexcept.
53765         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53766         nanosleep invocations.
53767         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53768         strings, and add error checking for a nanosleep invocations.
53770 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53772         Replace FSF snail mail address with URLs, as per GNU coding standards.
53773         Most of the snail mail addresses were wrong anyway, and omitting
53774         them makes the source code easier to maintain.  Almost all of the
53775         changes are to license notices and to locale LC_IDENTIFICATION
53776         addresses, except for this one:
53777         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53778         not its snail mail address.
53780 2012-02-09  Richard Henderson  <rth@twiddle.net>
53782         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53783         of kernel-features.h.
53785         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53787 2012-02-08  Marek Polacek  <polacek@redhat.com>
53789         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53790         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53791         * sysdeps/gnu/_G_config.h: Likewise.
53792         * sysdeps/generic/_G_config.h: Likewise.
53794 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53796         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53797         tests.
53798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53800         * sysdeps/powerpc/powerpc32/crti.S: New file.
53801         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53802         * sysdeps/powerpc/powerpc64/crti.S: New file.
53803         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53805         * Makeconfig (have-initfini): Don't set.
53806         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53807         * configure.in (nopic_initfini): Don't substitute.
53808         * config.h.in (HAVE_INITFINI): Don't #undef.
53809         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53810         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53812 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53814         Support crti.S and crtn.S provided directly by architectures.
53815         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53816         [crti.S in sysdirs] (omit-deps): Likewise.
53817         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53818         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53819         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53820         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53821         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53822         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53823         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53824         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53825         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53826         compiler output for sysdeps/generic/initfini.c.
53827         * sysdeps/i386/elf/Makefile: Remove file.
53828         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53830 2012-02-07  Marek Polacek  <polacek@redhat.com>
53832         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53833         * sysdeps/gnu/_G_config.h: Likewise.
53834         * sysdeps/mach/hurd/_G_config.h: Likewise.
53836 2012-02-07  Marek Polacek  <polacek@redhat.com>
53838         * math/Makefile (tests): Add tst-CMPLX2.
53839         * math/tst-CMPLX2.c: New file.
53841 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53843         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53845         * math/libm-test.inc (jn_test): Add missing L suffix.
53847 2012-02-06  Marek Polacek  <polacek@redhat.com>
53849         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53850         * sysdeps/i386/fpu/e_powf.S: Likewise.
53851         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53852         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53853         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53854         * sysdeps/i386/fpu/e_pow.S: Likewise.
53855         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53856         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53857         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53858         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53859         * sysdeps/i386/fpu/e_log2.S: Likewise.
53860         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53861         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53862         * sysdeps/i386/fpu/e_powl.S: Likewise.
53863         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53864         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53865         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53866         * sysdeps/i386/fpu/e_logl.S: Likewise.
53867         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53868         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53869         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53870         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53871         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53872         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53873         * sysdeps/i386/fpu/e_log.S: Likewise.
53874         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53875         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53876         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53877         * sysdeps/i386/fpu/e_logf.S: Likewise.
53878         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53879         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53880         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53881         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53882         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53883         * sysdeps/i386/fpu/e_log10.S: Likewise.
53884         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53885         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53886         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53887         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53888         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53889         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53890         * sysdeps/i386/asm-syntax.h: Likewise.
53891         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53892         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53893         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53894         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53895         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53896         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53897         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53898         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53899         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53900         * sysdeps/powerpc/sysdep.h: Likewise.
53901         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53902         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53904 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53906         [BZ #411]
53907         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53909 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53911         * sysdeps/i386/sysdep.h: Include <features.h>.
53912         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53913         version.
53915 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53917         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53918         Define.
53919         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53920         LOAD_PIC_REG_STR.
53922 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53924         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53925         (SETUP_PIC_REG): Use GET_PC_THUNK.
53926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53927         macro.
53929 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53931         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53932         for non-PIC compilation.
53933         (SETUP_PIC_REG): Add .p2align directive.
53934         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53935         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53936         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53937         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53938         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53939         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53940         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53941         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53942         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53943         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53944         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53945         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53946         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53947         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53948         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53949         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53950         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53951         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53952         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53953         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53954         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53955         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53956         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53957         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53958         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53959         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53960         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53961         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53962         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53963         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53964         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53966         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53967         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53968         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53969         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53970         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53971         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53972         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53973         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53974         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53976 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53978         * math/tst-CMPLX.c: Include <stdio.h>.
53980 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53982         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53983         float.
53984         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53985         * sysdeps/sparc/bits/mathdef.h: Likewise.
53987 2012-01-31  Marek Polacek  <polacek@redhat.com>
53989         * libio/libio.h: Don't define _PARAMS.
53990         * locale/programs/config.h: Don't define PARAMS.
53991         * stdlib/strtol_l.c: Likewise.
53992         (__strtol_l): Remove PARAMS from the prototype.
53994 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53996         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53997         names.  Just use the correct names.  Remove unnecessary wrapper
53998         functions.
53999         * malloc/arena.c: Likewise.
54000         * malloc/hooks.c: Likewise.
54002         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54003         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54004         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54006 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54008         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54009         into tail calls.
54010         (update_get_addr): New function.
54011         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54012         GET_ADDR_MODULE parameter.
54014 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54016         * crypt/cert.c: Remove __STDC__ conditionals.
54017         * crypt/crypt-entry.c: Likewise.
54018         * crypt/crypt_util.c: Likewise.
54019         * libio/filedoalloc.c: Likewise.
54020         * libio/fileops.c: Likewise.
54021         * libio/genops.c: Likewise.
54022         * libio/iofclose.c: Likewise.
54023         * libio/iofdopen.c: Likewise.
54024         * libio/iofopen.c: Likewise.
54025         * libio/iofopen64.c: Likewise.
54026         * libio/iogetdelim.c: Likewise.
54027         * libio/iopopen.c: Likewise.
54028         * libio/obprintf.c: Likewise.
54029         * libio/oldfileops.c: Likewise.
54030         * libio/oldiofclose.c: Likewise.
54031         * libio/oldiofdopen.c: Likewise.
54032         * libio/oldiofopen.c: Likewise.
54033         * libio/oldiopopen.c: Likewise.
54034         * libio/wfiledoalloc.c: Likewise.
54035         * libio/wgenops.c: Likewise.
54036         * locale/programs/xmalloc.c: Likewise.
54037         * misc/syslog.c: Likewise.
54038         * stdio-common/xbug.c: Likewise.
54039         * string/memchr.c: Likewise.
54040         * string/memcmp.c: Likewise.
54041         * string/memrchr.c: Likewise.
54042         * string/rawmemchr.c: Likewise.
54043         * sysdeps/posix/getcwd.c: Likewise.
54044         * time/strftime_l.c: Likewise.
54046 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54048         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54049         * config.make.in (config-cflags-sse2avx): Define.
54050         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54051         Fix typo.
54053 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54055         * scripts/config.guess: Update from upstream config git repository.
54056         * scripts/config.sub: Likewise.
54058 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54060         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54061         (EM_NUM): Update.
54062         (R_TILEPRO_*, R_TILEGX_*): New macros.
54064         * scripts/firstversions.awk: Fix bug in version range handling.
54066         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54068         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54070         * include/sys/epoll.h: New file.
54071         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54072         libc_hidden_def.
54074 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54076         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54077         Avoid unnecessary __WORDSIZE == 64 test.
54078         (fmaxf): Use VEX format if possible.
54079         (fmax): Likewise.
54080         (fminf): Likewise.
54081         (fmin): Likewise.
54083         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54084         * math/math_private.h: Remove libc_fegetround* and
54085         libc_fesetround*.
54086         * sysdeps/i386/configure.in: Check for -msse2avx.
54087         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54088         also if SSE2AVX is defined.
54089         Remove libc_fegetround* and libc_fesetround*.
54090         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54091         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54092         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54093         of HAS_YMM_USABLE.
54094         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54095         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54096         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54097         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54098         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54100         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54102 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54104         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54105         size is not set.
54106         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54108 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54110         [BZ #13618]
54111         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54112         relocation.
54113         * Makeconfig (libm): Define.
54114         * elf/Makefile: Add rules to build and run tst-relsort1.
54115         * elf/tst-relsort1.c: New file.
54116         * elf/tst-relsort1mod1.c: New file.
54117         * elf/tst-relsort1mod2.c: New file.
54119 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54121         * math/s_ldexp.c: Remove __STDC__ conditionals.
54122         * math/s_ldexpf.c: Likewise.
54123         * math/s_ldexpl.c: Likewise.
54124         * math/s_nextafter.c: Likewise.
54125         * math/s_nexttowardf.c: Likewise.
54126         * math/s_significand.c: Likewise.
54127         * math/s_significandf.c: Likewise.
54128         * math/s_significandl.c: Likewise.
54129         * math/w_jnl.c: Likewise.
54130         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54131         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54132         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54133         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54134         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54136         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54137         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54138         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54139         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54140         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54141         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54142         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54143         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54144         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54145         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54146         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54147         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54149         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54150         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54151         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54152         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54154         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54155         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54156         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54157         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54158         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54159         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54160         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54161         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54162         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54163         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54164         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54165         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54166         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54167         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54168         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54169         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54170         * sysdeps/ieee754/k_standard.c: Likewise.
54171         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54172         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54173         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54174         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54175         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54176         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54177         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54178         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54179         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54180         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54181         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54182         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54183         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54184         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54185         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54186         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54187         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54188         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54189         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54190         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54191         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54192         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54193         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54194         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54195         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54196         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54197         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54200         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54201         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54202         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54203         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54204         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54205         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54206         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54207         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54211         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54212         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54213         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54215         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54216         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54217         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54218         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54219         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54220         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54221         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54222         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54224         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54225         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54226         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54227         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54228         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54229         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54230         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54232         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54237         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54239         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54240         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54241         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54242         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54243         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54244         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54245         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54246         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54247         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54248         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54249         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54250         * sysdeps/ieee754/s_matherr.c: Likewise.
54251         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54252         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54254         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54256 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54258         * crypt/md5.h: Remove __STDC__ conditionals.
54259         * libio/libioP.h: Likewise.
54260         * locale/programs/config.h: Likewise.
54261         * sysdeps/generic/sysdep.h: Likewise.
54262         * sysdeps/i386/asm-syntax.h: Likewise.
54263         * sysdeps/s390/asm-syntax.h: Likewise.
54264         * sysdeps/unix/sysdep.h: Likewise.
54265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54268 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54270         * libio/libio.h: Remove __STDC__ conditionals.
54271         * malloc/obstack.h: Likewise.
54272         * math/complex.h: Likewise.
54273         * math/math.h: Likewise.
54274         * sysdeps/generic/_G_config.h: Likewise.
54275         * sysdeps/gnu/_G_config.h: Likewise.
54276         * sysdeps/mach/hurd/_G_config.h: Likewise.
54277         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54278         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54279         * sysdeps/sparc/bits/mathdef.h: Likewise.
54281 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54283         [BZ #13583]
54284         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54285         Clean up HAS_* macros.
54286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54287         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54288         possible.
54289         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54290         HAS_AVX.
54291         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54292         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54293         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54294         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54295         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54297 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54299         * elf/tst-unique3.cc (gets): Remove declaration.
54300         * elf/tst-unique3lib.cc (gets): Likewise.
54301         * elf/tst-unique3lib2.cc (gets): Likewise.
54302         * elf/tst-unique4.cc (gets): Likewise.
54304 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54306         * include/stdio.h: Add C++ protection.  Add gets declarations and
54307         definitions.
54308         * debug/tst-chk1.c: Don't declare gets here.
54309         * stdio-common/tst-gets.c: Likewise.
54311 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54313         * posix/glob: Remove directory.
54315 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54317         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54319 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54321         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54322         of the non-standard EPFNOSUPPORT.
54324 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54326         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54327         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54328         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54330 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54332         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54334 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54336         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54337         transient errors.
54338         * nscd/grpcache.c (cache_addgr): Likewise.
54339         * nscd/hstcache.c (cache_addhst): Likewise.
54340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54341         * nscd/pwdcache.c (cache_addpw): Likewise.
54342         * nscd/servicescache.c (cache_addserv): Likewise.
54344 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54346         * malloc/malloc.c: Various cleanups.
54347         * malloc/hooks.c: Likewise.
54349         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54350         * stdlib/bug-fmtmsg1.c: New file.
54352         * stdlib/fmtmsg.c (init): Add missing unlock.
54353         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54355 2012-01-12  Marek Polacek  <polacek@redhat.com>
54357         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54358         and _GNU_SOURCE.
54360 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54362         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54363         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54364         macro to ensure uniqueness of label name.
54365         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54366         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54368 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54370         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54372         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54373         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54374         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54375         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54377 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54379         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54381         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54382         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54383         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54385         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54387         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54388         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54389         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54390         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54392         * math/bits/math-finite.h: Add ldexp support.
54394 2012-01-10  Marek Polacek  <polacek@redhat.com>
54396         * locale/programs/localedef.h (show_archive_content): Add noreturn
54397         attribute.
54399 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54401         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54403 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54405         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54407         * io/Makefile (headers): Add bits/poll2.h.
54409 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54412         typo #include statement.
54414 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54416         * include/sys/cdefs.h: Define __attribute_alloc_size.
54417         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54418         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54419         * elf/pldd.c: Likewise.
54420         * iconv/iconv_charmap.c: Likewise.
54421         * iconv/iconvconfig.c: Likewise.
54422         * iconv/strtab.c: Likewise.
54423         * locale/programs/locale.c: Likewise.
54424         * locale/programs/localedef.h: Likewise.
54425         * locale/programs/simple-hash.c: Likewise.
54426         * nscd/nscd.h: Likewise.
54427         * nss/makedb.c: Likewise.
54428         * sysdeps/generic/ldconfig.h: Likewise.
54429         * locale/programs/localedef.c: Remove xmalloc prototype.
54430         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54432 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54434         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54435         appropriate.
54437 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54439         * math/Makefile (tests): Add tst-CMPLX.
54440         * math/tst-CMPLX.c: New file.
54442         * math/complex.h (CMPLXL): Fix typo.
54444         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54445         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54446         GLIBC_2.16.
54447         * debug/tst-chk1.c: Add poll and ppoll tests.
54448         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54449         * include/sys/poll.h: Add hidden proto for ppoll.
54450         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54451         * sysdeps/mach/hurd/ppoll.c: Likewise.
54452         * io/ppoll.c: Likewise.
54453         * debug/poll_chk.c: New file.
54454         * debug/ppoll_chk.c: New file.
54455         * include/bits/poll2.h: New file.
54456         * io/bits/poll2.h: New file.
54458         [BZ #1350]
54459         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54461         * configure.in: static is always set to yes.  Remove.
54462         * config.make.in: Don't set build-static.
54463         * Makeconfig: Remove use of build-static.
54464         * dlfcn/Makefile: Likewise.
54465         * elf/Makefile: Likewise.
54466         * math/Makefile: Likewise.
54467         * misc/Makefile: Likewise.
54468         * nptl/Makefile: Likewise.
54469         * sysdeps/mach/hurd/Makefile: Likewise.
54471         * configure.in: PWD_P is not used anymore.
54472         * config.make.in: Remove PWD_P entry.
54474         * configure.in: Remove last remnants of RANLIB.
54475         No need to check for signed size_t anymore.
54476         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54477         and IA-64.
54478         Remove __builtin_expect test because we require at least gcc 3.4.
54479         * aclocal.m4: Likewise.
54481         * wcsmbs/mbrtoc16.c: Implement using towc function.
54482         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54483         * wcsmbs/wcsmbsload.c: Likewise.
54484         * iconv/gconv_simple.c: Likewise.
54485         * iconv/gconv_int.h: Likewise.
54486         * iconv/gconv_builtin.h: Likewise.
54487         * iconv/iconv_prog.c: Remove CHAR16 handling.
54489         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54491         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54493         * configure.in: Remove --with-elf and --enable-bounded options.
54494         Dont set base_machine for ia64.  More non-ELF conditions removed.
54495         Remove testing and setting of leading underscore information.
54496         * config.make.in (build-bounded): Set to no.
54497         * config.h.in: Remove NO_UNDERSCORES entry.
54498         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54499         them.
54500         * csu/start.c: Remove !NO_UNDERSCORE code.
54501         * locale/localeinfo.h: Likewise.
54502         * sysdeps/generic/machine-gmon.h: Likewise.
54503         * sysdeps/generic/sysdep.h: Likewise.
54504         * sysdeps/i386/sysdep.h: Likewise.
54505         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54506         * sysdeps/mach/sysdep.h: Likewise.
54507         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54508         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54509         * sysdeps/sh/sysdep.h: Likewise.
54510         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54511         * sysdeps/unix/i386/sysdep.S: Likewise.
54512         * sysdeps/unix/sparc/start.c: Likewise.
54513         * sysdeps/unix/sparc/sysdep.S: Likewise.
54514         * sysdeps/unix/sparc/sysdep.h: Likewise.
54515         * sysdeps/unix/start.c: Likewise.
54516         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54517         * sysdeps/x86_64/sysdep.h: Likewise.
54519 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54521         [BZ #13553]
54522         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54523         for non-gcc.
54524         * argp/argp-fmtstream.h: Use const instead __const.
54525         * argp/argp.h: Likewise.
54526         * assert/assert.h: Likewise.
54527         * bits/fenv.h: Likewise.
54528         * bits/sched.h: Likewise.
54529         * bits/sigset.h: Likewise.
54530         * bits/sigthread.h: Likewise.
54531         * catgets/nl_types.h: Likewise.
54532         * conform/data/pthread.h-data: Likewise.
54533         * crypt/crypt-private.h: Likewise.
54534         * crypt/crypt.h: Likewise.
54535         * crypt/crypt_util.c: Likewise.
54536         * ctype/ctype.h: Likewise.
54537         * debug/execinfo.h: Likewise.
54538         * debug/mbsnrtowcs_chk.c: Likewise.
54539         * debug/mbsrtowcs_chk.c: Likewise.
54540         * debug/wcsnrtombs_chk.c: Likewise.
54541         * debug/wcsrtombs_chk.c: Likewise.
54542         * debug/wcstombs_chk.c: Likewise.
54543         * dirent/dirent.h: Likewise.
54544         * dlfcn/dlfcn.h: Likewise.
54545         * elf/neededtest4.c: Likewise.
54546         * grp/grp.h: Likewise.
54547         * gshadow/gshadow.h: Likewise.
54548         * iconv/gconv.h: Likewise.
54549         * iconv/gconv_int.h: Likewise.
54550         * iconv/gconv_simple.c: Likewise.
54551         * iconv/iconv.h: Likewise.
54552         * iconv/loop.c: Likewise.
54553         * iconv/skeleton.c: Likewise.
54554         * include/aio.h: Likewise.
54555         * include/aliases.h: Likewise.
54556         * include/argz.h: Likewise.
54557         * include/arpa/inet.h: Likewise.
54558         * include/assert.h: Likewise.
54559         * include/dirent.h: Likewise.
54560         * include/dlfcn.h: Likewise.
54561         * include/execinfo.h: Likewise.
54562         * include/fcntl.h: Likewise.
54563         * include/fenv.h: Likewise.
54564         * include/glob.h: Likewise.
54565         * include/grp.h: Likewise.
54566         * include/libintl.h: Likewise.
54567         * include/mntent.h: Likewise.
54568         * include/netdb.h: Likewise.
54569         * include/pwd.h: Likewise.
54570         * include/rpc/netdb.h: Likewise.
54571         * include/sched.h: Likewise.
54572         * include/search.h: Likewise.
54573         * include/shadow.h: Likewise.
54574         * include/signal.h: Likewise.
54575         * include/stdio.h: Likewise.
54576         * include/stdlib.h: Likewise.
54577         * include/string.h: Likewise.
54578         * include/sys/socket.h: Likewise.
54579         * include/sys/stat.h: Likewise.
54580         * include/sys/statfs.h: Likewise.
54581         * include/sys/statvfs.h: Likewise.
54582         * include/sys/syslog.h: Likewise.
54583         * include/sys/time.h: Likewise.
54584         * include/sys/uio.h: Likewise.
54585         * include/time.h: Likewise.
54586         * include/unistd.h: Likewise.
54587         * include/utmp.h: Likewise.
54588         * include/wchar.h: Likewise.
54589         * include/wctype.h: Likewise.
54590         * inet/aliases.h: Likewise.
54591         * inet/arpa/inet.h: Likewise.
54592         * inet/netinet/ether.h: Likewise.
54593         * inet/netinet/in.h: Likewise.
54594         * intl/libintl.h: Likewise.
54595         * io/bits/fcntl2.h: Likewise.
54596         * io/fcntl.h: Likewise.
54597         * io/ftw.h: Likewise.
54598         * io/sys/poll.h: Likewise.
54599         * io/sys/stat.h: Likewise.
54600         * io/sys/statfs.h: Likewise.
54601         * io/sys/statvfs.h: Likewise.
54602         * io/utime.h: Likewise.
54603         * libio/bits/stdio.h: Likewise.
54604         * libio/bits/stdio2.h: Likewise.
54605         * libio/libio.h: Likewise.
54606         * libio/libioP.h: Likewise.
54607         * libio/stdio.h: Likewise.
54608         * locale/lc-ctype.c: Likewise.
54609         * locale/locale.h: Likewise.
54610         * login/utmp.h: Likewise.
54611         * malloc/arena.c: Likewise.
54612         * malloc/malloc.c: Likewise.
54613         * malloc/malloc.h: Likewise.
54614         * malloc/mcheck.c: Likewise.
54615         * malloc/mtrace.c: Likewise.
54616         * math/bits/mathcalls.h: Likewise.
54617         * math/fenv.h: Likewise.
54618         * math/math_private.h: Likewise.
54619         * misc/bits/error.h: Likewise.
54620         * misc/bits/syslog.h: Likewise.
54621         * misc/err.h: Likewise.
54622         * misc/error.h: Likewise.
54623         * misc/fstab.h: Likewise.
54624         * misc/mntent.h: Likewise.
54625         * misc/regexp.h: Likewise.
54626         * misc/search.h: Likewise.
54627         * misc/sgtty.h: Likewise.
54628         * misc/sys/mman.h: Likewise.
54629         * misc/sys/syslog.h: Likewise.
54630         * misc/sys/uio.h: Likewise.
54631         * misc/sys/xattr.h: Likewise.
54632         * misc/ttyent.h: Likewise.
54633         * nis/rpcsvc/ypclnt.h: Likewise.
54634         * nss/nss.h: Likewise.
54635         * posix/bits/unistd.h: Likewise.
54636         * posix/fnmatch.h: Likewise.
54637         * posix/glob.h: Likewise.
54638         * posix/sched.h: Likewise.
54639         * posix/spawn.h: Likewise.
54640         * posix/sys/wait.h: Likewise.
54641         * posix/unistd.h: Likewise.
54642         * posix/wordexp.h: Likewise.
54643         * pwd/pwd.h: Likewise.
54644         * resolv/netdb.h: Likewise.
54645         * resource/sys/resource.h: Likewise.
54646         * rt/aio.h: Likewise.
54647         * rt/bits/mqueue2.h: Likewise.
54648         * rt/mqueue.h: Likewise.
54649         * shadow/shadow.h: Likewise.
54650         * signal/signal.h: Likewise.
54651         * socket/send.c: Likewise.
54652         * socket/sendto.c: Likewise.
54653         * socket/sys/socket.h: Likewise.
54654         * stdio-common/printf.h: Likewise.
54655         * stdlib/bits/stdlib.h: Likewise.
54656         * stdlib/fmtmsg.h: Likewise.
54657         * stdlib/monetary.h: Likewise.
54658         * stdlib/stdlib.h: Likewise.
54659         * stdlib/ucontext.h: Likewise.
54660         * streams/stropts.h: Likewise.
54661         * string/argz.h: Likewise.
54662         * string/bits/string2.h: Likewise.
54663         * string/string.h: Likewise.
54664         * string/strings.h: Likewise.
54665         * sunrpc/rpc/auth.h: Likewise.
54666         * sunrpc/rpc/auth_des.h: Likewise.
54667         * sunrpc/rpc/clnt.h: Likewise.
54668         * sunrpc/rpc/netdb.h: Likewise.
54669         * sunrpc/rpc/pmap_clnt.h: Likewise.
54670         * sunrpc/rpc/xdr.h: Likewise.
54671         * sysdeps/generic/inttypes.h: Likewise.
54672         * sysdeps/generic/net/if.h: Likewise.
54673         * sysdeps/generic/sys/swap.h: Likewise.
54674         * sysdeps/gnu/net/if.h: Likewise.
54675         * sysdeps/gnu/utmpx.h: Likewise.
54676         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54677         * sysdeps/i386/i486/bits/string.h: Likewise.
54678         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54679         * sysdeps/s390/bits/string.h: Likewise.
54680         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54681         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54682         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54683         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54684         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54685         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54686         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54687         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54688         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54689         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54690         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54691         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54692         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54693         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54694         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54695         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54696         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54698         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54699         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54700         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54701         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54702         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54703         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54704         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54705         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54706         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54707         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54708         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54709         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54710         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54711         * sysvipc/sys/ipc.h: Likewise.
54712         * sysvipc/sys/msg.h: Likewise.
54713         * sysvipc/sys/sem.h: Likewise.
54714         * sysvipc/sys/shm.h: Likewise.
54715         * termios/termios.h: Likewise.
54716         * time/sys/time.h: Likewise.
54717         * time/time.h: Likewise.
54718         * wcsmbs/bits/wchar2.h: Likewise.
54719         * wcsmbs/uchar.h: Likewise.
54720         * wcsmbs/wchar.h: Likewise.
54721         * wctype/wctype.h: Likewise.
54723         [BZ #13551]
54724         * Makeconfig: Remove all but ELF support including AIX support.
54725         * Makerules: Likewise.
54726         * config.h.in: Likewise.
54727         * config.make.in: Likewise.
54728         * configure: Likewise.
54729         * configure.in: Likewise.
54730         * csu/Makefile: Likewise.
54731         * csu/version.c: Likewise.
54732         * debug/Makefile: Likewise.
54733         * dlfcn/Makefile: Likewise.
54734         * elf/Makefile: Likewise.
54735         * extra-lib.mk: Likewise.
54736         * iconv/Makefile: Likewise.
54737         * include/libc-symbols.h: Likewise.
54738         * include/shlib-compat.h: Likewise.
54739         * resolv/Makefile: Likewise.
54740         * resolv/res_libc.c: Likewise.
54741         * rt/Makefile: Likewise.
54742         * sysdeps/i386/asm-syntax.h: Likewise.
54743         * sysdeps/i386/sysdep.h: Likewise.
54744         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54745         * sysdeps/mach/sysdep.h: Likewise.
54746         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54747         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54748         * sysdeps/s390/asm-syntax.h: Likewise.
54749         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54750         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54751         * sysdeps/sh/sysdep.h: Likewise.
54752         * sysdeps/unix/sparc/sysdep.h: Likewise.
54753         * sysdeps/wordsize-32/divdi3.c: Likewise.
54754         * sysdeps/x86_64/sysdep.h: Likewise.
54756         * argp/Versions: Remove _argp_unlock_xxx.
54758         [BZ #13559]
54759         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54760         * abilist/libBrokenLocale.abilist: Likewise.
54761         * abilist/libanl.abilist: Likewise.
54762         * abilist/libc.abilist: Likewise.
54763         * abilist/libcrypt.abilist: Likewise.
54764         * abilist/libdl.abilist: Likewise.
54765         * abilist/libm.abilist: Likewise.
54766         * abilist/libnsl.abilist: Likewise.
54767         * abilist/libpthread.abilist: Likewise.
54768         * abilist/libresolv.abilist: Likewise.
54769         * abilist/librt.abilist: Likewise.
54770         * abilist/libthread_db.abilist: Likewise.
54771         * abilist/libutil.abilist: Likewise.
54772         * abilist/libnss_db.abilist: New file.
54774         * scripts/abilist.awk: Add support for indirect functions.
54776         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54778         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54780         * shlib-versions: Remove entries for ports architectures.
54782         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54783         files in ports.
54784         * elf/stackguard-macros.h: Remove support for IA-64.
54785         * elf/tst-auditmod1.c: Likewise.
54786         * sysdeps/generic/ldsodefs.h: Likewise.
54788         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54789         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54790         configure files.
54792         [BZ #13552]
54793         * configure.in: Remove --enable-omitfp support.
54794         * FAQ.in: Adjust.
54795         * config.make.in: Likewise.
54796         * Makeconfig: Likewise.
54797         * manual/install.texi: Likewise.
54799         In case anyone cares, the IA-64 architecture could move to ports.
54800         * sysdeps/ia64/*: Removed.
54801         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54802         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54804         [BZ #13555]
54805         * configure.in: Remove entries for unsupported architectures.
54807         [BZ #13533]
54808         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54809         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54810         routines.
54811         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54812         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54813         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54814         fall back to using wcrtomb.
54815         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54816         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54817         renaming.
54818         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54819         * wcsmbs/tst-c16c32-1.c: New file.
54821         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54822         local variable.
54824         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54826         * elf/tst-unique3.cc: Add explicit declaration of gets.
54827         * elf/tst-unique3lib.cc: Likewise.
54828         * elf/tst-unique3lib2.cc: Likewise.
54829         * elf/tst-unique4.cc: Likewise.
54831         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54833 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54835         [BZ #13566]
54836         * assert/assert.h (static_assert): Don't define for C++.
54837         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54838         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54840 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54842         * iconv/loop.c (single loop): Fix assertion in storing of
54843         remaining bytes.
54845         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54847 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54849         * posix/getconf.c: Update copyright year.
54850         * nss/getent.c: Likewise.
54851         * nss/makedb.c: Likewise.
54852         * iconv/iconvconfig.c: Likewise.
54853         * iconv/iconv_prog.c: Likewise.
54854         * elf/ldconfig.c: Likewise.
54855         * elf/pldd.c: Likewise.
54856         * elf/sotruss.ksh: Likewise.
54857         * catgets/gencat.c: Likewise.
54858         * csu/version.c: Likewise.
54859         * elf/ldd.bash.in: Likewise.
54860         * elf/sprof.c (print_version): Likewise.
54861         * locale/programs/locale.c: Likewise.
54862         * locale/programs/localedef.c: Likewise.
54863         * login/programs/pt_chown.c: Likewise.
54864         * nscd/nscd.c (print_version): Likewise.
54865         * debug/xtrace.sh: Likewise.
54866         * malloc/memusage.sh: Likewise.
54867         * malloc/mtrace.pl: Likewise.
54868         * debug/catchsegv.sh: Likewise.
54870 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54872         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54873         pure attribute.
54875 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54877         [BZ #13533]
54878         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54879         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54880         transformations.
54881         * iconv/gconv_int.h: Likewise.
54882         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54883         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54884         from libc for GLIBC_2.16.
54885         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54886         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54887         * wcsmbs/uchar.h: Really define mbstate_t.
54888         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54889         * wcsmbs/c16rtomb.c: New file.
54890         * wcsmbs/mbrtoc16.c: New file.
54891         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54892         for C/POSIX locale.
54893         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54894         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54896         * wcsmbs/wchar.h: Add missing __restrict.
54898 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54900         [BZ #13532]
54901         * time/Makefile (routines): Add timespec_get.
54902         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54903         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54904         timespec for ISO C11.
54905         * time/timespec_get.c: New file.
54906         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54907         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54909         [BZ #13531]
54910         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54911         * stdlib/stdlib.h: Declare aligned_alloc.
54912         * Versions.def: Add GLIBC_2.16 for libc.
54913         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54915         [BZ 13527]
54916         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54917         ISO C11.
54919         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54920         code.
54922         [BZ #13528]
54923         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54925         [BZ #13529]
54926         * assert/assert.h (static_assert): Define.
54928         * version.h: Update for 2.16 development version.
54930         [BZ #13526]
54931         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54932         _ISOC11_SOURCE.
54934         * version.h (RELEASE): Bump for 2.15 release.
54935         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54937         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54938         Patch by Marek Polacek <mpolacek@redhat.com>.
54940         * bits/byteswap.h: Protect long long constants with __extension__.
54941         * sysdeps/i386/bits/byteswap.h: Likewise.
54942         * sysdeps/ia64/bits/byteswap.h: Likewise.
54943         * sysdeps/s390/bits/byteswap.h: Likewise.
54944         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54946 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54948         [BZ #13540]
54949         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54950         destination buffer.
54951         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54953 2011-12-23  Marek Polacek  <polacek@redhat.com>
54955         * elf/dl-addr.c (determine_info): Add inline keyword.
54956         * elf/tst-auditmod4b.c (check_avx): Likewise.
54957         * elf/tst-auditmod6b.c (check_avx): Likewise.
54958         * elf/tst-auditmod6c.c (check_avx): Likewise.
54959         * elf/tst-auditmod7b.c (check_avx): Likewise.
54961 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54963         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54964         !__SSE_MATH__.
54966 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54968         [BZ #13540]
54969         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54970         processing for last bytes.
54972 2011-08-06  Bruno Haible  <bruno@clisp.org>
54974         [BZ #13061]
54975         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54976         U+0385, not to U+1FEE.
54978         [BZ #13062]
54979         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54980         entry for U+00A5 U+0301.
54982 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54984         [BZ #13166]
54985         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54986         buffer for the output is too small.
54988         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54989         optimization.
54991         [BZ #13185]
54992         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54993         SSE flags if possible.
54995 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54997         [BZ #13540]
54998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54999         processing for last bytes.
55001 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55003         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55004         (syscall-list-default-options, syscall-list-default-condition)
55005         (syscall-list-includes): Define.
55006         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55007         list of ABIs and options and #if conditions for each ABI.  Do not
55008         handle common syscalls between ABIs specially.
55009         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55010         Remove.
55011         (syscall-list-variants, syscall-list-32bit-options)
55012         (syscall-list-32bit-condition, syscall-list-64bit-options)
55013         (syscall-list-64bit-condition): Define.
55014         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55015         (syscall-list-variants, syscall-list-32bit-options)
55016         (syscall-list-32bit-condition, syscall-list-64bit-options)
55017         (syscall-list-64bit-condition): Define.
55018         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55019         Remove.
55020         (syscall-list-variants, syscall-list-32bit-options)
55021         (syscall-list-32bit-condition, syscall-list-64bit-options)
55022         (syscall-list-64bit-condition): Define.
55023         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55024         Remove.
55025         (syscall-list-variants, syscall-list-32bit-options)
55026         (syscall-list-32bit-condition, syscall-list-64bit-options)
55027         (syscall-list-64bit-condition): Define.
55029 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55031         * locale/iso-639.def: Add brx entry.
55033         [BZ #13328]
55034         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55035         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55037         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55038         __feraiseexcept_renamed.
55040 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55042         [BZ #13538]
55043         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55044         EPOLLET with unsigned values.
55045         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55046         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55048         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55049         to large cancellation.
55050         * math/s_cacoshf.c: Likewise.
55051         * math/s_cacoshl.c: Likewise.
55053 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55055         [BZ #13305]
55056         [BZ #12786]
55057         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55058         * math/s_cacoshf.c: Likewise.
55059         * math/s_cacoshl.c: Likewise.
55061 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55063         [BZ #13439]
55064         * iconv/gconv.h: Define __GCONV_SWAP.
55065         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55066         * iconvdata/utf-16.c: Likewise.
55067         * iconvdata/utf-32.c: Likewise.
55069 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55071         [BZ #13524]
55072         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55073         numerator after shifting it by one limb.
55075 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55077         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55078         under [__USE_EXTERN_INLINES].
55080 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55082         [BZ #13446]
55083         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55085 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55087         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55088         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55089         optimized code.
55090         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55091         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55092         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55093         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55094         for strncasecmp/strncasecmp_l compilation.
55095         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55096         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55098 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55100         [BZ #13484]
55101         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55102         of __asm__.
55104 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55106         [BZ #13506]
55107         * time/tzfile.c (__tzfile_read): Check values from file header.
55109 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55111         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55112         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55113         * powerpc/powerpc32/dl-start.S: Likewise.
55114         * powerpc/powerpc32/elf/start.S: Likewise.
55115         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55116         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55117         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55118         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55119         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55120         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55121         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55122         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55123         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55124         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55125         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55126         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55127         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55128         * powerpc/powerpc32/memset.S: Likewise.
55129         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55130         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55131         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55132         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55133         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55134         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55135         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55136         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55137         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55138         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55139         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55140         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55141         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55143 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55145         * math/libm-test.inc: Added more nearbyint tests.
55146         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55147         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55151 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55153         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55154         FD_CLOEXEC.
55156 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55158         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55159         Add wcscpy-ssse3 wcscpy-c.
55160         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55161         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55162         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55163         * sysdeps/x86_64/wcschr.S: New file.
55164         * sysdeps/x86_64/wcsrchr.S: New file.
55165         * string/test-strcmp.c: Remove checking of wcscmp function for
55166         wrong alignments.
55167         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55168         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55169         wcsrchr-sse2 wcsrchr-c.
55170         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55171         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55172         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55173         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55174         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55175         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55176         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55177         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55178         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55179         * wcsmbc/wcschr.c (WCSCHR): New macro.
55181 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55183         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55184         * wcsmbs/test-wcsrchr.c: New file.
55185         * string/test-strrchr.c: Add wcsrchr support.
55186         (WIDE): New macro.
55187         * wcsmbs/test-wcscpy.c: New file.
55188         * string/test-strcpy.c: Add wcscpy support.
55189         (WIDE): New macro.
55191 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55193         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55194         the inner loop.
55196 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55198         [BZ #13472]
55199         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55201 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55203         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55204         Minor optimizations.
55206         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55207         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55208         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55210 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55212         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55213         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55214         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55215         for gcc to avoid warnings.
55216         * inet/Makefile (tests): Add tst-checks.
55217         * inet/tst-checks.c: New file.
55219         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55220         warning.
55222         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55223         __wmemcmp_sse2.
55225         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55226         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55228         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55230 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55232         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55233         problem.
55235         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55237 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55239         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55240         conditional on GCC version.
55241         (__arch_compare_and_exchange_val_8_acq)
55242         (__arch_compare_and_exchange_val_16_acq)
55243         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55244         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55245         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55247 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55249         * sysdeps/sh/backtrace.c: New file.
55251 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55253         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55254         parenthesis.
55256 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55258         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55259         falling back to utime.
55261 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55263         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55264         expectations for float.
55266 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55268         * locale/weight.h (findidx): Add parameter len.
55269         * locale/weightwc.h (findidx): Likewise.
55270         * posix/fnmatch_loop.c (FCT): Adjust caller.
55271         * posix/regcomp.c (build_equiv_class): Likewise.
55272         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55273         * posix/regexec.c (check_node_accept_bytes): Likewise.
55274         * string/strcoll_l.c (STRCOLL): Likewise.
55275         * string/strxfrm_l.c (STRXFRM): Likewise.
55277 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55279         * Makefile.in: Remove CVSOPT handling.
55280         * configure.in: Remove use of AC_REVISION.
55281         * iconvdata/Makefile (distribute): No need to filter out CVS.
55282         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55283         handling.
55285 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55287         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55288         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55289         [USE_AS_STRNCASECMP_L]: Likewise.
55290         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55291         NO_TLS_DIRECT_SEG_REFS.
55292         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55293         Fix argument offsets for non-PIC.
55294         [USE_AS_STRNCASECMP_L]: Likewise.
55295         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55296         NO_TLS_DIRECT_SEG_REFS.
55298 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55300         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55301         O_CLOEXEC.
55302         * locale/loadlocale.c (_nl_load_locale): Likewise.
55304 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55306         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55307         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55308         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55309         (SYSCALL_GETTIME): Set errno on error.
55311         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55312         count references to noai6ai_cached.
55314 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55316         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55318         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55319         FD_CLOEXEC for /proc/self/maps.
55321         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55322         FD_CLOEXEC for /proc/meminfo.
55324         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55325         gai.conf.
55327         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55328         FD_CLOEXEC for given file.
55330         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55332         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55333         FD_CLOEXEC for /etc/hosts.
55334         (_gethtent): Likewise.
55336         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55338         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55339         cancellation and set FD_CLOEXEC for /etc/netgroup.
55341         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55342         reading /etc/publickey.
55344         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55345         allow cancellation when reading /etc/group.
55347         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55348         cancellation.
55349         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55351         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55352         when using data file.
55354         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55356         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55357         (write_nis_obj): Use "c" and "e" in fopen.
55359         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55361         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55363         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55365         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55367         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55368         locale.alias.
55370         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55372         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55374         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55376         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55377         file parsing and set FD_CLOEXEC.
55379 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55381         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55383 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55385         * malloc/arena.c (arena_get2): Don't call reused_arena when
55386         _int_new_arena failed.
55388 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55390         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55391         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55392         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55393         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55394         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55395         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55396         to compile strcasecmp and strncasecmp.
55397         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55398         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55400         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55402 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55404         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55405         locale-defines.sym to gen-as-const-headers.
55406         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55407         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55408         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55409         to compile strcasecmp and strncasecmp.
55410         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55411         strcasecmp_l and strncasecmp_l.
55412         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55413         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55414         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55415         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55416         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55417         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55418         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55419         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55420         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55421         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55422         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55424 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55426         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55427         result of SYSDEP_GETTIME_CPU to retval.
55428         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55429         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55431         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55432         variable.
55434         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55435         mantissa words.
55436         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55438         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55439         from unused variable.
55441         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55442         DWARF definitions.
55443         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55444         for assembling.
55446         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55447         over namespaces.
55449         * sunrpc/rpc_prot.c (rejected): Fix case value.
55451         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55452         unsigned long long int to avoid warnings in shift.
55454         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55455         of use of trans.
55456         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55457         variable tmp.
55459         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55460         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55461         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55463         * nis/nis_table.c (nis_list): Use variable of correct type for
55464         result of __follow_path call.
55466 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55468         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55469         of math functions ceil, trunc, floor, round, and sqrt, when
55470         avaliable on the platform.
55471         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55472         name clash.
55473         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55474         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55475         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55477 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55479         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55480         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55482 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55484         * include/unistd.h: Fix __readlink return type.
55485         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55487 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55489         * stdlib/ucontext.h: Undo last change for makecontext.
55491 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55493         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55495         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55496         * setjmp/setjmp.h: Mark functions as non-leaf.
55497         * setjmp/bits/setjmp2.h: Likewise.
55498         * stdlib/ucontext.h: Likewise.
55500 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55502         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55503         (reused_arena): Don't check arena limit.
55504         (arena_get2): Atomically check arena limit.
55506 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55508         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55509         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55511         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55512         instructions.
55514 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55516         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55517         handler when locking.
55519         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55520         Fix size of allocated buffer.
55522 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55524         [BZ #10103]
55525         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55526         declarations for long double functions.
55527         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55529         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55531 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55533         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55534         installed.
55536         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55537         is disabled.
55539 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55541         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55543 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55545         * include/alloca.h (stackinfo_alloca_round): Define.
55546         (extend_alloca): Use it.
55547         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55548         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55549         here.
55551         * scripts/check-local-headers.sh: Ignore libaudit.h.
55553         * nscd/Makefile (extra-objs): Make recursively expanded.
55555 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55557         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55558         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55560         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55561         * posix/tst-rfc3484-2.c: Likewise.
55562         * posix/tst-rfc3484-3.c: Likewise.
55564         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55565         process_vm_writev.
55566         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55567         process_vm_writev.
55568         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55569         process_vm_writev from libc using GLIBC_2.15 version.
55571         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55573 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55575         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55576         stack usage.
55578 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55580         [BZ #13367]
55581         * nss/getent.c (initgroups_keys): Show error message in case no group
55582         names are given.
55584         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55585         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55586         __bump_nl_timestamp.
55587         * nscd/connections (nscd_init): When host database is served open
55588         netlink socket and request notification about configuration changes.
55589         (main_loop_poll): Track netlink file descriptor and bump timestamp
55590         in case data becomes available.
55591         (main_loop_epoll): Likewise.
55592         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55593         (database_pers_head): Add extra_data fileds.
55594         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55595         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55596         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55597         Adjust caller.
55598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55599         in6ai data, call __free_in6ai.
55600         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55601         Add -DHAVE_NETLINK.
55602         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55603         interface information.  Reuse previous data if netlink timestamp
55604         is not changed.
55605         (__bump_nl_timestamp): New function.
55606         (__free_in6ai): New function.
55608 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55610         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55611         close_not_cancel_no_status here.
55612         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55614 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55616         [BZ #13276]
55617         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55618         return value.
55620         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55621         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55622         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55624 2011-07-03  Andreas Jaeger  <aj@suse.de>
55626         [BZ #10709]
55627         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55628         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55629         * math/libm-test.inc (sin_test): Add test case.
55631 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55633         [BZ #13337]
55634         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55635         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55637         * elf/chroot_canon.c (chroot_canon): Cleanups.
55639         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55641         [BZ #13335]
55642         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55643         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55645         * string/test-strchr.c: Make usable for strchrnul testing.
55646         * string/test-strchrnul.c: New file.
55647         * string/Makefile (strop-tests): Add strchrnul.
55649         * po/it.po: Update from translation team.
55650         * po/es.po: Likewise.
55652 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55654         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55655         the three constants needed as parameters.  Drop the others.
55656         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55657         __m128i_strloadu_tolower.
55658         Create and initialize variable zero and use it in all the places
55659         where _mm_setzero_si128 was used.
55661         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55662         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55663         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55664         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55665         anymore.
55666         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55667         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55668         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55669         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55670         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55671         __mpranred, __mptan.
55672         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55673         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55674         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55675         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55676         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55677         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55678         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55679         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55680         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55682 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55684         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55685         redefine if SHARED.
55686         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55688         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55689         wide char related routines to wcsmbs subdir.
55691 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55693         [BZ #13344]
55694         * misc/sys/cdefs.h (__THROWNL): Define.
55695         * posix/unistd.h: Use __THREADNL instead of __THREAD
55696         for memory synchronization functions.
55698 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55700         [BZ #13349]
55701         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55702         doesn't exist.
55703         * manual/stdio.texi (Obstack Streams): Node removed.
55705 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55707         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55708         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55709         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55711         * math/math_private.h (math_force_eval): Allow non-addressable
55712         arguments.
55713         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55715 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55717         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55718         file is not needed.
55720         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55721         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55722         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55723         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55725         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55726         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55727         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55728         Add AVX variants.
55729         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55730         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55731         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55732         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55733         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55734         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55735         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55736         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55737         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55738         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55739         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55740         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55742         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55743         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55744         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55745         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55746         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55747         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55749         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55750         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55753         place.  Use VEX encoding when compiling for AVX.
55755 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55757         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55758         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55760         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55762 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55764         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55765         useless if() expression.
55766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55767         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55768         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55769         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55770         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55772         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55773         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55774         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55775         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55776         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55777         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55778         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55779         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55780         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55781         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55782         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55783         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55784         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55786         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55788 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55790         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55791         condition.
55792         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55794 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55796         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55797         .text section.  Avoid duplicate constants.
55798         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55799         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55800         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55801         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55803         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55804         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55806         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55807         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55808         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55809         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55810         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55811         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55812         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55813         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55814         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55815         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55816         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55817         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55818         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55819         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55820         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55821         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55822         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55823         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55824         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55825         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55826         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55827         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55828         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55829         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55830         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55831         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55832         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55833         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55834         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55835         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55836         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55837         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55838         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55839         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55840         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55841         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55842         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55844 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55846         * sysdeps/x86_64/dla.h: Move to ...
55847         * sysdeps/x86_64/fpu/dla.h: ...here.
55848         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55849         situations.  Use __builtin_fma only for gcc 4.6 and up.
55851         * config.make.in: Add have-mfma4 entry.
55852         * configure.in: Substitute libc_cv_cc_fma4.
55853         * math/Makefile (dbl-only-routines): Add sincostab.
55854         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55855         Use __sincostab not sincos.
55856         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55857         name is a macro.
55858         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55861         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55862         using __copysign.
55863         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55864         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55865         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55866         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55867         and __inv.
55868         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55869         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55870         __copysign.
55871         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55872         define aliases when function name is a macro.
55873         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55874         sysdeps/ieee754/dbl-64/sincos.tbl.
55875         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55876         fma4-enabled routines.
55877         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55878         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55879         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55880         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55881         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55882         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55883         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55884         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55885         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55886         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55887         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55888         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55889         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55890         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55891         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55892         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55893         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55894         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55895         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55896         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55897         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55898         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55899         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55900         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55901         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55902         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55903         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55904         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55905         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55906         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55908         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55909         rename.
55910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55919 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55921         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55923 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55925         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55927         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55928         prediction.
55929         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55931         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55932         Remove unused variable magic_bits.
55933         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55935         * string/strnlen.c: Define and use STRNLEN macro.
55936         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55937         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55939         * wcsmbs/wcslen.c: Define and use WCSLEN.
55940         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55941         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55942         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55943         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55944         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55945         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55946         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55948 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55951         strnlen-sse2-no-bsf.
55952         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55953         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55954         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55955         Add strnlen support.
55956         (USE_AS_STRNLEN): New macro.
55957         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55958         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55959         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55960         * sysdeps/x86_64/wcslen.S: New file.
55962 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55964         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55965         XMM-moves are used for copying on small sizes.
55967 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55969         * wcsmbs/Makefile (strop-tests): Add wcschr.
55970         * wcsmbs/test-wcschr.c: New file.
55971         * string/test-strchr.c: Update.
55972         Add wcschr support.
55973         (WIDE): New macro.
55975 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55977         * wcsmbs/Makefile (strop-tests): Add wcslen.
55978         * wcsmbs/test-wcslen.c: New file.
55979         * string/test-strlen.c: Update.
55980         Add wcslen support.
55981         (WIDE): New macro.
55983 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55985         * po/it.po: Update from translation team.
55987 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55989         * sysdeps/x86_64/wcscmp.S: Update.
55990         Fix wrong comparison semantics.
55991         wcscmp shall use signed comparison not unsigned.
55992         Don't use substraction to avoid overflow bug.
55993         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55994         * wcsmbc/wcscmp.c: Likewise.
55995         * string/test-strcmp.c: Likewise.
55996         Add new tests to check cases with negative values.
55998 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56000         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56001         * sysdeps/x86_64/dla.h: ...here.  New file.
56002         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56003         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56004         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56009         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56012 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56015         __ynl_finite aliases.
56017 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56021         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56022         define DLA_FMA.
56023         [DLA_FMA] (EMULV): Use DLA_FMA.
56024         [DLA_FMA] (MUL12): Use EMULV.
56025         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56026         that are not needed.
56027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56029         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56030         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56031         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56032         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56033         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56035 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56037         * math/s_nan.c: Undef __nan.
56038         * math/s_nanf.c: Undef __nanf.
56039         * math/s_nanl.c: Undef __nanl.
56040         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56041         "math_private.h".
56043 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56045         * math/s_catan.c: Add branch predictions.
56046         * math/s_catanf.c: Likewise.
56047         * math/s_catanh.c: Likewise.
56048         * math/s_catanhf.c: Likewise.
56049         * math/s_catanhl.c: Likewise.
56050         * math/s_catanl.c: Likewise.
56051         * math/s_cexp.c: Likewise.
56052         * math/s_cexpf.c: Likewise.
56053         * math/s_cexpl.c: Likewise.
56054         * math/s_clog.c: Likewise.
56055         * math/s_clog10.c: Likewise.
56056         * math/s_clog10f.c: Likewise.
56057         * math/s_clog10l.c: Likewise.
56058         * math/s_clogf.c: Likewise.
56059         * math/s_clogl.c: Likewise.
56060         * math/s_csqrt.c: Likewise.
56061         * math/s_csqrtf.c: Likewise.
56062         * math/s_csqrtl.c: Likewise.
56063         * math/s_ctanf.c: Likewise.
56064         * math/s_ctanh.c: Likewise.
56065         * math/s_ctanhf.c: Likewise.
56066         * math/s_ctanhl.c: Likewise.
56067         * math/s_ctanl.c: Likewise.
56069         * math/math_private.h: Define __nan, __nanf, __nanl.
56070         * math/s_cacosh.c: Include <math_private.h>.
56071         * math/s_cacoshl.c: Likewise.
56072         * math/s_casinh.c: Likewise.
56073         * math/s_casinhf.c: Likewise.
56074         * math/s_casinhl.c: Likewise.
56075         * math/s_ccos.c: Rely entire on ccosh.
56076         * math/s_ccosf.c: Rely entire on ccoshf.
56077         * math/s_ccosl.c: Rely entirely on ccoshl.
56078         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56079         Remove tests for FE_INVALID.
56080         * math/s_ccoshf.c: Likewise.
56081         * math/s_ccoshl.c: Likewise.
56082         * math/s_csin.c: Likewise.
56083         * math/s_csinf.c: Likewise.
56084         * math/s_csinh.c Likewise.
56085         * math/s_csinhf.c: Likewise.
56086         * math/s_csinhl.c: Likewise.
56087         * math/s_csinl.c: Likewise.
56088         * math/s_ctan.c: Likewise.
56089         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56090         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56091         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56093 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56096         compilation problems.
56098         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56099         __builtin_expect.
56101 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56103         * sysdeps/i386/configure.in: Test for -mfma4 option.
56104         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56105         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56106         COMMON_CPUID_INDEX_80000001.
56107         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56108         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56109         use it if FMA3 is not supported.
56110         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56112         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56113         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56115 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56117         [BZ #12892]
56118         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56119         it would create a cycle with a link time dependency.
56121 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56123         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56124         instruction.
56125         * string/Makefile (strop-tests): Add rawmemchr.
56126         * string/test-rawmemchr.c: New file.
56128         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56129         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56130         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56131         when compiling str{,n}casecmp and when AVX is available.  Hook up
56132         new optimized code in initializers.
56134 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56136         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56137         __feraiseexcept instead of feraiseexcept.
56139 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56141         * math/math_private.h: Define defaults for libc_fetestexcept and
56142         libc_feupdateenv.
56143         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56144         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56145         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56146         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56147         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56148         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56149         libc_fetestexcept and libc_feupdateenv.
56151         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56152         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56153         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56154         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56155         libc_feholdexcept_setround.
56157         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56158         Add s_nearbyint-c and s_nearbyintf-c.
56159         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56160         nearbyintf inlines.
56161         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56162         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56163         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56164         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56166         * math/math_private.h: Define defaults for libc_fegetround,
56167         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56168         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56169         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56170         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56171         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56172         standard functions.
56173         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56174         Remove comments and hacks for old compiler versions.
56175         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56176         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56177         libc_feholdexceptl.
56179 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56181         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56182         (__feraiseexcept_renamed): Add __NTH.
56183         (feraiseexcept): Add __NTH.  Rename local variables to fix
56184         namespace violations.
56186 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56188         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56190         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56192         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56193         recently added interfaces.
56194         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56196         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56197         about macro parameter expansion.
56199         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56200         __NO_MATH_INLINES is defined.  Cleanups.
56202         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56203         and __floorf is target has SSE4.1.
56204         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56205         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56206         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56207         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56209         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56210         name.
56211         (floorf): Likewise.
56213         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56215 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56217         * misc/sys/cdefs.h: Fix last change.
56219         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56220         database lookup.
56222 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56224         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56226         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56227         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56228         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56229         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56230         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56231         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56232         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56233         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56234         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56235         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56236         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56237         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56238         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56239         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56240         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56241         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56242         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56243         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56244         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56245         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56246         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56247         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56249         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56250         ceil, ceilf, floor, floorf.
56252         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56253         Perform IRELATIVE relocations last.
56255         * elf/do-rel.h: Add another parameter nrelative, replacing the
56256         local variable with the same name.  Change name of the function
56257         to end in Rel or Rela (uppercase).
56258         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56259         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56260         elf_dynamic_do_##reloc function.
56262 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56264         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56265         is sufficient, at least on modern CPUs.
56267         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56269         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56270         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56272         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56273         __expl_finite.
56274         * math/bits/math-finite.h: Add entries for exp.
56275         * math/e_expl.c: Add __*_finite alias.
56276         * sysdeps/i386/fpu/e_exp.S: Likewise.
56277         * sysdeps/i386/fpu/e_expf.S: Likewise.
56278         * sysdeps/i386/fpu/e_expl.c: Likewise.
56279         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56280         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56281         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56282         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56283         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56284         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56285         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56287         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56288         is sufficient, at least on modern CPUs.
56290         * ctype/ctype-info.c (__ctype_init): Define.
56291         * include/ctype.h (__ctype_init): Declare.
56292         (__ctype_b_loc): The variable is always initialized.
56293         (__ctype_toupper_loc): Likewise.
56294         (__ctype_tolower_loc): Likewise.
56295         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56296         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56298 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56300         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56302         * configure.in: Also look in $cxxmachine/include for C++ system
56303         headers.
56305 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56307         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56308         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56309         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56310         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56311         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56312         (USE_AS_WMEMCMP): New macro.
56313         Fixing indents.
56314         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56315         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56316         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56317         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56318         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56319         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56320         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56321         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56322         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56323         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56324         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56325         (USE_AS_WMEMCMP): New macro.
56326         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56327         * sysdeps/string/test-memcmp.c: Update.
56328         Fix simple_wmemcmp.
56329         Add new tests.
56330         * wcsmbs/wmemcmp.c: Update.
56331         (WMEMCMP): New macro.
56332         Fix overflow bug.
56334 2011-10-12  Andreas Jaeger  <aj@suse.de>
56336         [BZ #13268]
56337         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56339 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56341         * libio/iofwide.c (do_length): Avoid warning.
56343         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56345 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56347         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56349         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56350         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56351         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56352         * sysdeps/i386/i686/fpu/e_log.S: New file.
56353         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56354         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56356         * ctype/ctype.h: Add support for inlined isXXX functions when
56357         compiling C++ code.
56359 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56361         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56363         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56365 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56367         [BZ #13291]
56368         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56370 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56372         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56373         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56374         feraiseexcept.
56376         * sysdeps/x86_64/memrchr.S: Check for zero size.
56378         * string/stratcliff.c: Add memrchr tests.
56380 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56383         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56384         rawmemchr-sse2 rawmemchr-sse2-bsf.
56385         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56386         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56387         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56388         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56389         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56390         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56391         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56392         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56393         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56394         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56395         * string/memrchr.c (MEMRCHR): New macro.
56397 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56399         Add integration with gcc's -ffinite-math-only and optimize wrapper
56400         functions in libm.
56401         * Versions.def: Define GLIBC_2.15 version for libm.
56402         * math/Makefile (headers): Add bits/math-finite.h.
56403         * math/bits/math-finite.h: New file.
56404         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56405         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56406         * math/e_acoshl.c: Add __*_finite alias.
56407         * math/e_acosl.c: Likewise.
56408         * math/e_asinl.c: Likewise.
56409         * math/e_atan2l.c: Likewise.
56410         * math/e_atanhl.c: Likewise.
56411         * math/e_coshl.c: Likewise.
56412         * math/e_exp10.c: Likewise.
56413         * math/e_exp10f.c: Likewise.
56414         * math/e_exp10l.c: Likewise.
56415         * math/e_exp2l.c: Likewise.
56416         * math/e_fmodl.c: Likewise.
56417         * math/e_gammal_r.c: Likewise.
56418         * math/e_hypotl.c: Likewise.
56419         * math/e_j0l.c: Likewise.
56420         * math/e_j1l.c: Likewise.
56421         * math/e_jnl.c: Likewise.
56422         * math/e_lgammal_r.c: Likewise.
56423         * math/e_log10l.c: Likewise.
56424         * math/e_log2l.c: Likewise.
56425         * math/e_logl.c: Likewise.
56426         * math/e_powl.c: Likewise.
56427         * math/e_sinhl.c: Likewise.
56428         * math/e_sqrtl.c: Likewise.
56429         * math/e_scalb.c: Completely rewritten and optimized.
56430         * math/e_scalbf.c: Likewise.
56431         * math/e_scalbl.c: Likewise.
56432         * math/w_acos.c: Likewise.
56433         * math/w_acosf.c: Likewise.
56434         * math/w_acosl.c: Likewise.
56435         * math/w_acosh.c: Likewise.
56436         * math/w_acoshf.c: Likewise.
56437         * math/w_acoshl.c: Likewise.
56438         * math/w_asin.c: Likewise.
56439         * math/w_asinf.c: Likewise.
56440         * math/w_asinl.c: Likewise.
56441         * math/w_atan2.c: Likewise.
56442         * math/w_atan2f.c: Likewise.
56443         * math/w_atan2l.c: Likewise.
56444         * math/w_atanh.c: Likewise.
56445         * math/w_atanhf.c: Likewise.
56446         * math/w_atanhl.c: Likewise.
56447         * math/w_exp10.c: Likewise.
56448         * math/w_exp10f.c: Likewise.
56449         * math/w_exp10l.c: Likewise.
56450         * math/w_fmod.c: Likewise.
56451         * math/w_fmodf.c: Likewise.
56452         * math/w_fmodl.c: Likewise.
56453         * math/w_j0.c: Likewise.
56454         * math/w_j0f.c: Likewise.
56455         * math/w_j0l.c: Likewise.
56456         * math/w_j1.c: Likewise.
56457         * math/w_j1f.c: Likewise.
56458         * math/w_j1l.c: Likewise.
56459         * math/w_jn.c: Likewise.
56460         * math/w_jnf.c: Likewise.
56461         * math/w_log.c: Likewise.
56462         * math/w_logf.c: Likewise.
56463         * math/w_logl.c: Likewise.
56464         * math/w_log10.c: Likewise.
56465         * math/w_log10f.c: Likewise.
56466         * math/w_log10l.c: Likewise.
56467         * math/w_log2.c: Likewise.
56468         * math/w_log2f.c: Likewise.
56469         * math/w_log2l.c: Likewise.
56470         * math/w_pow.c: Likewise.
56471         * math/w_powf.c: Likewise.
56472         * math/w_powl.c: Likewise.
56473         * math/w_remainder.c: Likewise.
56474         * math/w_remainderf.c: Likewise.
56475         * math/w_remainderl.c: Likewise.
56476         * math/w_scalb.c: Likewise.
56477         * math/w_scalbf.c: Likewise.
56478         * math/w_scalbl.c: Likewise.
56479         * math/w_sqrt.c: Likewise.
56480         * math/w_sqrtf.c: Likewise.
56481         * math/w_sqrtl.c: Likewise.
56482         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56483         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56484         used.
56485         * math/math_private.h: Declare __kernel_standard_f.
56486         * math/w_cosh.c: Remove cruft and optimize a bit.
56487         * math/w_coshf.c: Likewise.
56488         * math/w_coshl.c: Likewise.
56489         * math/w_exp2.c: Likewise.
56490         * math/w_exp2f.c: Likewise.
56491         * math/w_exp2l.c: Likewise.
56492         * math/w_hypot.c: Likewise.
56493         * math/w_hypotf.c: Likewise.
56494         * math/w_hypotl.c: Likewise.
56495         * math/w_lgamma.c: Likewise.
56496         * math/w_lgamma_r.c: Likewise.
56497         * math/w_lgammaf.c: Likewise.
56498         * math/w_lgammaf_r.c: Likewise.
56499         * math/w_lgammal.c: Likewise.
56500         * math/w_lgammal_r.c: Likewise.
56501         * math/w_sinh.c: Likewise.
56502         * math/w_sinhf.c: Likewise.
56503         * math/w_sinhl.c: Likewise.
56504         * math/w_tgamma.c: Likewise.
56505         * math/w_tgammaf.c: Likewise.
56506         * math/w_tgammal.c: Likewise.
56507         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56508         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56509         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56510         Minor optimizations.  Pretty printing.  Remove cruft.
56511         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56512         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56513         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56514         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56515         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56516         * sysdeps/i386/fpu/e_asin.S: Likewise.
56517         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56518         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56519         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56520         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56521         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56522         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56523         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56524         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56525         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56526         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56527         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56528         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56529         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56530         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56531         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56532         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56533         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56534         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56535         * sysdeps/i386/fpu/e_log.S: Likewise.
56536         * sysdeps/i386/fpu/e_log10.S: Likewise.
56537         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56538         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56539         * sysdeps/i386/fpu/e_log2.S: Likewise.
56540         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56541         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56542         * sysdeps/i386/fpu/e_logf.S: Likewise.
56543         * sysdeps/i386/fpu/e_logl.S: Likewise.
56544         * sysdeps/i386/fpu/e_pow.S: Likewise.
56545         * sysdeps/i386/fpu/e_powf.S: Likewise.
56546         * sysdeps/i386/fpu/e_powl.S: Likewise.
56547         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56548         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56549         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56550         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56551         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56552         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56553         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56554         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56555         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56556         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56557         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56559         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56560         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56561         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56562         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56563         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56564         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56565         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56566         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56567         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56568         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56569         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56570         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56572         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56573         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56574         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56575         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56577         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56578         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56579         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56580         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56581         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56582         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56583         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56584         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56585         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56586         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56587         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56588         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56589         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56590         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56591         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56592         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56593         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56594         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56595         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56596         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56597         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56598         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56599         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56600         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56601         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56602         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56603         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56604         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56605         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56606         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56607         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56608         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56609         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56610         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56611         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56612         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56613         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56614         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56615         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56616         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56617         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56618         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56620         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56621         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56622         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56623         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56624         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56625         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56626         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56627         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56629         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56630         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56631         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56632         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56633         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56634         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56635         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56636         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56637         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56638         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56639         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56640         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56641         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56642         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56643         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56644         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56645         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56646         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56647         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56648         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56649         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56650         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56651         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56652         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56653         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56654         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56655         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56656         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56657         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56658         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56659         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56660         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56661         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56662         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56663         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56664         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56665         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56666         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56667         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56668         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56669         (__isnanf): Likewise.
56670         (__isinf_ns): Likewise.
56671         (__isinf_nsf): Likewise.
56672         (__finite): Likewise.
56673         (__finitef): Likewise.
56674         (__ieee754_sqrt): Define as macro.
56675         (__ieee754_sqrtf): Define as macro.
56676         (__ieee754_sqrtl): Define as macro.
56677         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56678         inlined copy.
56679         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56680         __FINITE_MATH_ONLY__ consistent.
56681         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56683 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56685         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56686         of rawmemchr.
56688         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56690 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56692         * po/ja.po: Update from translation team.
56694 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56696         * locale/programs/locarchive.c (prepare_address_space): New function.
56697         (create_archive, enlarge_archive, open_archive): Use it.
56699         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56700         inside [SHARED], where it is used.
56702         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56704         * nss/getent.c (netgroup_keys): Remove unused variable.
56705         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56707 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56709         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56710         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56711         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56712         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56713         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56714         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56715         * math/Makefile (libm-calls): Add s_isinf_ns.
56716         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56717         * math/multc3.c: Likewise.
56718         * math/s_casin.c: Likewise.
56719         * math/s_casinf.c: Likewise.
56720         * math/s_casinl.c: Likewise.
56721         * math/s_ccos.c: Likewise.
56722         * math/s_ccosf.c: Likewise.
56723         * math/s_ccosl.c: Likewise.
56724         * math/s_ctan.c: Likewise.
56725         * math/s_ctanf.c: Likewise.
56726         * math/s_ctanh.c: Likewise.
56727         * math/s_ctanhf.c: Likewise.
56728         * math/s_ctanhl.c: Likewise.
56729         * math/s_ctanl.c: Likewise.
56730         * math/w_fmod.c: Likewise.
56731         * math/w_fmodf.c: Likewise.
56732         * math/w_fmodl.c: Likewise.
56733         * math/w_remainder.c: Likewise.
56734         * math/w_remainderf.c: Likewise.
56735         * math/w_remainderl.c: Likewise.
56736         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56737         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56738         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56740         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56741         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56742         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56743         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56745         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56746         of the number.
56747         * stdio-common/printf_fphex.c: Likewise.
56748         * stdio-common/printf_size.c: Likewise.
56750         * math/e_exp10.c: Include math_private.h using <...> not "...".
56751         * math/e_exp10f.c: Likewise.
56752         * math/e_exp10l.c: Likewise.
56753         * math/e_exp2l.c: Likewise.
56754         * math/e_j0l.c: Likewise.
56755         * math/e_j1l.c: Likewise.
56756         * math/e_jnl.c: Likewise.
56757         * math/e_lgammal_r.c: Likewise.
56758         * math/e_rem_pio2l.c: Likewise.
56759         * math/e_scalb.c: Likewise.
56760         * math/e_scalbf.c: Likewise.
56761         * math/e_scalbl.c: Likewise.
56762         * math/k_cosl.c: Likewise.
56763         * math/k_sinl.c: Likewise.
56764         * math/k_tanl.c: Likewise.
56765         * math/s_cacoshf.c: Likewise.
56766         * math/s_catan.c: Likewise.
56767         * math/s_catanf.c: Likewise.
56768         * math/s_catanh.c: Likewise.
56769         * math/s_catanhf.c: Likewise.
56770         * math/s_catanhl.c: Likewise.
56771         * math/s_catanl.c: Likewise.
56772         * math/s_ccosh.c: Likewise.
56773         * math/s_ccoshf.c: Likewise.
56774         * math/s_ccoshl.c: Likewise.
56775         * math/s_cexp.c: Likewise.
56776         * math/s_cexpf.c: Likewise.
56777         * math/s_cexpl.c: Likewise.
56778         * math/s_clog.c: Likewise.
56779         * math/s_clog10.c: Likewise.
56780         * math/s_clog10f.c: Likewise.
56781         * math/s_clog10l.c: Likewise.
56782         * math/s_clogf.c: Likewise.
56783         * math/s_clogl.c: Likewise.
56784         * math/s_csin.c: Likewise.
56785         * math/s_csinf.c: Likewise.
56786         * math/s_csinh.c: Likewise.
56787         * math/s_csinhf.c: Likewise.
56788         * math/s_csinhl.c: Likewise.
56789         * math/s_csinl.c: Likewise.
56790         * math/s_csqrt.c: Likewise.
56791         * math/s_csqrtf.c: Likewise.
56792         * math/s_csqrtl.c: Likewise.
56793         * math/s_ctan.c: Likewise.
56794         * math/s_ctanf.c: Likewise.
56795         * math/s_ctanh.c: Likewise.
56796         * math/s_ctanhf.c: Likewise.
56797         * math/s_ctanhl.c: Likewise.
56798         * math/s_ctanl.c: Likewise.
56799         * math/s_ldexp.c: Likewise.
56800         * math/s_ldexpf.c: Likewise.
56801         * math/s_ldexpl.c: Likewise.
56802         * math/s_significand.c: Likewise.
56803         * math/s_significandf.c: Likewise.
56804         * math/s_significandl.c: Likewise.
56805         * math/w_acos.c: Likewise.
56806         * math/w_acosf.c: Likewise.
56807         * math/w_acosh.c: Likewise.
56808         * math/w_acoshf.c: Likewise.
56809         * math/w_acoshl.c: Likewise.
56810         * math/w_acosl.c: Likewise.
56811         * math/w_asin.c: Likewise.
56812         * math/w_asinf.c: Likewise.
56813         * math/w_asinl.c: Likewise.
56814         * math/w_atan2.c: Likewise.
56815         * math/w_atan2f.c: Likewise.
56816         * math/w_atan2l.c: Likewise.
56817         * math/w_atanh.c: Likewise.
56818         * math/w_atanhf.c: Likewise.
56819         * math/w_atanhl.c: Likewise.
56820         * math/w_cosh.c: Likewise.
56821         * math/w_coshf.c: Likewise.
56822         * math/w_coshl.c: Likewise.
56823         * math/w_dremf.c: Likewise.
56824         * math/w_exp10.c: Likewise.
56825         * math/w_exp10f.c: Likewise.
56826         * math/w_exp10l.c: Likewise.
56827         * math/w_exp2.c: Likewise.
56828         * math/w_exp2f.c: Likewise.
56829         * math/w_fmod.c: Likewise.
56830         * math/w_fmodf.c: Likewise.
56831         * math/w_fmodl.c: Likewise.
56832         * math/w_hypot.c: Likewise.
56833         * math/w_hypotf.c: Likewise.
56834         * math/w_hypotl.c: Likewise.
56835         * math/w_j0.c: Likewise.
56836         * math/w_j0f.c: Likewise.
56837         * math/w_j0l.c: Likewise.
56838         * math/w_j1.c: Likewise.
56839         * math/w_j1f.c: Likewise.
56840         * math/w_j1l.c: Likewise.
56841         * math/w_jn.c: Likewise.
56842         * math/w_jnf.c: Likewise.
56843         * math/w_jnl.c: Likewise.
56844         * math/w_lgamma.c: Likewise.
56845         * math/w_lgamma_r.c: Likewise.
56846         * math/w_lgammaf.c: Likewise.
56847         * math/w_lgammaf_r.c: Likewise.
56848         * math/w_lgammal.c: Likewise.
56849         * math/w_lgammal_r.c: Likewise.
56850         * math/w_log.c: Likewise.
56851         * math/w_log10.c: Likewise.
56852         * math/w_log10f.c: Likewise.
56853         * math/w_log10l.c: Likewise.
56854         * math/w_log2.c: Likewise.
56855         * math/w_log2f.c: Likewise.
56856         * math/w_log2l.c: Likewise.
56857         * math/w_logf.c: Likewise.
56858         * math/w_logl.c: Likewise.
56859         * math/w_pow.c: Likewise.
56860         * math/w_powf.c: Likewise.
56861         * math/w_powl.c: Likewise.
56862         * math/w_remainder.c: Likewise.
56863         * math/w_remainderf.c: Likewise.
56864         * math/w_remainderl.c: Likewise.
56865         * math/w_scalb.c: Likewise.
56866         * math/w_scalbf.c: Likewise.
56867         * math/w_scalbl.c: Likewise.
56868         * math/w_sinh.c: Likewise.
56869         * math/w_sinhf.c: Likewise.
56870         * math/w_sinhl.c: Likewise.
56871         * math/w_sqrt.c: Likewise.
56872         * math/w_sqrtf.c: Likewise.
56873         * math/w_sqrtl.c: Likewise.
56874         * math/w_tgamma.c: Likewise.
56875         * math/w_tgammaf.c: Likewise.
56876         * math/w_tgammal.c: Likewise.
56878         * po/ja.po: Update from translation team.
56880 2011-09-29  Andreas Jaeger  <aj@suse.de>
56882         [BZ #13179]
56883         * sunrpc/netname.c (netname2host): Fix logic.
56885         [BZ #6779]
56886         [BZ #6783]
56887         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56888         correctly.
56889         * math/w_remainder.c (__remainder): Likewise.
56890         * math/w_remainderf.c (__remainderf): Likewise.
56891         * math/libm-test.inc (remainder_test): Add test cases.
56893 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56895         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56896         sdiv_qrnnd.
56898 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56900         * string/test-memcmp.c: Avoid unncessary #defines.
56901         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56903 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56905         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56906         Use new sse2 version for core i3 - i7 as it's faster
56907         than sse42 version.
56908         (bit_Prefer_PMINUB_for_stringop): New.
56909         * sysdeps/x86_64/rawmemchr.S: Update.
56910         Replace with faster SSE2 version.
56911         * sysdeps/x86_64/memrchr.S: New file.
56912         * sysdeps/x86_64/memchr.S: Update.
56913         Replace with faster SSE2 version.
56915 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56917         * elf/dl-load.c (lose): Add cast to avoid warning.
56919 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56921         * po/ca.po: Update from translation team.
56923         * inet/getnetgrent_r.c: Hook up nscd.
56924         * nscd/Makefile (routines): Add nscd_netgroup.
56925         (nscd-modules): Add netgroupcache.
56926         (CFLAGS-netgroupcache.c): Define.
56927         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56928         (cache_search): Add const to second parameter.
56929         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56930         INNETGR.
56931         (dbs): Add netgrdb entry.
56932         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56933         (verify_persistent_db): Handle netgrdb.
56934         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56935         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56936         GETFDNETGR.
56937         (netgroup_response_header): Define.
56938         (innetgroup_response_header): Define.
56939         (datahead): Add netgroup_response_header and innetgroup_response_header
56940         elements.
56941         * nscd/nscd.conf: Add entries for netgroup cache.
56942         * nscd/nscd.h (dbtype): Add netgrdb.
56943         (_PATH_NSCD_NETGROUP_DB): Define.
56944         (netgroup_iov_disabled): Declare.
56945         (xmalloc, xcalloc, xrealloc): Move declarations here.
56946         (cache_search): Adjust prototype.
56947         Add netgroup-related prototypes.
56948         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56949         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56950         (__nscd_innetgr): Declare.
56951         * nscd/selinux.c (perms): Use access_vector_t as element type and
56952         add netgroup-related initializers.
56953         * nscd/netgroupcache.c: New file.
56954         * nscd/nscd_netgroup.c: New file.
56955         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56956         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56957         For four parameters use innetgr.
56958         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56959         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56960         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56961         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56963         * nscd/connections.c (register_traced_file): Don't register file
56964         for disabled databases.
56966 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56968         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56970         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56971         from tree and freeing node.
56973 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56975         * nss/nsswitch.c (__nss_database_lookup): Handle
56976         nss_parse_service_list out of memory case.
56978 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56980         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56981         out of memory case.
56983 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56985         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56986         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56987         pass it down.
56988         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56989         elf_machine_rela, elf_machine_lazy_rel.
56990         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56991         (ELF_DYNAMIC_DO_REL): Likewise.
56992         (ELF_DYNAMIC_DO_RELA): Likewise.
56993         (ELF_DYNAMIC_RELOCATE): Likewise.
56994         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56995         to ELF_DYNAMIC_DO_REL.
56996         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56997         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56998         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56999         elf_machine_rela.
57000         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57001         skip_ifunc, don't call ifunc function if non-zero.
57002         (elf_machine_rela): Likewise.
57003         (elf_machine_lazy_rel): Likewise.
57004         (elf_machine_lazy_rela): Likewise.
57005         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57006         (elf_machine_lazy_rel): Likewise.
57007         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57008         Likewise.
57009         (elf_machine_lazy_rel): Likewise.
57010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57011         Likewise.
57012         (elf_machine_lazy_rel): Likewise.
57013         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57014         (elf_machine_lazy_rel): Likewise.
57015         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57016         (elf_machine_lazy_rel): Likewise.
57017         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57018         (elf_machine_lazy_rel): Likewise.
57019         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57020         (elf_machine_lazy_rel): Likewise.
57021         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57022         (elf_machine_lazy_rel): Likewise.
57023         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57024         (elf_machine_lazy_rel): Likewise.
57026 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57028         * nss/nss_files/files-init.c (_nss_files_init): Use static
57029         initialization for all the *_traced_file variables.
57031 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57033         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57035 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57037         [BZ #13226]
57038         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57040 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57043         Reread the line before reparsing it.
57045 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57047         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57049 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57050             Maxim Kuvyrkov  <maxim@codesourcery.com>
57051             Joseph Myers  <joseph@codesourcery.com>
57053         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57054         if needed for __stack_chk_guard.
57056 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57058         * sysdeps/posix/spawni.c (script_execute): Always define it.
57059         It will be optimized away if unused.
57060         (maybe_script_execute): New function.
57061         (__spawni): Call it.
57063         * Makerules: Don't include tls.make.
57064         (config-tls): Always set to thread.
57065         * tls.make.c: File removed.
57067 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57069         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57070         * config.make.in (CPPFLAGS-config): New substituted variable.
57072 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57074         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57076         [BZ #13192]
57077         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57078         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57080 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57082         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57083         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57084         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57085         (CALL_FAIL): Likewise.
57086         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57087         (CALL_FAIL): Macro removed.
57088         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57090 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57092         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57093         for __FINITE_MATH_ONLY__ == 1.
57095 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57097         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57098         __ieee754_sqrt instead of sqrt.
57099         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57100         __ieee754_sqrtf instead of sqrtf.
57101         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57102         __floorf instead of floorf.
57103         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57104         __floorf, __truncf instead of floorf, truncf.
57106 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57108         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57110         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57111         __extern_always_inline.
57112         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57113         32-bit.
57115 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57117         * elf/rtld.c (dl_main): Also relocate in dependency order when
57118         doing symbol dependency testing.
57120 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57123         Always define `refsym'.
57125 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57127         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57128         (__FD_ELT): Renamed from __FDELT.
57129         * misc/bits/select2.h (__FD_ELT): Likewise.
57130         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57131         __FD_MASK instead of __FDELT, __FDMASK.
57132         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57133         Likewise.
57134         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57135         Likewise.
57137         * elf/Makefile (gen-ldd): Fix pattern.
57139         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57140         (init_tls): Likewise.
57142 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57146 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57148         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57149         `struct cmsghdr *' instead of `void *'.
57150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57151         Likewise.
57153 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57155         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57156         if non-absolute.
57157         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57158         ldd_rewrite_script.
57160 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57162         * configure.in: Remove --with-tls option.
57163         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57164         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57165         out in case it is missing.
57166         * sysdeps/ia64/elf/configure.in: Likewise.
57167         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57168         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57169         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57170         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57171         * sysdeps/sh/elf/configure.in: Likewise.
57172         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57173         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57174         * sysdeps/x86_64/elf/configure.in: Likewise.
57175         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57176         * sysdeps/mach/hurd/tls.h: Likewise.
57178         [BZ #13067]
57179         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57181         [BZ #13090]
57182         * configure.in: Fix use of AC_INIT.
57184         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57186 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57188         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57189         __set_errno.
57190         * malloc/hooks.c: Likewise.
57192         [BZ #11929]
57193         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57194         variables statically.
57195         (narenas): Initialize.
57196         (list_lock): Initialize.
57197         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57198         initializtion of main_arena and list_lock.  Small cleanups.
57199         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57200         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57201         Add initializers to main_arena and mp_.
57202         (malloc_state): Remove pagesize member.  Change all users to use
57203         GLRO(dl_pagesize).
57205         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57206         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57207         is always initialized.
57209         * malloc/malloc.c: Removed unused configurations and dead code.
57210         * malloc/arena.c: Likewise.
57211         * malloc/hooks.c: Likewise.
57212         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57214         * include/tls.h: Removed.  USE___THREAD must always be defined.
57215         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57216         * elf/dl-libc.c: Likewise.
57217         * elf/dl-tsd.c: Likewise.
57218         * include/errno.h: Likewise.
57219         * include/netdb.h: Likewise.
57220         * include/resolv.h: Likewise.
57221         * inet/herrno-loc.c: Likewise.
57222         * inet/herrno.c: Likewise.
57223         * malloc/arena.c: Likewise.
57224         * malloc/hooks.c: Likewise.
57225         * malloc/malloc.c: Likewise.
57226         * resolv/res-state.c: Likewise.
57227         * resolv/res_libc.c: Likewise.
57228         * sysdeps/i386/dl-machine.h: Likewise.
57229         * sysdeps/ia64/dl-machine.h: Likewise.
57230         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57231         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57232         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57233         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57234         * sysdeps/sh/dl-machine.h: Likewise.
57235         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57236         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57237         * sysdeps/unix/i386/sysdep.S: Likewise.
57238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57239         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57241         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57244         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57248         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57249         * sysdeps/x86_64/dl-machine.h: Likewise.
57250         * tls.make.c: Likewise.
57252         * configure.in: Remove --with-__thread option.  Make tests for
57253         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57254         tls_model attribute fail if no support is available.  Remove
57255         USE_IN_LIBIO.
57256         * Makeconfig: Adjust for dropped configure option.  All features are
57257         now mandatory.
57258         * Makerules: Likewise.
57259         * Versions.def: Likewise.
57260         * argp/argp-fmtstream.c: Likewise.
57261         * argp/argp-fmtstream.h: Likewise.
57262         * argp/argp-help.c: Likewise.
57263         * assert/assert.c: Likewise.
57264         * config.h.in: Likewise.
57265         * config.make.in: Likewise.
57266         * configure: Likewise.
57267         * configure.in: Likewise.
57268         * csu/Versions: Likewise.
57269         * csu/init.c: Likewise.
57270         * elf/tst-audit2.c: Likewise.
57271         * elf/tst-tls10.c: Likewise.
57272         * elf/tst-tls10.h: Likewise.
57273         * elf/tst-tls11.c: Likewise.
57274         * elf/tst-tls12.c: Likewise.
57275         * elf/tst-tls14.c: Likewise.
57276         * elf/tst-tlsmod11.c: Likewise.
57277         * elf/tst-tlsmod12.c: Likewise.
57278         * elf/tst-tlsmod13.c: Likewise.
57279         * elf/tst-tlsmod13a.c: Likewise.
57280         * elf/tst-tlsmod14a.c: Likewise.
57281         * elf/tst-tlsmod15b.c: Likewise.
57282         * elf/tst-tlsmod16a.c: Likewise.
57283         * elf/tst-tlsmod16b.c: Likewise.
57284         * elf/tst-tlsmod7.c: Likewise.
57285         * elf/tst-tlsmod8.c: Likewise.
57286         * elf/tst-tlsmod9.c: Likewise.
57287         * gmon/gmon.c: Likewise.
57288         * grp/fgetgrent_r.c: Likewise.
57289         * grp/putgrent.c: Likewise.
57290         * hurd/fopenport.c: Likewise.
57291         * include/libc-symbols.h: Likewise.
57292         * include/tls.h: Likewise.
57293         * intl/gettextP.h: Likewise.
57294         * intl/loadinfo.h: Likewise.
57295         * locale/global-locale.c: Likewise.
57296         * locale/localeinfo.h: Likewise.
57297         * mach/devstream.c: Likewise.
57298         * malloc/arena.c: Likewise.
57299         * malloc/set-freeres.c: Likewise.
57300         * misc/err.c: Likewise.
57301         * misc/getttyent.c: Likewise.
57302         * misc/mntent_r.c: Likewise.
57303         * posix/getopt.c: Likewise.
57304         * posix/wordexp.c: Likewise.
57305         * pwd/fgetpwent_r.c: Likewise.
57306         * resolv/Versions: Likewise.
57307         * resolv/res_hconf.c: Likewise.
57308         * shadow/fgetspent_r.c: Likewise.
57309         * shadow/putspent.c: Likewise.
57310         * stdio-common/printf_fphex.c: Likewise.
57311         * stdio-common/tmpfile.c: Likewise.
57312         * stdlib/abort.c: Likewise.
57313         * stdlib/fmtmsg.c: Likewise.
57314         * sunrpc/auth_unix.c: Likewise.
57315         * sunrpc/clnt_perr.c: Likewise.
57316         * sunrpc/clnt_tcp.c: Likewise.
57317         * sunrpc/clnt_udp.c: Likewise.
57318         * sunrpc/clnt_unix.c: Likewise.
57319         * sunrpc/openchild.c: Likewise.
57320         * sunrpc/svc_simple.c: Likewise.
57321         * sunrpc/svc_tcp.c: Likewise.
57322         * sunrpc/svc_udp.c: Likewise.
57323         * sunrpc/svc_unix.c: Likewise.
57324         * sunrpc/xdr.c: Likewise.
57325         * sunrpc/xdr_array.c: Likewise.
57326         * sunrpc/xdr_rec.c: Likewise.
57327         * sunrpc/xdr_ref.c: Likewise.
57328         * sunrpc/xdr_stdio.c: Likewise.
57330 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57332         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57334 2011-07-03  Andreas Jaeger  <aj@suse.de>
57336         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57337         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57338         regenerate with gen-libm-tests.pl.
57340 2010-05-12  Petr Baudis  <pasky@suse.cz>
57342         [BZ #11589]
57343         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57344         around j0() zero points by switching to j1().
57345         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57346         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57347         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57348         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57350 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57352         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57353         instead of 0.
57354         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57355         instead of 0.
57356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57357         Patch in part by Pavel Roskin <proski@gnu.org>.
57359         [BZ #13138]
57360         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57361         realloc.
57362         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57363         Free memory block if necessary.
57365         [BZ #12847]
57366         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57367         be NULL.  Don't lock in this case.
57369 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57371         * elf/elf.h (ELFOSABI_GNU): New macro.
57372         (ELFOSABI_LINUX): Define to that.
57374 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57376         * string/strncat.c (strncat): Undef the symbol in case it has been
57377         defined in bits/string.h.
57379 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57381         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57383         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57384         link map.
57386 2011-08-17  Andreas Jaeger  <aj@suse.de>
57388         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57390 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57391             Ian Lance Taylor  <iant@google.com>
57393         * math/libm-test.inc (lround_test): New testcase.
57394         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57396 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57398         * Makefile: Remove support for automatic cvs check-ins.
57399         * Makerules: Likewise.
57400         * config.make.in: Likewise.
57401         * configure.in: Likewise.
57402         * intl/Makefile: Likewise.
57403         * locale/Makefile: Likewise.
57404         * po/Makefile: Likewise.
57405         * posix/Makefile: Likewise.
57406         * sysdeps/gnu/Makefile: Likewise.
57407         * sysdeps/mach/hurd/Makefile: Likewise.
57408         * sysdeps/sparc/sparc32/Makefile: Likewise.
57410         [BZ #13118]
57411         * posix/Makefile (bug-regex32-ENV): Define.
57412         Patch by John Stanley <jpsinthemix@verizon.net>.
57414         * misc/Makefile (headers): Add bits/select2.h.
57415         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57416         * misc/bits/select2.h: New file.
57417         * include/bits/select2.h: New file.
57418         * debug/Makefile (routines): Add fdelt_chk.
57419         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57420         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57421         FD_ISSET.
57422         * debug/fdelt_chk.c: New file.
57424         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57425         * wcsmbs/test-wmemcmp.c: Likewise.
57426         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57427         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57429 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57431         * string/Makefile (strop-tests): Add memcmp.
57432         * string/test-wmemcmp.c: New file.
57433         * string/test-memcmp.c: Add wmemcmp support.
57435 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57437         [BZ #13153]
57438         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57439         2011-07-19 change.
57441         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57442         garbage value in a __mach_port_mod_refs call in the cases of the
57443         task-self and thread-self ports.
57445 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57447         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57449 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57451         * elf/dl-load.c (lose): Check for non-null L.
57453 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57455         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57457         * elf/dl-libc.c (dlerror_run): Pass back error code from
57458         dl_catch_error.
57460         [BZ #13123]
57461         * elf/dl-load.c (lose): Free l_origin if it is valid.
57463         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57464         names.
57465         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57466         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57467         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57468         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57469         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57470         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57472 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57474         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57475         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57476         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57477         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57478         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57479         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57480         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57481         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57482         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57483         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57485 2011-08-15  Alan Modra  <amodra@gmail.com>
57487         [BZ #13092]
57488         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57489         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57490         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57491         ppc_mcount to static-only-routines.
57492         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57493         __mcount_internal.
57494         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57495         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57497 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57499         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57500         for finite and infinity parameters.
57502 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57504         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57505         and add nop instructions for throughput optimization.
57506         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57508 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57510         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57511         aligned copy for power7 with vector-scalar instructions.
57512         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57514 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57517         AVX check.
57519 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57521         [BZ #13144]
57522         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57523         last change.
57525 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57527         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57528         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57529         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57530         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57531         clock_gettime.
57533 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57535         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57536         Forgot to demangle the pointer.
57538         * sysdeps/i386/sysdep.h: Define atom_text_section.
57539         * sysdeps/x86_64/sysdep.h: Likewise.
57540         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57541         section with atom_text_section.
57542         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57543         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57544         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57545         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57546         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57548         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57549         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57550         already be defined.  Change to take two parameters and don't assign
57551         result to variable.  Adjust all users.
57552         Define INTERNAL_GETTIME if not already defined.
57553         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57554         call.
57555         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57556         HAVE_CLOCK_GETTIME_VSYSCALL.
57557         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57560         gettimeofday vsyscall, just use time.
57562 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57564         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57565         <errno.h>.
57567 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57569         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57570         syscall on x86-64.
57571         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57572         syscall.
57573         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57574         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57575         syscall if possible.
57577 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57579         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57580         e_ident.  Don't pass to find_mapsXX.
57581         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57583 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57586         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57587         * sysdeps/x86_64/multiarch/strchr.S: Update.
57588         Check bit_slow_BSF bit.
57589         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57590         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57591         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57593 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57595         [BZ #13134]
57596         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57597         before glibc 2.15.
57598         (tryshell): Define.
57599         (__spawni): Change last parameter to be flag.  Test
57600         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57601         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57602         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57603         * posix/spawni.c: Likewise.
57604         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57605         * posix/spawnp.c: Likewise.  Change normal version to use
57606         SPAWN_XFLAGS_USE_PATH.
57607         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57608         SPAWN_XFLAGS_TRY_SHELL.
57610         [BZ #13150]
57611         * posix/glob.h: Remove gcc 1.x support.
57613         [BZ #13068]
57614         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57616 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57619         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57620         strrchr-sse2-bsf
57621         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57622         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57623         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57624         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57625         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57626         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57628 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57630         * sysdeps/x86_64/wcscmp.S: New file.
57632         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57633         wcscmp-c wcscmp-sse2
57634         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57635         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57636         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57637         * wcsmbs/wcscmp.c: Allow renaming.
57639 2011-09-05  David S. Miller  <davem@davemloft.net>
57641         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57642         stack slot, rather than the struct return pointer slot.
57643         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57644         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57646         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57648 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57650         * po/ja.po: Update from translation team.
57652         [BZ #13144]
57653         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57654         kernel in 64-bit binaries.
57656 2011-09-01  David S. Miller  <davem@davemloft.net>
57658         * elf/elf.h (HWCAP_SPARC_*): Move to..
57659         * sysdeps/sparc/sysdep.h: this new file and add new values.
57660         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57661         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57662         _DL_HWCAP_COUNT to 24.
57663         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57664         entries.
57665         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57666         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57667         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57668         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57669         instead of magic constants.
57670         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57672 2011-08-31  David S. Miller  <davem@davemloft.net>
57674         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57676         Reimplement to do errno handling inline.
57677         (SYSCALL_ERROR_HANDLER): New macro.
57678         (__SYSCALL_STRING): Do not do errno handling in asm.
57679         (__CLONE_SYSCALL_STRING): Delete.
57680         (__INTERNAL_SYSCALL_STRING): Delete.
57681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57682         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57683         (PSEUDO): Reimplement to do errno handling inline.
57684         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57685         (SYSCALL_ERROR_HANDLER): New macro.
57686         (__SYSCALL_STRING): Do not do errno handling in asm.
57687         (__CLONE_SYSCALL_STRING): Delete.
57688         (__INTERNAL_SYSCALL_STRING): Delete.
57689         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57690         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57691         i386.
57692         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57693         (inline_syscall*): Add 'err' argument.
57694         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57695         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57696         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57697         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57699         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57700         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57702 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57704         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57706 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57708         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57709         directive.
57711 2011-08-24  David S. Miller  <davem@davemloft.net>
57713         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57715 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57717         * elf/Makefile: Add rules to build and run unload8 test.
57718         * elf/unload8.c: New file.
57719         * elf/unload8mod1.c: New file.
57720         * elf/unload8mod1x.c: New file.
57721         * elf/unload8mod2.c: New file.
57722         * elf/unload8mod3.c: New file.
57724         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57725         it wasn't used.
57727 2011-08-23  David S. Miller  <davem@davemloft.net>
57729         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57730         subtract stack bias.
57731         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57732         %sp not %fp in calculations.
57733         (_JMPBUF_UNWINDS_ADJ): Likewise.
57735         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57736         (aio_suspend): Call it to force an exception region around the
57737         AIO_MISC_WAIT() invocation.
57739 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57741         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57742         backslash.
57744 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57746         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57747         protection macro.
57748         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57749         and <dl-machine.h>.
57750         (Elf64_FuncDesc): Remove.
57752 2011-08-22  David S. Miller  <davem@davemloft.net>
57754         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57755         sigaltstack check, add missing cfi directives.
57756         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57757         missing cfi directives, and sigaltstack handling.
57759 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57761         [BZ #11724]
57762         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57763         object is seen twice.
57764         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57766         * elf/Makefile (distribute): Add tst-initorder2.c.
57767         (tests): Add tst-initorder2.
57768         (modules-names): Add tst-initorder2a tst-initorder2b
57769         tst-initorder2c tst-initorder2d.  Add rules to build them.
57770         ($(objpfx)tst-initorder2.out): New rule.
57771         * elf/tst-initorder2.c: New file.
57772         * elf/tst-initorder2.exp: New file.
57774 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57776         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57778         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57779         dependencies back to end of function.
57781         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57782         $(elfobjdir)/ld.so.
57784 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57787         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57788         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57789         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57790         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57791         of __vdso_gettimeofday.
57792         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57793         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57794         attribute_hidden.
57795         (_libc_vdso_platform_setup): Remove initialization of
57796         __vdso_gettimeofday and __vdso_time.
57798 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57800         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57801         and fgetc_unlocked.
57802         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57803         getc_unlocked.
57805         * elf/dl-open.c (add_to_global): Report additions to the global scope
57806         for LD_DEBUG=scopes.
57807         (dl_open_worker): Also print scope of newly loaded dependencies.
57808         (_dl_show_scope): Indicate if there is no scope.
57810         [BZ #13114]
57811         * stdio-common/Makefile (tests): Add bug24.
57812         * stdio-common/bug24.c: New file.
57814 2011-08-19  Andreas Jaeger  <aj@suse.de>
57816         [BZ #13114]
57817         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57818         non-existant file when using close-on-exec mode.
57820 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57823         the very first instruction.
57825         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57826         the CFI state in the end.
57827         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57828         inclusion of dl-trampoline.h.
57829         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57831 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57833         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57834         expectations for long double.
57836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57837         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57839 2011-08-14  David S. Miller  <davem@davemloft.net>
57841         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57842         artificual limit depends upon the system page size.
57844 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57846         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57847         * resolv/Makefile: Define CFLAGS-libresolv.
57849 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57851         * nss/makedb.c (compute_tables): Make variables used in nested
57852         function static.
57854 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57856         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57857         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57858         if buffer was too small.
57860         * elf/pldd.c (main): Attach to all threads in the process.
57861         Rewrite /proc handling to use *at functions.
57863 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57865         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57866         specifies first scope to show.
57867         (dl_open_worker): Update callers.  Move printing scope of new
57868         object to before the relocation.
57869         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57870         * sysdeps/generic/ldsodefs.h: Update declaration.
57872         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57873         string for the scope number.
57875 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57877         * nscd/servicescache.c (cache_addserv): Make sure written is always
57878         initialized.
57880 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57882         * sysdeps/i386/i486/bits/atomic.h
57883         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57884         statement expression, so as to suppress "set but not used" warning.
57885         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57887         * string/strncat.c (STRNCAT): Use prototype definition.
57889         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57890         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57891         -Iprograms here.
57892         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57893         (localedef-modules): Add localedef.
57894         (locale-modules): Add locale.
57896         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57897         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57898         to avoid a warning.
57900 2011-08-14  David S. Miller  <davem@davemloft.net>
57902         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57903         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57905 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57907         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57908         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57909         * elf/rtld.c (dl_main): Set l_name of vDSO.
57910         Call _dl_show_scope when DL_DEBUG_SCOPES.
57911         (process_dl_debug): Recognize scopes flag and also set it for all.
57912         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57913         Declare _dl_show_scope.
57915         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57916         (do_dlopen): Pass caller_dlopen to dl_open.
57917         (__libc_dlopen_mode): Initialize caller_dlopen.
57919         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57920         of libc.  Make tolower call locale-independent.  Optimize a bit by
57921         using isdigit instead of isalnum.
57922         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57924 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57926         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57927         was a dependency or dynamically loaded.
57929 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57931         * intl/l10nflist.c: Allow architecture-specific pop function.
57932         * sysdeps/x86_64/l10nflist.c: New file.
57934         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57935         classification.
57937 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57939         * include/dirent.h: Add libc_hidden_proto for scandirat and
57940         scandirat64.  Don't declare __scandirat64.
57941         * dirent/scandirat.c: Add libc_hidden_def.
57942         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57943         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57945 2011-08-10  David S. Miller  <davem@davemloft.net>
57947         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57948         enum.
57949         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57950         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57951         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57953 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57955         * Versions.def [libc]: Add GLIBC_2.15.
57956         * dirent/Makefile (routines): Add scandirat and scandirat64.
57957         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57958         GLIBC_2.15.
57959         * dirent/dirent.h: Declare scandirat and scandirat64.
57960         * dirent/scandirat.c: New file.
57961         * dirent/scandirat64.c: New file.
57962         * sysdeps/wordsize-64/scandirat.c: New file.
57963         * sysdeps/wordsize-64/scandirat64.c: New file.
57964         * dirent/opendir.c: Define opendirat.
57965         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57966         using scandirat.
57967         * dirent/scandir64.c: Adjust for scandir.c change.
57968         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57969         __scandirat64, and __scandir_cancel_handler.
57970         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57971         additional parameter and use openat instead of open (outside of ld.so).
57972         Add new __opendir as wrapper around __opendirat.
57973         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57974         here without requiring old scandirat implementation.
57976 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57978         * dirent/scandir.c (cancel_handler): Renamed to
57979         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57980         defined.  Adjust users.
57981         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57982         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57984 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57986         * string/test-string.h (IMPL): Use __STRING to expand name and then
57987         stringify it.
57989         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57990         of cleanups.
57992 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57994         * string/Makefile: Update.
57995         (strop-tests): Append strncat.
57996         * string/test-wcscmp.c: New file.
57997         New comprehensive test for wcscmp.
57998         * string/test-strcmp.c: Update.
57999         (WIDE): New define.
58001 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58003         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58004         line.
58006 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58009         encoding to ACE if AI_IDN.
58011 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58013         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58014         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58016 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58018         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58019         Fix overflow bug in strncat.
58020         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58022         * string/test-strncat.c: Update.
58023         Add new tests for checking overflow bugs.
58025 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58028         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58029         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58030         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58031         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58032         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58033         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58034         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58035         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58037         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58038         (USE_AS_STRCAT): Define.
58039         Add strcat and strncat support.
58040         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58042 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58044         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58045         __n bigger than INT_MAX+1.
58046         (__strncmp_g): Likewise.
58048 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58050         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58051         * libio/stido.h: Likewise.
58053         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58054         (AF_NFC): Define.
58055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58056         (AF_NFC): Define.
58058         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58059         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58060         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58061         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58062         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58064         [BZ #13021]
58065         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58066         installed.
58068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58069         typo.
58070         (_dl_x86_64_save_sse): Likewise.
58072 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58074         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58075         OSXSAVE.
58076         (_dl_x86_64_save_sse): Likewise.
58078         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58080         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58082 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58085         change.
58086         (_dl_x86_64_save_sse): Use correct AVX check.
58088 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58090         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58091         bug in strncpy/strncat.
58092         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58094 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58096         * string/tester.c (test_strcat): Add tests for different alignments
58097         of source and destination.
58098         (test_strncat): Likewise.
58100 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58102         [BZ #12852]
58103         * posix/glob.c (glob): Check passed in values before using them in
58104         expressions to avoid some overflows.
58105         (glob_in_dir): Likewise.
58107         [BZ #13007]
58108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58109         check for AVX enablement so that we don't crash with old kernels and
58110         new hardware.
58111         * elf/tst-audit4.c: Add same checks here.
58112         * elf/tst-audit6.c: Likewise.
58114         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58116 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58118         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58120 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58122         * po/cs.po: Update from translation team.
58123         * po/bg.po: Likewise.
58125 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58127         * misc/sys/cdefs.h: Add support for const attribute.
58128         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58129         to gnu_dev_{major,minor,makedev} functions.
58131 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58133         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58135 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58137         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58138         strlen results.
58140 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58143         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58144         register in order to avoid conflicts with the soft frame pointer
58145         being held in r11 when necessary.
58146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58147         (INTERNAL_VSYSCALL_NCS): Likewise.
58149 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58151         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58152         * elf/dl-fini.c (_dl_fini): Adjust caller.
58153         * elf/dl-close.c (_dl_close_worker): Likewise.
58154         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58156 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58158         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58159         "aux_cache->nlibs < 0".
58161         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58162         in the reload-count case.
58164 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58167         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58168         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58169         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58170         * sysdeps/x86_64/multiarch/strcat.S: New file.
58171         * sysdeps/x86_64/multiarch/strncat.S: New file.
58172         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58173         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58174         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58175         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58176         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58177         (USE_AS_STRCAT): Define.
58178         Add strcat and strncat support.
58179         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58180         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58181         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58182         * string/strncat.c: Update.
58183         (USE_AS_STRNCAT): Define.
58184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58185         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58186         and i7.
58187         * sysdeps/x86_64/multiarch/init-arch.h
58188         (bit_Prefer_PMINUB_for_stringop): New.
58189         (index_Prefer_PMINUB_for_stringop): Likewise.
58190         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58191         bit_Prefer_PMINUB_for_stringop.
58193 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58195         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58196         buffer64.
58197         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58198         of casting of buffer.
58199         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58200         buffer32 and buffer64.
58201         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58202         writes instead of casting of buffer.
58203         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58204         buffer32.
58205         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58206         casting of buffer.
58208 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58210         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58212 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58214         * nscd/nscd.c (termination_handler): Don't do anything for a database
58215         if it has not yet been initialized.
58217 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58219         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58221 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58223         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58225 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58227         * po/nl.po: Update from translation team.
58228         * po/sv.po: Likewise.
58230 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58232         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58233         now disallowed by GCC.
58235         * configure.in (use-default-link): Default to yes if a test -shared
58236         link meets our qualifications.
58237         * configure: Regenerated.
58239         * config.make.in (output-format): New variable.
58240         * configure.in: Check for ld --print-output-format support.
58241         * configure: Regenerated.
58242         * Makerules ($(common-objpfx)format.lds)
58243         [$(output-format) != unknown]: Just use $(output-format),
58244         instead of the linker-script munging.
58246 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58248         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58249         of $(common-objpfx)shlib.lds.
58250         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58252         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58253         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58255         * configure.in (-z relro check): Adjust test code to add a large
58256         writable data section after it.
58257         * configure: Regenerated.
58259 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58261         * configure.in (-z relro check): Fix test code to make the variable
58262         truly const.
58263         * configure: Regenerated.
58265 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58267         * nscd/nscd.h (struct traced_file): Define.
58268         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58269         elements.  Add traced_files.
58270         (inotify_fd): Declare.
58271         (register_traced_file): Declare.
58272         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58273         (inotify_fd): Export.
58274         (resolv_conf_descr): Remove.
58275         (nscd_init): Move inotify descriptor creation to main.
58276         Don't register files for notification here.
58277         (register_traced_file): New function.
58278         (invalidate_cache): Don't use reset_res to determine whether to call
58279         res_init, go through the list of registered files.
58280         (main_loop_poll): The inotify descriptors are now stored in the
58281         structures for the traced files.
58282         (main_loop_epoll): Likewise
58283         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58284         to __nss_disable_nscd.
58285         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58286         for a database anymore.  Check the records for all the registered
58287         files instead.
58288         * nss/Makefile (libnss_files-routines): Add files-init.
58289         (libnss_db-routines): Add db-init.
58290         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58291         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58292         * nss/nss_db/db-init.c: New file.
58293         * nss/nss_files/files-init.c: New file.
58294         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58295         __nss_lookup_function.
58296         (__nss_lookup_function): Call nss_load_library.
58297         (nss_load_all_libraries): New function.
58298         (__nss_disable_nscd): Take parameter with callback function for files
58299         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58300         used for the cached services.
58301         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58302         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58303         options for features to all the files in nscd.
58305         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58307 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58309         * csu/elf-init.c (__libc_csu_init): Comment typo.
58311 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58313         * po/pl.po: Update from translation team.
58314         * po/ja.po: Likewise.
58315         * po/ru.po: Likewise.
58316         * po/ko.po: Likewise.
58317         * po/fr.po: Likewise.
58319 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58321         * configure.in (.ctors/.dtors header and trailer check):
58322         Use an empirical test on a built program.
58323         * configure: Regenerated.
58325         * configure.in (-z relro check): Use an empirical test on a built DSO.
58326         Detect, but do not require, on ia64.
58327         * configure: Regenerated.
58329         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58330         Update tests that use readelf to use $READELF instead.
58331         * configure: Regenerated.
58333 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58335         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58336         if the result is not used.
58338 2011-07-05  Andreas Jaeger  <aj@suse.de>
58340         [BZ#9696]
58341         * stdlib/tst-strtod.c: Add testcase.
58343 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58345         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58346         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58347         The latter has a higher limit.  Take additional parameter to pass to
58348         the new function.
58349         (__pathconf): Pass file to __statfs_link_max.
58350         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58351         __statfs_link_max.
58352         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58353         __statfs_link_max.
58355         [BZ #12868]
58356         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58357         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58358         Handle Lustre.
58359         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58360         (__statfs_filesize_max): Likewise.
58361         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58363 2011-07-05  Andreas Jaeger  <aj@suse.de>
58365         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58367 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58369         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58370         `status' variable.
58371         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58372         Likewise.
58374 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58376         * Makefile (strop-tests): Add strncat.
58377         * string/test-strncat.c: New file.
58379 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58381         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58383 2011-06-21  Andreas Jaeger  <aj@suse.de>
58385         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58386         Copy rule from iconvdata/Makefile.
58388 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58390         [BZ #12922]
58391         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58392         but no long options are defined, just return 'W'.
58394 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58396         [BZ #9696]
58397         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58399 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58401         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58402         netgroups to read.
58403         (innetgr): Likewise.
58405 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58407         * config.make.in (install_root): Default to $(DESTDIR).
58409 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58411         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58413 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58415         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58417         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58418         containing directory rather than embedding absolute directory names.
58420         * scripts/check-local-headers.sh: Rewritten using awk.
58421         Match by word, not by line.  Print error messages for matches.
58422         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58424         * Makerules [shlib-lds-flags empty]:
58425         ($(common-objpfx)libc_pic.opts): New target.
58426         ($(common-objpfx)libc_pic.os.clean): New target.
58427         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58429         * config.make.in (OBJCOPY): New variable.
58430         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58431         * configure: Regenerated.
58433         * config.make.in (use-default-link): New variable.
58434         * configure.in (use_default_link): Grok --with-default-link to set it.
58435         * configure: Regenerated.
58436         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58437         (shlib-lds, shlib-lds-flags): Define to empty.
58439         * Makerules (shlib-lds): New variable.
58440         (shlib-lds-flags): New variable.
58441         (build-shlib, build-moduile, build-module-asneeded): Use it.
58442         ($(common-objpfx)libc.so): Use $(shlib-lds).
58443         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58444         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58446         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58447         DT_FLAGS/DT_FLAGS_1 with zero flags.
58449         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58450         linker script munging.
58452 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58454         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58455         as 128-bit value.
58456         * crypt/sha512.c (sha512_process_block): Perform total addition using
58457         128-bit if possible.
58458         (__sha512_finish_ctx): Likewise.
58459         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58460         as 64-bit value.
58461         * crypt/sha256.c (SWAP64): Define.
58462         (sha256_process_block): Perform total addition using 64-bit if
58463         possible.
58464         (__sha256_finish_ctx): Likewise.
58466 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58468         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58470         * nscd/hstcache.c (cache_addhst): Likewise.
58471         * nscd/grpcache.c (cache_addgr): Likewise.
58472         * nscd/aicache.c (addhstaiX): Likewise
58473         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58475 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58477         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58478         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58479         * nscd/hstcache.c (cache_addhst): Likewise.
58480         * nscd/grpcache.c (cache_addgr): Likewise.
58481         * nscd/aicache.c (addhstaiX): Likewise
58483 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58485         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58486         domain only when needed.
58488 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58491         is always restored.
58493 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58495         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58496         are re-adding the entry.
58497         * nscd/servicescache.c (cache_addserv): Likewise.
58499 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58501         * sysdeps/generic/dl-irel.h: fix protection against multiple
58502         inclusions.
58503         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58505 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58507         [BZ #12935]
58508         * malloc/memusage.sh: Fix quoting in message.
58509         * debug/xtrace.sh: Likewise.
58511         * configure.in: Remove support for --experimental-malloc option, make
58512         it the default.
58513         * config.make.in: Likewise.
58514         * malloc/Makefile: Likewise.
58516 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58518         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58519         two-byte characters.
58521 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58523         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58524         AC_CACHE_CHECK invocation.
58525         * configure: Regenerated.
58527         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58529 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58531         [BZ #12350]
58532         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58533         bit from old_res_options.
58535         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58537         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58538         value type for setfct.
58540 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58542         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58543         __gettimeofday instead of gettimeofday.
58545 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58547         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58549 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58551         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58553         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58554         info.
58556 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58559         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58560         strcpy-sse2-unaligned strncpy-sse2-unaligned
58561         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58562         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58563         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58564         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58565         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58566         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58567         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58568         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58569         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58570         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58571         (STRCPY): Support SSE2 and SSSE3 versions.
58573 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58575         [BZ #12874]
58576         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58577         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58578         kernels which artificially limit size of requests.
58580 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58583         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58584         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58585         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58586         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58587         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58588         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58589         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58590         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58592         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58593         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58594         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58595         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58596         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58597         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58598         Enable unaligned load optimization for Intel Core i3, i5 and i7
58599         processors.
58600         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58601         Define.
58602         (index_Fast_Unaligned_Load): Define.
58603         (HAS_FAST_UNALIGNED_LOAD): Define.
58605 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58607         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58609 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58611         [BZ #12907]
58612         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58613         until it is clear that the information is realy needed.
58614         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58616 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58620 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58623         /sys/devices/system/cpu/online if it is usable.
58625         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58626         reading the information from the /proc filesystem to once a second.
58628 2011-06-21  Andreas Jaeger  <aj@suse.de>
58630         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58631         NULL after inclusion of kernel headers.
58633 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58635         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58636         calls to internal_setent.
58638         [BZ #12885]
58639         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58640         addresses using gethostbyname4_r ignore IPv4 addresses.
58642         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58643         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58645         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58647 2011-06-20  David S. Miller  <davem@davemloft.net>
58649         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58650         inclusions.
58651         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58653         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58654         (elf_irel): Use it.
58655         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58656         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58657         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58658         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58659         * sysdeps/x86_64/dl-irel.h: Likewise.
58661         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58662         * elf/dl-sym.c: Likewise.
58664 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58666         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58667         need to dereference resplen2.
58669 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58671         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58673 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58675         * Makeconfig: Define vardbdir and inst_vardbdir.
58676         * nss/Makefile: Add rules to install db-Makefile.
58678         * nss/nss_db/db-XXX.c: Cleanup.
58680         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58681         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58682         GLIBC_PRIVATE.
58683         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58684         * nss/makedb.c: Implement -g option to specify that value strings
58685         are generated and should not be added to table iterated over for
58686         get*ent calls.
58687         * nss/nss_db/db-initgroups.c: New file.
58689         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58690         interface.
58692         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58693         (internal_getgrouplist): Adjust to name change.
58694         Update use_initgroups_entry if this is not the first call.
58695         * nss/databases.def: Add initgroups entry.
58697         * nss/makedb.c (compute_tables): Check result of multiple hash table
58698         sizes to minimize maximum chain length.
58700 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58702         * Versions.def: Add entry for libnss_db.
58703         * shlib-versions: Likewise.
58704         * nss/Makefile: Add rules to build libnss_db.
58705         * nss/Versions: Add libnss_db information.  Organize libnss_files
58706         entries better.
58707         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58708         makedb progra.  Some minor improvements to generate smaller files.
58709         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58710         here from...
58711         * nss/makedb.c: ...here.
58712         Improve database format to be smaller and require less memory at
58713         runtime.
58714         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58715         db anymore.
58716         * nss/nss_db/db-netgrp.c: Likewise.
58717         * nss/nss_db/db-open.c: Likewise.
58718         * nss/nss_files/flies-XXX.x: Adjust comments.
58719         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58720         * nss/nss_files/files-grp.c: Likewise.
58721         * nss/nss_files/files-hosts.c: Likewise.
58722         * nss/nss_files/files-network.c: Likewise.
58723         * nss/nss_files/files-proto.c: Likewise.
58724         * nss/nss_files/files-pwd.c: Likewise.
58725         * nss/nss_files/files-rpc.c: Likewise.
58726         * nss/nss_files/files-service.c: Likewise.
58727         * nss/nss_files/files-sgrp.c: Likewise.
58728         * nss/nss_files/files-spwd.c: Likewise.
58729         * nss/nss_db/db-alias.c: Removed.
58730         * nss/nss_db/dummy-db.h: Removed.
58732 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58734         * nss/makedb.c: Rewritten to not use database library.
58735         * nss/Makefile: Update to build new makedb program.
58737 2011-06-14  Andreas Jaeger  <aj@suse.de>
58739         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58740         memset declaration.
58742 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58745         tmpbuf.
58747 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58749         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58750         * elf/Makefile ($(objpfx)ld.so): Likewise.
58752         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58753         Don't list ld.so twice in dependencies.
58755         * posix/bug-regex31.c: Include <stdlib.h>.
58757         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58759         * nis/nss_compat/compat-spwd.c
58760         (getspent_next_nss_netgr): Remove unused variable.
58761         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58763         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58764         nonmembers" output to use the right array.
58766         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58768         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58770         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58771         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58772         * catgets/gencat.c (read_input_file): Likewise.
58773         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58775         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58776         variable definition inside #if's controlling its use.
58778         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58780         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58782         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58784         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58785         unreachable code.
58787         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58789         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58790         * configure: Regenerated.
58792         * Makerules: Revert last change.
58793         * elf/Makefile: Likewise.
58795 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58797         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58798         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58799         (reloc-link): Likewise.
58801 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58803         * elf/Makefile: Add rules to build pldd.
58804         * elf/pldd.c: New file.
58805         * elf/pldd-xx.c: New file.
58807 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58809         * version.h: Update for 2.15 development version.
58811 2011-06-07  David S. Miller  <davem@davemloft.net>
58813         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58814         ifuncs.
58815         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58816         elf_machine_lazy_rel): Likewise.
58817         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58819         elf_machine_lazy_rel): Likewise.
58820         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58821         dl_hwcap via passed in argument.
58822         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58823         Likewise.
58825 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58827         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58829 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58831         [BZ #12849]
58832         * manual/fdl-1.1.texi: New file, verbatim from:
58833         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58834         * manual/lgpl-2.1.texi: New file, verbatim from:
58835         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58836         * manual/Makefile (licenses): New variable, list those new file names.
58837         (texis): Use it.
58838         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58840         * manual/fdl.texi: File removed.
58841         * manual/lesser.texi: File removed.
58842         * manual/libc.texinfo (Copying, Documentation License):
58843         Use new @include file names, put @appendix directive before @include.
58845 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58847         [BZ #12841]
58848         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58849         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58850         (mq_open): Add __NTH.
58852 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58855         Assume Intel Core i3/i5/i7 processor if AVX is available.
58857 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58860         typo.
58862 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58864         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58865         memory.  Use alloca_account.  Fix memory leak when retrying.
58867 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58869         * version.h (RELEASE): Bump for 2.14 release.
58870         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58872         * config.make.in (RANLIB): Remove entry.
58874 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58876         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58877         (libc.pot): Work around missing support for .ksh extension in xgettext.
58879         [BZ #12684]
58880         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58881         if both request failed.
58882         (send_dg): In case of server errors clear resplen or *resplen2.
58884         [BZ #12454]
58885         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58886         when there are multiple maps.
58887         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58888         (_dl_fini): Remove test here.
58890         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58892 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58894         [BZ #12350]
58895         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58896         bit from old_res_options.
58897         (gaih_inet): Likewise.
58899         [BZ #11099]
58900         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58901         as signed.
58903         * resolv/res_init.c (res_setoptions): Make the code more compact.
58905         [BZ #11558]
58906         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58907         set RES_USEVC.
58909         [BZ #11634]
58910         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58912         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58914         [BZ #11781]
58915         * malloc/malloc.h: Declare malloc hook variables as volatile.
58917         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58918         in last patch.
58920         [BZ #11799]
58921         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58922         raise in the comment.
58923         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58924         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58925         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58927 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58929         [BZ #12811]
58930         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58931         grow the buffers more if it already has to be sufficient.
58932         (build_wcs_upper_buffer): Likewise.
58933         * posix/regexec.c (check_matching): Likewise.
58934         (clean_state_log_if_needed): Likewise.
58935         (extend_buffers): Don't enlarge buffers beyond size of the input
58936         buffer.
58937         Patches mostly by Emil Wojak <emil@wojak.eu>.
58938         * posix/bug-regex32.c: New file.
58939         * posix/Makefile (tests): Add bug-regex32.
58941         * locale/findlocale.c (_nl_find_locale): Return right away if
58942         _nl_explode_name failed.
58943         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58945         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58947         * debug/xtrace.sh: Unify messages.
58948         * malloc/memusage.sh: Likewise.
58950         [BZ #12813]
58951         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58952         time symbol from vDSO.  Substitute with vsyscall if not available.
58953         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58954         __vdso_time.
58956         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58957         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58958         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58959         Add sendmmsg and internal_sendmmsg.
58960         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58961         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58962         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58964         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58965         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58966         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58968 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58970         [BZ #12813]
58971         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58972         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58973         available.
58974         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58975         __vdso_getcpu.
58977         [BZ #12814]
58978         * iconvdata/Makefile (tests): Add bug-iconv9.
58979         * iconvdata/bug-iconv9.c: New file.
58981 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58983         [BZ #12814]
58984         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58986 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58988         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58989         (struct user_regs_struct): Change intcs field back to cs.
58991 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58993         * po/ja.po: Update from translation team.
58995 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58997         [BZ #12795]
58998         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58999         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59001 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59003         * stdlib/longlong.h: Update from GCC.
59005 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59007         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59008         parameter name.
59009         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59010         Add parameter name.
59011         (__sysconf): Pass it down.
59013 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59015         [BZ #12671]
59016         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59017         some situations.
59018         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59019         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59020         add in in __libc_use_alloca calls.  Adjust callers.
59021         (glob): Use malloc in some situations.
59023         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59024         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59025         pltexit.
59027 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59029         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59030         and CLOCK_BOOTTIME_ALARM.
59032         [BZ #12782]
59033         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59034         is returned.
59036         * string/_strerror.c (__strerror_r): Print negative errors as signed
59037         numbers.
59039         [BZ #12777]
59040         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59041         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59042         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59044         * configure.in: Fix typo in redirection and correct removal of test
59045         files in two cases.
59047         [BZ #12788]
59048         * locale/setlocale.c (new_composite_name): Fix test to check for
59049         identical name of all categories.
59051         [BZ #12792]
59052         * libio/filedoalloc.c (local_isatty): New function.
59053         (_IO_file_doallocate): Use local_isatty.
59054         * stdio-common/perror.c (perror): In case a new stream is used
59055         forward the stream error.
59056         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59057         error flag.
59059 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59061         [BZ #11869]
59062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59063         alloca.
59064         * include/alloca.h (extend_alloca_account): Define.
59066         [BZ #11857]
59067         * posix/regex.h: Fix comments with documentation of user-accessible
59068         fields after compilation and describe correct free'ing of pattern
59069         after re_compile_pattern.
59070         Patch by Reuben Thomas <rrt@sc3d.org>.
59072 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59074         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59075         and -mno-altivec to prevent the compiler from using Altivec and/or
59076         VSX instructions when the corresponding registers are not available.
59078 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59080         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59082 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59084         * libio/freopen.c (freopen): Use __dup2, not dup2.
59085         * libio/freopen64.c (freopen64): Likewise.
59087 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59089         [BZ #12775]
59090         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59091         * math/Makefile (tests): Add test-powl.
59092         (CFLAGS-test-powl.c): Define.
59093         * math/test-powl.c: New file.
59095 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59097         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59099 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59101         [BZ #11837]
59102         * iconvdata/gb18030.c: Update to GB18020-2005.
59104 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59106         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59107         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59108         Patch by Aharon Robbins <arnold@skeeve.com>.
59110         [BZ #11892]
59111         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59112         on the stack.
59114         [BZ #11895]
59115         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59116         through underflows.
59118         [BZ #12766]
59119         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59120         point to strings before performing equality test for error_one_per_line
59121         mode.
59123         [BZ #11697]
59124         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59126         [BZ #11820]
59127         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59128         (struct user_fpregs_struct): Avoid __uint*_t types.
59130         [BZ #6420]
59131         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59132         symbol info.  Use it instead of calling _dl_addr locally.
59133         (lock_and_info): New function.
59134         (tr_freehook): Call lock_and_info and pass symbol info as additional
59135         parameter to tr_where.
59136         (tr_mallochook): Likewise.
59137         (tr_reallochook): Likewise.
59138         (tr_memalignhook): Likewise.
59140         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59141         used and couldn't be at all thread-safe.
59143 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59145         * libio/freopen.c (freopen): Don't close old file descriptor
59146         before the new one is opened.  Instead dup the new file descriptor
59147         to the old one after the new stream is created.
59148         * libio/freopen64.c (freopen64): Likewise.
59149         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59150         * libio/fileops.c (_IO_new_file_close_it): Handle new
59151         _IO_FLAGS2_NOCLOSE flag.
59152         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59153         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59154         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59155         _IO_FLAGS2_NOCLOSE flag.
59156         * include/unistd.h: Add hidden_proto for dup3.
59157         Define __have_dup3.
59158         * io/dup3.c: Define hidden symbol.
59159         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59161         [BZ #7101]
59162         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59163         when an incomplete long option is used.
59164         * posix/tst-getopt_long1.c: New file.
59165         * posix/Makefile (tests): Add tst-getopt_long1.
59167         [BZ #10138]
59168         * scripts/config.guess: Update from autoconf-2.68.
59169         * scripts/config.sub: Likewise.
59171         [BZ #10157]
59172         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59173         tests into ...
59174         (has_cpuclock): ...this.  New function.
59175         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59176         macro here based on has_cpuclock code.
59178         [BZ #10149]
59179         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59180         First byte (not low byte) is now always NUL.
59181         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59184         Use non-cancelable interfaces.
59186         [BZ #9809]
59187         * locale/iso-639.def: Add entry for Sorani.
59189         [BZ #11901]
59190         * include/stdlib.h: Move include protection to the right place.
59191         Define abort_msg_s.  Declare __abort_msg with it.
59192         * stdlib/abort.c (__abort_msg): Adjust type.
59193         * assert/assert.c (__assert_fail_base): New function.  Majority
59194         of code from __assert_fail.  Allocate memory for __abort_msg with
59195         mmap.
59196         (__assert_fail): Now call __assert_fail_base.
59197         * assert/assert-perr.c: Remove bulk of implementation.  Use
59198         __assert_fail_base.
59199         * include/assert.hL Declare __assert_fail_base.
59200         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59201         mmap.
59202         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59204 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59206         [BZ #11952]
59207         [BZ #12453]
59208         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59209         until all modules are registered in the DTV.
59210         * elf/Makefile: Add rules to build and run tst-tls19.
59211         * elf/tst-tls19.c: New file.
59212         * elf/tst-tls19mod1.c: New file.
59213         * elf/tst-tls19mod2.c: New file.
59214         * elf/tst-tls19mod3.c: New file.
59215         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59217         [BZ #12083]
59218         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59219         correctly.
59221         [BZ #12601]
59222         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59223         two-byte sequence errors.
59224         * iconvdata/Makefile (tests): Add bug-iconv8.
59225         * iconvdata/bug-iconv8.c: New file.
59227         [BZ #12626]
59228         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59229         buf2 definition.
59231         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59233         [BZ #12432]
59234         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59235         (dummy_getcfa): New function.
59236         (init): Get _Unwind_GetCFA address, use dummy if not found.
59237         (backtrace_helper): In recursion check, also check whether CFA changes.
59238         (__backtrace): Completely initialize arg.
59240         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59241         storing incomplete byte sequence in state object.  Avoid testing for
59242         guaranteed too small input if we know there is enough data available.
59244 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59246         * Makeconfig (+link-pie): Indent.
59247         * Rules (binaries-pie): Define if $(have-fpie) and
59248         $(build-shared).
59249         (binaries-shared): Also filter out $(binaries-pie).
59250         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59251         * nscd/Makefile (others-pie): Add nscd.
59252         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59253         ($(objpfx)nscd): Remove command override.
59254         * login/Makefile (others-pie): Add pt_chown.
59255         ($(objpfx)pt_chown): Remove command override.
59256         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59257         remove command overrides.
59259 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59261         * libio/tst_putwc.c: Fix error messages.
59263         [BZ #12724]
59264         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59265         currently writing and seek to current position when not.
59266         * libio/Makefile (tests): Add bug-fclose1.
59267         * libio/bug-fclose1.c: New file.
59269 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59271         [BZ #12511]
59272         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59273         don't set DF_1_NODELETE here.
59274         (do_lookup_x): When entering new entry test for copy relocation
59275         and if necessary set DF_1_NODELETE flag.
59276         * elf/tst-unique4.cc: New file.
59277         * elf/tst-unique4.h: New file.
59278         * elf/tst-unique4lib.cc: New file.
59279         * elf/Makefile: Add rules to build and run tst-unique4.
59280         Patch by Piotr Bury <pbury@goahead.com>.
59282 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59284         [BZ #12052]
59285         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59287         [BZ #12625]
59288         * misc/mntent_r.c (addmntent): Flush the stream after the output
59290         [BZ #12393]
59291         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59292         (is_trusted_path_normalize): Skip initial colon.  Append slash
59293         to empty buffer.  Duplicate is_trusted_path code but allow
59294         constructed patch to be prefix.
59295         (is_dst): Allow $ORIGIN followed by /.
59296         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59297         Correct testing of result of is_trusted_path_normalize
59298         (decompose_rpath): Fix warning.
59300 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59302         [BZ #11257]
59303         * grp/initgroups.c (internal_getgrouplist): When we found the service
59304         list through the initgroups entry in nsswitch.conf do not always
59305         continue on a successful lookup.  Don't always use the
59306         __nss_group_database value if it is set.
59307         * nss/nsswitch.conf (initgroups): Change action for successful db
59308         lookup to continue for compatibility.
59310 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59312         [BZ #11532]
59313         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59314         and CP774 modules.
59315         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59316         and CP774 modules.
59317         * iconvdata/tst-tables.sh: Likewise.
59318         * iconvdata/cp770.c: New file.
59319         * iconvdata/cp771.c: New file.
59320         * iconvdata/cp772.c: New file.
59321         * iconvdata/cp773.c: New file.
59322         * iconvdata/cp774.c: New file.
59323         * iconvdata/testdata/CP770: New file.
59324         * iconvdata/testdata/CP770..UTF8: New file.
59325         * iconvdata/testdata/CP771: New file.
59326         * iconvdata/testdata/CP771..UTF8: New file.
59327         * iconvdata/testdata/CP772: New file.
59328         * iconvdata/testdata/CP772..UTF8: New file.
59329         * iconvdata/testdata/CP773: New file.
59330         * iconvdata/testdata/CP773..UTF8: New file.
59331         * iconvdata/testdata/CP774: New file.
59332         * iconvdata/testdata/CP774..UTF8: New file.
59334         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59335         END CHARMAP line.
59336         * iconvdata/gen-8bit-gap.sh: Likewise.
59337         * iconvdata/gen-8bit.sh: Likewise.
59339         * locale/iso-639.def: Add ary entry.
59341         [BZ #11258]
59342         * locale/C-translit.h.in: Add U20A1 transliteration.
59344         [BZ #12178]
59345         * locale/iso-639.def: Add wae entry.
59346         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59348         [BZ #12545]
59349         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59350         for n.
59352         [BZ #12711]
59353         * locale/C-translit.h.in: Add entry for U20B9.
59354         Patch by pravin.d.s@gmail.com.
59356 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59358         [BZ #12713]
59359         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59360         ENAMETOOLONG use generic getcwd.
59361         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59362         in rtld.  Use *stat64.
59363         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59364         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59365         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59366         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59367         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59368         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59369         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59370         __fstatat64 macros.
59371         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59372         * dirent/rewinddir.c: Add libc_hidden_def.
59373         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59374         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59376         * include/dirent.h (__alloc_dir): Add flags parameter.
59377         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59378         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59379         __alloc_dir.
59380         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59381         from fdopendir if O_CLOEXEC is already set.
59383 2011-03-15  Alan Modra  <amodra@gmail.com>
59385         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59386         l_tls_firstbyte_offset non-zero.  Save padding offset in
59387         l_tls_firstbyte_offset for later use.
59388         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59389         freeing static tls block.
59391 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59393         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59394         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59395         being defined by the kernel headers.
59397 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59399         [BZ #12734]
59400         * resolv/resolv.h: Define RES_NOTLDQUERY.
59401         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59402         no-tld-query and set RES_NOTLDQUERY.
59403         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59404         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59405         modern BIND to search name as TLD unless forbidden.
59407 2011-05-07  Petr Baudis  <pasky@suse.cz>
59408             Ulrich Drepper  <drepper@gmail.com>
59410         [BZ #12393]
59411         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59412         (is_trusted_path): ...to here.
59413         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59414         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59415         using is_trusted_path_normalize() in setuid scripts.
59417 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59419         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59420         __BEGIN/__END_DECLS.
59422 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59424         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59425         NSS_STATUS_NOTFOUND if no record was found.
59427 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59429         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59430         (headers-not-in-tirpc): Remove rpc/netdb.h
59431         * resolv/netdb.h: Revert last change.
59433 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59435         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59436         circular dependency between libgcc.a and libc.a.
59438 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59440         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59441         * nis/Makefile: Don't install rpcsvc/*.
59442         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59443         instead of <rpc/types.h>.
59444         (MAXHOSTNAMELEN): Define.
59446 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59448         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59450 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59452         [BZ #12714]
59453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59454         gethostbyname4_r when IPv6 results are possible.
59456 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59458         [BZ #12723]
59459         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59460         _PC_PIPE_BUF handling.
59462 2011-04-30  Bruno Haible  <bruno@clisp.org>
59464         [BZ #12717]
59465         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59466         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59467         to 'int'.
59468         * inet/getnameinfo.c (getnameinfo): Likewise.
59470 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59472         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59473         to groups setting in database lookup.
59474         * nss/nsswitch.conf: Add initgroups entry.
59476 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59478         [BZ #12685]
59479         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59480         mode string.
59481         Patch by Eric Blake <eblake@redhat.com>.
59483 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59485         * sunrpc/Makefile (need-export-routines): Add svc_run.
59486         (routines): Remove svc_run.
59487         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59488         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59489         * sunrpc/svc_run.c (svc_run): Likewise.
59490         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59492 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59494         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59495         problem in reallocation in last patch.
59497 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59499         * sunrpc/Makefile: Move inclusion of Rules.
59501 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59503         * nss/nss_files/files-initgroups.c: New file.
59504         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59505         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59506         _nss_files_initgroups_dyn.
59508 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59510         * elf/elf.h (R_ARM_IRELATIVE): Define.
59512 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59514         * po/ru.po: Update from translation team.
59516 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59518         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59519         dependencies.
59521 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59523         [BZ #12653]
59524         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59525         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59526         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59528         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59530 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59532         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59533         differing bytes.
59534         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59535         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59536         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59538 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59540         [BZ #12420]
59541         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59542         storing it.
59543         * stdlib/bug-getcontext.c: New file.
59544         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59546 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59548         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59549         instructions into .machine "z9-109".
59550         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59551         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59553 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59555         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59556         between environment variables and auxiliary vector.
59558 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59560         * Makefile: Add rules to build linkobj/libc.so.
59561         * include/libc-symbols.h: Define libc_hidden_nolink.
59562         * include/rpc/auth.h: Mark functions which are to be hidden.
59563         * include/rpc/auth_des.h: Likewise.
59564         * include/rpc/auth_unix.h: Likewise.
59565         * include/rpc/clnt.h: Likewise.
59566         * include/rpc/des_crypt.h: Likewise.
59567         * include/rpc/key_prot.h: Likewise.
59568         * include/rpc/pmap_clnt.h: Likewise.
59569         * include/rpc/pmap_prot.h: Likewise.
59570         * include/rpc/pmap_rmt.h: Likewise.
59571         * include/rpc/rpc_msg.h: Likewise.
59572         * include/rpc/svc.h: Likewise.
59573         * include/rpc/svc_auth.h: Likewise.
59574         * include/rpc/xdr.h: Likewise.
59575         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59576         * nss/Makefile: Likewise.
59577         * sunrpc/Makefile: Don't install headers.  Build library with normal
59578         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59579         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59580         for the compat linking library.  Remove use of INTDEF/INTUSE.
59581         * sunrpc/auth_none.c: Likewise.
59582         * sunrpc/auth_unix.c: Likewise.
59583         * sunrpc/authdes_prot.c: Likewise.
59584         * sunrpc/authuxprot.c: Likewise.
59585         * sunrpc/clnt_gen.c: Likewise.
59586         * sunrpc/clnt_perr.c: Likewise.
59587         * sunrpc/clnt_raw.c: Likewise.
59588         * sunrpc/clnt_simp.c: Likewise.
59589         * sunrpc/clnt_tcp.c: Likewise.
59590         * sunrpc/clnt_udp.c: Likewise.
59591         * sunrpc/clnt_unix.c: Likewise.
59592         * sunrpc/des_crypt.c: Likewise.
59593         * sunrpc/des_soft.c: Likewise.
59594         * sunrpc/get_myaddr.c: Likewise.
59595         * sunrpc/key_call.c: Likewise.
59596         * sunrpc/key_prot.c: Likewise.
59597         * sunrpc/netname.c: Likewise.
59598         * sunrpc/pm_getmaps.c: Likewise.
59599         * sunrpc/pm_getport.c: Likewise.
59600         * sunrpc/pmap_clnt.c: Likewise.
59601         * sunrpc/pmap_prot.c: Likewise.
59602         * sunrpc/pmap_prot2.c: Likewise.
59603         * sunrpc/pmap_rmt.c: Likewise.
59604         * sunrpc/publickey.c: Likewise.
59605         * sunrpc/rpc_cmsg.c: Likewise.
59606         * sunrpc/rpc_common.c: Likewise.
59607         * sunrpc/rpc_dtable.c: Likewise.
59608         * sunrpc/rpc_prot.c: Likewise.
59609         * sunrpc/rpc_thread.c: Likewise.
59610         * sunrpc/rtime.c: Likewise.
59611         * sunrpc/svc.c: Likewise.
59612         * sunrpc/svc_auth.c: Likewise.
59613         * sunrpc/svc_authux.c: Likewise.
59614         * sunrpc/svc_raw.c: Likewise.
59615         * sunrpc/svc_run.c: Likewise.
59616         * sunrpc/svc_simple.c: Likewise.
59617         * sunrpc/svc_tcp.c: Likewise.
59618         * sunrpc/svc_udp.c: Likewise.
59619         * sunrpc/svc_unix.c: Likewise.
59620         * sunrpc/svcauth_des.c: Likewise.
59621         * sunrpc/xcrypt.c: Likewise.
59622         * sunrpc/xdr.c: Likewise.
59623         * sunrpc/xdr_array.c: Likewise.
59624         * sunrpc/xdr_float.c: Likewise.
59625         * sunrpc/xdr_intXX_t.c: Likewise.
59626         * sunrpc/xdr_mem.c: Likewise.
59627         * sunrpc/xdr_rec.c: Likewise.
59628         * sunrpc/xdr_ref.c: Likewise.
59629         * sunrpc/xdr_sizeof.c: Likewise.
59630         * sunrpc/xdr_stdio.c: Likewise.
59632 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59634         [BZ #12650]
59635         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59636         * sysdeps/ia64/dl-tls.h: Likewise.
59637         * sysdeps/powerpc/dl-tls.h: Likewise.
59638         * sysdeps/s390/dl-tls.h: Likewise.
59639         * sysdeps/sh/dl-tls.h: Likewise.
59640         * sysdeps/sparc/dl-tls.h: Likewise.
59641         * sysdeps/x86_64/dl-tls.h: Likewise.
59642         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59644 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59646         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59647         rpath element also skip the following colon.
59648         (expand_dynamic_string_token): Add is_path parameter and pass
59649         down to DL_DST_REQUIRED and _dl_dst_substitute.
59650         (decompose_rpath): Call expand_dynamic_string_token with
59651         non-zero is_path.  Ignore empty rpaths.
59652         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59653         with zero is_path.
59655 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59658         Make cancelable.
59660 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59662         [BZ #12655]
59663         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59664         Patch by Filipe David Manana <fdmanana@apache.org>.
59666 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59668         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59669         Maintain aligned stack.
59670         (CHECK_RSP): Remove unused macro.
59672 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59674         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59675         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59677 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59679         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59681         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59683 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59685         [BZ #12518]
59686         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59687         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59688         * sysdeps/x86_64/memmove.c: New file.
59689         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59690         (memcpy): Renamed to ...
59691         (__new_memcpy): This.
59692         (memcpy): Provide GLIBC_2_14 memcpy.
59693         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59694         (memcpy): Provide GLIBC_2_2_5 memcpy.
59696 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59698         [BZ #12631]
59699         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59701 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59703         * misc/syncfs.c: New file.
59704         * misc/Makefile (routines): Add syncfs.
59705         * posix/unistd.h: Declare syncfs.
59706         * sysdeps/unix/syscalls.list: Add syncfs.
59708 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59710         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59711         open_by_handle_at.
59712         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59713         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59714         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59715         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59717         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59718         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59720 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59722         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59723         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59724         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59726         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59728         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59730         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59731         sync_file_range.c with -fexceptions.
59732         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59733         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59734         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59735         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59736         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59737         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59739         sync_file_range as cancellation point
59740         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59741         now a wrapper around __call_sync_file_range with cancellation handling.
59742         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59743         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59744         function name to __call_sync_file_range.
59745         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59746         Add call_sync_file_range.
59748 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59751         bits/timex.h.
59753 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59755         * iconv/iconv.h: Fix typo in comment.
59756         * io/fcntl.h: Likewise.
59757         * libio/stdio.h: Likewise.
59758         * posix/spawn.h: Likewise.
59759         * posix/unistd.h: Likewise.
59760         * stdlib/stdlib.h: Likewise.
59761         * time/time.h: Likewise.
59762         * wcsmbs/wchar.h: Likewise.
59764         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59765         open_by_handle): Add.
59766         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59767         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59768         Augment a few comments.
59769         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59771         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59773         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59774         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59775         open_by_handle.
59777         * io/fcntl.h (AT_EMPTY_PATH): Define.
59779 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59781         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59782         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59783         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59784         to...
59785         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59786         * Versions.def: Add GLIBC_2.14.
59787         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59788         Export.
59790 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59792         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59793         round counter.
59794         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59796 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59798         [BZ #12597]
59799         * string/test-strncmp.c (do_page_test): New function.
59800         (check2): Likewise.
59801         (test_main): Call check2.
59802         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59804 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59806         [BZ #12587]
59807         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59808         Handle cache information in CPU leaf 4.
59809         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59811 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59813         [BZ #12583]
59814         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59815         character representation.
59816         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59818 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59820         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59821         END(__isnan) to END(__isnanf) to match function entry point/label
59822         EALIGN(__isnanf,...).
59824 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59826         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59828 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59830         [BZ #12510]
59831         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59832         copy from the symbol referenced in the relocation to initialize the
59833         used variable.
59834         Patch by Piotr Bury <pbury@goahead.com>.
59835         * elf/Makefile: Add rules to build and tst-unique3.
59836         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59837         * elf/tst-unique3.cc: New file.
59838         * elf/tst-unique3.h: New file.
59839         * elf/tst-unique3lib.cc: New file.
59840         * elf/tst-unique3lib2.cc: New file.
59842         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59844 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59846         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59847         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59848         to _start.
59850 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59852         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59853         to-be-loaded object along a path to loader is ld.so.
59855 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59856             Ulrich Drepper  <drepper@gmail.com>
59858         * sysdeps/x86_64/memset.S: After aligning destination, code
59859         branches to different locations depending on the value of
59860         misalignment, when multiarch is enabled. Fix this.
59862 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59864         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59865         Set _x86_64_preferred_memory_instruction for AMD processsors.
59866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59867         Set bit_Prefer_SSE_for_memop for AMD processors.
59869 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59871         * libio/fmemopen.c (fmemopen): Optimize a bit.
59873 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59875         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59877 2011-03-03  Roland McGrath  <roland@redhat.com>
59879         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59881 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59883         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59884         __bzero_ultra1 instead of __memset_ultra1.
59886 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59887             Ulrich Drepper  <drepper@gmail.com>
59889         [BZ #12509]
59890         * include/link.h (struct link_map): Add l_orig_initfini.
59891         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59892         returning unsuccessfully.
59893         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59894         close of a file loaded at startup, restore the original l_initfini
59895         list.
59896         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59897         list, store the pointer.
59898         * elf/Makefile ($(objpfx)noload-mem): New rule.
59899         (noload-ENV): Define.
59900         (tests): Add $(objpfx)noload-mem.
59901         * elf/noload.c: Include <memcheck.h>.
59902         (main): Call mtrace.  Close all opened handles.
59904 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59906         [BZ #12454]
59907         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59908         dependencies are missing.
59910 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59912         Fix __if_freereq crash: Unlike the generic version which uses free,
59913         Hurd needs munmap.
59914         * sysdeps/mach/hurd/ifreq.h: New file.
59916 2011-01-27  Petr Baudis  <pasky@suse.cz>
59917             Ulrich Drepper  <drepper@gmail.com>
59919         [BZ 12445]#
59920         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59921         to extend_alloca().
59922         * stdio-common/bug23.c: New file.
59923         * stdio-common/Makefile (tests): Add bug23.
59925 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59926             Ulrich Drepper  <drepper@gmail.com>
59928         [BZ #12489]
59929         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59930         before performing relro protection.  At old place add assertion
59931         to make sure nothing changed.
59933 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59934             Glauber de Oliveira Costa  <glommer@gmail.com>
59936         * elf/elf.h: Add new ARM TLS relocs.
59938 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59941         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59942         cast from r3.
59943         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59944         'tests' variable.
59945         * sysdeps/wordsize-64/tst-writev.c: New file.
59947 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59949         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59950         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59951         insns in _dl_start to prevent a TOC reference before relocs are
59952         resolved.
59954 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59956         [BZ #12469]
59957         * Makeconfig: Remove RANLIB definition.
59958         * Makerules: Don't use RANLIB.
59959         * aclocal.m4: Remove ranlib test.
59960         * configure.in: No need to check for ranlib.
59961         * elf/rtld-Rules: Don't use RANLIB.
59963 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59965         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59966         protection macro.
59967         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59968         inclusion protection macro.
59970         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59971         SIGRTMIN and SIGRTMAX and print information in that case only when
59972         SIGRTMIN is defined.
59974 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59976         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59977         arginfo fn returning -1.
59979         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59980         and thousands string is zero terminated.
59982 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59984         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59985         sysdeps/unix/sysv/linux/bits/socket.h.
59987 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59989         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59990         (__CPU_COUNT): Remove old macros.
59991         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59992         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59993         (__CPU_ALLOC, __CPU_FREE): Add macros.
59994         (__sched_cpualloc, __sched_cpufree): Add declarations.
59996 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59998         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59999         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60000         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60001         (readdhstai): Return value of addhstaiX call.
60002         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60003         (addgrbyX): Return value returned by cache_addgr.
60004         (readdgrbyname): Return value returned by addgrbyX.
60005         (readdgrbygid): Likewise.
60006         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60007         (addpwbyX): Return value returned by cache_addpw.
60008         (readdpwbyname): Return value returned by addhstbyX.
60009         (readdpwbyuid): Likewise.
60010         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60011         (addservbyX): Return value returned by cache_addserv.
60012         (readdservbyname): Return value returned by addservbyX:
60013         (readdservbyport): Likewise.
60014         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60015         (addhstbyX): Return value returned by cache_addhst.
60016         (readdhstbyname): Return value returned by addhstbyX.
60017         (readdhstbyaddr): Likewise.
60018         (readdhstbynamev6): Likewise.
60019         (readdhstbyaddrv6): Likewise.
60020         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60021         (readdinitgroups): Return value returned by addinitgroupsX.
60022         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60023         (prune_cache): Keep track of timeout value of re-added entries.
60024         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60025         * nscd/nscd.h: Adjust prototypes of readd* functions.
60027 2011-02-04  Roland McGrath  <roland@redhat.com>
60029         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60030         (nis_stats): Likewise.
60031         * nis/nis_modify.c (nis_modify): Likewise.
60032         * nis/nis_remove.c (nis_remove): Likewise.
60033         * nis/nis_add.c (nis_add): Likewise.
60035         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60037         * posix/fnmatch_loop.c: Add some consts.
60039         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60041 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60043         [BZ #12460]
60044         * config.make.in (config-cflags-novzeroupper): Define.
60045         * configure.in: Substitute libc_cv_cc_novzeroupper.
60046         * elf/Makefile (AVX-CFLAGS): Define.
60047         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60048         (CFLAGS-tst-auditmod4a.c): Likewise.
60049         (CFLAGS-tst-auditmod4b.c): Likewise.
60050         (CFLAGS-tst-auditmod6b.c): Likewise.
60051         (CFLAGS-tst-auditmod6c.c): Likewise.
60052         (CFLAGS-tst-auditmod7b.c): Likewise.
60053         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60055 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60057         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60058         function to the callback.
60059         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60061 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60063         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60064         of errno.
60066 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60068         [BZ #11724]
60069         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60070         of constructors.
60071         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60072         of destructors.
60073         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60075         [BZ #11724]
60076         * elf/Makefile: Add rules to build and run new test.
60077         * elf/tst-initorder.c: New file.
60078         * elf/tst-initorder.exp: New file.
60079         * elf/tst-initordera1.c: New file.
60080         * elf/tst-initordera2.c: New file.
60081         * elf/tst-initordera3.c: New file.
60082         * elf/tst-initordera4.c: New file.
60083         * elf/tst-initorderb1.c: New file.
60084         * elf/tst-initorderb2.c: New file.
60085         * elf/tst-order-a1.c: New file.
60086         * elf/tst-order-a2.c: New file.
60087         * elf/tst-order-a3.c: New file.
60088         * elf/tst-order-a4.c: New file.
60089         * elf/tst-order-b1.c: New file.
60090         * elf/tst-order-b2.c: New file.
60091         * elf/tst-order-main.c: New file.
60092         New test case by George Gensure <werkt0@gmail.com>.
60094 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60097         decoding ACE if AI_CANONIDN.
60099 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60101         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60103 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60105         * version.h (RELEASE): Bump for 2.13 release.
60106         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60108         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60110         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60111         MADV_NOHUGEPAGE.
60112         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60113         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60114         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60115         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60116         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60117         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60119         * posix/getconf.c: Update copyright year.
60120         * catgets/gencat.c: Likewise.
60121         * csu/version.c: Likewise.
60122         * debug/catchsegv.sh: Likewise.
60123         * debug/xtrace.sh: Likewise.
60124         * elf/ldconfig.c: Likewise.
60125         * elf/ldd.bash.in: Likewise.
60126         * elf/sprof.c (print_version): Likewise.
60127         * iconv/iconv_prog.c: Likewise.
60128         * iconv/iconvconfig.c: Likewise.
60129         * locale/programs/locale.c: Likewise.
60130         * locale/programs/localedef.c: Likewise.
60131         * malloc/memusage.sh: Likewise.
60132         * malloc/mtrace.pl: Likewise.
60133         * nscd/nscd.c (print_version): Likewise.
60134         * nss/getent.c: Likewise.
60136         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60137         PF_CAIF, and PF_ALG.
60138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60140 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60142         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60143         (modules-names): Use them.
60144         (ifunc-test-modules, ifunc-pie-tests): Define.
60145         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60146         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60147         (test-extras): Likewise.
60148         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60149         $(compile-command.c).
60150         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60151         (all-built-dso): Define.
60152         (check-textrel.out, check-execstack.out): Depend on it.
60154         * configure.in: Don't override --enable-multi-arch.
60156 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60158         [BZ #6812]
60159         * nscd/hstcache.c (tryagain): Define.
60160         (cache_addhst): Return tryagain not notfound for temporary errors.
60161         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60162         failed.
60164 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60166         [BZ #10563]
60167         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60168         to make the syscall.
60169         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60171         [BZ #12378]
60172         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60173         and fall back to matching as normal character if the string ends before
60174         the matching ']' is found.  This is what POSIX requires.
60175         * posix/testfnm.c: Adjust test result.
60176         * posix/globtest.sh: Adjust test result.  Add new test.
60177         * posix/tst-fnmatch.input: Likewise.
60178         * posix/tst-fnmatch2.c: Add new test.
60180 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60182         * elf/Makefile (check-execstack): Revert last change.  Depend on
60183         check-execstack.h.
60184         (check-execstack.h): New target.
60185         (generated): Add check-execstack.h.
60186         * elf/check-execstack.c: Include "check-execstack.h".
60187         (main): Revert last change.
60188         (handle_file): Return zero if GNU_STACK is absent and
60189         DEFAULT_STACK_PERMS doesn't include PF_X.
60191 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60193         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60194         in child fails because the descriptor is already closed.
60195         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60196         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60197         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60199         [BZ #12397]
60200         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60201         syscall.
60203         [BZ #10484]
60204         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60205         temporary buffer used to handle multi lookups locally.
60206         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60208 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60210         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60211         loader is ld.so.
60213 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60215         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60216         alignment for SSE2.
60218 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60220         [BZ #12394]
60221         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60222         characters.  When rounding increased number of integer digits recompute
60223         number of groups.
60224         * stdio-common/tst-grouping.c: New file.
60225         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60227 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60229         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60230         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60232         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60233         void.
60234         * bits/select.h: Likewise.
60236 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60238         * po/ja.po: Update from translation team.
60240 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60242         [BZ #11155]
60243         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60244         implementation just like for lxstat, fxstatat, et al.
60246 2010-12-27  Jim Meyering  <meyering@redhat.com>
60248         [BZ #12348]
60249         * posix/regexec.c (build_trtable): Return failure indication upon
60250         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60252 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60254         [BZ #12201]
60255         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60256         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60257         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60258         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60260         [BZ #12207]
60261         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60263         [BZ #12204]
60264         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60265         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60267 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60269         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60270         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60271         script has SORT_BY_INIT_PRIORITY.
60272         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60273         NO_CTORS_DTORS_SECTIONS is defined.
60274         * elf/soinit.c: Likewise.
60275         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60276         NO_CTORS_DTORS_SECTIONS is defined.
60277         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60278         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60279         * sysdeps/sh/init-first.c: Likewise.
60280         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60282 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60284         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60285         always use the slow path.
60287 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60289         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60290         similar rule which adds the sysdep directories to the header search in
60291         order to pick up the correct platform stackinfo.h.
60292         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60293         perform test if it is, otherwise return successfully without testing.
60294         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60295         DEFAULT_STACK_PERMS define in stackinfo.h.
60296         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60297         defined in stackinfo.h.
60298         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60299         DEFAULT_STACK_PERMS defined in stackinfo.h.
60300         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60301         * sysdeps/ia64/stackinfo.h: Likewise.
60302         * sysdeps/s390/stackinfo.h: Likewise.
60303         * sysdeps/sh/stackinfo.h: Likewise.
60304         * sysdeps/sparc/stackinfo.h: Likewise.
60305         * sysdeps/x86_64/stackinfo.h: Likewise.
60306         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60307         PF_X for powerpc64.  Retain PF_X for powerpc32.
60309 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60311         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60312         accurately.
60313         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60314         GETDENTS_64BIT_ALIGNED.
60316 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60318         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60320 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60322         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60323         _GNU_SOURCE.
60325         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60326         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60327         Remove __restrict.
60328         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60329         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60331 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60333         [BZ #11655]
60334         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60335         are initialized.
60337 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60339         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60341 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60343         * po/it.po: Update from translation team.
60345 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60347         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60348         unused codes.
60350 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60352         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60354 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60356         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60357         specially.
60358         (gaih_getanswer_slice): Likewise.
60360 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60364 2010-05-31  Petr Baudis  <pasky@suse.cz>
60366         [BZ #11149]
60367         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60368         silently even in the chroot mode.
60370 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60372         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60373         last patch a bit.  Pretty printing
60375 2010-05-31  Petr Baudis <pasky@suse.cz>
60377         [BZ #10085]
60378         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60379         initialization of skip_initgroups_dyn.
60381 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60383         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60384         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60386 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60388         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60390 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60392         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60393         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60394         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60395         ($(objpfx)tst-fnmatch-mem): New rule.
60396         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60397         * posix/tst-fnmatch.c (main): Call mtrace.
60399 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60402         Support Intel processor model 6 and model 0x2c.
60404 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60406         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60407           signed comparison.
60409 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60411         [BZ #12205]
60412         * string/test-strncasecmp.c (check_result): New function.
60413         (do_one_test): Use it.
60414         (check1): New function.
60415         (test_main): Use it.
60416         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60417         Support strcasecmp and strncasecmp.
60419 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60421         [BZ #12194]
60422         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60423         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60425 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60427         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60428         IFUNC support.
60429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60430         memset-x86-64.
60431         * sysdeps/x86_64/multiarch/bzero.S: New file.
60432         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60433         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60434         * sysdeps/x86_64/multiarch/memset.S: New file.
60435         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60437         Set bit_Prefer_SSE_for_memop for Intel processors.
60438         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60439         Define.
60440         (index_Prefer_SSE_for_memop): Define.
60441         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60443 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60445         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60446         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60448 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60450         [BZ #12191]
60451         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60452         (__x86_64_raw_data_cache_size_half): Likewise.
60453         (__x86_64_raw_shared_cache_size): Likewise.
60454         (__x86_64_raw_shared_cache_size_half): Likewise.
60456         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60457         (__x86_64_raw_data_cache_size_half): Likewise.
60458         (__x86_64_raw_shared_cache_size): Likewise.
60459         (__x86_64_raw_shared_cache_size_half): Likewise.
60460         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60461         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60462         and __x86_64_raw_shared_cache_size_half.  Round
60463         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60464         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60465         to multiple of 256 bytes.
60467 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60469         [BZ #12167]
60470         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60471         of inacessible symlinks.  Verify result of symlink before returning it.
60472         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60473         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60475 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60477         * math/math.h (isinf): Fix typo in comment.
60479 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60481         * po/da.po: Update from translation team.
60483 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60485         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60486         is added to the list.
60488 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60489             Ulrich Drepper  <drepper@gmail.com>
60491         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60492         the global list here.  Move code to...
60493         (_dl_add_to_namespace_list): ...here.  New function.
60494         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60495         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60496         * elf/dl-load.c (lose): Don't remove the element from the list.
60497         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60498         (_dl_map_object): Likewise.
60500 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60502         [BZ #12159]
60503         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60504         into all bytes of SSE register.
60505         Patch by Richard Li <richardpku@gmail.com>.
60507 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60509         [BZ #12140]
60510         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60511         perturbing.
60513 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60515         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60516         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60517         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60518         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60520         submachine.
60521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60523 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60525         * include/dlfcn.h (__RTLD_SECURE): Define.
60526         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60527         mode & __RTLD_SECURE instead.
60528         (open_path): Rename preloaded parameter to secure.
60529         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60530         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60531         * elf/dl-deps.c (openaux): Likewise.
60532         * elf/rtld.c (struct map_args): Remove is_preloaded.
60533         (map_doit): Don't use it.
60534         (dl_main): Likewise.
60535         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60536         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60538 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60540         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60541         (sysd-rules-targets): Remove duplicates.
60542         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60543         rtld-%.$o dependency.
60545 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60547         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60548         _dl_map_object do it.
60550 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60552         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60553         fast fma builtins, define the macros in the C99 standard.
60554         (FP_FAST_FMAF): Likewise.
60555         (FP_FAST_FMAL): Likewise.
60556         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60558         * bits/mathdef.h: Update copyright year.
60559         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60561 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60563         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60564         builtins, define the macros in the C99 standard.
60565         (FP_FAST_FMAF): Likewise.
60566         (FP_FAST_FMAL): Likewise.
60567         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60568         multiply/add.
60569         (FP_FAST_FMAF): Likewise.
60571 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60573         [BZ #3268]
60574         * math/libm-test.inc (fma_test): Some new testcases.
60575         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60576         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60577         y and infinite z.  Do multiplication by C already in long double.
60578         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60580         y and infinite z.  Do bitwise or of inexact bit into u.d.
60581         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60582         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60583         * sysdeps/i386/fpu/s_fma.S: Removed.
60584         * sysdeps/i386/fpu/s_fmal.S: Removed.
60586 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60588         [BZ #3268]
60589         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60591         computation is not scheduled after fetestexcept.  Fix value
60592         of minimum denormal long double.
60594 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60596         [BZ #3268]
60597         * math/libm-test.inc (fma_test): Add some more tests.
60598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60599         correctly.
60601 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60603         * scripts/data/localplt-s390-linux-gnu.data: New file.
60604         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60606 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60608         [BZ #3268]
60609         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60610         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60611         instead of dbl-64.
60612         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60613         inlines.
60614         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60616         if one of x and y is very large and the other is subnormal.
60617         * sysdeps/s390/fpu/s_fmaf.c: New file.
60618         * sysdeps/s390/fpu/s_fma.c: New file.
60619         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60620         * sysdeps/powerpc/fpu/s_fma.S: New file.
60621         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60622         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60623         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60625 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60627         [BZ #3268]
60628         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60629         fma tests.
60630         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60631         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60632         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60633         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60634         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60635         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60636         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60638 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60640         [BZ #12078]
60641         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60642         * posix/bug-regex31.input: Add test case.
60644 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60646         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60647         * posix/bug-regex31.input: New file.
60649         [BZ #12078]
60650         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60651         (parse_sub_exp): Fix last change, use postorder.
60653         * posix/bug-regex31.c: New file.
60654         * posix/Makefile: Add rules to build and run bug-regex31.
60656         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60658         [BZ #12078]
60659         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60661         [BZ #12108]
60662         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60663         to have entries in sys_siglist.
60665         [BZ #12093]
60666         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60667         be NULL.
60669 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60671         [BZ #3268]
60672         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60673         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60674         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60675         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60676         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60677         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60678         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60679         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60680         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60681         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60682         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60683         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60684         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60685         * math/ftestexcept.c (fetestexcept): Likewise.
60686         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60687         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60688         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60689         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60690         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60691         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60692         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60694 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60696         [BZ #12107]
60697         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60698         newline.
60700 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60702         * string/bug-strstr1.c: New file.
60703         * string/Makefile: Add rules to build and run bug-strstr1.
60705 2010-10-05  Eric Blake  <eblake@redhat.com>
60707         [BZ #12092]
60708         * string/str-two-way.h (two_way_long_needle): Always clear memory
60709         when skipping input due to the shift table.
60711 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60713         [BZ #12005]
60714         * malloc/mcheck.c: Handle large requests.
60716         [BZ #12077]
60717         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60718         for strncmp and strncasecmp.
60719         * string/stratcliff.c: Add tests for strcmp and strncmp.
60720         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60722 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60724         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60725         __set_fpscr.
60727 2010-09-30  Andreas Jaeger  <aj@suse.de>
60729         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60730         (CGROUP_SUPER_MAGIC): Define.
60731         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60732         Handle btrfs and cgroup file systems.
60733         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60734         Likewise.
60736 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60738         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60739         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60741 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60743         [BZ #12067]
60744         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60745         trying to locate the ELF header.
60747 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60749         [BZ #11611]
60750         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60751         Mask out sign-bit copies when constructing f_fsid.
60753 2010-09-24  Petr Baudis <pasky@suse.cz>
60755         * debug/stack_chk_fail_local.c: Add missing licence exception.
60756         * debug/warning-nop.c: Likewise.
60758 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60760         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60761         implementing getdents64 using getdents syscall, set d_type if
60762         __ASSUME_GETDENTS32_D_TYPE.
60764 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60766         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60767         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60769 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60771         [BZ #12037]
60772         * posix/unistd.h: Undo change of feature selection for ftruncate from
60773         2010-01-11.
60775 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60777         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60778         detection.
60780 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60782         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60783         fanotify_mark.
60784         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60786 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60788         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60789         variables after CHECK_SP call.
60790         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60792 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60793             Ulrich Drepper  <drepper@redhat.com>
60795         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60796         re-relocationg ld.so.
60797         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60798         _dl_init_paths call.
60799         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60800         here anymore.
60802 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60804         * resolv/res_init.c (__res_vinit): Count the default server we added.
60806 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60807             Ulrich Drepper  <drepper@redhat.com>
60809         [BZ #11968]
60810         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60811         (____longjmp_chk): Use %ebx for saving value across system call.
60812         Add unwind info.
60814 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60816         * manual/Makefile: Don't mix pattern rules with normal rules.
60818 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60820         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60821         operation.
60822         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60823         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60824         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60825         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60827         Likewise.
60829 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60831         [BZ #11979]
60832         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60833         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60835 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60837         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60838         * sysdeps/x86_64/addmul_1.S: Likewise.
60839         * sysdeps/x86_64/lshift.S: Likewise.
60840         * sysdeps/x86_64/mul_1.S: Likewise.
60841         * sysdeps/x86_64/rshift.S: Likewise.
60842         * sysdeps/x86_64/sub_n.S: Likewise.
60843         * sysdeps/x86_64/submul_1.S: Likewise.
60845 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60847         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60848         Define __sched_param instead of SCHED_* and sched_param when
60849         <bits/sched.h> is included with __need_schedparam defined.
60850         * bits/sched.h [__need_schedparam]
60851         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60852         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60853         (__defined_schedparam): Define to 1.
60854         (__sched_param): New structure, identical to sched_param.
60855         (__need_schedparam): Undefine.
60857 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60859         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60860         (epoll_create1): Declare.
60862         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60864 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60866         [BZ #7066]
60867         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60868         shifting retval into place.
60870 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60872         * nis/rpcsvc/nis.h: Update copyright notice.
60873         * nis/rpcsvc/nis.x: Likewise.
60874         * nis/rpcsvc/nis_callback.h: Likewise.
60875         * nis/rpcsvc/nis_callback.x: Likewise.
60876         * nis/rpcsvc/nis_object.x: Likewise.
60877         * nis/rpcsvc/nis_tags.h: Likewise.
60878         * nis/rpcsvc/yp.h: Likewise.
60879         * nis/rpcsvc/yp.x: Likewise.
60880         * nis/rpcsvc/ypupd.h: Likewise.
60881         * nis/yp_xdr.c: Likewise.
60882         * nis/ypupdate_xdr.c: Likewise.
60884         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60885         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60886         (pmap_getport): Use __libc_rpc_getport.
60887         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60888         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60889         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60891 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60894         fanotify_mark.
60896 2010-08-27  Roland McGrath  <roland@redhat.com>
60898         * sysdeps/i386/i686/multiarch/Makefile
60899         (CFLAGS-varshift.c): New variable.
60901 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60903         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60904         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60906         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60908         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60910 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60912         * sysdeps/x86_64/strlen.S: Unroll the loop.
60913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60914         strlen-sse2 strlen-sse2-bsf.
60915         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60916         __strlen_no_bsf if bit_Slow_BSF is set.
60917         (__strlen_sse42): Removed.
60918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60919         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60921 2010-08-25  Roland McGrath  <roland@redhat.com>
60923         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60924         * sysdeps/x86_64/multiarch/varshift.c: New file.
60925         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60926         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60927         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60928         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60930 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60933         strlen-sse2 strlen-sse2-bsf.
60934         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60935         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60936         (__strlen_sse2): Removed.
60937         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60940         bit_Slow_BSF for Atom.
60941         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60942         (index_Slow_BSF): Define.
60943         (HAS_SLOW_BSF): Define.
60945 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60947         [BZ #10851]
60948         * resolv/res_init.c (__res_vinit): When no server address at all
60949         is given default to loopback.
60951 2010-08-24  Roland McGrath  <roland@redhat.com>
60953         * configure.in: Remove config-name.h generation.
60954         * configure: Regenerated.
60955         * config-name.in: File removed.
60956         * scripts/config-uname.sh: New file.
60957         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60958         ($(objdir)config-name.h): New target.
60960         * sunrpc/rpc_parse.h: Avoid nested comment.
60962 2010-08-24  Richard Henderson  <rth@redhat.com>
60963             Ulrich Drepper  <drepper@redhat.com>
60964             H.J. Lu  <hongjiu.lu@intel.com>
60966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60968         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60969         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60970         _mm_alignr_epi8 with _mm_loadu_si128.
60971         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60972         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60973         (__m128i_shift_right): Removed.
60974         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60975         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60976         * sysdeps/x86_64/multiarch/varshift.h: New file.
60977         * sysdeps/x86_64/multiarch/varshift.S: New file.
60979 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60981         * configure.in: Move assembler checks to before sysdep dir checking.
60983 2010-08-20  Petr Baudis  <pasky@suse.cz>
60985         * LICENSES: Sync the sunrpc license.
60987 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60989         * sunrpc/auth_des.c: Update copyright notice once again.
60990         * sunrpc/auth_none.c: Likewise.
60991         * sunrpc/auth_unix.c: Likewise.
60992         * sunrpc/authdes_prot.c: Likewise.
60993         * sunrpc/authuxprot.c: Likewise.
60994         * sunrpc/bindrsvprt.c: Likewise.
60995         * sunrpc/clnt_gen.c: Likewise.
60996         * sunrpc/clnt_perr.c: Likewise.
60997         * sunrpc/clnt_raw.c: Likewise.
60998         * sunrpc/clnt_simp.c: Likewise.
60999         * sunrpc/clnt_tcp.c: Likewise.
61000         * sunrpc/clnt_udp.c: Likewise.
61001         * sunrpc/clnt_unix.c: Likewise.
61002         * sunrpc/des_crypt.c: Likewise.
61003         * sunrpc/des_soft.c: Likewise.
61004         * sunrpc/get_myaddr.c: Likewise.
61005         * sunrpc/getrpcport.c: Likewise.
61006         * sunrpc/key_call.c: Likewise.
61007         * sunrpc/key_prot.c: Likewise.
61008         * sunrpc/openchild.c: Likewise.
61009         * sunrpc/pm_getmaps.c: Likewise.
61010         * sunrpc/pm_getport.c: Likewise.
61011         * sunrpc/pmap_clnt.c: Likewise.
61012         * sunrpc/pmap_prot.c: Likewise.
61013         * sunrpc/pmap_prot2.c: Likewise.
61014         * sunrpc/pmap_rmt.c: Likewise.
61015         * sunrpc/rpc/auth.h: Likewise.
61016         * sunrpc/rpc/auth_unix.h: Likewise.
61017         * sunrpc/rpc/clnt.h: Likewise.
61018         * sunrpc/rpc/des_crypt.h: Likewise.
61019         * sunrpc/rpc/key_prot.h: Likewise.
61020         * sunrpc/rpc/netdb.h: Likewise.
61021         * sunrpc/rpc/pmap_clnt.h: Likewise.
61022         * sunrpc/rpc/pmap_prot.h: Likewise.
61023         * sunrpc/rpc/pmap_rmt.h: Likewise.
61024         * sunrpc/rpc/rpc.h: Likewise.
61025         * sunrpc/rpc/rpc_des.h: Likewise.
61026         * sunrpc/rpc/rpc_msg.h: Likewise.
61027         * sunrpc/rpc/svc.h: Likewise.
61028         * sunrpc/rpc/svc_auth.h: Likewise.
61029         * sunrpc/rpc/types.h: Likewise.
61030         * sunrpc/rpc/xdr.h: Likewise.
61031         * sunrpc/rpc_clntout.c: Likewise.
61032         * sunrpc/rpc_cmsg.c: Likewise.
61033         * sunrpc/rpc_common.c: Likewise.
61034         * sunrpc/rpc_cout.c: Likewise.
61035         * sunrpc/rpc_dtable.c: Likewise.
61036         * sunrpc/rpc_hout.c: Likewise.
61037         * sunrpc/rpc_main.c: Likewise.
61038         * sunrpc/rpc_parse.c: Likewise.
61039         * sunrpc/rpc_parse.h: Likewise.
61040         * sunrpc/rpc_prot.c: Likewise.
61041         * sunrpc/rpc_sample.c: Likewise.
61042         * sunrpc/rpc_scan.c: Likewise.
61043         * sunrpc/rpc_scan.h: Likewise.
61044         * sunrpc/rpc_svcout.c: Likewise.
61045         * sunrpc/rpc_tblout.c: Likewise.
61046         * sunrpc/rpc_util.c: Likewise.
61047         * sunrpc/rpc_util.h: Likewise.
61048         * sunrpc/rpcinfo.c: Likewise.
61049         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61050         * sunrpc/rpcsvc/key_prot.x: Likewise.
61051         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61052         * sunrpc/rpcsvc/mount.x: Likewise.
61053         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61054         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61055         * sunrpc/rpcsvc/rex.x: Likewise.
61056         * sunrpc/rpcsvc/rstat.x: Likewise.
61057         * sunrpc/rpcsvc/rusers.x: Likewise.
61058         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61059         * sunrpc/rpcsvc/spray.x: Likewise.
61060         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61061         * sunrpc/rtime.c: Likewise.
61062         * sunrpc/svc.c: Likewise.
61063         * sunrpc/svc_auth.c: Likewise.
61064         * sunrpc/svc_authux.c: Likewise.
61065         * sunrpc/svc_raw.c: Likewise.
61066         * sunrpc/svc_run.c: Likewise.
61067         * sunrpc/svc_simple.c: Likewise.
61068         * sunrpc/svc_tcp.c: Likewise.
61069         * sunrpc/svc_udp.c: Likewise.
61070         * sunrpc/svc_unix.c: Likewise.
61071         * sunrpc/svcauth_des.c: Likewise.
61072         * sunrpc/xcrypt.c: Likewise.
61073         * sunrpc/xdr.c: Likewise.
61074         * sunrpc/xdr_array.c: Likewise.
61075         * sunrpc/xdr_float.c: Likewise.
61076         * sunrpc/xdr_mem.c: Likewise.
61077         * sunrpc/xdr_rec.c: Likewise.
61078         * sunrpc/xdr_ref.c: Likewise.
61079         * sunrpc/xdr_sizeof.c: Likewise.
61080         * sunrpc/xdr_stdio.c: Likewise.
61082         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61083         handling.
61085 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61087         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61089 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61091         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61092         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61093         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61094         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61095         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61096         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61097         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61098         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61099         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61100         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61101         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61102         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61103         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61104         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61106 2010-07-26  Anton Blanchard  <anton@samba.org>
61108         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61109         * malloc/arena.c (heap_trim): Likewise.
61111 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61113         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61114         here.  Not...
61115         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61116         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61118 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61120         * sysdeps/i386/elf/Makefile: New file.
61122 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61124         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61125         from fanotify_init.
61126         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61127         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61129 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61131         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61132         of strncasecmp_l.
61133         * sysdeps/multiarch/strcmp.S: Likewise.
61135 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61137         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61138         strncase_l-nonascii.
61139         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61140         Add strncase_l-ssse3.
61141         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61142         * sysdeps/x86_64/strcmp.S: Likewise.
61143         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61144         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61145         * sysdeps/x86_64/strncase.S: New file.
61146         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61147         * sysdeps/x86_64/strncase_l.S: New file.
61148         * string/Makefile (strop-tests): Add strncasecmp.
61149         * string/test-strncasecmp.c: New file.
61151         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61152         warning.
61154         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61155         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61157 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61159         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61161 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61163         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61164         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61165         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61167 2010-05-01  Alan Modra  <amodra@gmail.com>
61169         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61170         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61171         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61172         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61173         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61174         tidying.  Don't tail-call __sigjmp_save for static lib.
61175         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61176         save location.
61177         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61178         (CALL_MCOUNT): Add eh info, and nop after bl.
61179         (TAIL_CALL_SYSCALL_ERROR): New macro.
61180         (PSEUDO_RET): Use it.
61181         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61182         Correct save location of integer regs and cr.
61183         (_dl_profile_resolve): Correct cr save location.  Delete nops
61184         after bl when SHARED.  Reduce cfi size a little by better
61185         placement of cfi directives.
61186         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61187         make a stack frame.  Instead use parm save area as a temp.
61188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61189         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61191         Don't make a stack frame for parent, use parm save area.
61192         Increase child stack frame to 112 bytes.  Don't save unused reg,
61193         and adjust reg usage.  Set up cfi on error recovery and
61194         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61196         (__makecontext): Add dummy nop after jump to exit.
61197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61198         Use correct parm save area and cr save, reduce stack frame.
61199         Correct cfi for possible PSEUDO_RET frame setup.
61200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61201         Branch to local label emitted by PSEUDO_RET rather than
61202         __syscall_error.
61204 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61206         [BZ #11904]
61207         * locale/programs/locale.c (print_assignment): New function.
61208         (show_locale_vars): Use it.
61210 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61212         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61213         field.
61214         (struct statfs64): Likewise.
61215         (_STATFS_F_FLAGS): Define.
61216         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61217         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61218         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61219         (ST_VALID): Define locally.
61220         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61221         __statvfs_getflags, use the provided value.
61222         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61223         __ASSUME_STATFS_F_FLAGS.
61225         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61227         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61228         Add sys/fanotify.h.
61229         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61230         fanotify_mask for GLIBC_2.13.
61231         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61232         fanotify_init and fanotify_mark.
61233         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61234         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61236         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61237         Add prlimit.
61238         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61239         prlimit64 for GLIBC_2.13.
61240         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61241         prlimit64.
61242         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61243         syscall.
61244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61245         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61246         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61247         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61249         add prlimit alias.
61250         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61252         [BZ #11903]
61253         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61254         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61256         * nss/Makefile: Add rules to build and run tst-nss-test1.
61257         * shlib-versions: Add entry for libnss_test1.
61258         * nss/nss_test1.c: New file.
61259         * nss/tst-nss-test1.c: New file.
61261         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61262         (__nss_configure_lookup): Set appropriate entry in
61263         __nss_configure_lookup to true.
61264         * nss/nsswitch.h: Define enum with indeces of databases in
61265         databases and __nss_database_custom arrays.  Declare
61266         __nss_database_custom.
61267         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61268         to avoid using nscd when custom rules are installed.
61269         * nss/getXXbyYY_r.c: Likewise.
61270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61272         * nss/nss_files/files-parse.c: Whitespace fixes.
61274 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61276         [BZ #11883]
61277         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61278         * posix/fnmatch_loop.c: Likewise.
61280 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61282         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61283         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61284         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61285         * Versions.def [GLIBC_2.13]: Add.
61287 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61289         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61290         Also fail if tpwd after pwuid call is NULL.
61292 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61294         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61295         when converting to ms.
61297 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61299         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61300         EOPNOTSUPP errors with ENOTTY.
61301         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61302         EOPNOTSUPP errors with ENOTTY.
61304 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61306         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61307         Add strcasecmp_l-ssse3.
61308         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61309         strcasecmp.
61310         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61311         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61312         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61314 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61316         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61318         * string/Makefile (strop-tests): Add strcasecmp.
61319         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61320         strcasecmp_l-nonascii.
61321         (gen-as-const-headers): Add locale-defines.sym.
61322         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61323         * sysdeps/x86_64/strcasecmp.S: New file.
61324         * sysdeps/x86_64/strcasecmp_l.S: New file.
61325         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61326         * sysdeps/x86_64/locale-defines.sym: New file.
61327         * string/test-strcasecmp.c: New file.
61329         * string/test-strcasestr.c: Test both ends of the range of characters.
61330         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61332 2010-07-29  Roland McGrath  <roland@redhat.com>
61334         [BZ #11856]
61335         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61337 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61339         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61340         for ld.so.
61342 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61344         * manual/memory.texi (Malloc Tunable Parameters): Document
61345         M_PERTURB.
61347 2010-07-26  Roland McGrath  <roland@redhat.com>
61349         [BZ #11840]
61350         * configure.in (-fgnu89-inline check): Set and substitute
61351         gnu89_inline, not libc_cv_gnu89_inline.
61352         * configure: Regenerated.
61353         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61355 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61357         * string/test-strnlen.c: New file.
61358         * string/Makefile (strop-tests): Add strnlen.
61359         * string/tester.c (test_strnlen): Add a few more test cases.
61360         * string/tst-strlen.c: Better error reporting.
61362         * sysdeps/x86_64/strnlen.S: New file.
61364 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61366         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61367         lower-latency instructions.
61369 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61371         * string/test-strcasestr.c: New file.
61372         * string/test-strstr.c: New file.
61373         * string/Makefile (strop-tests): Add strstr and strcasestr.
61374         * string/str-two-way.h: Don't undefine MAX.
61375         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61377 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61380         strcasestr-nonascii.
61381         (CFLAGS-strcasestr-nonascii.c): Define.
61382         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61383         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61384         Remove unused attribute.
61386 2010-07-20  Roland McGrath  <roland@redhat.com>
61388         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61389         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61390         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61391         like LD_HWCAP_MASK can disable hwcaps.
61393 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61395         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61397 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61399         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61400         call in strcasestr.
61401         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61402         __strcasestr_sse42_nonascii.
61403         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61404         strcasestr-nonascii.c.
61405         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61407 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61409         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61410         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61411         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61412         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61414 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61416         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61417         fcntl.
61419 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61421         [BZ #11577]
61422         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61423         dl_signal_cerror.
61425 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61427         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61428         _PC_PIPE_BUF using F_GETPIPE_SZ.
61430 2010-07-05  Roland McGrath  <roland@redhat.com>
61432         * manual/arith.texi (Rounding Functions): Fix rint description
61433         implicit in round description.
61435 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61437         * elf/Makefile: Fix linking for a few tests to make recent linker
61438         happy.
61440 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61442         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61443         $(common-objpfx)libc_nonshared.a.
61445 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61447         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61448         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61449         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61450         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61451         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61452         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61453         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61454         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61469         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61470         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61471         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61472         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61473         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61474         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61475         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61476         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61477         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61478         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61479         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61480         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61496 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61498         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61499         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61500         * string/memmove.c (memmove): Renamed to ...
61501         (MEMMOVE): ...this.  Default to memmove.
61502         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61503         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61504         (END_CHK): Define.
61505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61506         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61507         mempcpy-ssse3-back memmove-ssse3-back.
61508         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61509         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61510         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61511         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61512         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61513         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61514         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61515         * sysdeps/x86_64/multiarch/memmove.c: New file.
61516         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61517         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61518         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61519         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61520         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61522         Define.
61523         (index_Fast_Copy_Backward): Define.
61524         (HAS_ARCH_FEATURE): Define.
61525         (HAS_FAST_REP_STRING): Define.
61526         (HAS_FAST_COPY_BACKWARD): Define.
61528 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61530         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61531         Restore proper fallback handling.
61533 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61535         [BZ #11701]
61536         * posix/group_member.c (__group_member): Correct checking loop.
61538         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61539         OOM in getpwuid_r correctly.  Return error number when the caller
61540         should return, otherwise -1.
61541         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61542         call returning > 0 value.
61543         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61545 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61547         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61548         libc_nonshared.a from targets in modules-names.
61550 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61552         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61553         requires it.
61555 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61557         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61558         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61559         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61560         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61562 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61564         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61566 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61568         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61569         and F_GETPIPE_SZ.
61570         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61571         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61574         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61577 2010-06-14  Roland McGrath  <roland@redhat.com>
61579         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61581 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61583         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61584         __REDIRECT followed by __THROW.
61585         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61586         * posix/getopt.h (getopt): Likewise.
61588 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61590         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61591         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61592         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61593         in AT_FLAGS.
61594         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61595         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61597 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61599         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61601 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61603         [BZ #11640]
61604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61605         Properly check family and model.
61607 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61609         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61611 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61613         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61615 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61617         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61618         symbol reference.
61620 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61622         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61623         symbol reference.
61625 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61627         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61628         and internal_recvmmsg.
61629         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61630         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61631         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61632         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61634         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61635         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61636         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61638 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61640         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61642 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61644         POWER7 optimizations.
61645         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61646         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61648 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61650         * version.h: Update for 2.13 development version.
61652 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61654         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61655         exceptions.  Return 0.
61657 2010-05-07  Roland McGrath  <roland@redhat.com>
61659         * elf/ldconfig.c (main): Add a const.
61661 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61663         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61664         (args_options): Add no-idn option.
61665         (ahosts_keys_int): Add idn_flags to ai_flags.
61666         (parse_option): Handle 'i' option to clear idn_flags.
61668         * malloc/malloc.c (_int_free): Possible race in the most recently
61669         added check.  Only act on the data if no current modification
61670         happened.
61672 See ChangeLog.17 for earlier changes.